]> git.saurik.com Git - wxWidgets.git/blob - configure
4dbc50888f8d7491d0d955987ceb97cb11fb6e7d
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
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.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
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 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets 2.6 compatibility
1710 --disable-compat28 disable wxWidgets 2.8 compatibility
1711 --disable-rpath disable use of rpath for uninstalled builds
1712 --enable-objc_uniquifying enable Objective-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x-locale support (requires wxLocale)
1717 --enable-config use wxConfig (and derived) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP (requires wxProtocol
1720 --enable-http use wxHTTP (requires wxProtocol
1721 --enable-fileproto use wxFileProto class (requires wxProtocol
1722 --enable-sockets use socket/network classes
1723 --enable-ipv6 enable IPv6 support in wxSocket
1724 --enable-ole use OLE classes (Win32 only)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication (wxSocket etc.)
1727 --enable-baseevtloop use event loop in console programs too
1728 --enable-epollloop use wxEpollDispatcher class (Linux only)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding/decoding functions
1734 --enable-backtrace use wxStackWalker class for getting backtraces
1735 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class for DLL loading
1741 --enable-dynamicloader use (new) wxDynamicLibrary class
1742 --enable-exceptions build exception-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support in wxProtocol
1773 --enable-protocol-ftp FTP support in wxProtocol
1774 --enable-protocol-file FILE support in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig (Win32 only)
1777 --enable-regkey use wxRegKey class (Win32 only)
1778 --enable-docview use document view architecture
1779 --enable-help use help subsystem
1780 --enable-mshtmlhelp use MS HTML Help (win32)
1781 --enable-html use wxHTML sub-library
1782 --enable-htmlhelp use wxHTML-based help
1783 --enable-xrc use XRC resources sub-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl (Mac)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context 2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-commandlinkbutton use wxCommmandLinkButton class
1822 --enable-dataviewctrl use wxDataViewCtrl class
1823 --enable-datepick use wxDatePickerCtrl class
1824 --enable-detect_sm use code to detect X11 session manager
1825 --enable-dirpicker use wxDirPickerCtrl class
1826 --enable-display use wxDisplay class
1827 --enable-editablebox use wxEditableListBox class
1828 --enable-filectrl use wxFileCtrl class
1829 --enable-filepicker use wxFilePickerCtrl class
1830 --enable-fontpicker use wxFontPickerCtrl class
1831 --enable-gauge use wxGauge class
1832 --enable-grid use wxGrid class
1833 --enable-headerctrl use wxHeaderCtrl class
1834 --enable-hyperlink use wxHyperlinkCtrl class
1835 --enable-imaglist use wxImageList class
1836 --enable-infobar use wxInfoBar class
1837 --enable-listbook use wxListbook class
1838 --enable-listbox use wxListBox class
1839 --enable-listctrl use wxListCtrl class
1840 --enable-notebook use wxNotebook class
1841 --enable-notifmsg use wxNotificationMessage class
1842 --enable-odcombobox use wxOwnerDrawnComboBox class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-radiobox use wxRadioBox class
1845 --enable-radiobtn use wxRadioButton class
1846 --enable-richmsgdlg use wxRichMessageDialog class
1847 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1848 --enable-sash use wxSashWindow class
1849 --enable-scrollbar use wxScrollBar class and scrollable windows
1850 --enable-searchctrl use wxSearchCtrl class
1851 --enable-slider use wxSlider class
1852 --enable-spinbtn use wxSpinButton class
1853 --enable-spinctrl use wxSpinCtrl class
1854 --enable-splitter use wxSplitterWindow class
1855 --enable-statbmp use wxStaticBitmap class
1856 --enable-statbox use wxStaticBox class
1857 --enable-statline use wxStaticLine class
1858 --enable-stattext use wxStaticText class
1859 --enable-statusbar use wxStatusBar class
1860 --enable-taskbaricon use wxTaskBarIcon class
1861 --enable-tbarnative use native wxToolBar class
1862 --enable-textctrl use wxTextCtrl class
1863 --enable-tipwindow use wxTipWindow class
1864 --enable-togglebtn use wxToggleButton class
1865 --enable-toolbar use wxToolBar class
1866 --enable-toolbook use wxToolbook class
1867 --enable-treebook use wxTreebook class
1868 --enable-treectrl use wxTreeCtrl class
1869 --enable-commondlg use all common dialogs
1870 --enable-aboutdlg use wxAboutBox
1871 --enable-choicedlg use wxChoiceDialog
1872 --enable-coldlg use wxColourDialog
1873 --enable-filedlg use wxFileDialog
1874 --enable-finddlg use wxFindReplaceDialog
1875 --enable-fontdlg use wxFontDialog
1876 --enable-dirdlg use wxDirDialog
1877 --enable-msgdlg use wxMessageDialog
1878 --enable-numberdlg use wxNumberEntryDialog
1879 --enable-splash use wxSplashScreen
1880 --enable-textdlg use wxTextDialog
1881 --enable-tipdlg use startup tips
1882 --enable-progressdlg use wxProgressDialog
1883 --enable-wizarddlg use wxWizard
1884 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1885 --enable-miniframe use wxMiniFrame class
1886 --enable-tooltips use wxToolTip class
1887 --enable-splines use spline drawing code
1888 --enable-mousewheel use mousewheel
1889 --enable-validators use wxValidator and derived classes
1890 --enable-busyinfo use wxBusyInfo
1891 --enable-joystick use wxJoystick
1892 --enable-metafiles use wxMetaFile (Win32 only)
1893 --enable-dragimage use wxDragImage
1894 --enable-accessibility enable accessibility support
1895 --enable-uiactionsim use wxUIActionSimulator (experimental)
1896 --enable-palette use wxPalette class
1897 --enable-image use wxImage class
1898 --enable-gif use gif images (GIF file format)
1899 --enable-pcx use pcx images (PCX file format)
1900 --enable-tga use tga images (TGA file format)
1901 --enable-iff use iff images (IFF file format)
1902 --enable-pnm use pnm images (PNM file format)
1903 --enable-xpm use xpm images (XPM file format)
1904 --enable-ico_cur use Windows ICO and CUR formats
1905 --enable-dccache cache temporary wxDC objects (Win32 only)
1906 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1907 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1908 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1909 --enable-wxdib use wxDIB class (Win32 only)
1910 --enable-autoidman use automatic ids management
1911 --disable-largefile omit support for large files
1912 --disable-gtktest do not try to compile and run a test GTK+ program
1913 --disable-gtktest Do not try to compile and run a test GTK program
1914 --disable-sdltest Do not try to compile and run a test SDL program
1915 --enable-omf use OMF object format (OS/2)
1916 --disable-dependency-tracking
1917 don't use dependency tracking even if the compiler
1918 can
1919 --disable-precomp-headers
1920 don't use precompiled headers even if compiler can
1921
1922 Optional Packages:
1923 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1924 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1925 --without-subdirs don't generate makefiles for samples/demos/...
1926 --with-flavour=NAME specify a name to identify this build
1927 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1928 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1929 --with-motif use Motif/Lesstif
1930 --with-osx_carbon use Mac OS X (Carbon)
1931 --with-osx_cocoa use Mac OS X (Cocoa)
1932 --with-osx_iphone use iPhone OS X port
1933 --with-osx use Mac OS X (default port, currently Carbon)
1934 --with-carbon same as --with-osx_carbon
1935 --with-cocoa same as --with-osx_cocoa
1936 --with-iphone same as --with-osx_iphone
1937 --with-mac same as --with-osx
1938 --with-old_cocoa use old, deprecated, Cocoa port
1939 --with-wine use Wine
1940 --with-msw use MS-Windows
1941 --with-pm use OS/2 Presentation Manager
1942 --with-mgl use SciTech MGL
1943 --with-directfb use DirectFB
1944 --with-microwin use MicroWindows
1945 --with-x11 use X11
1946 --with-libpng use libpng (PNG image format)
1947 --with-libjpeg use libjpeg (JPEG file format)
1948 --with-libtiff use libtiff (TIFF file format)
1949 --with-libxpm use libxpm (XPM file format)
1950 --with-libiconv use libiconv (character conversion)
1951 --with-libmspack use libmspack (CHM help files loading)
1952 --without-gtkprint don't use GTK printing support
1953 --without-gnomeprint don't use GNOME printing libraries
1954 --with-gnomevfs use GNOME VFS for associating MIME types
1955 --with-hildon use Hildon framework for Nokia 770/800/810
1956 --with-opengl use OpenGL (or Mesa)
1957 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1958 --with-sdl use SDL for audio on Unix
1959 --with-regex enable support for wxRegEx class
1960 --with-zlib use zlib for LZW compression
1961 --with-expat enable XML support using expat parser
1962 --with-macosx-sdk=PATH use an OS X SDK at PATH
1963 --with-macosx-version-min=VER build binaries which require at least this OS X version
1964 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1965 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1966 --with-x use the X Window System
1967 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1968 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1969 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1970 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1971 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1972
1973 Some influential environment variables:
1974 CC C compiler command
1975 CFLAGS C compiler flags
1976 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1977 nonstandard directory <lib dir>
1978 LIBS libraries to pass to the linker, e.g. -l<library>
1979 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1980 you have headers in a nonstandard directory <include dir>
1981 CPP C preprocessor
1982 CXX C++ compiler command
1983 CXXFLAGS C++ compiler flags
1984 CXXCPP C++ preprocessor
1985 PKG_CONFIG path to pkg-config utility
1986 DIRECTFB_CFLAGS
1987 C compiler flags for DIRECTFB, overriding pkg-config
1988 DIRECTFB_LIBS
1989 linker flags for DIRECTFB, overriding pkg-config
1990 XMKMF Path to xmkmf, Makefile generator for X Window System
1991 PANGOX_CFLAGS
1992 C compiler flags for PANGOX, overriding pkg-config
1993 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1994 PANGOFT2_CFLAGS
1995 C compiler flags for PANGOFT2, overriding pkg-config
1996 PANGOFT2_LIBS
1997 linker flags for PANGOFT2, overriding pkg-config
1998 PANGOXFT_CFLAGS
1999 C compiler flags for PANGOXFT, overriding pkg-config
2000 PANGOXFT_LIBS
2001 linker flags for PANGOXFT, overriding pkg-config
2002 GTKPRINT_CFLAGS
2003 C compiler flags for GTKPRINT, overriding pkg-config
2004 GTKPRINT_LIBS
2005 linker flags for GTKPRINT, overriding pkg-config
2006 LIBGNOMEPRINTUI_CFLAGS
2007 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2008 LIBGNOMEPRINTUI_LIBS
2009 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2010 GNOMEVFS_CFLAGS
2011 C compiler flags for GNOMEVFS, overriding pkg-config
2012 GNOMEVFS_LIBS
2013 linker flags for GNOMEVFS, overriding pkg-config
2014 HILDON_CFLAGS
2015 C compiler flags for HILDON, overriding pkg-config
2016 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2017 HILDON2_CFLAGS
2018 C compiler flags for HILDON2, overriding pkg-config
2019 HILDON2_LIBS
2020 linker flags for HILDON2, overriding pkg-config
2021 CAIRO_CFLAGS
2022 C compiler flags for CAIRO, overriding pkg-config
2023 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2024 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2025 GST_LIBS linker flags for GST, overriding pkg-config
2026
2027 Use these variables to override the choices made by `configure' or to help
2028 it to find libraries and programs with nonstandard names/locations.
2029
2030 Report bugs to <wx-dev@lists.wxwidgets.org>.
2031 _ACEOF
2032 ac_status=$?
2033 fi
2034
2035 if test "$ac_init_help" = "recursive"; then
2036 # If there are subdirs, report their specific --help.
2037 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2038 test -d "$ac_dir" || continue
2039 ac_builddir=.
2040
2041 case "$ac_dir" in
2042 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2043 *)
2044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2045 # A ".." for each directory in $ac_dir_suffix.
2046 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2047 case $ac_top_builddir_sub in
2048 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2049 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2050 esac ;;
2051 esac
2052 ac_abs_top_builddir=$ac_pwd
2053 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2054 # for backward compatibility:
2055 ac_top_builddir=$ac_top_build_prefix
2056
2057 case $srcdir in
2058 .) # We are building in place.
2059 ac_srcdir=.
2060 ac_top_srcdir=$ac_top_builddir_sub
2061 ac_abs_top_srcdir=$ac_pwd ;;
2062 [\\/]* | ?:[\\/]* ) # Absolute name.
2063 ac_srcdir=$srcdir$ac_dir_suffix;
2064 ac_top_srcdir=$srcdir
2065 ac_abs_top_srcdir=$srcdir ;;
2066 *) # Relative name.
2067 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2068 ac_top_srcdir=$ac_top_build_prefix$srcdir
2069 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2070 esac
2071 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2072
2073 cd "$ac_dir" || { ac_status=$?; continue; }
2074 # Check for guested configure.
2075 if test -f "$ac_srcdir/configure.gnu"; then
2076 echo &&
2077 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2078 elif test -f "$ac_srcdir/configure"; then
2079 echo &&
2080 $SHELL "$ac_srcdir/configure" --help=recursive
2081 else
2082 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2083 fi || ac_status=$?
2084 cd "$ac_pwd" || { ac_status=$?; break; }
2085 done
2086 fi
2087
2088 test -n "$ac_init_help" && exit $ac_status
2089 if $ac_init_version; then
2090 cat <<\_ACEOF
2091 wxWidgets configure 2.9.2
2092 generated by GNU Autoconf 2.61
2093
2094 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2095 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2096 This configure script is free software; the Free Software Foundation
2097 gives unlimited permission to copy, distribute and modify it.
2098 _ACEOF
2099 exit
2100 fi
2101 cat >config.log <<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2104
2105 It was created by wxWidgets $as_me 2.9.2, which was
2106 generated by GNU Autoconf 2.61. Invocation command line was
2107
2108 $ $0 $@
2109
2110 _ACEOF
2111 exec 5>>config.log
2112 {
2113 cat <<_ASUNAME
2114 ## --------- ##
2115 ## Platform. ##
2116 ## --------- ##
2117
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2123
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2126
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2134
2135 _ASUNAME
2136
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 echo "PATH: $as_dir"
2143 done
2144 IFS=$as_save_IFS
2145
2146 } >&5
2147
2148 cat >&5 <<_ACEOF
2149
2150
2151 ## ----------- ##
2152 ## Core tests. ##
2153 ## ----------- ##
2154
2155 _ACEOF
2156
2157
2158 # Keep a trace of the command line.
2159 # Strip out --no-create and --no-recursion so they do not pile up.
2160 # Strip out --silent because we don't want to record it for future runs.
2161 # Also quote any args containing shell meta-characters.
2162 # Make two passes to allow for proper duplicate-argument suppression.
2163 ac_configure_args=
2164 ac_configure_args0=
2165 ac_configure_args1=
2166 ac_must_keep_next=false
2167 for ac_pass in 1 2
2168 do
2169 for ac_arg
2170 do
2171 case $ac_arg in
2172 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2174 | -silent | --silent | --silen | --sile | --sil)
2175 continue ;;
2176 *\'*)
2177 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 esac
2179 case $ac_pass in
2180 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2181 2)
2182 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2183 if test $ac_must_keep_next = true; then
2184 ac_must_keep_next=false # Got value, back to normal.
2185 else
2186 case $ac_arg in
2187 *=* | --config-cache | -C | -disable-* | --disable-* \
2188 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2189 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2190 | -with-* | --with-* | -without-* | --without-* | --x)
2191 case "$ac_configure_args0 " in
2192 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2193 esac
2194 ;;
2195 -* ) ac_must_keep_next=true ;;
2196 esac
2197 fi
2198 ac_configure_args="$ac_configure_args '$ac_arg'"
2199 ;;
2200 esac
2201 done
2202 done
2203 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2204 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2205
2206 # When interrupted or exit'd, cleanup temporary files, and complete
2207 # config.log. We remove comments because anyway the quotes in there
2208 # would cause problems or look ugly.
2209 # WARNING: Use '\'' to represent an apostrophe within the trap.
2210 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2211 trap 'exit_status=$?
2212 # Save into config.log some information that might help in debugging.
2213 {
2214 echo
2215
2216 cat <<\_ASBOX
2217 ## ---------------- ##
2218 ## Cache variables. ##
2219 ## ---------------- ##
2220 _ASBOX
2221 echo
2222 # The following way of writing the cache mishandles newlines in values,
2223 (
2224 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in #(
2227 *${as_nl}*)
2228 case $ac_var in #(
2229 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2231 esac
2232 case $ac_var in #(
2233 _ | IFS | as_nl) ;; #(
2234 *) $as_unset $ac_var ;;
2235 esac ;;
2236 esac
2237 done
2238 (set) 2>&1 |
2239 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2240 *${as_nl}ac_space=\ *)
2241 sed -n \
2242 "s/'\''/'\''\\\\'\'''\''/g;
2243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2244 ;; #(
2245 *)
2246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2247 ;;
2248 esac |
2249 sort
2250 )
2251 echo
2252
2253 cat <<\_ASBOX
2254 ## ----------------- ##
2255 ## Output variables. ##
2256 ## ----------------- ##
2257 _ASBOX
2258 echo
2259 for ac_var in $ac_subst_vars
2260 do
2261 eval ac_val=\$$ac_var
2262 case $ac_val in
2263 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 esac
2265 echo "$ac_var='\''$ac_val'\''"
2266 done | sort
2267 echo
2268
2269 if test -n "$ac_subst_files"; then
2270 cat <<\_ASBOX
2271 ## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##
2274 _ASBOX
2275 echo
2276 for ac_var in $ac_subst_files
2277 do
2278 eval ac_val=\$$ac_var
2279 case $ac_val in
2280 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 esac
2282 echo "$ac_var='\''$ac_val'\''"
2283 done | sort
2284 echo
2285 fi
2286
2287 if test -s confdefs.h; then
2288 cat <<\_ASBOX
2289 ## ----------- ##
2290 ## confdefs.h. ##
2291 ## ----------- ##
2292 _ASBOX
2293 echo
2294 cat confdefs.h
2295 echo
2296 fi
2297 test "$ac_signal" != 0 &&
2298 echo "$as_me: caught signal $ac_signal"
2299 echo "$as_me: exit $exit_status"
2300 } >&5
2301 rm -f core *.core core.conftest.* &&
2302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303 exit $exit_status
2304 ' 0
2305 for ac_signal in 1 2 13 15; do
2306 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2307 done
2308 ac_signal=0
2309
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest* confdefs.h
2312
2313 # Predefined preprocessor variables.
2314
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2317 _ACEOF
2318
2319
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 _ACEOF
2323
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2327 _ACEOF
2328
2329
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2332 _ACEOF
2333
2334
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2337 _ACEOF
2338
2339
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 set x "$CONFIG_SITE"
2344 elif test "x$prefix" != xNONE; then
2345 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2346 else
2347 set x "$ac_default_prefix/share/config.site" \
2348 "$ac_default_prefix/etc/config.site"
2349 fi
2350 shift
2351 for ac_site_file
2352 do
2353 if test -r "$ac_site_file"; then
2354 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2355 echo "$as_me: loading site script $ac_site_file" >&6;}
2356 sed 's/^/| /' "$ac_site_file" >&5
2357 . "$ac_site_file"
2358 fi
2359 done
2360
2361 if test -r "$cache_file"; then
2362 # Some versions of bash will fail to source /dev/null (special
2363 # files actually), so we avoid doing that.
2364 if test -f "$cache_file"; then
2365 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2366 echo "$as_me: loading cache $cache_file" >&6;}
2367 case $cache_file in
2368 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2369 *) . "./$cache_file";;
2370 esac
2371 fi
2372 else
2373 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2374 echo "$as_me: creating cache $cache_file" >&6;}
2375 >$cache_file
2376 fi
2377
2378 # Check that the precious variables saved in the cache have kept the same
2379 # value.
2380 ac_cache_corrupted=false
2381 for ac_var in $ac_precious_vars; do
2382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2383 eval ac_new_set=\$ac_env_${ac_var}_set
2384 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2385 eval ac_new_val=\$ac_env_${ac_var}_value
2386 case $ac_old_set,$ac_new_set in
2387 set,)
2388 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2389 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2390 ac_cache_corrupted=: ;;
2391 ,set)
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2395 ,);;
2396 *)
2397 if test "x$ac_old_val" != "x$ac_new_val"; then
2398 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2399 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2401 echo "$as_me: former value: $ac_old_val" >&2;}
2402 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2403 echo "$as_me: current value: $ac_new_val" >&2;}
2404 ac_cache_corrupted=:
2405 fi;;
2406 esac
2407 # Pass precious variables to config.status.
2408 if test "$ac_new_set" = set; then
2409 case $ac_new_val in
2410 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 *) ac_arg=$ac_var=$ac_new_val ;;
2412 esac
2413 case " $ac_configure_args " in
2414 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2415 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2416 esac
2417 fi
2418 done
2419 if $ac_cache_corrupted; then
2420 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2421 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2423 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2424 { (exit 1); exit 1; }; }
2425 fi
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451 ac_ext=c
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2456
2457
2458
2459
2460
2461 ac_aux_dir=
2462 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463 if test -f "$ac_dir/install-sh"; then
2464 ac_aux_dir=$ac_dir
2465 ac_install_sh="$ac_aux_dir/install-sh -c"
2466 break
2467 elif test -f "$ac_dir/install.sh"; then
2468 ac_aux_dir=$ac_dir
2469 ac_install_sh="$ac_aux_dir/install.sh -c"
2470 break
2471 elif test -f "$ac_dir/shtool"; then
2472 ac_aux_dir=$ac_dir
2473 ac_install_sh="$ac_aux_dir/shtool install -c"
2474 break
2475 fi
2476 done
2477 if test -z "$ac_aux_dir"; then
2478 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2479 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2480 { (exit 1); exit 1; }; }
2481 fi
2482
2483 # These three variables are undocumented and unsupported,
2484 # and are intended to be withdrawn in a future Autoconf release.
2485 # They can cause serious problems if a builder's source tree is in a directory
2486 # whose full name contains unusual characters.
2487 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2488 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2489 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2490
2491
2492 # Make sure we can run config.sub.
2493 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2494 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2495 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2496 { (exit 1); exit 1; }; }
2497
2498 { echo "$as_me:$LINENO: checking build system type" >&5
2499 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_build+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 else
2503 ac_build_alias=$build_alias
2504 test "x$ac_build_alias" = x &&
2505 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2506 test "x$ac_build_alias" = x &&
2507 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2508 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2509 { (exit 1); exit 1; }; }
2510 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514
2515 fi
2516 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2517 echo "${ECHO_T}$ac_cv_build" >&6; }
2518 case $ac_cv_build in
2519 *-*-*) ;;
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2521 echo "$as_me: error: invalid value of canonical build" >&2;}
2522 { (exit 1); exit 1; }; };;
2523 esac
2524 build=$ac_cv_build
2525 ac_save_IFS=$IFS; IFS='-'
2526 set x $ac_cv_build
2527 shift
2528 build_cpu=$1
2529 build_vendor=$2
2530 shift; shift
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2533 build_os=$*
2534 IFS=$ac_save_IFS
2535 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2536
2537
2538 { echo "$as_me:$LINENO: checking host system type" >&5
2539 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2540 if test "${ac_cv_host+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 else
2543 if test "x$host_alias" = x; then
2544 ac_cv_host=$ac_cv_build
2545 else
2546 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2547 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2548 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2549 { (exit 1); exit 1; }; }
2550 fi
2551
2552 fi
2553 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2554 echo "${ECHO_T}$ac_cv_host" >&6; }
2555 case $ac_cv_host in
2556 *-*-*) ;;
2557 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2558 echo "$as_me: error: invalid value of canonical host" >&2;}
2559 { (exit 1); exit 1; }; };;
2560 esac
2561 host=$ac_cv_host
2562 ac_save_IFS=$IFS; IFS='-'
2563 set x $ac_cv_host
2564 shift
2565 host_cpu=$1
2566 host_vendor=$2
2567 shift; shift
2568 # Remember, the first character of IFS is used to create $*,
2569 # except with old shells:
2570 host_os=$*
2571 IFS=$ac_save_IFS
2572 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2573
2574
2575
2576 if test "$cross_compiling" != "no"; then
2577 HOST_PREFIX="${host_alias}-"
2578 HOST_SUFFIX="-$host_alias"
2579 else
2580 HOST_PREFIX=
2581 HOST_SUFFIX=
2582 fi
2583
2584
2585 wx_major_version_number=2
2586 wx_minor_version_number=9
2587 wx_release_number=2
2588 wx_subrelease_number=0
2589
2590 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2591 WX_VERSION=$WX_RELEASE.$wx_release_number
2592 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2593
2594 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595
2596
2597 wx_top_builddir="`pwd`"
2598
2599
2600
2601
2602 USE_UNIX=1
2603 USE_OS2=0
2604 USE_WIN32=0
2605 USE_DOS=0
2606 USE_BEOS=0
2607 USE_MAC=0
2608
2609 USE_AIX=
2610 USE_BSD= USE_DARWIN= USE_FREEBSD=
2611 USE_GNU= USE_HPUX=
2612 USE_LINUX=
2613 USE_NETBSD=
2614 USE_OPENBSD=
2615 USE_OSF= USE_SGI=
2616 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2617 USE_ULTRIX=
2618 USE_UNIXWARE=
2619
2620 USE_ALPHA=
2621
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2623
2624 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2625
2626 DEFAULT_wxUSE_OLD_COCOA=0
2627 DEFAULT_wxUSE_GTK=0
2628 DEFAULT_wxUSE_OSX_CARBON=0
2629 DEFAULT_wxUSE_OSX_COCOA=0
2630 DEFAULT_wxUSE_OSX_IPHONE=0
2631 DEFAULT_wxUSE_MGL=0
2632 DEFAULT_wxUSE_MICROWIN=0
2633 DEFAULT_wxUSE_MOTIF=0
2634 DEFAULT_wxUSE_MSW=0
2635 DEFAULT_wxUSE_PM=0
2636 DEFAULT_wxUSE_X11=0
2637 DEFAULT_wxUSE_DFB=0
2638
2639 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_GTK=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2644 DEFAULT_DEFAULT_wxUSE_MGL=0
2645 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2646 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2647 DEFAULT_DEFAULT_wxUSE_MSW=0
2648 DEFAULT_DEFAULT_wxUSE_PM=0
2649 DEFAULT_DEFAULT_wxUSE_X11=0
2650 DEFAULT_DEFAULT_wxUSE_DFB=0
2651
2652 PROGRAM_EXT=
2653 SAMPLES_RPATH_FLAG=
2654 DYLIB_RPATH_INSTALL=
2655 DYLIB_RPATH_POSTLINK=
2656
2657 DEFAULT_STD_FLAG=yes
2658
2659 case "${host}" in
2660 *-hp-hpux* )
2661 USE_HPUX=1
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __HPUX__ 1
2666 _ACEOF
2667
2668
2669 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2670 ;;
2671 *-*-linux* )
2672 USE_LINUX=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __LINUX__ 1
2675 _ACEOF
2676
2677 TMP=`uname -m`
2678 if test "x$TMP" = "xalpha"; then
2679 USE_ALPHA=1
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __ALPHA__ 1
2682 _ACEOF
2683
2684 fi
2685 DEFAULT_DEFAULT_wxUSE_GTK=1
2686 ;;
2687 *-*-gnu* | *-*-k*bsd*-gnu )
2688 USE_GNU=1
2689 TMP=`uname -m`
2690 if test "x$TMP" = "xalpha"; then
2691 USE_ALPHA=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __ALPHA__ 1
2694 _ACEOF
2695
2696 fi
2697 DEFAULT_DEFAULT_wxUSE_GTK=1
2698 ;;
2699 *-*-irix5* | *-*-irix6* )
2700 USE_SGI=1
2701 USE_SVR4=1
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SGI__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __SVR4__ 1
2708 _ACEOF
2709
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 ;;
2712 *-*-qnx*)
2713 USE_QNX=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __QNX__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_X11=1
2719 ;;
2720 *-*-solaris2* )
2721 USE_SUN=1
2722 USE_SOLARIS=1
2723 USE_SVR4=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __SUN__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __SOLARIS__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SVR4__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2738 ;;
2739 *-*-sunos4* )
2740 USE_SUN=1
2741 USE_SUNOS=1
2742 USE_BSD=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __SUN__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __SUNOS__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __BSD__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 ;;
2757 *-*-freebsd*)
2758 USE_BSD=1
2759 USE_FREEBSD=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __FREEBSD__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __BSD__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_GTK=1
2769 ;;
2770 *-*-openbsd*|*-*-mirbsd*)
2771 USE_BSD=1
2772 USE_OPENBSD=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __OPENBSD__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __BSD__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_GTK=1
2782 ;;
2783 *-*-netbsd*)
2784 USE_BSD=1
2785 USE_NETBSD=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __NETBSD__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __BSD__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_GTK=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2796
2797 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2798 ;;
2799 *-*-osf* )
2800 USE_ALPHA=1
2801 USE_OSF=1
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __ALPHA__ 1
2804 _ACEOF
2805
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __OSF__ 1
2808 _ACEOF
2809
2810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2812 ;;
2813 *-*-dgux5* )
2814 USE_ALPHA=1
2815 USE_SVR4=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __ALPHA__ 1
2818 _ACEOF
2819
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SVR4__ 1
2822 _ACEOF
2823
2824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2825 ;;
2826 *-*-sysv5* )
2827 USE_SYSV=1
2828 USE_SVR4=1
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __SYSV__ 1
2831 _ACEOF
2832
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __SVR4__ 1
2835 _ACEOF
2836
2837 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2838 ;;
2839 *-*-aix* )
2840 USE_AIX=1
2841 USE_SYSV=1
2842 USE_SVR4=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __AIX__ 1
2845 _ACEOF
2846
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __SYSV__ 1
2849 _ACEOF
2850
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __SVR4__ 1
2853 _ACEOF
2854
2855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2856 ;;
2857
2858 *-*-*UnixWare*)
2859 USE_SYSV=1
2860 USE_SVR4=1
2861 USE_UNIXWARE=1
2862 cat >>confdefs.h <<\_ACEOF
2863 #define __UNIXWARE__ 1
2864 _ACEOF
2865
2866 ;;
2867
2868 *-*-cygwin* | *-*-mingw32* )
2869 PROGRAM_EXT=".exe"
2870 DEFAULT_DEFAULT_wxUSE_MSW=1
2871 ;;
2872
2873 *-pc-msdosdjgpp )
2874 USE_UNIX=0
2875 USE_DOS=1
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DOS__ 1
2878 _ACEOF
2879
2880 PROGRAM_EXT=".exe"
2881 DEFAULT_DEFAULT_wxUSE_MGL=1
2882 ;;
2883
2884 *-pc-os2_emx | *-pc-os2-emx )
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __EMX__ 1
2887 _ACEOF
2888
2889 USE_OS2=1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __OS2__ 1
2892 _ACEOF
2893
2894 PROGRAM_EXT=".exe"
2895 DEFAULT_DEFAULT_wxUSE_PM=1
2896 CXX=gcc
2897 LDFLAGS="$LDFLAGS -Zcrtdll"
2898 ac_executable_extensions=".exe"
2899 export ac_executable_extensions
2900 ac_save_IFS="$IFS"
2901 IFS='\\'
2902 ac_TEMP_PATH=
2903 for ac_dir in $PATH; do
2904 IFS=$ac_save_IFS
2905 if test -z "$ac_TEMP_PATH"; then
2906 ac_TEMP_PATH="$ac_dir"
2907 else
2908 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2909 fi
2910 done
2911 export PATH="$ac_TEMP_PATH"
2912 unset ac_TEMP_PATH
2913 DEFAULT_STD_FLAG=no
2914 ;;
2915
2916 arm-apple-darwin*)
2917 USE_BSD=1
2918 USE_DARWIN=1
2919 cat >>confdefs.h <<\_ACEOF
2920 #define __BSD__ 1
2921 _ACEOF
2922
2923 cat >>confdefs.h <<\_ACEOF
2924 #define __DARWIN__ 1
2925 _ACEOF
2926
2927 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2928 ;;
2929
2930 *-*-darwin* )
2931 USE_BSD=1
2932 USE_DARWIN=1
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __BSD__ 1
2935 _ACEOF
2936
2937 cat >>confdefs.h <<\_ACEOF
2938 #define __DARWIN__ 1
2939 _ACEOF
2940
2941 cat >>confdefs.h <<\_ACEOF
2942 #define TARGET_CARBON 1
2943 _ACEOF
2944
2945 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2946 ;;
2947
2948 *-*-beos* )
2949 USE_BEOS=1
2950 cat >>confdefs.h <<\_ACEOF
2951 #define __BEOS__ 1
2952 _ACEOF
2953
2954 ;;
2955
2956 *)
2957 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2958 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2959 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2960 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2961
2962 DEFAULT_DEFAULT_wxUSE_X11=1
2963 DEFAULT_wxUSE_SHARED=no
2964 esac
2965
2966
2967
2968 DEFAULT_wxUSE_ALL_FEATURES=yes
2969
2970 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2971 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2972
2973 DEFAULT_wxUSE_DMALLOC=no
2974 DEFAULT_wxUSE_LIBGNOMEVFS=no
2975 DEFAULT_wxUSE_LIBHILDON=no
2976 DEFAULT_wxUSE_LIBHILDON2=no
2977 DEFAULT_wxUSE_LIBMSPACK=no
2978 DEFAULT_wxUSE_LIBSDL=no
2979
2980 DEFAULT_wxUSE_ACCESSIBILITY=no
2981 DEFAULT_wxUSE_IPV6=no
2982 DEFAULT_wxUSE_GSTREAMER8=no
2983
2984 DEFAULT_wxUSE_UNICODE_UTF8=auto
2985 DEFAULT_wxUSE_OPENGL=auto
2986 DEFAULT_wxUSE_MEDIACTRL=auto
2987 DEFAULT_wxUSE_COMPILER_TLS=auto
2988
2989 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2990
2991 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2992
2993 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2994
2995 DEFAULT_wxUSE_GTK2=yes
2996
2997 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2998
2999
3000
3001
3002
3003 enablestring=disable
3004 defaultval=
3005 if test -z "$defaultval"; then
3006 if test x"$enablestring" = xdisable; then
3007 defaultval=yes
3008 else
3009 defaultval=no
3010 fi
3011 fi
3012
3013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3014 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3015 # Check whether --enable-gui was given.
3016 if test "${enable_gui+set}" = set; then
3017 enableval=$enable_gui;
3018 if test "$enableval" = yes; then
3019 wx_cv_use_gui='wxUSE_GUI=yes'
3020 else
3021 wx_cv_use_gui='wxUSE_GUI=no'
3022 fi
3023
3024 else
3025
3026 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3027
3028 fi
3029
3030
3031 eval "$wx_cv_use_gui"
3032
3033 if test x"$enablestring" = xdisable; then
3034 if test $wxUSE_GUI = no; then
3035 result=yes
3036 else
3037 result=no
3038 fi
3039 else
3040 result=$wxUSE_GUI
3041 fi
3042
3043 { echo "$as_me:$LINENO: result: $result" >&5
3044 echo "${ECHO_T}$result" >&6; }
3045
3046
3047 enablestring=
3048 defaultval=
3049 if test -z "$defaultval"; then
3050 if test x"$enablestring" = xdisable; then
3051 defaultval=yes
3052 else
3053 defaultval=no
3054 fi
3055 fi
3056
3057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3058 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3059 # Check whether --enable-monolithic was given.
3060 if test "${enable_monolithic+set}" = set; then
3061 enableval=$enable_monolithic;
3062 if test "$enableval" = yes; then
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3064 else
3065 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3066 fi
3067
3068 else
3069
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3071
3072 fi
3073
3074
3075 eval "$wx_cv_use_monolithic"
3076
3077 if test x"$enablestring" = xdisable; then
3078 if test $wxUSE_MONOLITHIC = no; then
3079 result=yes
3080 else
3081 result=no
3082 fi
3083 else
3084 result=$wxUSE_MONOLITHIC
3085 fi
3086
3087 { echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6; }
3089
3090
3091 enablestring=
3092 defaultval=
3093 if test -z "$defaultval"; then
3094 if test x"$enablestring" = xdisable; then
3095 defaultval=yes
3096 else
3097 defaultval=no
3098 fi
3099 fi
3100
3101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3102 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3103 # Check whether --enable-plugins was given.
3104 if test "${enable_plugins+set}" = set; then
3105 enableval=$enable_plugins;
3106 if test "$enableval" = yes; then
3107 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3108 else
3109 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3110 fi
3111
3112 else
3113
3114 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3115
3116 fi
3117
3118
3119 eval "$wx_cv_use_plugins"
3120
3121 if test x"$enablestring" = xdisable; then
3122 if test $wxUSE_PLUGINS = no; then
3123 result=yes
3124 else
3125 result=no
3126 fi
3127 else
3128 result=$wxUSE_PLUGINS
3129 fi
3130
3131 { echo "$as_me:$LINENO: result: $result" >&5
3132 echo "${ECHO_T}$result" >&6; }
3133
3134
3135 withstring=without
3136 defaultval=$wxUSE_ALL_FEATURES
3137 if test -z "$defaultval"; then
3138 if test x"$withstring" = xwithout; then
3139 defaultval=yes
3140 else
3141 defaultval=no
3142 fi
3143 fi
3144 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3145 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3146
3147 # Check whether --with-subdirs was given.
3148 if test "${with_subdirs+set}" = set; then
3149 withval=$with_subdirs;
3150 if test "$withval" = yes; then
3151 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3152 else
3153 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3154 fi
3155
3156 else
3157
3158 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3159
3160 fi
3161
3162
3163 eval "$wx_cv_use_subdirs"
3164
3165 if test x"$withstring" = xwithout; then
3166 if test $wxWITH_SUBDIRS = yes; then
3167 result=no
3168 else
3169 result=yes
3170 fi
3171 else
3172 result=$wxWITH_SUBDIRS
3173 fi
3174
3175 { echo "$as_me:$LINENO: result: $result" >&5
3176 echo "${ECHO_T}$result" >&6; }
3177
3178
3179 # Check whether --with-flavour was given.
3180 if test "${with_flavour+set}" = set; then
3181 withval=$with_flavour; WX_FLAVOUR="$withval"
3182 fi
3183
3184
3185 enablestring=
3186 defaultval=
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3189 defaultval=yes
3190 else
3191 defaultval=no
3192 fi
3193 fi
3194
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3197 # Check whether --enable-official_build was given.
3198 if test "${enable_official_build+set}" = set; then
3199 enableval=$enable_official_build;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3202 else
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3204 fi
3205
3206 else
3207
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3209
3210 fi
3211
3212
3213 eval "$wx_cv_use_official_build"
3214
3215 if test x"$enablestring" = xdisable; then
3216 if test $wxUSE_OFFICIAL_BUILD = no; then
3217 result=yes
3218 else
3219 result=no
3220 fi
3221 else
3222 result=$wxUSE_OFFICIAL_BUILD
3223 fi
3224
3225 { echo "$as_me:$LINENO: result: $result" >&5
3226 echo "${ECHO_T}$result" >&6; }
3227
3228 # Check whether --enable-vendor was given.
3229 if test "${enable_vendor+set}" = set; then
3230 enableval=$enable_vendor; VENDOR="$enableval"
3231 fi
3232
3233 if test "x$VENDOR" = "x"; then
3234 VENDOR="custom"
3235 fi
3236
3237
3238 enablestring=disable
3239 defaultval=
3240 if test -z "$defaultval"; then
3241 if test x"$enablestring" = xdisable; then
3242 defaultval=yes
3243 else
3244 defaultval=no
3245 fi
3246 fi
3247
3248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3249 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3250 # Check whether --enable-all-features was given.
3251 if test "${enable_all_features+set}" = set; then
3252 enableval=$enable_all_features;
3253 if test "$enableval" = yes; then
3254 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3255 else
3256 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3257 fi
3258
3259 else
3260
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3262
3263 fi
3264
3265
3266 eval "$wx_cv_use_all_features"
3267
3268 if test x"$enablestring" = xdisable; then
3269 if test $wxUSE_ALL_FEATURES = no; then
3270 result=yes
3271 else
3272 result=no
3273 fi
3274 else
3275 result=$wxUSE_ALL_FEATURES
3276 fi
3277
3278 { echo "$as_me:$LINENO: result: $result" >&5
3279 echo "${ECHO_T}$result" >&6; }
3280
3281
3282 if test "$wxUSE_ALL_FEATURES" = "no"; then
3283 DEFAULT_wxUSE_MEDIACTRL=no
3284 fi
3285
3286
3287 if test "$wxUSE_GUI" = "yes"; then
3288
3289
3290 enablestring=
3291 defaultval=
3292 if test -z "$defaultval"; then
3293 if test x"$enablestring" = xdisable; then
3294 defaultval=yes
3295 else
3296 defaultval=no
3297 fi
3298 fi
3299
3300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3302 # Check whether --enable-universal was given.
3303 if test "${enable_universal+set}" = set; then
3304 enableval=$enable_universal;
3305 if test "$enableval" = yes; then
3306 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3307 else
3308 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3309 fi
3310
3311 else
3312
3313 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3314
3315 fi
3316
3317
3318 eval "$wx_cv_use_universal"
3319
3320 if test x"$enablestring" = xdisable; then
3321 if test $wxUSE_UNIVERSAL = no; then
3322 result=yes
3323 else
3324 result=no
3325 fi
3326 else
3327 result=$wxUSE_UNIVERSAL
3328 fi
3329
3330 { echo "$as_me:$LINENO: result: $result" >&5
3331 echo "${ECHO_T}$result" >&6; }
3332
3333 if test "$wxUSE_UNIVERSAL" = "yes"; then
3334
3335 # Check whether --with-themes was given.
3336 if test "${with_themes+set}" = set; then
3337 withval=$with_themes; wxUNIV_THEMES="$withval"
3338 fi
3339
3340 fi
3341
3342
3343 # Check whether --with-gtk was given.
3344 if test "${with_gtk+set}" = set; then
3345 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-motif was given.
3350 if test "${with_motif+set}" = set; then
3351 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-osx_carbon was given.
3356 if test "${with_osx_carbon+set}" = set; then
3357 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 # Check whether --with-osx_cocoa was given.
3362 if test "${with_osx_cocoa+set}" = set; then
3363 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3364 fi
3365
3366
3367 # Check whether --with-osx_iphone was given.
3368 if test "${with_osx_iphone+set}" = set; then
3369 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-osx was given.
3374 if test "${with_osx+set}" = set; then
3375 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 # Check whether --with-carbon was given.
3380 if test "${with_carbon+set}" = set; then
3381 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-cocoa was given.
3386 if test "${with_cocoa+set}" = set; then
3387 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-iphone was given.
3392 if test "${with_iphone+set}" = set; then
3393 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 # Check whether --with-mac was given.
3398 if test "${with_mac+set}" = set; then
3399 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-old_cocoa was given.
3404 if test "${with_old_cocoa+set}" = set; then
3405 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3406 fi
3407
3408
3409 # Check whether --with-wine was given.
3410 if test "${with_wine+set}" = set; then
3411 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3412 fi
3413
3414
3415 # Check whether --with-msw was given.
3416 if test "${with_msw+set}" = set; then
3417 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3418 fi
3419
3420
3421 # Check whether --with-pm was given.
3422 if test "${with_pm+set}" = set; then
3423 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3424 fi
3425
3426
3427 # Check whether --with-mgl was given.
3428 if test "${with_mgl+set}" = set; then
3429 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 # Check whether --with-directfb was given.
3434 if test "${with_directfb+set}" = set; then
3435 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3436 fi
3437
3438
3439 # Check whether --with-microwin was given.
3440 if test "${with_microwin+set}" = set; then
3441 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3442 fi
3443
3444
3445 # Check whether --with-x11 was given.
3446 if test "${with_x11+set}" = set; then
3447 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3448 fi
3449
3450
3451 enablestring=
3452 defaultval=
3453 if test -z "$defaultval"; then
3454 if test x"$enablestring" = xdisable; then
3455 defaultval=yes
3456 else
3457 defaultval=no
3458 fi
3459 fi
3460
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3463 # Check whether --enable-nanox was given.
3464 if test "${enable_nanox+set}" = set; then
3465 enableval=$enable_nanox;
3466 if test "$enableval" = yes; then
3467 wx_cv_use_nanox='wxUSE_NANOX=yes'
3468 else
3469 wx_cv_use_nanox='wxUSE_NANOX=no'
3470 fi
3471
3472 else
3473
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3475
3476 fi
3477
3478
3479 eval "$wx_cv_use_nanox"
3480
3481 if test x"$enablestring" = xdisable; then
3482 if test $wxUSE_NANOX = no; then
3483 result=yes
3484 else
3485 result=no
3486 fi
3487 else
3488 result=$wxUSE_NANOX
3489 fi
3490
3491 { echo "$as_me:$LINENO: result: $result" >&5
3492 echo "${ECHO_T}$result" >&6; }
3493
3494
3495 # Check whether --enable-gtk2 was given.
3496 if test "${enable_gtk2+set}" = set; then
3497 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3498 fi
3499
3500
3501 enablestring=
3502 defaultval=
3503 if test -z "$defaultval"; then
3504 if test x"$enablestring" = xdisable; then
3505 defaultval=yes
3506 else
3507 defaultval=no
3508 fi
3509 fi
3510
3511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3513 # Check whether --enable-gpe was given.
3514 if test "${enable_gpe+set}" = set; then
3515 enableval=$enable_gpe;
3516 if test "$enableval" = yes; then
3517 wx_cv_use_gpe='wxUSE_GPE=yes'
3518 else
3519 wx_cv_use_gpe='wxUSE_GPE=no'
3520 fi
3521
3522 else
3523
3524 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3525
3526 fi
3527
3528
3529 eval "$wx_cv_use_gpe"
3530
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_GPE = no; then
3533 result=yes
3534 else
3535 result=no
3536 fi
3537 else
3538 result=$wxUSE_GPE
3539 fi
3540
3541 { echo "$as_me:$LINENO: result: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3543
3544
3545
3546 { echo "$as_me:$LINENO: checking for toolkit" >&5
3547 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3548
3549
3550
3551 # In Wine, we need to default to MSW, not GTK or MOTIF
3552 if test "$wxUSE_WINE" = "yes"; then
3553 DEFAULT_DEFAULT_wxUSE_GTK=0
3554 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3555 DEFAULT_DEFAULT_wxUSE_MSW=1
3556 wxUSE_SHARED=no
3557 CC=${CC:-winegcc}
3558 CXX=${CXX:-wineg++}
3559 fi
3560
3561
3562 if test "$wxUSE_GUI" = "yes"; then
3563
3564 if test "$USE_BEOS" = 1; then
3565 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3566 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3567 { (exit 1); exit 1; }; }
3568 fi
3569
3570 if test "$TOOLKIT_GIVEN" = 1; then
3571 for toolkit in $ALL_TOOLKITS; do
3572 var=wxUSE_$toolkit
3573 eval "value=\$${var}"
3574 if test "x$value" = "xno"; then
3575 eval "$var=0"
3576 elif test "x$value" != "x"; then
3577 eval "$var=1"
3578 fi
3579
3580 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3581 eval "wx${toolkit}_VERSION=$value"
3582 fi
3583 done
3584 else
3585 for toolkit in $ALL_TOOLKITS; do
3586 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3587 eval "wxUSE_$toolkit=\$${var}"
3588 done
3589 fi
3590
3591 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3592 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3593 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3594
3595 case "${host}" in
3596 *-pc-os2_emx | *-pc-os2-emx )
3597 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3598 esac
3599
3600 case "$NUM_TOOLKITS" in
3601 1)
3602 ;;
3603 0)
3604 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3605 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3606 { (exit 1); exit 1; }; }
3607 ;;
3608 *)
3609 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3610 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3611 { (exit 1); exit 1; }; }
3612 esac
3613
3614 # to be removed when --disable-gtk2 isn't needed
3615 if test "x$wxUSE_GTK2" = "xyes"; then
3616 wxGTK_VERSION=2
3617 wxUSE_GTK1=0
3618 elif test "x$wxUSE_GTK2" = "xno"; then
3619 wxGTK_VERSION=1
3620 wxUSE_GTK1=1
3621 fi
3622
3623 for toolkit in $ALL_TOOLKITS; do
3624 var=wxUSE_$toolkit
3625 eval "value=\$${var}"
3626 if test "$value" = 1; then
3627 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3628 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3629 echo "${ECHO_T}$toolkit_echo" >&6; }
3630 fi
3631 done
3632 else
3633 if test "x$host_alias" != "x"; then
3634 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3635 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3636 else
3637 { echo "$as_me:$LINENO: result: base only" >&5
3638 echo "${ECHO_T}base only" >&6; }
3639 fi
3640 fi
3641
3642 wxUSE_MAC=0
3643 if test "$wxUSE_OSX_CARBON" = 1 \
3644 -o "$wxUSE_OSX_COCOA" = 1 \
3645 -o "$wxUSE_OSX_IPHONE" = 1; then
3646 wxUSE_MAC=1
3647 fi
3648
3649
3650
3651 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3652 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libpng was given.
3655 if test "${with_libpng+set}" = set; then
3656 withval=$with_libpng;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671 else
3672
3673 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3674
3675 fi
3676
3677
3678 eval "$wx_cv_use_libpng"
3679
3680 if test "$wxUSE_LIBPNG" = yes; then
3681 { echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6; }
3683 elif test "$wxUSE_LIBPNG" = no; then
3684 { echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6; }
3686 elif test "$wxUSE_LIBPNG" = sys; then
3687 { echo "$as_me:$LINENO: result: system version" >&5
3688 echo "${ECHO_T}system version" >&6; }
3689 elif test "$wxUSE_LIBPNG" = builtin; then
3690 { echo "$as_me:$LINENO: result: builtin version" >&5
3691 echo "${ECHO_T}builtin version" >&6; }
3692 else
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3696 fi
3697
3698
3699 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3700 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3701
3702 # Check whether --with-libjpeg was given.
3703 if test "${with_libjpeg+set}" = set; then
3704 withval=$with_libjpeg;
3705 if test "$withval" = yes; then
3706 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3707 elif test "$withval" = no; then
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3709 elif test "$withval" = sys; then
3710 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3711 elif test "$withval" = builtin; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718
3719 else
3720
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3722
3723 fi
3724
3725
3726 eval "$wx_cv_use_libjpeg"
3727
3728 if test "$wxUSE_LIBJPEG" = yes; then
3729 { echo "$as_me:$LINENO: result: yes" >&5
3730 echo "${ECHO_T}yes" >&6; }
3731 elif test "$wxUSE_LIBJPEG" = no; then
3732 { echo "$as_me:$LINENO: result: no" >&5
3733 echo "${ECHO_T}no" >&6; }
3734 elif test "$wxUSE_LIBJPEG" = sys; then
3735 { echo "$as_me:$LINENO: result: system version" >&5
3736 echo "${ECHO_T}system version" >&6; }
3737 elif test "$wxUSE_LIBJPEG" = builtin; then
3738 { echo "$as_me:$LINENO: result: builtin version" >&5
3739 echo "${ECHO_T}builtin version" >&6; }
3740 else
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3744 fi
3745
3746
3747 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3748 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3749
3750 # Check whether --with-libtiff was given.
3751 if test "${with_libtiff+set}" = set; then
3752 withval=$with_libtiff;
3753 if test "$withval" = yes; then
3754 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3755 elif test "$withval" = no; then
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3757 elif test "$withval" = sys; then
3758 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3759 elif test "$withval" = builtin; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3761 else
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3765 fi
3766
3767 else
3768
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3770
3771 fi
3772
3773
3774 eval "$wx_cv_use_libtiff"
3775
3776 if test "$wxUSE_LIBTIFF" = yes; then
3777 { echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6; }
3779 elif test "$wxUSE_LIBTIFF" = no; then
3780 { echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6; }
3782 elif test "$wxUSE_LIBTIFF" = sys; then
3783 { echo "$as_me:$LINENO: result: system version" >&5
3784 echo "${ECHO_T}system version" >&6; }
3785 elif test "$wxUSE_LIBTIFF" = builtin; then
3786 { echo "$as_me:$LINENO: result: builtin version" >&5
3787 echo "${ECHO_T}builtin version" >&6; }
3788 else
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3792 fi
3793
3794
3795 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3796 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3797
3798 # Check whether --with-libxpm was given.
3799 if test "${with_libxpm+set}" = set; then
3800 withval=$with_libxpm;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3803 elif test "$withval" = no; then
3804 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3805 elif test "$withval" = sys; then
3806 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3807 elif test "$withval" = builtin; then
3808 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3809 else
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3813 fi
3814
3815 else
3816
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3818
3819 fi
3820
3821
3822 eval "$wx_cv_use_libxpm"
3823
3824 if test "$wxUSE_LIBXPM" = yes; then
3825 { echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6; }
3827 elif test "$wxUSE_LIBXPM" = no; then
3828 { echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6; }
3830 elif test "$wxUSE_LIBXPM" = sys; then
3831 { echo "$as_me:$LINENO: result: system version" >&5
3832 echo "${ECHO_T}system version" >&6; }
3833 elif test "$wxUSE_LIBXPM" = builtin; then
3834 { echo "$as_me:$LINENO: result: builtin version" >&5
3835 echo "${ECHO_T}builtin version" >&6; }
3836 else
3837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3838 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3839 { (exit 1); exit 1; }; }
3840 fi
3841
3842
3843 withstring=
3844 defaultval=$wxUSE_ALL_FEATURES
3845 if test -z "$defaultval"; then
3846 if test x"$withstring" = xwithout; then
3847 defaultval=yes
3848 else
3849 defaultval=no
3850 fi
3851 fi
3852 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3853 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3854
3855 # Check whether --with-libiconv was given.
3856 if test "${with_libiconv+set}" = set; then
3857 withval=$with_libiconv;
3858 if test "$withval" = yes; then
3859 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3860 else
3861 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3862 fi
3863
3864 else
3865
3866 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3867
3868 fi
3869
3870
3871 eval "$wx_cv_use_libiconv"
3872
3873 if test x"$withstring" = xwithout; then
3874 if test $wxUSE_LIBICONV = yes; then
3875 result=no
3876 else
3877 result=yes
3878 fi
3879 else
3880 result=$wxUSE_LIBICONV
3881 fi
3882
3883 { echo "$as_me:$LINENO: result: $result" >&5
3884 echo "${ECHO_T}$result" >&6; }
3885
3886
3887 withstring=
3888 defaultval=$wxUSE_ALL_FEATURES
3889 if test -z "$defaultval"; then
3890 if test x"$withstring" = xwithout; then
3891 defaultval=yes
3892 else
3893 defaultval=no
3894 fi
3895 fi
3896 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3897 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3898
3899 # Check whether --with-libmspack was given.
3900 if test "${with_libmspack+set}" = set; then
3901 withval=$with_libmspack;
3902 if test "$withval" = yes; then
3903 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3904 else
3905 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3906 fi
3907
3908 else
3909
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3911
3912 fi
3913
3914
3915 eval "$wx_cv_use_libmspack"
3916
3917 if test x"$withstring" = xwithout; then
3918 if test $wxUSE_LIBMSPACK = yes; then
3919 result=no
3920 else
3921 result=yes
3922 fi
3923 else
3924 result=$wxUSE_LIBMSPACK
3925 fi
3926
3927 { echo "$as_me:$LINENO: result: $result" >&5
3928 echo "${ECHO_T}$result" >&6; }
3929
3930
3931 withstring=without
3932 defaultval=$wxUSE_ALL_FEATURES
3933 if test -z "$defaultval"; then
3934 if test x"$withstring" = xwithout; then
3935 defaultval=yes
3936 else
3937 defaultval=no
3938 fi
3939 fi
3940 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3941 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3942
3943 # Check whether --with-gtkprint was given.
3944 if test "${with_gtkprint+set}" = set; then
3945 withval=$with_gtkprint;
3946 if test "$withval" = yes; then
3947 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3948 else
3949 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3950 fi
3951
3952 else
3953
3954 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3955
3956 fi
3957
3958
3959 eval "$wx_cv_use_gtkprint"
3960
3961 if test x"$withstring" = xwithout; then
3962 if test $wxUSE_GTKPRINT = yes; then
3963 result=no
3964 else
3965 result=yes
3966 fi
3967 else
3968 result=$wxUSE_GTKPRINT
3969 fi
3970
3971 { echo "$as_me:$LINENO: result: $result" >&5
3972 echo "${ECHO_T}$result" >&6; }
3973
3974
3975 withstring=without
3976 defaultval=$wxUSE_ALL_FEATURES
3977 if test -z "$defaultval"; then
3978 if test x"$withstring" = xwithout; then
3979 defaultval=yes
3980 else
3981 defaultval=no
3982 fi
3983 fi
3984 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3985 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3986
3987 # Check whether --with-gnomeprint was given.
3988 if test "${with_gnomeprint+set}" = set; then
3989 withval=$with_gnomeprint;
3990 if test "$withval" = yes; then
3991 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3992 else
3993 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3994 fi
3995
3996 else
3997
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3999
4000 fi
4001
4002
4003 eval "$wx_cv_use_gnomeprint"
4004
4005 if test x"$withstring" = xwithout; then
4006 if test $wxUSE_LIBGNOMEPRINT = yes; then
4007 result=no
4008 else
4009 result=yes
4010 fi
4011 else
4012 result=$wxUSE_LIBGNOMEPRINT
4013 fi
4014
4015 { echo "$as_me:$LINENO: result: $result" >&5
4016 echo "${ECHO_T}$result" >&6; }
4017
4018
4019 withstring=
4020 defaultval=$wxUSE_ALL_FEATURES
4021 if test -z "$defaultval"; then
4022 if test x"$withstring" = xwithout; then
4023 defaultval=yes
4024 else
4025 defaultval=no
4026 fi
4027 fi
4028 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4029 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4030
4031 # Check whether --with-gnomevfs was given.
4032 if test "${with_gnomevfs+set}" = set; then
4033 withval=$with_gnomevfs;
4034 if test "$withval" = yes; then
4035 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4036 else
4037 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4038 fi
4039
4040 else
4041
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4043
4044 fi
4045
4046
4047 eval "$wx_cv_use_gnomevfs"
4048
4049 if test x"$withstring" = xwithout; then
4050 if test $wxUSE_LIBGNOMEVFS = yes; then
4051 result=no
4052 else
4053 result=yes
4054 fi
4055 else
4056 result=$wxUSE_LIBGNOMEVFS
4057 fi
4058
4059 { echo "$as_me:$LINENO: result: $result" >&5
4060 echo "${ECHO_T}$result" >&6; }
4061
4062
4063 withstring=
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4067 defaultval=yes
4068 else
4069 defaultval=no
4070 fi
4071 fi
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4074
4075 # Check whether --with-hildon was given.
4076 if test "${with_hildon+set}" = set; then
4077 withval=$with_hildon;
4078 if test "$withval" = yes; then
4079 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4080 else
4081 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4082 fi
4083
4084 else
4085
4086 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4087
4088 fi
4089
4090
4091 eval "$wx_cv_use_hildon"
4092
4093 if test x"$withstring" = xwithout; then
4094 if test $wxUSE_LIBHILDON = yes; then
4095 result=no
4096 else
4097 result=yes
4098 fi
4099 else
4100 result=$wxUSE_LIBHILDON
4101 fi
4102
4103 { echo "$as_me:$LINENO: result: $result" >&5
4104 echo "${ECHO_T}$result" >&6; }
4105
4106
4107 withstring=
4108 defaultval=$wxUSE_ALL_FEATURES
4109 if test -z "$defaultval"; then
4110 if test x"$withstring" = xwithout; then
4111 defaultval=yes
4112 else
4113 defaultval=no
4114 fi
4115 fi
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4118
4119 # Check whether --with-opengl was given.
4120 if test "${with_opengl+set}" = set; then
4121 withval=$with_opengl;
4122 if test "$withval" = yes; then
4123 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4124 else
4125 wx_cv_use_opengl='wxUSE_OPENGL=no'
4126 fi
4127
4128 else
4129
4130 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4131
4132 fi
4133
4134
4135 eval "$wx_cv_use_opengl"
4136
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_OPENGL = yes; then
4139 result=no
4140 else
4141 result=yes
4142 fi
4143 else
4144 result=$wxUSE_OPENGL
4145 fi
4146
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4149
4150
4151 fi
4152
4153
4154 withstring=
4155 defaultval=$wxUSE_ALL_FEATURES
4156 if test -z "$defaultval"; then
4157 if test x"$withstring" = xwithout; then
4158 defaultval=yes
4159 else
4160 defaultval=no
4161 fi
4162 fi
4163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4164 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4165
4166 # Check whether --with-dmalloc was given.
4167 if test "${with_dmalloc+set}" = set; then
4168 withval=$with_dmalloc;
4169 if test "$withval" = yes; then
4170 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4171 else
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4173 fi
4174
4175 else
4176
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4178
4179 fi
4180
4181
4182 eval "$wx_cv_use_dmalloc"
4183
4184 if test x"$withstring" = xwithout; then
4185 if test $wxUSE_DMALLOC = yes; then
4186 result=no
4187 else
4188 result=yes
4189 fi
4190 else
4191 result=$wxUSE_DMALLOC
4192 fi
4193
4194 { echo "$as_me:$LINENO: result: $result" >&5
4195 echo "${ECHO_T}$result" >&6; }
4196
4197
4198 withstring=
4199 defaultval=$wxUSE_ALL_FEATURES
4200 if test -z "$defaultval"; then
4201 if test x"$withstring" = xwithout; then
4202 defaultval=yes
4203 else
4204 defaultval=no
4205 fi
4206 fi
4207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4208 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4209
4210 # Check whether --with-sdl was given.
4211 if test "${with_sdl+set}" = set; then
4212 withval=$with_sdl;
4213 if test "$withval" = yes; then
4214 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4215 else
4216 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4217 fi
4218
4219 else
4220
4221 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4222
4223 fi
4224
4225
4226 eval "$wx_cv_use_sdl"
4227
4228 if test x"$withstring" = xwithout; then
4229 if test $wxUSE_LIBSDL = yes; then
4230 result=no
4231 else
4232 result=yes
4233 fi
4234 else
4235 result=$wxUSE_LIBSDL
4236 fi
4237
4238 { echo "$as_me:$LINENO: result: $result" >&5
4239 echo "${ECHO_T}$result" >&6; }
4240
4241
4242 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4243 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4244
4245 # Check whether --with-regex was given.
4246 if test "${with_regex+set}" = set; then
4247 withval=$with_regex;
4248 if test "$withval" = yes; then
4249 wx_cv_use_regex='wxUSE_REGEX=yes'
4250 elif test "$withval" = no; then
4251 wx_cv_use_regex='wxUSE_REGEX=no'
4252 elif test "$withval" = sys; then
4253 wx_cv_use_regex='wxUSE_REGEX=sys'
4254 elif test "$withval" = builtin; then
4255 wx_cv_use_regex='wxUSE_REGEX=builtin'
4256 else
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4260 fi
4261
4262 else
4263
4264 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4265
4266 fi
4267
4268
4269 eval "$wx_cv_use_regex"
4270
4271 if test "$wxUSE_REGEX" = yes; then
4272 { echo "$as_me:$LINENO: result: yes" >&5
4273 echo "${ECHO_T}yes" >&6; }
4274 elif test "$wxUSE_REGEX" = no; then
4275 { echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6; }
4277 elif test "$wxUSE_REGEX" = sys; then
4278 { echo "$as_me:$LINENO: result: system version" >&5
4279 echo "${ECHO_T}system version" >&6; }
4280 elif test "$wxUSE_REGEX" = builtin; then
4281 { echo "$as_me:$LINENO: result: builtin version" >&5
4282 echo "${ECHO_T}builtin version" >&6; }
4283 else
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4287 fi
4288
4289
4290 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4291 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4292
4293 # Check whether --with-zlib was given.
4294 if test "${with_zlib+set}" = set; then
4295 withval=$with_zlib;
4296 if test "$withval" = yes; then
4297 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4298 elif test "$withval" = no; then
4299 wx_cv_use_zlib='wxUSE_ZLIB=no'
4300 elif test "$withval" = sys; then
4301 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4302 elif test "$withval" = builtin; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4304 else
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4308 fi
4309
4310 else
4311
4312 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4313
4314 fi
4315
4316
4317 eval "$wx_cv_use_zlib"
4318
4319 if test "$wxUSE_ZLIB" = yes; then
4320 { echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6; }
4322 elif test "$wxUSE_ZLIB" = no; then
4323 { echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6; }
4325 elif test "$wxUSE_ZLIB" = sys; then
4326 { echo "$as_me:$LINENO: result: system version" >&5
4327 echo "${ECHO_T}system version" >&6; }
4328 elif test "$wxUSE_ZLIB" = builtin; then
4329 { echo "$as_me:$LINENO: result: builtin version" >&5
4330 echo "${ECHO_T}builtin version" >&6; }
4331 else
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4335 fi
4336
4337
4338 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4340
4341 # Check whether --with-expat was given.
4342 if test "${with_expat+set}" = set; then
4343 withval=$with_expat;
4344 if test "$withval" = yes; then
4345 wx_cv_use_expat='wxUSE_EXPAT=yes'
4346 elif test "$withval" = no; then
4347 wx_cv_use_expat='wxUSE_EXPAT=no'
4348 elif test "$withval" = sys; then
4349 wx_cv_use_expat='wxUSE_EXPAT=sys'
4350 elif test "$withval" = builtin; then
4351 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4352 else
4353 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4354 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4355 { (exit 1); exit 1; }; }
4356 fi
4357
4358 else
4359
4360 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4361
4362 fi
4363
4364
4365 eval "$wx_cv_use_expat"
4366
4367 if test "$wxUSE_EXPAT" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_EXPAT" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_EXPAT" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_EXPAT" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4379 else
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4383 fi
4384
4385
4386 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4387 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4388
4389 # Check whether --with-macosx-sdk was given.
4390 if test "${with_macosx_sdk+set}" = set; then
4391 withval=$with_macosx_sdk;
4392 wxUSE_MACOSX_SDK=$withval
4393 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4394
4395 fi
4396
4397 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4398 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4399
4400 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4401 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4402
4403 # Check whether --with-macosx-version-min was given.
4404 if test "${with_macosx_version_min+set}" = set; then
4405 withval=$with_macosx_version_min;
4406 wxUSE_MACOSX_VERSION_MIN=$withval
4407 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4408
4409 fi
4410
4411 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4412 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4413
4414
4415 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4416 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4417 # Check whether --enable-debug was given.
4418 if test "${enable_debug+set}" = set; then
4419 enableval=$enable_debug;
4420 if test "$enableval" = yes; then
4421 wxUSE_DEBUG=yes
4422 elif test "$enableval" = no; then
4423 wxUSE_DEBUG=no
4424 elif test "$enableval" = max; then
4425 wxUSE_DEBUG=yes
4426 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4427 else
4428 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4429 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4430 { (exit 1); exit 1; }; }
4431 fi
4432
4433 else
4434 wxUSE_DEBUG=default
4435
4436 fi
4437
4438
4439 case "$wxUSE_DEBUG" in
4440 yes)
4441 DEFAULT_wxUSE_DEBUG_FLAG=yes
4442 DEFAULT_wxUSE_DEBUG_INFO=yes
4443
4444 DEFAULT_wxUSE_OPTIMISE=no
4445 ;;
4446
4447 no)
4448 DEFAULT_wxUSE_DEBUG_FLAG=no
4449 DEFAULT_wxUSE_DEBUG_INFO=no
4450 ;;
4451
4452 default)
4453 DEFAULT_wxUSE_DEBUG_FLAG=yes
4454 DEFAULT_wxUSE_DEBUG_INFO=no
4455 ;;
4456 esac
4457
4458
4459 enablestring=disable
4460 defaultval=
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4463 defaultval=yes
4464 else
4465 defaultval=no
4466 fi
4467 fi
4468
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4471 # Check whether --enable-debug_flag was given.
4472 if test "${enable_debug_flag+set}" = set; then
4473 enableval=$enable_debug_flag;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4476 else
4477 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4478 fi
4479
4480 else
4481
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4483
4484 fi
4485
4486
4487 eval "$wx_cv_use_debug_flag"
4488
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_DEBUG_FLAG = no; then
4491 result=yes
4492 else
4493 result=no
4494 fi
4495 else
4496 result=$wxUSE_DEBUG_FLAG
4497 fi
4498
4499 { echo "$as_me:$LINENO: result: $result" >&5
4500 echo "${ECHO_T}$result" >&6; }
4501
4502
4503 enablestring=
4504 defaultval=
4505 if test -z "$defaultval"; then
4506 if test x"$enablestring" = xdisable; then
4507 defaultval=yes
4508 else
4509 defaultval=no
4510 fi
4511 fi
4512
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4515 # Check whether --enable-debug_info was given.
4516 if test "${enable_debug_info+set}" = set; then
4517 enableval=$enable_debug_info;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4520 else
4521 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4522 fi
4523
4524 else
4525
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4527
4528 fi
4529
4530
4531 eval "$wx_cv_use_debug_info"
4532
4533 if test x"$enablestring" = xdisable; then
4534 if test $wxUSE_DEBUG_INFO = no; then
4535 result=yes
4536 else
4537 result=no
4538 fi
4539 else
4540 result=$wxUSE_DEBUG_INFO
4541 fi
4542
4543 { echo "$as_me:$LINENO: result: $result" >&5
4544 echo "${ECHO_T}$result" >&6; }
4545
4546
4547
4548
4549 enablestring=
4550 defaultval=
4551 if test -z "$defaultval"; then
4552 if test x"$enablestring" = xdisable; then
4553 defaultval=yes
4554 else
4555 defaultval=no
4556 fi
4557 fi
4558
4559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4561 # Check whether --enable-debug_gdb was given.
4562 if test "${enable_debug_gdb+set}" = set; then
4563 enableval=$enable_debug_gdb;
4564 if test "$enableval" = yes; then
4565 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4566 else
4567 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4568 fi
4569
4570 else
4571
4572 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4573
4574 fi
4575
4576
4577 eval "$wx_cv_use_debug_gdb"
4578
4579 if test x"$enablestring" = xdisable; then
4580 if test $wxUSE_DEBUG_GDB = no; then
4581 result=yes
4582 else
4583 result=no
4584 fi
4585 else
4586 result=$wxUSE_DEBUG_GDB
4587 fi
4588
4589 { echo "$as_me:$LINENO: result: $result" >&5
4590 echo "${ECHO_T}$result" >&6; }
4591
4592
4593 enablestring=
4594 defaultval=
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4597 defaultval=yes
4598 else
4599 defaultval=no
4600 fi
4601 fi
4602
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4605 # Check whether --enable-debug_cntxt was given.
4606 if test "${enable_debug_cntxt+set}" = set; then
4607 enableval=$enable_debug_cntxt;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4610 else
4611 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4612 fi
4613
4614 else
4615
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4617
4618 fi
4619
4620
4621 eval "$wx_cv_use_debug_cntxt"
4622
4623 if test x"$enablestring" = xdisable; then
4624 if test $wxUSE_DEBUG_CONTEXT = no; then
4625 result=yes
4626 else
4627 result=no
4628 fi
4629 else
4630 result=$wxUSE_DEBUG_CONTEXT
4631 fi
4632
4633 { echo "$as_me:$LINENO: result: $result" >&5
4634 echo "${ECHO_T}$result" >&6; }
4635
4636
4637 enablestring=
4638 defaultval=
4639 if test -z "$defaultval"; then
4640 if test x"$enablestring" = xdisable; then
4641 defaultval=yes
4642 else
4643 defaultval=no
4644 fi
4645 fi
4646
4647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4649 # Check whether --enable-mem_tracing was given.
4650 if test "${enable_mem_tracing+set}" = set; then
4651 enableval=$enable_mem_tracing;
4652 if test "$enableval" = yes; then
4653 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4654 else
4655 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4656 fi
4657
4658 else
4659
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4661
4662 fi
4663
4664
4665 eval "$wx_cv_use_mem_tracing"
4666
4667 if test x"$enablestring" = xdisable; then
4668 if test $wxUSE_MEM_TRACING = no; then
4669 result=yes
4670 else
4671 result=no
4672 fi
4673 else
4674 result=$wxUSE_MEM_TRACING
4675 fi
4676
4677 { echo "$as_me:$LINENO: result: $result" >&5
4678 echo "${ECHO_T}$result" >&6; }
4679
4680
4681
4682
4683 enablestring=disable
4684 defaultval=
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4687 defaultval=yes
4688 else
4689 defaultval=no
4690 fi
4691 fi
4692
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4695 # Check whether --enable-shared was given.
4696 if test "${enable_shared+set}" = set; then
4697 enableval=$enable_shared;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_shared='wxUSE_SHARED=yes'
4700 else
4701 wx_cv_use_shared='wxUSE_SHARED=no'
4702 fi
4703
4704 else
4705
4706 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4707
4708 fi
4709
4710
4711 eval "$wx_cv_use_shared"
4712
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_SHARED = no; then
4715 result=yes
4716 else
4717 result=no
4718 fi
4719 else
4720 result=$wxUSE_SHARED
4721 fi
4722
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4725
4726
4727 enablestring=
4728 defaultval=
4729 if test -z "$defaultval"; then
4730 if test x"$enablestring" = xdisable; then
4731 defaultval=yes
4732 else
4733 defaultval=no
4734 fi
4735 fi
4736
4737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4739 # Check whether --enable-stl was given.
4740 if test "${enable_stl+set}" = set; then
4741 enableval=$enable_stl;
4742 if test "$enableval" = yes; then
4743 wx_cv_use_stl='wxUSE_STL=yes'
4744 else
4745 wx_cv_use_stl='wxUSE_STL=no'
4746 fi
4747
4748 else
4749
4750 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4751
4752 fi
4753
4754
4755 eval "$wx_cv_use_stl"
4756
4757 if test x"$enablestring" = xdisable; then
4758 if test $wxUSE_STL = no; then
4759 result=yes
4760 else
4761 result=no
4762 fi
4763 else
4764 result=$wxUSE_STL
4765 fi
4766
4767 { echo "$as_me:$LINENO: result: $result" >&5
4768 echo "${ECHO_T}$result" >&6; }
4769
4770
4771 enablestring=
4772 defaultval=
4773 if test -z "$defaultval"; then
4774 if test x"$enablestring" = xdisable; then
4775 defaultval=yes
4776 else
4777 defaultval=no
4778 fi
4779 fi
4780
4781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4783 # Check whether --enable-std_iostreams was given.
4784 if test "${enable_std_iostreams+set}" = set; then
4785 enableval=$enable_std_iostreams;
4786 if test "$enableval" = yes; then
4787 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4788 else
4789 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4790 fi
4791
4792 else
4793
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4795
4796 fi
4797
4798
4799 eval "$wx_cv_use_std_iostreams"
4800
4801 if test x"$enablestring" = xdisable; then
4802 if test $wxUSE_STD_IOSTREAM = no; then
4803 result=yes
4804 else
4805 result=no
4806 fi
4807 else
4808 result=$wxUSE_STD_IOSTREAM
4809 fi
4810
4811 { echo "$as_me:$LINENO: result: $result" >&5
4812 echo "${ECHO_T}$result" >&6; }
4813
4814
4815 enablestring=
4816 defaultval=
4817 if test -z "$defaultval"; then
4818 if test x"$enablestring" = xdisable; then
4819 defaultval=yes
4820 else
4821 defaultval=no
4822 fi
4823 fi
4824
4825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4827 # Check whether --enable-std_string was given.
4828 if test "${enable_std_string+set}" = set; then
4829 enableval=$enable_std_string;
4830 if test "$enableval" = yes; then
4831 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4832 else
4833 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4834 fi
4835
4836 else
4837
4838 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4839
4840 fi
4841
4842
4843 eval "$wx_cv_use_std_string"
4844
4845 if test x"$enablestring" = xdisable; then
4846 if test $wxUSE_STD_STRING = no; then
4847 result=yes
4848 else
4849 result=no
4850 fi
4851 else
4852 result=$wxUSE_STD_STRING
4853 fi
4854
4855 { echo "$as_me:$LINENO: result: $result" >&5
4856 echo "${ECHO_T}$result" >&6; }
4857
4858
4859 enablestring=disable
4860 defaultval=
4861 if test -z "$defaultval"; then
4862 if test x"$enablestring" = xdisable; then
4863 defaultval=yes
4864 else
4865 defaultval=no
4866 fi
4867 fi
4868
4869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4871 # Check whether --enable-unicode was given.
4872 if test "${enable_unicode+set}" = set; then
4873 enableval=$enable_unicode;
4874 if test "$enableval" = yes; then
4875 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4876 else
4877 wx_cv_use_unicode='wxUSE_UNICODE=no'
4878 fi
4879
4880 else
4881
4882 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_unicode"
4888
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = no; then
4891 result=yes
4892 else
4893 result=no
4894 fi
4895 else
4896 result=$wxUSE_UNICODE
4897 fi
4898
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4901
4902
4903 enablestring=
4904 defaultval=
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4907 defaultval=yes
4908 else
4909 defaultval=no
4910 fi
4911 fi
4912
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4920 else
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4922 fi
4923
4924 else
4925
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4927
4928 fi
4929
4930
4931 eval "$wx_cv_use_mslu"
4932
4933 if test x"$enablestring" = xdisable; then
4934 if test $wxUSE_UNICODE_MSLU = no; then
4935 result=yes
4936 else
4937 result=no
4938 fi
4939 else
4940 result=$wxUSE_UNICODE_MSLU
4941 fi
4942
4943 { echo "$as_me:$LINENO: result: $result" >&5
4944 echo "${ECHO_T}$result" >&6; }
4945
4946
4947 enablestring=
4948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4950 # Check whether --enable-utf8 was given.
4951 if test "${enable_utf8+set}" = set; then
4952 enableval=$enable_utf8;
4953 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4954
4955 else
4956
4957 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_utf8"
4963
4964 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4965 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4966
4967
4968 enablestring=
4969 defaultval=
4970 if test -z "$defaultval"; then
4971 if test x"$enablestring" = xdisable; then
4972 defaultval=yes
4973 else
4974 defaultval=no
4975 fi
4976 fi
4977
4978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4980 # Check whether --enable-utf8only was given.
4981 if test "${enable_utf8only+set}" = set; then
4982 enableval=$enable_utf8only;
4983 if test "$enableval" = yes; then
4984 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4985 else
4986 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4987 fi
4988
4989 else
4990
4991 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4992
4993 fi
4994
4995
4996 eval "$wx_cv_use_utf8only"
4997
4998 if test x"$enablestring" = xdisable; then
4999 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5000 result=yes
5001 else
5002 result=no
5003 fi
5004 else
5005 result=$wxUSE_UNICODE_UTF8_LOCALE
5006 fi
5007
5008 { echo "$as_me:$LINENO: result: $result" >&5
5009 echo "${ECHO_T}$result" >&6; }
5010
5011
5012 enablestring=
5013 defaultval=
5014 if test -z "$defaultval"; then
5015 if test x"$enablestring" = xdisable; then
5016 defaultval=yes
5017 else
5018 defaultval=no
5019 fi
5020 fi
5021
5022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5024 # Check whether --enable-extended_rtti was given.
5025 if test "${enable_extended_rtti+set}" = set; then
5026 enableval=$enable_extended_rtti;
5027 if test "$enableval" = yes; then
5028 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5029 else
5030 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5031 fi
5032
5033 else
5034
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5036
5037 fi
5038
5039
5040 eval "$wx_cv_use_extended_rtti"
5041
5042 if test x"$enablestring" = xdisable; then
5043 if test $wxUSE_EXTENDED_RTTI = no; then
5044 result=yes
5045 else
5046 result=no
5047 fi
5048 else
5049 result=$wxUSE_EXTENDED_RTTI
5050 fi
5051
5052 { echo "$as_me:$LINENO: result: $result" >&5
5053 echo "${ECHO_T}$result" >&6; }
5054
5055 if test "$USE_OS2" = 1; then
5056 DEFAULT_wxUSE_OMF=no
5057
5058 enablestring=
5059 defaultval=
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5062 defaultval=yes
5063 else
5064 defaultval=no
5065 fi
5066 fi
5067
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5070 # Check whether --enable-omf was given.
5071 if test "${enable_omf+set}" = set; then
5072 enableval=$enable_omf;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_omf='wxUSE_OMF=yes'
5075 else
5076 wx_cv_use_omf='wxUSE_OMF=no'
5077 fi
5078
5079 else
5080
5081 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5082
5083 fi
5084
5085
5086 eval "$wx_cv_use_omf"
5087
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_OMF = no; then
5090 result=yes
5091 else
5092 result=no
5093 fi
5094 else
5095 result=$wxUSE_OMF
5096 fi
5097
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5100
5101 fi
5102
5103
5104 enablestring=disable
5105 defaultval=
5106 if test -z "$defaultval"; then
5107 if test x"$enablestring" = xdisable; then
5108 defaultval=yes
5109 else
5110 defaultval=no
5111 fi
5112 fi
5113
5114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5115 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5116 # Check whether --enable-optimise was given.
5117 if test "${enable_optimise+set}" = set; then
5118 enableval=$enable_optimise;
5119 if test "$enableval" = yes; then
5120 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5121 else
5122 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5123 fi
5124
5125 else
5126
5127 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5128
5129 fi
5130
5131
5132 eval "$wx_cv_use_optimise"
5133
5134 if test x"$enablestring" = xdisable; then
5135 if test $wxUSE_OPTIMISE = no; then
5136 result=yes
5137 else
5138 result=no
5139 fi
5140 else
5141 result=$wxUSE_OPTIMISE
5142 fi
5143
5144 { echo "$as_me:$LINENO: result: $result" >&5
5145 echo "${ECHO_T}$result" >&6; }
5146
5147
5148
5149 enablestring=
5150 defaultval=
5151 if test -z "$defaultval"; then
5152 if test x"$enablestring" = xdisable; then
5153 defaultval=yes
5154 else
5155 defaultval=no
5156 fi
5157 fi
5158
5159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5161 # Check whether --enable-profile was given.
5162 if test "${enable_profile+set}" = set; then
5163 enableval=$enable_profile;
5164 if test "$enableval" = yes; then
5165 wx_cv_use_profile='wxUSE_PROFILE=yes'
5166 else
5167 wx_cv_use_profile='wxUSE_PROFILE=no'
5168 fi
5169
5170 else
5171
5172 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5173
5174 fi
5175
5176
5177 eval "$wx_cv_use_profile"
5178
5179 if test x"$enablestring" = xdisable; then
5180 if test $wxUSE_PROFILE = no; then
5181 result=yes
5182 else
5183 result=no
5184 fi
5185 else
5186 result=$wxUSE_PROFILE
5187 fi
5188
5189 { echo "$as_me:$LINENO: result: $result" >&5
5190 echo "${ECHO_T}$result" >&6; }
5191
5192
5193 enablestring=
5194 defaultval=
5195 if test -z "$defaultval"; then
5196 if test x"$enablestring" = xdisable; then
5197 defaultval=yes
5198 else
5199 defaultval=no
5200 fi
5201 fi
5202
5203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5205 # Check whether --enable-no_rtti was given.
5206 if test "${enable_no_rtti+set}" = set; then
5207 enableval=$enable_no_rtti;
5208 if test "$enableval" = yes; then
5209 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5210 else
5211 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5212 fi
5213
5214 else
5215
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5217
5218 fi
5219
5220
5221 eval "$wx_cv_use_no_rtti"
5222
5223 if test x"$enablestring" = xdisable; then
5224 if test $wxUSE_NO_RTTI = no; then
5225 result=yes
5226 else
5227 result=no
5228 fi
5229 else
5230 result=$wxUSE_NO_RTTI
5231 fi
5232
5233 { echo "$as_me:$LINENO: result: $result" >&5
5234 echo "${ECHO_T}$result" >&6; }
5235
5236
5237 enablestring=
5238 defaultval=
5239 if test -z "$defaultval"; then
5240 if test x"$enablestring" = xdisable; then
5241 defaultval=yes
5242 else
5243 defaultval=no
5244 fi
5245 fi
5246
5247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5249 # Check whether --enable-no_exceptions was given.
5250 if test "${enable_no_exceptions+set}" = set; then
5251 enableval=$enable_no_exceptions;
5252 if test "$enableval" = yes; then
5253 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5254 else
5255 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5256 fi
5257
5258 else
5259
5260 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_no_exceptions"
5266
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_NO_EXCEPTIONS = no; then
5269 result=yes
5270 else
5271 result=no
5272 fi
5273 else
5274 result=$wxUSE_NO_EXCEPTIONS
5275 fi
5276
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5279
5280
5281 enablestring=
5282 defaultval=
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5285 defaultval=yes
5286 else
5287 defaultval=no
5288 fi
5289 fi
5290
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5293 # Check whether --enable-permissive was given.
5294 if test "${enable_permissive+set}" = set; then
5295 enableval=$enable_permissive;
5296 if test "$enableval" = yes; then
5297 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5298 else
5299 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5300 fi
5301
5302 else
5303
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5305
5306 fi
5307
5308
5309 eval "$wx_cv_use_permissive"
5310
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_PERMISSIVE = no; then
5313 result=yes
5314 else
5315 result=no
5316 fi
5317 else
5318 result=$wxUSE_PERMISSIVE
5319 fi
5320
5321 { echo "$as_me:$LINENO: result: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5323
5324
5325 enablestring=
5326 defaultval=
5327 if test -z "$defaultval"; then
5328 if test x"$enablestring" = xdisable; then
5329 defaultval=yes
5330 else
5331 defaultval=no
5332 fi
5333 fi
5334
5335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5337 # Check whether --enable-no_deps was given.
5338 if test "${enable_no_deps+set}" = set; then
5339 enableval=$enable_no_deps;
5340 if test "$enableval" = yes; then
5341 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5342 else
5343 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5344 fi
5345
5346 else
5347
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5349
5350 fi
5351
5352
5353 eval "$wx_cv_use_no_deps"
5354
5355 if test x"$enablestring" = xdisable; then
5356 if test $wxUSE_NO_DEPS = no; then
5357 result=yes
5358 else
5359 result=no
5360 fi
5361 else
5362 result=$wxUSE_NO_DEPS
5363 fi
5364
5365 { echo "$as_me:$LINENO: result: $result" >&5
5366 echo "${ECHO_T}$result" >&6; }
5367
5368
5369 enablestring=disable
5370 defaultval=
5371 if test -z "$defaultval"; then
5372 if test x"$enablestring" = xdisable; then
5373 defaultval=yes
5374 else
5375 defaultval=no
5376 fi
5377 fi
5378
5379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5381 # Check whether --enable-vararg_macros was given.
5382 if test "${enable_vararg_macros+set}" = set; then
5383 enableval=$enable_vararg_macros;
5384 if test "$enableval" = yes; then
5385 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5386 else
5387 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5388 fi
5389
5390 else
5391
5392 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5393
5394 fi
5395
5396
5397 eval "$wx_cv_use_vararg_macros"
5398
5399 if test x"$enablestring" = xdisable; then
5400 if test $wxUSE_VARARG_MACROS = no; then
5401 result=yes
5402 else
5403 result=no
5404 fi
5405 else
5406 result=$wxUSE_VARARG_MACROS
5407 fi
5408
5409 { echo "$as_me:$LINENO: result: $result" >&5
5410 echo "${ECHO_T}$result" >&6; }
5411
5412
5413 enablestring=
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5416 # Check whether --enable-universal_binary was given.
5417 if test "${enable_universal_binary+set}" = set; then
5418 enableval=$enable_universal_binary;
5419 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5420
5421 else
5422
5423 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5424
5425 fi
5426
5427
5428 eval "$wx_cv_use_universal_binary"
5429
5430 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5431 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5432
5433
5434
5435 enablestring=
5436 defaultval=
5437 if test -z "$defaultval"; then
5438 if test x"$enablestring" = xdisable; then
5439 defaultval=yes
5440 else
5441 defaultval=no
5442 fi
5443 fi
5444
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5447 # Check whether --enable-compat26 was given.
5448 if test "${enable_compat26+set}" = set; then
5449 enableval=$enable_compat26;
5450 if test "$enableval" = yes; then
5451 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5452 else
5453 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5454 fi
5455
5456 else
5457
5458 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5459
5460 fi
5461
5462
5463 eval "$wx_cv_use_compat26"
5464
5465 if test x"$enablestring" = xdisable; then
5466 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5467 result=yes
5468 else
5469 result=no
5470 fi
5471 else
5472 result=$WXWIN_COMPATIBILITY_2_6
5473 fi
5474
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5477
5478
5479 enablestring=disable
5480 defaultval=
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5483 defaultval=yes
5484 else
5485 defaultval=no
5486 fi
5487 fi
5488
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5491 # Check whether --enable-compat28 was given.
5492 if test "${enable_compat28+set}" = set; then
5493 enableval=$enable_compat28;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5496 else
5497 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5498 fi
5499
5500 else
5501
5502 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5503
5504 fi
5505
5506
5507 eval "$wx_cv_use_compat28"
5508
5509 if test x"$enablestring" = xdisable; then
5510 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5511 result=yes
5512 else
5513 result=no
5514 fi
5515 else
5516 result=$WXWIN_COMPATIBILITY_2_8
5517 fi
5518
5519 { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5521
5522
5523
5524 enablestring=disable
5525 defaultval=
5526 if test -z "$defaultval"; then
5527 if test x"$enablestring" = xdisable; then
5528 defaultval=yes
5529 else
5530 defaultval=no
5531 fi
5532 fi
5533
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5536 # Check whether --enable-rpath was given.
5537 if test "${enable_rpath+set}" = set; then
5538 enableval=$enable_rpath;
5539 if test "$enableval" = yes; then
5540 wx_cv_use_rpath='wxUSE_RPATH=yes'
5541 else
5542 wx_cv_use_rpath='wxUSE_RPATH=no'
5543 fi
5544
5545 else
5546
5547 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5548
5549 fi
5550
5551
5552 eval "$wx_cv_use_rpath"
5553
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_RPATH = no; then
5556 result=yes
5557 else
5558 result=no
5559 fi
5560 else
5561 result=$wxUSE_RPATH
5562 fi
5563
5564 { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5566
5567
5568
5569 enablestring=
5570 defaultval=
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5581 # Check whether --enable-objc_uniquifying was given.
5582 if test "${enable_objc_uniquifying+set}" = set; then
5583 enableval=$enable_objc_uniquifying;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5586 else
5587 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5588 fi
5589
5590 else
5591
5592 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5593
5594 fi
5595
5596
5597 eval "$wx_cv_use_objc_uniquifying"
5598
5599 if test x"$enablestring" = xdisable; then
5600 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5601 result=yes
5602 else
5603 result=no
5604 fi
5605 else
5606 result=$wxUSE_OBJC_UNIQUIFYING
5607 fi
5608
5609 { echo "$as_me:$LINENO: result: $result" >&5
5610 echo "${ECHO_T}$result" >&6; }
5611
5612
5613
5614 enablestring=disable
5615 defaultval=
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5618 defaultval=yes
5619 else
5620 defaultval=no
5621 fi
5622 fi
5623
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5626 # Check whether --enable-visibility was given.
5627 if test "${enable_visibility+set}" = set; then
5628 enableval=$enable_visibility;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5631 else
5632 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5633 fi
5634
5635 else
5636
5637 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5638
5639 fi
5640
5641
5642 eval "$wx_cv_use_visibility"
5643
5644 if test x"$enablestring" = xdisable; then
5645 if test $wxUSE_VISIBILITY = no; then
5646 result=yes
5647 else
5648 result=no
5649 fi
5650 else
5651 result=$wxUSE_VISIBILITY
5652 fi
5653
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5656
5657
5658 enablestring=disable
5659 defaultval=
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5662 defaultval=yes
5663 else
5664 defaultval=no
5665 fi
5666 fi
5667
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5670 # Check whether --enable-tls was given.
5671 if test "${enable_tls+set}" = set; then
5672 enableval=$enable_tls;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5675 else
5676 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5677 fi
5678
5679 else
5680
5681 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5682
5683 fi
5684
5685
5686 eval "$wx_cv_use_tls"
5687
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_COMPILER_TLS = no; then
5690 result=yes
5691 else
5692 result=no
5693 fi
5694 else
5695 result=$wxUSE_COMPILER_TLS
5696 fi
5697
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5700
5701
5702
5703
5704 enablestring=
5705 defaultval=$wxUSE_ALL_FEATURES
5706 if test -z "$defaultval"; then
5707 if test x"$enablestring" = xdisable; then
5708 defaultval=yes
5709 else
5710 defaultval=no
5711 fi
5712 fi
5713
5714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5716 # Check whether --enable-intl was given.
5717 if test "${enable_intl+set}" = set; then
5718 enableval=$enable_intl;
5719 if test "$enableval" = yes; then
5720 wx_cv_use_intl='wxUSE_INTL=yes'
5721 else
5722 wx_cv_use_intl='wxUSE_INTL=no'
5723 fi
5724
5725 else
5726
5727 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5728
5729 fi
5730
5731
5732 eval "$wx_cv_use_intl"
5733
5734 if test x"$enablestring" = xdisable; then
5735 if test $wxUSE_INTL = no; then
5736 result=yes
5737 else
5738 result=no
5739 fi
5740 else
5741 result=$wxUSE_INTL
5742 fi
5743
5744 { echo "$as_me:$LINENO: result: $result" >&5
5745 echo "${ECHO_T}$result" >&6; }
5746
5747
5748 enablestring=
5749 defaultval=$wxUSE_ALL_FEATURES
5750 if test -z "$defaultval"; then
5751 if test x"$enablestring" = xdisable; then
5752 defaultval=yes
5753 else
5754 defaultval=no
5755 fi
5756 fi
5757
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5760 # Check whether --enable-xlocale was given.
5761 if test "${enable_xlocale+set}" = set; then
5762 enableval=$enable_xlocale;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5765 else
5766 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5767 fi
5768
5769 else
5770
5771 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5772
5773 fi
5774
5775
5776 eval "$wx_cv_use_xlocale"
5777
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_XLOCALE = no; then
5780 result=yes
5781 else
5782 result=no
5783 fi
5784 else
5785 result=$wxUSE_XLOCALE
5786 fi
5787
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5790
5791
5792 enablestring=
5793 defaultval=$wxUSE_ALL_FEATURES
5794 if test -z "$defaultval"; then
5795 if test x"$enablestring" = xdisable; then
5796 defaultval=yes
5797 else
5798 defaultval=no
5799 fi
5800 fi
5801
5802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5804 # Check whether --enable-config was given.
5805 if test "${enable_config+set}" = set; then
5806 enableval=$enable_config;
5807 if test "$enableval" = yes; then
5808 wx_cv_use_config='wxUSE_CONFIG=yes'
5809 else
5810 wx_cv_use_config='wxUSE_CONFIG=no'
5811 fi
5812
5813 else
5814
5815 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5816
5817 fi
5818
5819
5820 eval "$wx_cv_use_config"
5821
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_CONFIG = no; then
5824 result=yes
5825 else
5826 result=no
5827 fi
5828 else
5829 result=$wxUSE_CONFIG
5830 fi
5831
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5834
5835
5836
5837 enablestring=
5838 defaultval=$wxUSE_ALL_FEATURES
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5841 defaultval=yes
5842 else
5843 defaultval=no
5844 fi
5845 fi
5846
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5849 # Check whether --enable-protocols was given.
5850 if test "${enable_protocols+set}" = set; then
5851 enableval=$enable_protocols;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5854 else
5855 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5856 fi
5857
5858 else
5859
5860 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5861
5862 fi
5863
5864
5865 eval "$wx_cv_use_protocols"
5866
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_PROTOCOL = no; then
5869 result=yes
5870 else
5871 result=no
5872 fi
5873 else
5874 result=$wxUSE_PROTOCOL
5875 fi
5876
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5879
5880
5881 enablestring=
5882 defaultval=$wxUSE_ALL_FEATURES
5883 if test -z "$defaultval"; then
5884 if test x"$enablestring" = xdisable; then
5885 defaultval=yes
5886 else
5887 defaultval=no
5888 fi
5889 fi
5890
5891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5893 # Check whether --enable-ftp was given.
5894 if test "${enable_ftp+set}" = set; then
5895 enableval=$enable_ftp;
5896 if test "$enableval" = yes; then
5897 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5898 else
5899 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5900 fi
5901
5902 else
5903
5904 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5905
5906 fi
5907
5908
5909 eval "$wx_cv_use_ftp"
5910
5911 if test x"$enablestring" = xdisable; then
5912 if test $wxUSE_PROTOCOL_FTP = no; then
5913 result=yes
5914 else
5915 result=no
5916 fi
5917 else
5918 result=$wxUSE_PROTOCOL_FTP
5919 fi
5920
5921 { echo "$as_me:$LINENO: result: $result" >&5
5922 echo "${ECHO_T}$result" >&6; }
5923
5924
5925 enablestring=
5926 defaultval=$wxUSE_ALL_FEATURES
5927 if test -z "$defaultval"; then
5928 if test x"$enablestring" = xdisable; then
5929 defaultval=yes
5930 else
5931 defaultval=no
5932 fi
5933 fi
5934
5935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5937 # Check whether --enable-http was given.
5938 if test "${enable_http+set}" = set; then
5939 enableval=$enable_http;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5942 else
5943 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5944 fi
5945
5946 else
5947
5948 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5949
5950 fi
5951
5952
5953 eval "$wx_cv_use_http"
5954
5955 if test x"$enablestring" = xdisable; then
5956 if test $wxUSE_PROTOCOL_HTTP = no; then
5957 result=yes
5958 else
5959 result=no
5960 fi
5961 else
5962 result=$wxUSE_PROTOCOL_HTTP
5963 fi
5964
5965 { echo "$as_me:$LINENO: result: $result" >&5
5966 echo "${ECHO_T}$result" >&6; }
5967
5968
5969 enablestring=
5970 defaultval=$wxUSE_ALL_FEATURES
5971 if test -z "$defaultval"; then
5972 if test x"$enablestring" = xdisable; then
5973 defaultval=yes
5974 else
5975 defaultval=no
5976 fi
5977 fi
5978
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5981 # Check whether --enable-fileproto was given.
5982 if test "${enable_fileproto+set}" = set; then
5983 enableval=$enable_fileproto;
5984 if test "$enableval" = yes; then
5985 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5986 else
5987 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5988 fi
5989
5990 else
5991
5992 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5993
5994 fi
5995
5996
5997 eval "$wx_cv_use_fileproto"
5998
5999 if test x"$enablestring" = xdisable; then
6000 if test $wxUSE_PROTOCOL_FILE = no; then
6001 result=yes
6002 else
6003 result=no
6004 fi
6005 else
6006 result=$wxUSE_PROTOCOL_FILE
6007 fi
6008
6009 { echo "$as_me:$LINENO: result: $result" >&5
6010 echo "${ECHO_T}$result" >&6; }
6011
6012
6013 enablestring=
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6017 defaultval=yes
6018 else
6019 defaultval=no
6020 fi
6021 fi
6022
6023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6025 # Check whether --enable-sockets was given.
6026 if test "${enable_sockets+set}" = set; then
6027 enableval=$enable_sockets;
6028 if test "$enableval" = yes; then
6029 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6030 else
6031 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6032 fi
6033
6034 else
6035
6036 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6037
6038 fi
6039
6040
6041 eval "$wx_cv_use_sockets"
6042
6043 if test x"$enablestring" = xdisable; then
6044 if test $wxUSE_SOCKETS = no; then
6045 result=yes
6046 else
6047 result=no
6048 fi
6049 else
6050 result=$wxUSE_SOCKETS
6051 fi
6052
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 echo "${ECHO_T}$result" >&6; }
6055
6056
6057 enablestring=
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6061 defaultval=yes
6062 else
6063 defaultval=no
6064 fi
6065 fi
6066
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6069 # Check whether --enable-ipv6 was given.
6070 if test "${enable_ipv6+set}" = set; then
6071 enableval=$enable_ipv6;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6074 else
6075 wx_cv_use_ipv6='wxUSE_IPV6=no'
6076 fi
6077
6078 else
6079
6080 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6081
6082 fi
6083
6084
6085 eval "$wx_cv_use_ipv6"
6086
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_IPV6 = no; then
6089 result=yes
6090 else
6091 result=no
6092 fi
6093 else
6094 result=$wxUSE_IPV6
6095 fi
6096
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6099
6100
6101 enablestring=
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6105 defaultval=yes
6106 else
6107 defaultval=no
6108 fi
6109 fi
6110
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6113 # Check whether --enable-ole was given.
6114 if test "${enable_ole+set}" = set; then
6115 enableval=$enable_ole;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_ole='wxUSE_OLE=yes'
6118 else
6119 wx_cv_use_ole='wxUSE_OLE=no'
6120 fi
6121
6122 else
6123
6124 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6125
6126 fi
6127
6128
6129 eval "$wx_cv_use_ole"
6130
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_OLE = no; then
6133 result=yes
6134 else
6135 result=no
6136 fi
6137 else
6138 result=$wxUSE_OLE
6139 fi
6140
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6143
6144
6145 enablestring=
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6149 defaultval=yes
6150 else
6151 defaultval=no
6152 fi
6153 fi
6154
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6157 # Check whether --enable-dataobj was given.
6158 if test "${enable_dataobj+set}" = set; then
6159 enableval=$enable_dataobj;
6160 if test "$enableval" = yes; then
6161 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6162 else
6163 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6164 fi
6165
6166 else
6167
6168 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6169
6170 fi
6171
6172
6173 eval "$wx_cv_use_dataobj"
6174
6175 if test x"$enablestring" = xdisable; then
6176 if test $wxUSE_DATAOBJ = no; then
6177 result=yes
6178 else
6179 result=no
6180 fi
6181 else
6182 result=$wxUSE_DATAOBJ
6183 fi
6184
6185 { echo "$as_me:$LINENO: result: $result" >&5
6186 echo "${ECHO_T}$result" >&6; }
6187
6188
6189
6190 enablestring=
6191 defaultval=$wxUSE_ALL_FEATURES
6192 if test -z "$defaultval"; then
6193 if test x"$enablestring" = xdisable; then
6194 defaultval=yes
6195 else
6196 defaultval=no
6197 fi
6198 fi
6199
6200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6202 # Check whether --enable-ipc was given.
6203 if test "${enable_ipc+set}" = set; then
6204 enableval=$enable_ipc;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_ipc='wxUSE_IPC=yes'
6207 else
6208 wx_cv_use_ipc='wxUSE_IPC=no'
6209 fi
6210
6211 else
6212
6213 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6214
6215 fi
6216
6217
6218 eval "$wx_cv_use_ipc"
6219
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_IPC = no; then
6222 result=yes
6223 else
6224 result=no
6225 fi
6226 else
6227 result=$wxUSE_IPC
6228 fi
6229
6230 { echo "$as_me:$LINENO: result: $result" >&5
6231 echo "${ECHO_T}$result" >&6; }
6232
6233
6234
6235 enablestring=
6236 defaultval=$wxUSE_ALL_FEATURES
6237 if test -z "$defaultval"; then
6238 if test x"$enablestring" = xdisable; then
6239 defaultval=yes
6240 else
6241 defaultval=no
6242 fi
6243 fi
6244
6245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6246 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6247 # Check whether --enable-baseevtloop was given.
6248 if test "${enable_baseevtloop+set}" = set; then
6249 enableval=$enable_baseevtloop;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6252 else
6253 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6254 fi
6255
6256 else
6257
6258 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6259
6260 fi
6261
6262
6263 eval "$wx_cv_use_baseevtloop"
6264
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6267 result=yes
6268 else
6269 result=no
6270 fi
6271 else
6272 result=$wxUSE_CONSOLE_EVENTLOOP
6273 fi
6274
6275 { echo "$as_me:$LINENO: result: $result" >&5
6276 echo "${ECHO_T}$result" >&6; }
6277
6278
6279 enablestring=
6280 defaultval=$wxUSE_ALL_FEATURES
6281 if test -z "$defaultval"; then
6282 if test x"$enablestring" = xdisable; then
6283 defaultval=yes
6284 else
6285 defaultval=no
6286 fi
6287 fi
6288
6289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6291 # Check whether --enable-epollloop was given.
6292 if test "${enable_epollloop+set}" = set; then
6293 enableval=$enable_epollloop;
6294 if test "$enableval" = yes; then
6295 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6296 else
6297 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6298 fi
6299
6300 else
6301
6302 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6303
6304 fi
6305
6306
6307 eval "$wx_cv_use_epollloop"
6308
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_EPOLL_DISPATCHER = no; then
6311 result=yes
6312 else
6313 result=no
6314 fi
6315 else
6316 result=$wxUSE_EPOLL_DISPATCHER
6317 fi
6318
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6321
6322
6323 enablestring=
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6327 defaultval=yes
6328 else
6329 defaultval=no
6330 fi
6331 fi
6332
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6335 # Check whether --enable-selectloop was given.
6336 if test "${enable_selectloop+set}" = set; then
6337 enableval=$enable_selectloop;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6340 else
6341 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6342 fi
6343
6344 else
6345
6346 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6347
6348 fi
6349
6350
6351 eval "$wx_cv_use_selectloop"
6352
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_SELECT_DISPATCHER = no; then
6355 result=yes
6356 else
6357 result=no
6358 fi
6359 else
6360 result=$wxUSE_SELECT_DISPATCHER
6361 fi
6362
6363 { echo "$as_me:$LINENO: result: $result" >&5
6364 echo "${ECHO_T}$result" >&6; }
6365
6366
6367
6368 enablestring=
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6372 defaultval=yes
6373 else
6374 defaultval=no
6375 fi
6376 fi
6377
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6380 # Check whether --enable-any was given.
6381 if test "${enable_any+set}" = set; then
6382 enableval=$enable_any;
6383 if test "$enableval" = yes; then
6384 wx_cv_use_any='wxUSE_ANY=yes'
6385 else
6386 wx_cv_use_any='wxUSE_ANY=no'
6387 fi
6388
6389 else
6390
6391 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6392
6393 fi
6394
6395
6396 eval "$wx_cv_use_any"
6397
6398 if test x"$enablestring" = xdisable; then
6399 if test $wxUSE_ANY = no; then
6400 result=yes
6401 else
6402 result=no
6403 fi
6404 else
6405 result=$wxUSE_ANY
6406 fi
6407
6408 { echo "$as_me:$LINENO: result: $result" >&5
6409 echo "${ECHO_T}$result" >&6; }
6410
6411
6412 enablestring=
6413 defaultval=$wxUSE_ALL_FEATURES
6414 if test -z "$defaultval"; then
6415 if test x"$enablestring" = xdisable; then
6416 defaultval=yes
6417 else
6418 defaultval=no
6419 fi
6420 fi
6421
6422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6424 # Check whether --enable-apple_ieee was given.
6425 if test "${enable_apple_ieee+set}" = set; then
6426 enableval=$enable_apple_ieee;
6427 if test "$enableval" = yes; then
6428 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6429 else
6430 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6431 fi
6432
6433 else
6434
6435 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6436
6437 fi
6438
6439
6440 eval "$wx_cv_use_apple_ieee"
6441
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_APPLE_IEEE = no; then
6444 result=yes
6445 else
6446 result=no
6447 fi
6448 else
6449 result=$wxUSE_APPLE_IEEE
6450 fi
6451
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6454
6455
6456 enablestring=
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6460 defaultval=yes
6461 else
6462 defaultval=no
6463 fi
6464 fi
6465
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6468 # Check whether --enable-arcstream was given.
6469 if test "${enable_arcstream+set}" = set; then
6470 enableval=$enable_arcstream;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6473 else
6474 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6475 fi
6476
6477 else
6478
6479 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6480
6481 fi
6482
6483
6484 eval "$wx_cv_use_arcstream"
6485
6486 if test x"$enablestring" = xdisable; then
6487 if test $wxUSE_ARCHIVE_STREAMS = no; then
6488 result=yes
6489 else
6490 result=no
6491 fi
6492 else
6493 result=$wxUSE_ARCHIVE_STREAMS
6494 fi
6495
6496 { echo "$as_me:$LINENO: result: $result" >&5
6497 echo "${ECHO_T}$result" >&6; }
6498
6499
6500 enablestring=
6501 defaultval=$wxUSE_ALL_FEATURES
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6504 defaultval=yes
6505 else
6506 defaultval=no
6507 fi
6508 fi
6509
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6512 # Check whether --enable-base64 was given.
6513 if test "${enable_base64+set}" = set; then
6514 enableval=$enable_base64;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_base64='wxUSE_BASE64=yes'
6517 else
6518 wx_cv_use_base64='wxUSE_BASE64=no'
6519 fi
6520
6521 else
6522
6523 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6524
6525 fi
6526
6527
6528 eval "$wx_cv_use_base64"
6529
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_BASE64 = no; then
6532 result=yes
6533 else
6534 result=no
6535 fi
6536 else
6537 result=$wxUSE_BASE64
6538 fi
6539
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6542
6543
6544 enablestring=
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6548 defaultval=yes
6549 else
6550 defaultval=no
6551 fi
6552 fi
6553
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6556 # Check whether --enable-backtrace was given.
6557 if test "${enable_backtrace+set}" = set; then
6558 enableval=$enable_backtrace;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6561 else
6562 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6563 fi
6564
6565 else
6566
6567 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6568
6569 fi
6570
6571
6572 eval "$wx_cv_use_backtrace"
6573
6574 if test x"$enablestring" = xdisable; then
6575 if test $wxUSE_STACKWALKER = no; then
6576 result=yes
6577 else
6578 result=no
6579 fi
6580 else
6581 result=$wxUSE_STACKWALKER
6582 fi
6583
6584 { echo "$as_me:$LINENO: result: $result" >&5
6585 echo "${ECHO_T}$result" >&6; }
6586
6587
6588 enablestring=
6589 defaultval=$wxUSE_ALL_FEATURES
6590 if test -z "$defaultval"; then
6591 if test x"$enablestring" = xdisable; then
6592 defaultval=yes
6593 else
6594 defaultval=no
6595 fi
6596 fi
6597
6598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6599 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6600 # Check whether --enable-catch_segvs was given.
6601 if test "${enable_catch_segvs+set}" = set; then
6602 enableval=$enable_catch_segvs;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6605 else
6606 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6607 fi
6608
6609 else
6610
6611 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6612
6613 fi
6614
6615
6616 eval "$wx_cv_use_catch_segvs"
6617
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6620 result=yes
6621 else
6622 result=no
6623 fi
6624 else
6625 result=$wxUSE_ON_FATAL_EXCEPTION
6626 fi
6627
6628 { echo "$as_me:$LINENO: result: $result" >&5
6629 echo "${ECHO_T}$result" >&6; }
6630
6631
6632 enablestring=
6633 defaultval=$wxUSE_ALL_FEATURES
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6636 defaultval=yes
6637 else
6638 defaultval=no
6639 fi
6640 fi
6641
6642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6643 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6644 # Check whether --enable-cmdline was given.
6645 if test "${enable_cmdline+set}" = set; then
6646 enableval=$enable_cmdline;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6649 else
6650 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6651 fi
6652
6653 else
6654
6655 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6656
6657 fi
6658
6659
6660 eval "$wx_cv_use_cmdline"
6661
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_CMDLINE_PARSER = no; then
6664 result=yes
6665 else
6666 result=no
6667 fi
6668 else
6669 result=$wxUSE_CMDLINE_PARSER
6670 fi
6671
6672 { echo "$as_me:$LINENO: result: $result" >&5
6673 echo "${ECHO_T}$result" >&6; }
6674
6675
6676 enablestring=
6677 defaultval=$wxUSE_ALL_FEATURES
6678 if test -z "$defaultval"; then
6679 if test x"$enablestring" = xdisable; then
6680 defaultval=yes
6681 else
6682 defaultval=no
6683 fi
6684 fi
6685
6686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6687 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6688 # Check whether --enable-datetime was given.
6689 if test "${enable_datetime+set}" = set; then
6690 enableval=$enable_datetime;
6691 if test "$enableval" = yes; then
6692 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6693 else
6694 wx_cv_use_datetime='wxUSE_DATETIME=no'
6695 fi
6696
6697 else
6698
6699 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6700
6701 fi
6702
6703
6704 eval "$wx_cv_use_datetime"
6705
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_DATETIME = no; then
6708 result=yes
6709 else
6710 result=no
6711 fi
6712 else
6713 result=$wxUSE_DATETIME
6714 fi
6715
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6718
6719
6720 enablestring=
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6724 defaultval=yes
6725 else
6726 defaultval=no
6727 fi
6728 fi
6729
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6732 # Check whether --enable-debugreport was given.
6733 if test "${enable_debugreport+set}" = set; then
6734 enableval=$enable_debugreport;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6737 else
6738 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6739 fi
6740
6741 else
6742
6743 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6744
6745 fi
6746
6747
6748 eval "$wx_cv_use_debugreport"
6749
6750 if test x"$enablestring" = xdisable; then
6751 if test $wxUSE_DEBUGREPORT = no; then
6752 result=yes
6753 else
6754 result=no
6755 fi
6756 else
6757 result=$wxUSE_DEBUGREPORT
6758 fi
6759
6760 { echo "$as_me:$LINENO: result: $result" >&5
6761 echo "${ECHO_T}$result" >&6; }
6762
6763
6764 enablestring=
6765 defaultval=$wxUSE_ALL_FEATURES
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6768 defaultval=yes
6769 else
6770 defaultval=no
6771 fi
6772 fi
6773
6774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6776 # Check whether --enable-dialupman was given.
6777 if test "${enable_dialupman+set}" = set; then
6778 enableval=$enable_dialupman;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6781 else
6782 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6783 fi
6784
6785 else
6786
6787 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6788
6789 fi
6790
6791
6792 eval "$wx_cv_use_dialupman"
6793
6794 if test x"$enablestring" = xdisable; then
6795 if test $wxUSE_DIALUP_MANAGER = no; then
6796 result=yes
6797 else
6798 result=no
6799 fi
6800 else
6801 result=$wxUSE_DIALUP_MANAGER
6802 fi
6803
6804 { echo "$as_me:$LINENO: result: $result" >&5
6805 echo "${ECHO_T}$result" >&6; }
6806
6807
6808 enablestring=
6809 defaultval=$wxUSE_ALL_FEATURES
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6812 defaultval=yes
6813 else
6814 defaultval=no
6815 fi
6816 fi
6817
6818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6820 # Check whether --enable-dynlib was given.
6821 if test "${enable_dynlib+set}" = set; then
6822 enableval=$enable_dynlib;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6825 else
6826 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6827 fi
6828
6829 else
6830
6831 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6832
6833 fi
6834
6835
6836 eval "$wx_cv_use_dynlib"
6837
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_DYNLIB_CLASS = no; then
6840 result=yes
6841 else
6842 result=no
6843 fi
6844 else
6845 result=$wxUSE_DYNLIB_CLASS
6846 fi
6847
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6850
6851
6852 enablestring=
6853 defaultval=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6856 defaultval=yes
6857 else
6858 defaultval=no
6859 fi
6860 fi
6861
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6864 # Check whether --enable-dynamicloader was given.
6865 if test "${enable_dynamicloader+set}" = set; then
6866 enableval=$enable_dynamicloader;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6869 else
6870 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6871 fi
6872
6873 else
6874
6875 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6876
6877 fi
6878
6879
6880 eval "$wx_cv_use_dynamicloader"
6881
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_DYNAMIC_LOADER = no; then
6884 result=yes
6885 else
6886 result=no
6887 fi
6888 else
6889 result=$wxUSE_DYNAMIC_LOADER
6890 fi
6891
6892 { echo "$as_me:$LINENO: result: $result" >&5
6893 echo "${ECHO_T}$result" >&6; }
6894
6895
6896 enablestring=
6897 defaultval=$wxUSE_ALL_FEATURES
6898 if test -z "$defaultval"; then
6899 if test x"$enablestring" = xdisable; then
6900 defaultval=yes
6901 else
6902 defaultval=no
6903 fi
6904 fi
6905
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6908 # Check whether --enable-exceptions was given.
6909 if test "${enable_exceptions+set}" = set; then
6910 enableval=$enable_exceptions;
6911 if test "$enableval" = yes; then
6912 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6913 else
6914 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6915 fi
6916
6917 else
6918
6919 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6920
6921 fi
6922
6923
6924 eval "$wx_cv_use_exceptions"
6925
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_EXCEPTIONS = no; then
6928 result=yes
6929 else
6930 result=no
6931 fi
6932 else
6933 result=$wxUSE_EXCEPTIONS
6934 fi
6935
6936 { echo "$as_me:$LINENO: result: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6938
6939
6940 enablestring=
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6944 defaultval=yes
6945 else
6946 defaultval=no
6947 fi
6948 fi
6949
6950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6952 # Check whether --enable-ffile was given.
6953 if test "${enable_ffile+set}" = set; then
6954 enableval=$enable_ffile;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_ffile='wxUSE_FFILE=yes'
6957 else
6958 wx_cv_use_ffile='wxUSE_FFILE=no'
6959 fi
6960
6961 else
6962
6963 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6964
6965 fi
6966
6967
6968 eval "$wx_cv_use_ffile"
6969
6970 if test x"$enablestring" = xdisable; then
6971 if test $wxUSE_FFILE = no; then
6972 result=yes
6973 else
6974 result=no
6975 fi
6976 else
6977 result=$wxUSE_FFILE
6978 fi
6979
6980 { echo "$as_me:$LINENO: result: $result" >&5
6981 echo "${ECHO_T}$result" >&6; }
6982
6983
6984 enablestring=
6985 defaultval=$wxUSE_ALL_FEATURES
6986 if test -z "$defaultval"; then
6987 if test x"$enablestring" = xdisable; then
6988 defaultval=yes
6989 else
6990 defaultval=no
6991 fi
6992 fi
6993
6994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6996 # Check whether --enable-file was given.
6997 if test "${enable_file+set}" = set; then
6998 enableval=$enable_file;
6999 if test "$enableval" = yes; then
7000 wx_cv_use_file='wxUSE_FILE=yes'
7001 else
7002 wx_cv_use_file='wxUSE_FILE=no'
7003 fi
7004
7005 else
7006
7007 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7008
7009 fi
7010
7011
7012 eval "$wx_cv_use_file"
7013
7014 if test x"$enablestring" = xdisable; then
7015 if test $wxUSE_FILE = no; then
7016 result=yes
7017 else
7018 result=no
7019 fi
7020 else
7021 result=$wxUSE_FILE
7022 fi
7023
7024 { echo "$as_me:$LINENO: result: $result" >&5
7025 echo "${ECHO_T}$result" >&6; }
7026
7027
7028 enablestring=
7029 defaultval=$wxUSE_ALL_FEATURES
7030 if test -z "$defaultval"; then
7031 if test x"$enablestring" = xdisable; then
7032 defaultval=yes
7033 else
7034 defaultval=no
7035 fi
7036 fi
7037
7038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7039 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7040 # Check whether --enable-filehistory was given.
7041 if test "${enable_filehistory+set}" = set; then
7042 enableval=$enable_filehistory;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7045 else
7046 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7047 fi
7048
7049 else
7050
7051 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7052
7053 fi
7054
7055
7056 eval "$wx_cv_use_filehistory"
7057
7058 if test x"$enablestring" = xdisable; then
7059 if test $wxUSE_FILE_HISTORY = no; then
7060 result=yes
7061 else
7062 result=no
7063 fi
7064 else
7065 result=$wxUSE_FILE_HISTORY
7066 fi
7067
7068 { echo "$as_me:$LINENO: result: $result" >&5
7069 echo "${ECHO_T}$result" >&6; }
7070
7071
7072 enablestring=
7073 defaultval=$wxUSE_ALL_FEATURES
7074 if test -z "$defaultval"; then
7075 if test x"$enablestring" = xdisable; then
7076 defaultval=yes
7077 else
7078 defaultval=no
7079 fi
7080 fi
7081
7082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7084 # Check whether --enable-filesystem was given.
7085 if test "${enable_filesystem+set}" = set; then
7086 enableval=$enable_filesystem;
7087 if test "$enableval" = yes; then
7088 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7089 else
7090 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7091 fi
7092
7093 else
7094
7095 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7096
7097 fi
7098
7099
7100 eval "$wx_cv_use_filesystem"
7101
7102 if test x"$enablestring" = xdisable; then
7103 if test $wxUSE_FILESYSTEM = no; then
7104 result=yes
7105 else
7106 result=no
7107 fi
7108 else
7109 result=$wxUSE_FILESYSTEM
7110 fi
7111
7112 { echo "$as_me:$LINENO: result: $result" >&5
7113 echo "${ECHO_T}$result" >&6; }
7114
7115
7116 enablestring=
7117 defaultval=$wxUSE_ALL_FEATURES
7118 if test -z "$defaultval"; then
7119 if test x"$enablestring" = xdisable; then
7120 defaultval=yes
7121 else
7122 defaultval=no
7123 fi
7124 fi
7125
7126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7128 # Check whether --enable-fontenum was given.
7129 if test "${enable_fontenum+set}" = set; then
7130 enableval=$enable_fontenum;
7131 if test "$enableval" = yes; then
7132 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7133 else
7134 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7135 fi
7136
7137 else
7138
7139 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7140
7141 fi
7142
7143
7144 eval "$wx_cv_use_fontenum"
7145
7146 if test x"$enablestring" = xdisable; then
7147 if test $wxUSE_FONTENUM = no; then
7148 result=yes
7149 else
7150 result=no
7151 fi
7152 else
7153 result=$wxUSE_FONTENUM
7154 fi
7155
7156 { echo "$as_me:$LINENO: result: $result" >&5
7157 echo "${ECHO_T}$result" >&6; }
7158
7159
7160 enablestring=
7161 defaultval=$wxUSE_ALL_FEATURES
7162 if test -z "$defaultval"; then
7163 if test x"$enablestring" = xdisable; then
7164 defaultval=yes
7165 else
7166 defaultval=no
7167 fi
7168 fi
7169
7170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7172 # Check whether --enable-fontmap was given.
7173 if test "${enable_fontmap+set}" = set; then
7174 enableval=$enable_fontmap;
7175 if test "$enableval" = yes; then
7176 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7177 else
7178 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7179 fi
7180
7181 else
7182
7183 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7184
7185 fi
7186
7187
7188 eval "$wx_cv_use_fontmap"
7189
7190 if test x"$enablestring" = xdisable; then
7191 if test $wxUSE_FONTMAP = no; then
7192 result=yes
7193 else
7194 result=no
7195 fi
7196 else
7197 result=$wxUSE_FONTMAP
7198 fi
7199
7200 { echo "$as_me:$LINENO: result: $result" >&5
7201 echo "${ECHO_T}$result" >&6; }
7202
7203
7204 enablestring=
7205 defaultval=$wxUSE_ALL_FEATURES
7206 if test -z "$defaultval"; then
7207 if test x"$enablestring" = xdisable; then
7208 defaultval=yes
7209 else
7210 defaultval=no
7211 fi
7212 fi
7213
7214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7216 # Check whether --enable-fs_archive was given.
7217 if test "${enable_fs_archive+set}" = set; then
7218 enableval=$enable_fs_archive;
7219 if test "$enableval" = yes; then
7220 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7221 else
7222 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7223 fi
7224
7225 else
7226
7227 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7228
7229 fi
7230
7231
7232 eval "$wx_cv_use_fs_archive"
7233
7234 if test x"$enablestring" = xdisable; then
7235 if test $wxUSE_FS_ARCHIVE = no; then
7236 result=yes
7237 else
7238 result=no
7239 fi
7240 else
7241 result=$wxUSE_FS_ARCHIVE
7242 fi
7243
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7246
7247
7248 enablestring=
7249 defaultval=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x"$enablestring" = xdisable; then
7252 defaultval=yes
7253 else
7254 defaultval=no
7255 fi
7256 fi
7257
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7260 # Check whether --enable-fs_inet was given.
7261 if test "${enable_fs_inet+set}" = set; then
7262 enableval=$enable_fs_inet;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7265 else
7266 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7267 fi
7268
7269 else
7270
7271 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7272
7273 fi
7274
7275
7276 eval "$wx_cv_use_fs_inet"
7277
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_FS_INET = no; then
7280 result=yes
7281 else
7282 result=no
7283 fi
7284 else
7285 result=$wxUSE_FS_INET
7286 fi
7287
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7290
7291
7292 enablestring=
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7296 defaultval=yes
7297 else
7298 defaultval=no
7299 fi
7300 fi
7301
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7304 # Check whether --enable-fs_zip was given.
7305 if test "${enable_fs_zip+set}" = set; then
7306 enableval=$enable_fs_zip;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7309 else
7310 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7311 fi
7312
7313 else
7314
7315 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7316
7317 fi
7318
7319
7320 eval "$wx_cv_use_fs_zip"
7321
7322 if test x"$enablestring" = xdisable; then
7323 if test $wxUSE_FS_ZIP = no; then
7324 result=yes
7325 else
7326 result=no
7327 fi
7328 else
7329 result=$wxUSE_FS_ZIP
7330 fi
7331
7332 { echo "$as_me:$LINENO: result: $result" >&5
7333 echo "${ECHO_T}$result" >&6; }
7334
7335
7336 enablestring=
7337 defaultval=$wxUSE_ALL_FEATURES
7338 if test -z "$defaultval"; then
7339 if test x"$enablestring" = xdisable; then
7340 defaultval=yes
7341 else
7342 defaultval=no
7343 fi
7344 fi
7345
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7348 # Check whether --enable-fswatcher was given.
7349 if test "${enable_fswatcher+set}" = set; then
7350 enableval=$enable_fswatcher;
7351 if test "$enableval" = yes; then
7352 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7353 else
7354 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7355 fi
7356
7357 else
7358
7359 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7360
7361 fi
7362
7363
7364 eval "$wx_cv_use_fswatcher"
7365
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_FSWATCHER = no; then
7368 result=yes
7369 else
7370 result=no
7371 fi
7372 else
7373 result=$wxUSE_FSWATCHER
7374 fi
7375
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7378
7379
7380 enablestring=
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7384 defaultval=yes
7385 else
7386 defaultval=no
7387 fi
7388 fi
7389
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7392 # Check whether --enable-geometry was given.
7393 if test "${enable_geometry+set}" = set; then
7394 enableval=$enable_geometry;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7397 else
7398 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7399 fi
7400
7401 else
7402
7403 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7404
7405 fi
7406
7407
7408 eval "$wx_cv_use_geometry"
7409
7410 if test x"$enablestring" = xdisable; then
7411 if test $wxUSE_GEOMETRY = no; then
7412 result=yes
7413 else
7414 result=no
7415 fi
7416 else
7417 result=$wxUSE_GEOMETRY
7418 fi
7419
7420 { echo "$as_me:$LINENO: result: $result" >&5
7421 echo "${ECHO_T}$result" >&6; }
7422
7423
7424 enablestring=
7425 defaultval=$wxUSE_ALL_FEATURES
7426 if test -z "$defaultval"; then
7427 if test x"$enablestring" = xdisable; then
7428 defaultval=yes
7429 else
7430 defaultval=no
7431 fi
7432 fi
7433
7434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7436 # Check whether --enable-log was given.
7437 if test "${enable_log+set}" = set; then
7438 enableval=$enable_log;
7439 if test "$enableval" = yes; then
7440 wx_cv_use_log='wxUSE_LOG=yes'
7441 else
7442 wx_cv_use_log='wxUSE_LOG=no'
7443 fi
7444
7445 else
7446
7447 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7448
7449 fi
7450
7451
7452 eval "$wx_cv_use_log"
7453
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_LOG = no; then
7456 result=yes
7457 else
7458 result=no
7459 fi
7460 else
7461 result=$wxUSE_LOG
7462 fi
7463
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7466
7467
7468 enablestring=
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7472 defaultval=yes
7473 else
7474 defaultval=no
7475 fi
7476 fi
7477
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7480 # Check whether --enable-longlong was given.
7481 if test "${enable_longlong+set}" = set; then
7482 enableval=$enable_longlong;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7485 else
7486 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7487 fi
7488
7489 else
7490
7491 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7492
7493 fi
7494
7495
7496 eval "$wx_cv_use_longlong"
7497
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_LONGLONG = no; then
7500 result=yes
7501 else
7502 result=no
7503 fi
7504 else
7505 result=$wxUSE_LONGLONG
7506 fi
7507
7508 { echo "$as_me:$LINENO: result: $result" >&5
7509 echo "${ECHO_T}$result" >&6; }
7510
7511
7512 enablestring=
7513 defaultval=$wxUSE_ALL_FEATURES
7514 if test -z "$defaultval"; then
7515 if test x"$enablestring" = xdisable; then
7516 defaultval=yes
7517 else
7518 defaultval=no
7519 fi
7520 fi
7521
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7524 # Check whether --enable-mimetype was given.
7525 if test "${enable_mimetype+set}" = set; then
7526 enableval=$enable_mimetype;
7527 if test "$enableval" = yes; then
7528 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7529 else
7530 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7531 fi
7532
7533 else
7534
7535 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7536
7537 fi
7538
7539
7540 eval "$wx_cv_use_mimetype"
7541
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_MIMETYPE = no; then
7544 result=yes
7545 else
7546 result=no
7547 fi
7548 else
7549 result=$wxUSE_MIMETYPE
7550 fi
7551
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7554
7555
7556 enablestring=
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7560 defaultval=yes
7561 else
7562 defaultval=no
7563 fi
7564 fi
7565
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7568 # Check whether --enable-printfposparam was given.
7569 if test "${enable_printfposparam+set}" = set; then
7570 enableval=$enable_printfposparam;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7573 else
7574 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7575 fi
7576
7577 else
7578
7579 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7580
7581 fi
7582
7583
7584 eval "$wx_cv_use_printfposparam"
7585
7586 if test x"$enablestring" = xdisable; then
7587 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7588 result=yes
7589 else
7590 result=no
7591 fi
7592 else
7593 result=$wxUSE_PRINTF_POS_PARAMS
7594 fi
7595
7596 { echo "$as_me:$LINENO: result: $result" >&5
7597 echo "${ECHO_T}$result" >&6; }
7598
7599
7600 enablestring=
7601 defaultval=$wxUSE_ALL_FEATURES
7602 if test -z "$defaultval"; then
7603 if test x"$enablestring" = xdisable; then
7604 defaultval=yes
7605 else
7606 defaultval=no
7607 fi
7608 fi
7609
7610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7611 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7612 # Check whether --enable-snglinst was given.
7613 if test "${enable_snglinst+set}" = set; then
7614 enableval=$enable_snglinst;
7615 if test "$enableval" = yes; then
7616 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7617 else
7618 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7619 fi
7620
7621 else
7622
7623 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7624
7625 fi
7626
7627
7628 eval "$wx_cv_use_snglinst"
7629
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_SNGLINST_CHECKER = no; then
7632 result=yes
7633 else
7634 result=no
7635 fi
7636 else
7637 result=$wxUSE_SNGLINST_CHECKER
7638 fi
7639
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7642
7643
7644 enablestring=
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7648 defaultval=yes
7649 else
7650 defaultval=no
7651 fi
7652 fi
7653
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7656 # Check whether --enable-sound was given.
7657 if test "${enable_sound+set}" = set; then
7658 enableval=$enable_sound;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_sound='wxUSE_SOUND=yes'
7661 else
7662 wx_cv_use_sound='wxUSE_SOUND=no'
7663 fi
7664
7665 else
7666
7667 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7668
7669 fi
7670
7671
7672 eval "$wx_cv_use_sound"
7673
7674 if test x"$enablestring" = xdisable; then
7675 if test $wxUSE_SOUND = no; then
7676 result=yes
7677 else
7678 result=no
7679 fi
7680 else
7681 result=$wxUSE_SOUND
7682 fi
7683
7684 { echo "$as_me:$LINENO: result: $result" >&5
7685 echo "${ECHO_T}$result" >&6; }
7686
7687
7688 enablestring=
7689 defaultval=$wxUSE_ALL_FEATURES
7690 if test -z "$defaultval"; then
7691 if test x"$enablestring" = xdisable; then
7692 defaultval=yes
7693 else
7694 defaultval=no
7695 fi
7696 fi
7697
7698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7700 # Check whether --enable-stdpaths was given.
7701 if test "${enable_stdpaths+set}" = set; then
7702 enableval=$enable_stdpaths;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7705 else
7706 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7707 fi
7708
7709 else
7710
7711 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7712
7713 fi
7714
7715
7716 eval "$wx_cv_use_stdpaths"
7717
7718 if test x"$enablestring" = xdisable; then
7719 if test $wxUSE_STDPATHS = no; then
7720 result=yes
7721 else
7722 result=no
7723 fi
7724 else
7725 result=$wxUSE_STDPATHS
7726 fi
7727
7728 { echo "$as_me:$LINENO: result: $result" >&5
7729 echo "${ECHO_T}$result" >&6; }
7730
7731
7732 enablestring=
7733 defaultval=$wxUSE_ALL_FEATURES
7734 if test -z "$defaultval"; then
7735 if test x"$enablestring" = xdisable; then
7736 defaultval=yes
7737 else
7738 defaultval=no
7739 fi
7740 fi
7741
7742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7744 # Check whether --enable-stopwatch was given.
7745 if test "${enable_stopwatch+set}" = set; then
7746 enableval=$enable_stopwatch;
7747 if test "$enableval" = yes; then
7748 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7749 else
7750 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7751 fi
7752
7753 else
7754
7755 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7756
7757 fi
7758
7759
7760 eval "$wx_cv_use_stopwatch"
7761
7762 if test x"$enablestring" = xdisable; then
7763 if test $wxUSE_STOPWATCH = no; then
7764 result=yes
7765 else
7766 result=no
7767 fi
7768 else
7769 result=$wxUSE_STOPWATCH
7770 fi
7771
7772 { echo "$as_me:$LINENO: result: $result" >&5
7773 echo "${ECHO_T}$result" >&6; }
7774
7775
7776 enablestring=
7777 defaultval=$wxUSE_ALL_FEATURES
7778 if test -z "$defaultval"; then
7779 if test x"$enablestring" = xdisable; then
7780 defaultval=yes
7781 else
7782 defaultval=no
7783 fi
7784 fi
7785
7786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7788 # Check whether --enable-streams was given.
7789 if test "${enable_streams+set}" = set; then
7790 enableval=$enable_streams;
7791 if test "$enableval" = yes; then
7792 wx_cv_use_streams='wxUSE_STREAMS=yes'
7793 else
7794 wx_cv_use_streams='wxUSE_STREAMS=no'
7795 fi
7796
7797 else
7798
7799 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7800
7801 fi
7802
7803
7804 eval "$wx_cv_use_streams"
7805
7806 if test x"$enablestring" = xdisable; then
7807 if test $wxUSE_STREAMS = no; then
7808 result=yes
7809 else
7810 result=no
7811 fi
7812 else
7813 result=$wxUSE_STREAMS
7814 fi
7815
7816 { echo "$as_me:$LINENO: result: $result" >&5
7817 echo "${ECHO_T}$result" >&6; }
7818
7819
7820 enablestring=
7821 defaultval=$wxUSE_ALL_FEATURES
7822 if test -z "$defaultval"; then
7823 if test x"$enablestring" = xdisable; then
7824 defaultval=yes
7825 else
7826 defaultval=no
7827 fi
7828 fi
7829
7830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7832 # Check whether --enable-sysoptions was given.
7833 if test "${enable_sysoptions+set}" = set; then
7834 enableval=$enable_sysoptions;
7835 if test "$enableval" = yes; then
7836 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7837 else
7838 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7839 fi
7840
7841 else
7842
7843 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7844
7845 fi
7846
7847
7848 eval "$wx_cv_use_sysoptions"
7849
7850 if test x"$enablestring" = xdisable; then
7851 if test $wxUSE_SYSTEM_OPTIONS = no; then
7852 result=yes
7853 else
7854 result=no
7855 fi
7856 else
7857 result=$wxUSE_SYSTEM_OPTIONS
7858 fi
7859
7860 { echo "$as_me:$LINENO: result: $result" >&5
7861 echo "${ECHO_T}$result" >&6; }
7862
7863
7864 enablestring=
7865 defaultval=$wxUSE_ALL_FEATURES
7866 if test -z "$defaultval"; then
7867 if test x"$enablestring" = xdisable; then
7868 defaultval=yes
7869 else
7870 defaultval=no
7871 fi
7872 fi
7873
7874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7876 # Check whether --enable-tarstream was given.
7877 if test "${enable_tarstream+set}" = set; then
7878 enableval=$enable_tarstream;
7879 if test "$enableval" = yes; then
7880 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7881 else
7882 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7883 fi
7884
7885 else
7886
7887 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7888
7889 fi
7890
7891
7892 eval "$wx_cv_use_tarstream"
7893
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_TARSTREAM = no; then
7896 result=yes
7897 else
7898 result=no
7899 fi
7900 else
7901 result=$wxUSE_TARSTREAM
7902 fi
7903
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7906
7907
7908 enablestring=
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7912 defaultval=yes
7913 else
7914 defaultval=no
7915 fi
7916 fi
7917
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7920 # Check whether --enable-textbuf was given.
7921 if test "${enable_textbuf+set}" = set; then
7922 enableval=$enable_textbuf;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7925 else
7926 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7927 fi
7928
7929 else
7930
7931 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7932
7933 fi
7934
7935
7936 eval "$wx_cv_use_textbuf"
7937
7938 if test x"$enablestring" = xdisable; then
7939 if test $wxUSE_TEXTBUFFER = no; then
7940 result=yes
7941 else
7942 result=no
7943 fi
7944 else
7945 result=$wxUSE_TEXTBUFFER
7946 fi
7947
7948 { echo "$as_me:$LINENO: result: $result" >&5
7949 echo "${ECHO_T}$result" >&6; }
7950
7951
7952 enablestring=
7953 defaultval=$wxUSE_ALL_FEATURES
7954 if test -z "$defaultval"; then
7955 if test x"$enablestring" = xdisable; then
7956 defaultval=yes
7957 else
7958 defaultval=no
7959 fi
7960 fi
7961
7962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7964 # Check whether --enable-textfile was given.
7965 if test "${enable_textfile+set}" = set; then
7966 enableval=$enable_textfile;
7967 if test "$enableval" = yes; then
7968 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7969 else
7970 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7971 fi
7972
7973 else
7974
7975 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7976
7977 fi
7978
7979
7980 eval "$wx_cv_use_textfile"
7981
7982 if test x"$enablestring" = xdisable; then
7983 if test $wxUSE_TEXTFILE = no; then
7984 result=yes
7985 else
7986 result=no
7987 fi
7988 else
7989 result=$wxUSE_TEXTFILE
7990 fi
7991
7992 { echo "$as_me:$LINENO: result: $result" >&5
7993 echo "${ECHO_T}$result" >&6; }
7994
7995
7996 enablestring=
7997 defaultval=$wxUSE_ALL_FEATURES
7998 if test -z "$defaultval"; then
7999 if test x"$enablestring" = xdisable; then
8000 defaultval=yes
8001 else
8002 defaultval=no
8003 fi
8004 fi
8005
8006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8008 # Check whether --enable-timer was given.
8009 if test "${enable_timer+set}" = set; then
8010 enableval=$enable_timer;
8011 if test "$enableval" = yes; then
8012 wx_cv_use_timer='wxUSE_TIMER=yes'
8013 else
8014 wx_cv_use_timer='wxUSE_TIMER=no'
8015 fi
8016
8017 else
8018
8019 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8020
8021 fi
8022
8023
8024 eval "$wx_cv_use_timer"
8025
8026 if test x"$enablestring" = xdisable; then
8027 if test $wxUSE_TIMER = no; then
8028 result=yes
8029 else
8030 result=no
8031 fi
8032 else
8033 result=$wxUSE_TIMER
8034 fi
8035
8036 { echo "$as_me:$LINENO: result: $result" >&5
8037 echo "${ECHO_T}$result" >&6; }
8038
8039
8040 enablestring=
8041 defaultval=$wxUSE_ALL_FEATURES
8042 if test -z "$defaultval"; then
8043 if test x"$enablestring" = xdisable; then
8044 defaultval=yes
8045 else
8046 defaultval=no
8047 fi
8048 fi
8049
8050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8052 # Check whether --enable-variant was given.
8053 if test "${enable_variant+set}" = set; then
8054 enableval=$enable_variant;
8055 if test "$enableval" = yes; then
8056 wx_cv_use_variant='wxUSE_VARIANT=yes'
8057 else
8058 wx_cv_use_variant='wxUSE_VARIANT=no'
8059 fi
8060
8061 else
8062
8063 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8064
8065 fi
8066
8067
8068 eval "$wx_cv_use_variant"
8069
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_VARIANT = no; then
8072 result=yes
8073 else
8074 result=no
8075 fi
8076 else
8077 result=$wxUSE_VARIANT
8078 fi
8079
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8082
8083
8084 enablestring=
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8088 defaultval=yes
8089 else
8090 defaultval=no
8091 fi
8092 fi
8093
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8096 # Check whether --enable-zipstream was given.
8097 if test "${enable_zipstream+set}" = set; then
8098 enableval=$enable_zipstream;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8101 else
8102 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8103 fi
8104
8105 else
8106
8107 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8108
8109 fi
8110
8111
8112 eval "$wx_cv_use_zipstream"
8113
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_ZIPSTREAM = no; then
8116 result=yes
8117 else
8118 result=no
8119 fi
8120 else
8121 result=$wxUSE_ZIPSTREAM
8122 fi
8123
8124 { echo "$as_me:$LINENO: result: $result" >&5
8125 echo "${ECHO_T}$result" >&6; }
8126
8127
8128
8129 enablestring=
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8141 # Check whether --enable-url was given.
8142 if test "${enable_url+set}" = set; then
8143 enableval=$enable_url;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_url='wxUSE_URL=yes'
8146 else
8147 wx_cv_use_url='wxUSE_URL=no'
8148 fi
8149
8150 else
8151
8152 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8153
8154 fi
8155
8156
8157 eval "$wx_cv_use_url"
8158
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_URL = no; then
8161 result=yes
8162 else
8163 result=no
8164 fi
8165 else
8166 result=$wxUSE_URL
8167 fi
8168
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8171
8172
8173 enablestring=
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8177 defaultval=yes
8178 else
8179 defaultval=no
8180 fi
8181 fi
8182
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8185 # Check whether --enable-protocol was given.
8186 if test "${enable_protocol+set}" = set; then
8187 enableval=$enable_protocol;
8188 if test "$enableval" = yes; then
8189 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8190 else
8191 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8192 fi
8193
8194 else
8195
8196 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8197
8198 fi
8199
8200
8201 eval "$wx_cv_use_protocol"
8202
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_PROTOCOL = no; then
8205 result=yes
8206 else
8207 result=no
8208 fi
8209 else
8210 result=$wxUSE_PROTOCOL
8211 fi
8212
8213 { echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6; }
8215
8216
8217 enablestring=
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8221 defaultval=yes
8222 else
8223 defaultval=no
8224 fi
8225 fi
8226
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8229 # Check whether --enable-protocol_http was given.
8230 if test "${enable_protocol_http+set}" = set; then
8231 enableval=$enable_protocol_http;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8234 else
8235 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8236 fi
8237
8238 else
8239
8240 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8241
8242 fi
8243
8244
8245 eval "$wx_cv_use_protocol_http"
8246
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_PROTOCOL_HTTP = no; then
8249 result=yes
8250 else
8251 result=no
8252 fi
8253 else
8254 result=$wxUSE_PROTOCOL_HTTP
8255 fi
8256
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8259
8260
8261 enablestring=
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8265 defaultval=yes
8266 else
8267 defaultval=no
8268 fi
8269 fi
8270
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8273 # Check whether --enable-protocol_ftp was given.
8274 if test "${enable_protocol_ftp+set}" = set; then
8275 enableval=$enable_protocol_ftp;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8278 else
8279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8280 fi
8281
8282 else
8283
8284 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_protocol_ftp"
8290
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_PROTOCOL_FTP = no; then
8293 result=yes
8294 else
8295 result=no
8296 fi
8297 else
8298 result=$wxUSE_PROTOCOL_FTP
8299 fi
8300
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8303
8304
8305 enablestring=
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8309 defaultval=yes
8310 else
8311 defaultval=no
8312 fi
8313 fi
8314
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8317 # Check whether --enable-protocol_file was given.
8318 if test "${enable_protocol_file+set}" = set; then
8319 enableval=$enable_protocol_file;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8322 else
8323 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8324 fi
8325
8326 else
8327
8328 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8329
8330 fi
8331
8332
8333 eval "$wx_cv_use_protocol_file"
8334
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_PROTOCOL_FILE = no; then
8337 result=yes
8338 else
8339 result=no
8340 fi
8341 else
8342 result=$wxUSE_PROTOCOL_FILE
8343 fi
8344
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8347
8348
8349
8350 enablestring=
8351 defaultval=$wxUSE_ALL_FEATURES
8352 if test -z "$defaultval"; then
8353 if test x"$enablestring" = xdisable; then
8354 defaultval=yes
8355 else
8356 defaultval=no
8357 fi
8358 fi
8359
8360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8362 # Check whether --enable-threads was given.
8363 if test "${enable_threads+set}" = set; then
8364 enableval=$enable_threads;
8365 if test "$enableval" = yes; then
8366 wx_cv_use_threads='wxUSE_THREADS=yes'
8367 else
8368 wx_cv_use_threads='wxUSE_THREADS=no'
8369 fi
8370
8371 else
8372
8373 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8374
8375 fi
8376
8377
8378 eval "$wx_cv_use_threads"
8379
8380 if test x"$enablestring" = xdisable; then
8381 if test $wxUSE_THREADS = no; then
8382 result=yes
8383 else
8384 result=no
8385 fi
8386 else
8387 result=$wxUSE_THREADS
8388 fi
8389
8390 { echo "$as_me:$LINENO: result: $result" >&5
8391 echo "${ECHO_T}$result" >&6; }
8392
8393
8394
8395 enablestring=
8396 defaultval=
8397 if test -z "$defaultval"; then
8398 if test x"$enablestring" = xdisable; then
8399 defaultval=yes
8400 else
8401 defaultval=no
8402 fi
8403 fi
8404
8405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8407 # Check whether --enable-iniconf was given.
8408 if test "${enable_iniconf+set}" = set; then
8409 enableval=$enable_iniconf;
8410 if test "$enableval" = yes; then
8411 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8412 else
8413 wx_cv_use_iniconf='wxUSE_INICONF=no'
8414 fi
8415
8416 else
8417
8418 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8419
8420 fi
8421
8422
8423 eval "$wx_cv_use_iniconf"
8424
8425 if test x"$enablestring" = xdisable; then
8426 if test $wxUSE_INICONF = no; then
8427 result=yes
8428 else
8429 result=no
8430 fi
8431 else
8432 result=$wxUSE_INICONF
8433 fi
8434
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8437
8438
8439 enablestring=
8440 defaultval=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x"$enablestring" = xdisable; then
8443 defaultval=yes
8444 else
8445 defaultval=no
8446 fi
8447 fi
8448
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8451 # Check whether --enable-regkey was given.
8452 if test "${enable_regkey+set}" = set; then
8453 enableval=$enable_regkey;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8456 else
8457 wx_cv_use_regkey='wxUSE_REGKEY=no'
8458 fi
8459
8460 else
8461
8462 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8463
8464 fi
8465
8466
8467 eval "$wx_cv_use_regkey"
8468
8469 if test x"$enablestring" = xdisable; then
8470 if test $wxUSE_REGKEY = no; then
8471 result=yes
8472 else
8473 result=no
8474 fi
8475 else
8476 result=$wxUSE_REGKEY
8477 fi
8478
8479 { echo "$as_me:$LINENO: result: $result" >&5
8480 echo "${ECHO_T}$result" >&6; }
8481
8482
8483 if test "$wxUSE_GUI" = "yes"; then
8484
8485
8486
8487 enablestring=
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8491 defaultval=yes
8492 else
8493 defaultval=no
8494 fi
8495 fi
8496
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8499 # Check whether --enable-docview was given.
8500 if test "${enable_docview+set}" = set; then
8501 enableval=$enable_docview;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8504 else
8505 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8506 fi
8507
8508 else
8509
8510 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8511
8512 fi
8513
8514
8515 eval "$wx_cv_use_docview"
8516
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8519 result=yes
8520 else
8521 result=no
8522 fi
8523 else
8524 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8525 fi
8526
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8529
8530
8531 enablestring=
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8535 defaultval=yes
8536 else
8537 defaultval=no
8538 fi
8539 fi
8540
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8543 # Check whether --enable-help was given.
8544 if test "${enable_help+set}" = set; then
8545 enableval=$enable_help;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_help='wxUSE_HELP=yes'
8548 else
8549 wx_cv_use_help='wxUSE_HELP=no'
8550 fi
8551
8552 else
8553
8554 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8555
8556 fi
8557
8558
8559 eval "$wx_cv_use_help"
8560
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_HELP = no; then
8563 result=yes
8564 else
8565 result=no
8566 fi
8567 else
8568 result=$wxUSE_HELP
8569 fi
8570
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8573
8574
8575 enablestring=
8576 defaultval=$wxUSE_ALL_FEATURES
8577 if test -z "$defaultval"; then
8578 if test x"$enablestring" = xdisable; then
8579 defaultval=yes
8580 else
8581 defaultval=no
8582 fi
8583 fi
8584
8585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8587 # Check whether --enable-mshtmlhelp was given.
8588 if test "${enable_mshtmlhelp+set}" = set; then
8589 enableval=$enable_mshtmlhelp;
8590 if test "$enableval" = yes; then
8591 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8592 else
8593 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8594 fi
8595
8596 else
8597
8598 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8599
8600 fi
8601
8602
8603 eval "$wx_cv_use_mshtmlhelp"
8604
8605 if test x"$enablestring" = xdisable; then
8606 if test $wxUSE_MS_HTML_HELP = no; then
8607 result=yes
8608 else
8609 result=no
8610 fi
8611 else
8612 result=$wxUSE_MS_HTML_HELP
8613 fi
8614
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8617
8618
8619 enablestring=
8620 defaultval=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x"$enablestring" = xdisable; then
8623 defaultval=yes
8624 else
8625 defaultval=no
8626 fi
8627 fi
8628
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8631 # Check whether --enable-html was given.
8632 if test "${enable_html+set}" = set; then
8633 enableval=$enable_html;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_html='wxUSE_HTML=yes'
8636 else
8637 wx_cv_use_html='wxUSE_HTML=no'
8638 fi
8639
8640 else
8641
8642 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8643
8644 fi
8645
8646
8647 eval "$wx_cv_use_html"
8648
8649 if test x"$enablestring" = xdisable; then
8650 if test $wxUSE_HTML = no; then
8651 result=yes
8652 else
8653 result=no
8654 fi
8655 else
8656 result=$wxUSE_HTML
8657 fi
8658
8659 { echo "$as_me:$LINENO: result: $result" >&5
8660 echo "${ECHO_T}$result" >&6; }
8661
8662
8663 enablestring=
8664 defaultval=$wxUSE_ALL_FEATURES
8665 if test -z "$defaultval"; then
8666 if test x"$enablestring" = xdisable; then
8667 defaultval=yes
8668 else
8669 defaultval=no
8670 fi
8671 fi
8672
8673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8675 # Check whether --enable-htmlhelp was given.
8676 if test "${enable_htmlhelp+set}" = set; then
8677 enableval=$enable_htmlhelp;
8678 if test "$enableval" = yes; then
8679 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8680 else
8681 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8682 fi
8683
8684 else
8685
8686 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8687
8688 fi
8689
8690
8691 eval "$wx_cv_use_htmlhelp"
8692
8693 if test x"$enablestring" = xdisable; then
8694 if test $wxUSE_WXHTML_HELP = no; then
8695 result=yes
8696 else
8697 result=no
8698 fi
8699 else
8700 result=$wxUSE_WXHTML_HELP
8701 fi
8702
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8705
8706
8707 enablestring=
8708 defaultval=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x"$enablestring" = xdisable; then
8711 defaultval=yes
8712 else
8713 defaultval=no
8714 fi
8715 fi
8716
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8719 # Check whether --enable-xrc was given.
8720 if test "${enable_xrc+set}" = set; then
8721 enableval=$enable_xrc;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_xrc='wxUSE_XRC=yes'
8724 else
8725 wx_cv_use_xrc='wxUSE_XRC=no'
8726 fi
8727
8728 else
8729
8730 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8731
8732 fi
8733
8734
8735 eval "$wx_cv_use_xrc"
8736
8737 if test x"$enablestring" = xdisable; then
8738 if test $wxUSE_XRC = no; then
8739 result=yes
8740 else
8741 result=no
8742 fi
8743 else
8744 result=$wxUSE_XRC
8745 fi
8746
8747 { echo "$as_me:$LINENO: result: $result" >&5
8748 echo "${ECHO_T}$result" >&6; }
8749
8750
8751 enablestring=
8752 defaultval=$wxUSE_ALL_FEATURES
8753 if test -z "$defaultval"; then
8754 if test x"$enablestring" = xdisable; then
8755 defaultval=yes
8756 else
8757 defaultval=no
8758 fi
8759 fi
8760
8761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8763 # Check whether --enable-aui was given.
8764 if test "${enable_aui+set}" = set; then
8765 enableval=$enable_aui;
8766 if test "$enableval" = yes; then
8767 wx_cv_use_aui='wxUSE_AUI=yes'
8768 else
8769 wx_cv_use_aui='wxUSE_AUI=no'
8770 fi
8771
8772 else
8773
8774 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8775
8776 fi
8777
8778
8779 eval "$wx_cv_use_aui"
8780
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_AUI = no; then
8783 result=yes
8784 else
8785 result=no
8786 fi
8787 else
8788 result=$wxUSE_AUI
8789 fi
8790
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8793
8794
8795 enablestring=
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8799 defaultval=yes
8800 else
8801 defaultval=no
8802 fi
8803 fi
8804
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8807 # Check whether --enable-propgrid was given.
8808 if test "${enable_propgrid+set}" = set; then
8809 enableval=$enable_propgrid;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8812 else
8813 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8814 fi
8815
8816 else
8817
8818 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8819
8820 fi
8821
8822
8823 eval "$wx_cv_use_propgrid"
8824
8825 if test x"$enablestring" = xdisable; then
8826 if test $wxUSE_PROPGRID = no; then
8827 result=yes
8828 else
8829 result=no
8830 fi
8831 else
8832 result=$wxUSE_PROPGRID
8833 fi
8834
8835 { echo "$as_me:$LINENO: result: $result" >&5
8836 echo "${ECHO_T}$result" >&6; }
8837
8838
8839 enablestring=
8840 defaultval=$wxUSE_ALL_FEATURES
8841 if test -z "$defaultval"; then
8842 if test x"$enablestring" = xdisable; then
8843 defaultval=yes
8844 else
8845 defaultval=no
8846 fi
8847 fi
8848
8849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8851 # Check whether --enable-ribbon was given.
8852 if test "${enable_ribbon+set}" = set; then
8853 enableval=$enable_ribbon;
8854 if test "$enableval" = yes; then
8855 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8856 else
8857 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8858 fi
8859
8860 else
8861
8862 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8863
8864 fi
8865
8866
8867 eval "$wx_cv_use_ribbon"
8868
8869 if test x"$enablestring" = xdisable; then
8870 if test $wxUSE_RIBBON = no; then
8871 result=yes
8872 else
8873 result=no
8874 fi
8875 else
8876 result=$wxUSE_RIBBON
8877 fi
8878
8879 { echo "$as_me:$LINENO: result: $result" >&5
8880 echo "${ECHO_T}$result" >&6; }
8881
8882
8883 enablestring=
8884 defaultval=$wxUSE_ALL_FEATURES
8885 if test -z "$defaultval"; then
8886 if test x"$enablestring" = xdisable; then
8887 defaultval=yes
8888 else
8889 defaultval=no
8890 fi
8891 fi
8892
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8895 # Check whether --enable-stc was given.
8896 if test "${enable_stc+set}" = set; then
8897 enableval=$enable_stc;
8898 if test "$enableval" = yes; then
8899 wx_cv_use_stc='wxUSE_STC=yes'
8900 else
8901 wx_cv_use_stc='wxUSE_STC=no'
8902 fi
8903
8904 else
8905
8906 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8907
8908 fi
8909
8910
8911 eval "$wx_cv_use_stc"
8912
8913 if test x"$enablestring" = xdisable; then
8914 if test $wxUSE_STC = no; then
8915 result=yes
8916 else
8917 result=no
8918 fi
8919 else
8920 result=$wxUSE_STC
8921 fi
8922
8923 { echo "$as_me:$LINENO: result: $result" >&5
8924 echo "${ECHO_T}$result" >&6; }
8925
8926
8927 enablestring=
8928 defaultval=$wxUSE_ALL_FEATURES
8929 if test -z "$defaultval"; then
8930 if test x"$enablestring" = xdisable; then
8931 defaultval=yes
8932 else
8933 defaultval=no
8934 fi
8935 fi
8936
8937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8939 # Check whether --enable-constraints was given.
8940 if test "${enable_constraints+set}" = set; then
8941 enableval=$enable_constraints;
8942 if test "$enableval" = yes; then
8943 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8944 else
8945 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8946 fi
8947
8948 else
8949
8950 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8951
8952 fi
8953
8954
8955 eval "$wx_cv_use_constraints"
8956
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_CONSTRAINTS = no; then
8959 result=yes
8960 else
8961 result=no
8962 fi
8963 else
8964 result=$wxUSE_CONSTRAINTS
8965 fi
8966
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8969
8970
8971 enablestring=
8972 defaultval=$wxUSE_ALL_FEATURES
8973 if test -z "$defaultval"; then
8974 if test x"$enablestring" = xdisable; then
8975 defaultval=yes
8976 else
8977 defaultval=no
8978 fi
8979 fi
8980
8981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8983 # Check whether --enable-loggui was given.
8984 if test "${enable_loggui+set}" = set; then
8985 enableval=$enable_loggui;
8986 if test "$enableval" = yes; then
8987 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8988 else
8989 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8990 fi
8991
8992 else
8993
8994 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8995
8996 fi
8997
8998
8999 eval "$wx_cv_use_loggui"
9000
9001 if test x"$enablestring" = xdisable; then
9002 if test $wxUSE_LOGGUI = no; then
9003 result=yes
9004 else
9005 result=no
9006 fi
9007 else
9008 result=$wxUSE_LOGGUI
9009 fi
9010
9011 { echo "$as_me:$LINENO: result: $result" >&5
9012 echo "${ECHO_T}$result" >&6; }
9013
9014
9015 enablestring=
9016 defaultval=$wxUSE_ALL_FEATURES
9017 if test -z "$defaultval"; then
9018 if test x"$enablestring" = xdisable; then
9019 defaultval=yes
9020 else
9021 defaultval=no
9022 fi
9023 fi
9024
9025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9027 # Check whether --enable-logwin was given.
9028 if test "${enable_logwin+set}" = set; then
9029 enableval=$enable_logwin;
9030 if test "$enableval" = yes; then
9031 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9032 else
9033 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9034 fi
9035
9036 else
9037
9038 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9039
9040 fi
9041
9042
9043 eval "$wx_cv_use_logwin"
9044
9045 if test x"$enablestring" = xdisable; then
9046 if test $wxUSE_LOGWINDOW = no; then
9047 result=yes
9048 else
9049 result=no
9050 fi
9051 else
9052 result=$wxUSE_LOGWINDOW
9053 fi
9054
9055 { echo "$as_me:$LINENO: result: $result" >&5
9056 echo "${ECHO_T}$result" >&6; }
9057
9058
9059 enablestring=
9060 defaultval=$wxUSE_ALL_FEATURES
9061 if test -z "$defaultval"; then
9062 if test x"$enablestring" = xdisable; then
9063 defaultval=yes
9064 else
9065 defaultval=no
9066 fi
9067 fi
9068
9069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9071 # Check whether --enable-logdialog was given.
9072 if test "${enable_logdialog+set}" = set; then
9073 enableval=$enable_logdialog;
9074 if test "$enableval" = yes; then
9075 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9076 else
9077 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9078 fi
9079
9080 else
9081
9082 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9083
9084 fi
9085
9086
9087 eval "$wx_cv_use_logdialog"
9088
9089 if test x"$enablestring" = xdisable; then
9090 if test $wxUSE_LOGDIALOG = no; then
9091 result=yes
9092 else
9093 result=no
9094 fi
9095 else
9096 result=$wxUSE_LOGDIALOG
9097 fi
9098
9099 { echo "$as_me:$LINENO: result: $result" >&5
9100 echo "${ECHO_T}$result" >&6; }
9101
9102
9103 enablestring=
9104 defaultval=$wxUSE_ALL_FEATURES
9105 if test -z "$defaultval"; then
9106 if test x"$enablestring" = xdisable; then
9107 defaultval=yes
9108 else
9109 defaultval=no
9110 fi
9111 fi
9112
9113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9115 # Check whether --enable-mdi was given.
9116 if test "${enable_mdi+set}" = set; then
9117 enableval=$enable_mdi;
9118 if test "$enableval" = yes; then
9119 wx_cv_use_mdi='wxUSE_MDI=yes'
9120 else
9121 wx_cv_use_mdi='wxUSE_MDI=no'
9122 fi
9123
9124 else
9125
9126 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9127
9128 fi
9129
9130
9131 eval "$wx_cv_use_mdi"
9132
9133 if test x"$enablestring" = xdisable; then
9134 if test $wxUSE_MDI = no; then
9135 result=yes
9136 else
9137 result=no
9138 fi
9139 else
9140 result=$wxUSE_MDI
9141 fi
9142
9143 { echo "$as_me:$LINENO: result: $result" >&5
9144 echo "${ECHO_T}$result" >&6; }
9145
9146
9147 enablestring=
9148 defaultval=$wxUSE_ALL_FEATURES
9149 if test -z "$defaultval"; then
9150 if test x"$enablestring" = xdisable; then
9151 defaultval=yes
9152 else
9153 defaultval=no
9154 fi
9155 fi
9156
9157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9159 # Check whether --enable-mdidoc was given.
9160 if test "${enable_mdidoc+set}" = set; then
9161 enableval=$enable_mdidoc;
9162 if test "$enableval" = yes; then
9163 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9164 else
9165 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9166 fi
9167
9168 else
9169
9170 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9171
9172 fi
9173
9174
9175 eval "$wx_cv_use_mdidoc"
9176
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_MDI_ARCHITECTURE = no; then
9179 result=yes
9180 else
9181 result=no
9182 fi
9183 else
9184 result=$wxUSE_MDI_ARCHITECTURE
9185 fi
9186
9187 { echo "$as_me:$LINENO: result: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9189
9190
9191 enablestring=
9192 defaultval=$wxUSE_ALL_FEATURES
9193 if test -z "$defaultval"; then
9194 if test x"$enablestring" = xdisable; then
9195 defaultval=yes
9196 else
9197 defaultval=no
9198 fi
9199 fi
9200
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9203 # Check whether --enable-mediactrl was given.
9204 if test "${enable_mediactrl+set}" = set; then
9205 enableval=$enable_mediactrl;
9206 if test "$enableval" = yes; then
9207 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9208 else
9209 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9210 fi
9211
9212 else
9213
9214 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9215
9216 fi
9217
9218
9219 eval "$wx_cv_use_mediactrl"
9220
9221 if test x"$enablestring" = xdisable; then
9222 if test $wxUSE_MEDIACTRL = no; then
9223 result=yes
9224 else
9225 result=no
9226 fi
9227 else
9228 result=$wxUSE_MEDIACTRL
9229 fi
9230
9231 { echo "$as_me:$LINENO: result: $result" >&5
9232 echo "${ECHO_T}$result" >&6; }
9233
9234
9235 enablestring=
9236 defaultval=$wxUSE_ALL_FEATURES
9237 if test -z "$defaultval"; then
9238 if test x"$enablestring" = xdisable; then
9239 defaultval=yes
9240 else
9241 defaultval=no
9242 fi
9243 fi
9244
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9247 # Check whether --enable-gstreamer8 was given.
9248 if test "${enable_gstreamer8+set}" = set; then
9249 enableval=$enable_gstreamer8;
9250 if test "$enableval" = yes; then
9251 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9252 else
9253 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9254 fi
9255
9256 else
9257
9258 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9259
9260 fi
9261
9262
9263 eval "$wx_cv_use_gstreamer8"
9264
9265 if test x"$enablestring" = xdisable; then
9266 if test $wxUSE_GSTREAMER8 = no; then
9267 result=yes
9268 else
9269 result=no
9270 fi
9271 else
9272 result=$wxUSE_GSTREAMER8
9273 fi
9274
9275 { echo "$as_me:$LINENO: result: $result" >&5
9276 echo "${ECHO_T}$result" >&6; }
9277
9278
9279 enablestring=
9280 defaultval=$wxUSE_ALL_FEATURES
9281 if test -z "$defaultval"; then
9282 if test x"$enablestring" = xdisable; then
9283 defaultval=yes
9284 else
9285 defaultval=no
9286 fi
9287 fi
9288
9289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9290 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9291 # Check whether --enable-webkit was given.
9292 if test "${enable_webkit+set}" = set; then
9293 enableval=$enable_webkit;
9294 if test "$enableval" = yes; then
9295 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9296 else
9297 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9298 fi
9299
9300 else
9301
9302 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9303
9304 fi
9305
9306
9307 eval "$wx_cv_use_webkit"
9308
9309 if test x"$enablestring" = xdisable; then
9310 if test $wxUSE_WEBKIT = no; then
9311 result=yes
9312 else
9313 result=no
9314 fi
9315 else
9316 result=$wxUSE_WEBKIT
9317 fi
9318
9319 { echo "$as_me:$LINENO: result: $result" >&5
9320 echo "${ECHO_T}$result" >&6; }
9321
9322
9323 enablestring=
9324 defaultval=$wxUSE_ALL_FEATURES
9325 if test -z "$defaultval"; then
9326 if test x"$enablestring" = xdisable; then
9327 defaultval=yes
9328 else
9329 defaultval=no
9330 fi
9331 fi
9332
9333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9335 # Check whether --enable-richtext was given.
9336 if test "${enable_richtext+set}" = set; then
9337 enableval=$enable_richtext;
9338 if test "$enableval" = yes; then
9339 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9340 else
9341 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9342 fi
9343
9344 else
9345
9346 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9347
9348 fi
9349
9350
9351 eval "$wx_cv_use_richtext"
9352
9353 if test x"$enablestring" = xdisable; then
9354 if test $wxUSE_RICHTEXT = no; then
9355 result=yes
9356 else
9357 result=no
9358 fi
9359 else
9360 result=$wxUSE_RICHTEXT
9361 fi
9362
9363 { echo "$as_me:$LINENO: result: $result" >&5
9364 echo "${ECHO_T}$result" >&6; }
9365
9366
9367 enablestring=
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9371 defaultval=yes
9372 else
9373 defaultval=no
9374 fi
9375 fi
9376
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9379 # Check whether --enable-postscript was given.
9380 if test "${enable_postscript+set}" = set; then
9381 enableval=$enable_postscript;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9384 else
9385 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9386 fi
9387
9388 else
9389
9390 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9391
9392 fi
9393
9394
9395 eval "$wx_cv_use_postscript"
9396
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_POSTSCRIPT = no; then
9399 result=yes
9400 else
9401 result=no
9402 fi
9403 else
9404 result=$wxUSE_POSTSCRIPT
9405 fi
9406
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9409
9410
9411 enablestring=
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9415 defaultval=yes
9416 else
9417 defaultval=no
9418 fi
9419 fi
9420
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9423 # Check whether --enable-printarch was given.
9424 if test "${enable_printarch+set}" = set; then
9425 enableval=$enable_printarch;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9428 else
9429 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9430 fi
9431
9432 else
9433
9434 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9435
9436 fi
9437
9438
9439 eval "$wx_cv_use_printarch"
9440
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9443 result=yes
9444 else
9445 result=no
9446 fi
9447 else
9448 result=$wxUSE_PRINTING_ARCHITECTURE
9449 fi
9450
9451 { echo "$as_me:$LINENO: result: $result" >&5
9452 echo "${ECHO_T}$result" >&6; }
9453
9454
9455 enablestring=
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9459 defaultval=yes
9460 else
9461 defaultval=no
9462 fi
9463 fi
9464
9465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9467 # Check whether --enable-svg was given.
9468 if test "${enable_svg+set}" = set; then
9469 enableval=$enable_svg;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_svg='wxUSE_SVG=yes'
9472 else
9473 wx_cv_use_svg='wxUSE_SVG=no'
9474 fi
9475
9476 else
9477
9478 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9479
9480 fi
9481
9482
9483 eval "$wx_cv_use_svg"
9484
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_SVG = no; then
9487 result=yes
9488 else
9489 result=no
9490 fi
9491 else
9492 result=$wxUSE_SVG
9493 fi
9494
9495 { echo "$as_me:$LINENO: result: $result" >&5
9496 echo "${ECHO_T}$result" >&6; }
9497
9498
9499 if test "$wxUSE_MAC" != 1; then
9500
9501 enablestring=
9502 defaultval=$wxUSE_ALL_FEATURES
9503 if test -z "$defaultval"; then
9504 if test x"$enablestring" = xdisable; then
9505 defaultval=yes
9506 else
9507 defaultval=no
9508 fi
9509 fi
9510
9511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9513 # Check whether --enable-graphics_ctx was given.
9514 if test "${enable_graphics_ctx+set}" = set; then
9515 enableval=$enable_graphics_ctx;
9516 if test "$enableval" = yes; then
9517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9518 else
9519 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9520 fi
9521
9522 else
9523
9524 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9525
9526 fi
9527
9528
9529 eval "$wx_cv_use_graphics_ctx"
9530
9531 if test x"$enablestring" = xdisable; then
9532 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9533 result=yes
9534 else
9535 result=no
9536 fi
9537 else
9538 result=$wxUSE_GRAPHICS_CONTEXT
9539 fi
9540
9541 { echo "$as_me:$LINENO: result: $result" >&5
9542 echo "${ECHO_T}$result" >&6; }
9543
9544 fi
9545
9546
9547
9548 enablestring=
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9552 defaultval=yes
9553 else
9554 defaultval=no
9555 fi
9556 fi
9557
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9560 # Check whether --enable-clipboard was given.
9561 if test "${enable_clipboard+set}" = set; then
9562 enableval=$enable_clipboard;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9565 else
9566 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9567 fi
9568
9569 else
9570
9571 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9572
9573 fi
9574
9575
9576 eval "$wx_cv_use_clipboard"
9577
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_CLIPBOARD = no; then
9580 result=yes
9581 else
9582 result=no
9583 fi
9584 else
9585 result=$wxUSE_CLIPBOARD
9586 fi
9587
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9590
9591
9592 enablestring=
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9596 defaultval=yes
9597 else
9598 defaultval=no
9599 fi
9600 fi
9601
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9604 # Check whether --enable-dnd was given.
9605 if test "${enable_dnd+set}" = set; then
9606 enableval=$enable_dnd;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9609 else
9610 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9611 fi
9612
9613 else
9614
9615 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9616
9617 fi
9618
9619
9620 eval "$wx_cv_use_dnd"
9621
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_DRAG_AND_DROP = no; then
9624 result=yes
9625 else
9626 result=no
9627 fi
9628 else
9629 result=$wxUSE_DRAG_AND_DROP
9630 fi
9631
9632 { echo "$as_me:$LINENO: result: $result" >&5
9633 echo "${ECHO_T}$result" >&6; }
9634
9635
9636 enablestring=
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9640 defaultval=yes
9641 else
9642 defaultval=no
9643 fi
9644 fi
9645
9646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9647 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9648 # Check whether --enable-metafile was given.
9649 if test "${enable_metafile+set}" = set; then
9650 enableval=$enable_metafile;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9653 else
9654 wx_cv_use_metafile='wxUSE_METAFILE=no'
9655 fi
9656
9657 else
9658
9659 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9660
9661 fi
9662
9663
9664 eval "$wx_cv_use_metafile"
9665
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_METAFILE = no; then
9668 result=yes
9669 else
9670 result=no
9671 fi
9672 else
9673 result=$wxUSE_METAFILE
9674 fi
9675
9676 { echo "$as_me:$LINENO: result: $result" >&5
9677 echo "${ECHO_T}$result" >&6; }
9678
9679
9680
9681 DEFAULT_wxUSE_CONTROLS=none
9682
9683 enablestring=disable
9684 defaultval=
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9687 defaultval=yes
9688 else
9689 defaultval=no
9690 fi
9691 fi
9692
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9695 # Check whether --enable-controls was given.
9696 if test "${enable_controls+set}" = set; then
9697 enableval=$enable_controls;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9700 else
9701 wx_cv_use_controls='wxUSE_CONTROLS=no'
9702 fi
9703
9704 else
9705
9706 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9707
9708 fi
9709
9710
9711 eval "$wx_cv_use_controls"
9712
9713 if test x"$enablestring" = xdisable; then
9714 if test $wxUSE_CONTROLS = no; then
9715 result=yes
9716 else
9717 result=no
9718 fi
9719 else
9720 result=$wxUSE_CONTROLS
9721 fi
9722
9723 { echo "$as_me:$LINENO: result: $result" >&5
9724 echo "${ECHO_T}$result" >&6; }
9725
9726
9727 if test "$wxUSE_CONTROLS" = "no"; then
9728 DEFAULT_wxUSE_ACCEL=no
9729 DEFAULT_wxUSE_ANIMATIONCTRL=no
9730 DEFAULT_wxUSE_BMPBUTTON=no
9731 DEFAULT_wxUSE_BUTTON=no
9732 DEFAULT_wxUSE_CALCTRL=no
9733 DEFAULT_wxUSE_CARET=no
9734 DEFAULT_wxUSE_CHECKBOX=no
9735 DEFAULT_wxUSE_CHECKLISTBOX=no
9736 DEFAULT_wxUSE_CHOICE=no
9737 DEFAULT_wxUSE_CHOICEBOOK=no
9738 DEFAULT_wxUSE_COLLPANE=no
9739 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9740 DEFAULT_wxUSE_COMBOBOX=no
9741 DEFAULT_wxUSE_COMBOBOX=no
9742 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9743 DEFAULT_wxUSE_DATAVIEWCTRL=no
9744 DEFAULT_wxUSE_DATEPICKCTRL=no
9745 DEFAULT_wxUSE_DETECT_SM=no
9746 DEFAULT_wxUSE_DIRPICKERCTRL=no
9747 DEFAULT_wxUSE_DISPLAY=no
9748 DEFAULT_wxUSE_FILECTRL=no
9749 DEFAULT_wxUSE_FILEPICKERCTRL=no
9750 DEFAULT_wxUSE_FONTPICKERCTRL=no
9751 DEFAULT_wxUSE_GAUGE=no
9752 DEFAULT_wxUSE_GRID=no
9753 DEFAULT_wxUSE_HEADERCTRL=no
9754 DEFAULT_wxUSE_HYPERLINKCTRL=no
9755 DEFAULT_wxUSE_IMAGLIST=no
9756 DEFAULT_wxUSE_LISTBOOK=no
9757 DEFAULT_wxUSE_LISTBOX=no
9758 DEFAULT_wxUSE_LISTCTRL=no
9759 DEFAULT_wxUSE_NOTEBOOK=no
9760 DEFAULT_wxUSE_POPUPWIN=no
9761 DEFAULT_wxUSE_RADIOBOX=no
9762 DEFAULT_wxUSE_RADIOBTN=no
9763 DEFAULT_wxUSE_RICHMSGDLG=no
9764 DEFAULT_wxUSE_REARRANGECTRL=no
9765 DEFAULT_wxUSE_SASH=no
9766 DEFAULT_wxUSE_SCROLLBAR=no
9767 DEFAULT_wxUSE_SEARCHCTRL=no
9768 DEFAULT_wxUSE_SLIDER=no
9769 DEFAULT_wxUSE_SPINBTN=no
9770 DEFAULT_wxUSE_SPINCTRL=no
9771 DEFAULT_wxUSE_SPLITTER=no
9772 DEFAULT_wxUSE_STATBMP=no
9773 DEFAULT_wxUSE_STATBOX=no
9774 DEFAULT_wxUSE_STATLINE=no
9775 DEFAULT_wxUSE_STATUSBAR=no
9776 DEFAULT_wxUSE_TIPWINDOW=no
9777 DEFAULT_wxUSE_TOGGLEBTN=no
9778 DEFAULT_wxUSE_TOOLBAR=no
9779 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9780 DEFAULT_wxUSE_TOOLBOOK=no
9781 DEFAULT_wxUSE_TOOLTIPS=no
9782 DEFAULT_wxUSE_TREEBOOK=no
9783 DEFAULT_wxUSE_TREECTRL=no
9784 fi
9785
9786
9787 enablestring=
9788 defaultval=$wxUSE_ALL_FEATURES
9789 if test -z "$defaultval"; then
9790 if test x"$enablestring" = xdisable; then
9791 defaultval=yes
9792 else
9793 defaultval=no
9794 fi
9795 fi
9796
9797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9798 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9799 # Check whether --enable-accel was given.
9800 if test "${enable_accel+set}" = set; then
9801 enableval=$enable_accel;
9802 if test "$enableval" = yes; then
9803 wx_cv_use_accel='wxUSE_ACCEL=yes'
9804 else
9805 wx_cv_use_accel='wxUSE_ACCEL=no'
9806 fi
9807
9808 else
9809
9810 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9811
9812 fi
9813
9814
9815 eval "$wx_cv_use_accel"
9816
9817 if test x"$enablestring" = xdisable; then
9818 if test $wxUSE_ACCEL = no; then
9819 result=yes
9820 else
9821 result=no
9822 fi
9823 else
9824 result=$wxUSE_ACCEL
9825 fi
9826
9827 { echo "$as_me:$LINENO: result: $result" >&5
9828 echo "${ECHO_T}$result" >&6; }
9829
9830
9831 enablestring=
9832 defaultval=$wxUSE_ALL_FEATURES
9833 if test -z "$defaultval"; then
9834 if test x"$enablestring" = xdisable; then
9835 defaultval=yes
9836 else
9837 defaultval=no
9838 fi
9839 fi
9840
9841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9843 # Check whether --enable-animatectrl was given.
9844 if test "${enable_animatectrl+set}" = set; then
9845 enableval=$enable_animatectrl;
9846 if test "$enableval" = yes; then
9847 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9848 else
9849 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9850 fi
9851
9852 else
9853
9854 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9855
9856 fi
9857
9858
9859 eval "$wx_cv_use_animatectrl"
9860
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_ANIMATIONCTRL = no; then
9863 result=yes
9864 else
9865 result=no
9866 fi
9867 else
9868 result=$wxUSE_ANIMATIONCTRL
9869 fi
9870
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9873
9874
9875 enablestring=
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9879 defaultval=yes
9880 else
9881 defaultval=no
9882 fi
9883 fi
9884
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9887 # Check whether --enable-bmpbutton was given.
9888 if test "${enable_bmpbutton+set}" = set; then
9889 enableval=$enable_bmpbutton;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9892 else
9893 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9894 fi
9895
9896 else
9897
9898 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9899
9900 fi
9901
9902
9903 eval "$wx_cv_use_bmpbutton"
9904
9905 if test x"$enablestring" = xdisable; then
9906 if test $wxUSE_BMPBUTTON = no; then
9907 result=yes
9908 else
9909 result=no
9910 fi
9911 else
9912 result=$wxUSE_BMPBUTTON
9913 fi
9914
9915 { echo "$as_me:$LINENO: result: $result" >&5
9916 echo "${ECHO_T}$result" >&6; }
9917
9918
9919 enablestring=
9920 defaultval=$wxUSE_ALL_FEATURES
9921 if test -z "$defaultval"; then
9922 if test x"$enablestring" = xdisable; then
9923 defaultval=yes
9924 else
9925 defaultval=no
9926 fi
9927 fi
9928
9929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9931 # Check whether --enable-bmpcombobox was given.
9932 if test "${enable_bmpcombobox+set}" = set; then
9933 enableval=$enable_bmpcombobox;
9934 if test "$enableval" = yes; then
9935 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9936 else
9937 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9938 fi
9939
9940 else
9941
9942 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9943
9944 fi
9945
9946
9947 eval "$wx_cv_use_bmpcombobox"
9948
9949 if test x"$enablestring" = xdisable; then
9950 if test $wxUSE_BITMAPCOMBOBOX = no; then
9951 result=yes
9952 else
9953 result=no
9954 fi
9955 else
9956 result=$wxUSE_BITMAPCOMBOBOX
9957 fi
9958
9959 { echo "$as_me:$LINENO: result: $result" >&5
9960 echo "${ECHO_T}$result" >&6; }
9961
9962
9963 enablestring=
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9967 defaultval=yes
9968 else
9969 defaultval=no
9970 fi
9971 fi
9972
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9975 # Check whether --enable-button was given.
9976 if test "${enable_button+set}" = set; then
9977 enableval=$enable_button;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_button='wxUSE_BUTTON=yes'
9980 else
9981 wx_cv_use_button='wxUSE_BUTTON=no'
9982 fi
9983
9984 else
9985
9986 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9987
9988 fi
9989
9990
9991 eval "$wx_cv_use_button"
9992
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_BUTTON = no; then
9995 result=yes
9996 else
9997 result=no
9998 fi
9999 else
10000 result=$wxUSE_BUTTON
10001 fi
10002
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10005
10006
10007 enablestring=
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10011 defaultval=yes
10012 else
10013 defaultval=no
10014 fi
10015 fi
10016
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10019 # Check whether --enable-calendar was given.
10020 if test "${enable_calendar+set}" = set; then
10021 enableval=$enable_calendar;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10024 else
10025 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10026 fi
10027
10028 else
10029
10030 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10031
10032 fi
10033
10034
10035 eval "$wx_cv_use_calendar"
10036
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_CALCTRL = no; then
10039 result=yes
10040 else
10041 result=no
10042 fi
10043 else
10044 result=$wxUSE_CALCTRL
10045 fi
10046
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10049
10050
10051 enablestring=
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10055 defaultval=yes
10056 else
10057 defaultval=no
10058 fi
10059 fi
10060
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10063 # Check whether --enable-caret was given.
10064 if test "${enable_caret+set}" = set; then
10065 enableval=$enable_caret;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_caret='wxUSE_CARET=yes'
10068 else
10069 wx_cv_use_caret='wxUSE_CARET=no'
10070 fi
10071
10072 else
10073
10074 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10075
10076 fi
10077
10078
10079 eval "$wx_cv_use_caret"
10080
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_CARET = no; then
10083 result=yes
10084 else
10085 result=no
10086 fi
10087 else
10088 result=$wxUSE_CARET
10089 fi
10090
10091 { echo "$as_me:$LINENO: result: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10093
10094
10095 enablestring=
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10099 defaultval=yes
10100 else
10101 defaultval=no
10102 fi
10103 fi
10104
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10107 # Check whether --enable-checkbox was given.
10108 if test "${enable_checkbox+set}" = set; then
10109 enableval=$enable_checkbox;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10112 else
10113 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10114 fi
10115
10116 else
10117
10118 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10119
10120 fi
10121
10122
10123 eval "$wx_cv_use_checkbox"
10124
10125 if test x"$enablestring" = xdisable; then
10126 if test $wxUSE_CHECKBOX = no; then
10127 result=yes
10128 else
10129 result=no
10130 fi
10131 else
10132 result=$wxUSE_CHECKBOX
10133 fi
10134
10135 { echo "$as_me:$LINENO: result: $result" >&5
10136 echo "${ECHO_T}$result" >&6; }
10137
10138
10139 enablestring=
10140 defaultval=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x"$enablestring" = xdisable; then
10143 defaultval=yes
10144 else
10145 defaultval=no
10146 fi
10147 fi
10148
10149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10151 # Check whether --enable-checklst was given.
10152 if test "${enable_checklst+set}" = set; then
10153 enableval=$enable_checklst;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10156 else
10157 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10158 fi
10159
10160 else
10161
10162 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10163
10164 fi
10165
10166
10167 eval "$wx_cv_use_checklst"
10168
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_CHECKLST = no; then
10171 result=yes
10172 else
10173 result=no
10174 fi
10175 else
10176 result=$wxUSE_CHECKLST
10177 fi
10178
10179 { echo "$as_me:$LINENO: result: $result" >&5
10180 echo "${ECHO_T}$result" >&6; }
10181
10182
10183 enablestring=
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10187 defaultval=yes
10188 else
10189 defaultval=no
10190 fi
10191 fi
10192
10193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10195 # Check whether --enable-choice was given.
10196 if test "${enable_choice+set}" = set; then
10197 enableval=$enable_choice;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_choice='wxUSE_CHOICE=yes'
10200 else
10201 wx_cv_use_choice='wxUSE_CHOICE=no'
10202 fi
10203
10204 else
10205
10206 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10207
10208 fi
10209
10210
10211 eval "$wx_cv_use_choice"
10212
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_CHOICE = no; then
10215 result=yes
10216 else
10217 result=no
10218 fi
10219 else
10220 result=$wxUSE_CHOICE
10221 fi
10222
10223 { echo "$as_me:$LINENO: result: $result" >&5
10224 echo "${ECHO_T}$result" >&6; }
10225
10226
10227 enablestring=
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10231 defaultval=yes
10232 else
10233 defaultval=no
10234 fi
10235 fi
10236
10237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10239 # Check whether --enable-choicebook was given.
10240 if test "${enable_choicebook+set}" = set; then
10241 enableval=$enable_choicebook;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10244 else
10245 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10246 fi
10247
10248 else
10249
10250 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10251
10252 fi
10253
10254
10255 eval "$wx_cv_use_choicebook"
10256
10257 if test x"$enablestring" = xdisable; then
10258 if test $wxUSE_CHOICEBOOK = no; then
10259 result=yes
10260 else
10261 result=no
10262 fi
10263 else
10264 result=$wxUSE_CHOICEBOOK
10265 fi
10266
10267 { echo "$as_me:$LINENO: result: $result" >&5
10268 echo "${ECHO_T}$result" >&6; }
10269
10270
10271 enablestring=
10272 defaultval=$wxUSE_ALL_FEATURES
10273 if test -z "$defaultval"; then
10274 if test x"$enablestring" = xdisable; then
10275 defaultval=yes
10276 else
10277 defaultval=no
10278 fi
10279 fi
10280
10281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10282 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10283 # Check whether --enable-collpane was given.
10284 if test "${enable_collpane+set}" = set; then
10285 enableval=$enable_collpane;
10286 if test "$enableval" = yes; then
10287 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10288 else
10289 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10290 fi
10291
10292 else
10293
10294 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10295
10296 fi
10297
10298
10299 eval "$wx_cv_use_collpane"
10300
10301 if test x"$enablestring" = xdisable; then
10302 if test $wxUSE_COLLPANE = no; then
10303 result=yes
10304 else
10305 result=no
10306 fi
10307 else
10308 result=$wxUSE_COLLPANE
10309 fi
10310
10311 { echo "$as_me:$LINENO: result: $result" >&5
10312 echo "${ECHO_T}$result" >&6; }
10313
10314
10315 enablestring=
10316 defaultval=$wxUSE_ALL_FEATURES
10317 if test -z "$defaultval"; then
10318 if test x"$enablestring" = xdisable; then
10319 defaultval=yes
10320 else
10321 defaultval=no
10322 fi
10323 fi
10324
10325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10327 # Check whether --enable-colourpicker was given.
10328 if test "${enable_colourpicker+set}" = set; then
10329 enableval=$enable_colourpicker;
10330 if test "$enableval" = yes; then
10331 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10332 else
10333 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10334 fi
10335
10336 else
10337
10338 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10339
10340 fi
10341
10342
10343 eval "$wx_cv_use_colourpicker"
10344
10345 if test x"$enablestring" = xdisable; then
10346 if test $wxUSE_COLOURPICKERCTRL = no; then
10347 result=yes
10348 else
10349 result=no
10350 fi
10351 else
10352 result=$wxUSE_COLOURPICKERCTRL
10353 fi
10354
10355 { echo "$as_me:$LINENO: result: $result" >&5
10356 echo "${ECHO_T}$result" >&6; }
10357
10358
10359 enablestring=
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10363 defaultval=yes
10364 else
10365 defaultval=no
10366 fi
10367 fi
10368
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10371 # Check whether --enable-combobox was given.
10372 if test "${enable_combobox+set}" = set; then
10373 enableval=$enable_combobox;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10376 else
10377 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10378 fi
10379
10380 else
10381
10382 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10383
10384 fi
10385
10386
10387 eval "$wx_cv_use_combobox"
10388
10389 if test x"$enablestring" = xdisable; then
10390 if test $wxUSE_COMBOBOX = no; then
10391 result=yes
10392 else
10393 result=no
10394 fi
10395 else
10396 result=$wxUSE_COMBOBOX
10397 fi
10398
10399 { echo "$as_me:$LINENO: result: $result" >&5
10400 echo "${ECHO_T}$result" >&6; }
10401
10402
10403 enablestring=
10404 defaultval=$wxUSE_ALL_FEATURES
10405 if test -z "$defaultval"; then
10406 if test x"$enablestring" = xdisable; then
10407 defaultval=yes
10408 else
10409 defaultval=no
10410 fi
10411 fi
10412
10413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10415 # Check whether --enable-comboctrl was given.
10416 if test "${enable_comboctrl+set}" = set; then
10417 enableval=$enable_comboctrl;
10418 if test "$enableval" = yes; then
10419 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10420 else
10421 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10422 fi
10423
10424 else
10425
10426 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10427
10428 fi
10429
10430
10431 eval "$wx_cv_use_comboctrl"
10432
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_COMBOCTRL = no; then
10435 result=yes
10436 else
10437 result=no
10438 fi
10439 else
10440 result=$wxUSE_COMBOCTRL
10441 fi
10442
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10445
10446
10447 enablestring=
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10451 defaultval=yes
10452 else
10453 defaultval=no
10454 fi
10455 fi
10456
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10459 # Check whether --enable-commandlinkbutton was given.
10460 if test "${enable_commandlinkbutton+set}" = set; then
10461 enableval=$enable_commandlinkbutton;
10462 if test "$enableval" = yes; then
10463 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10464 else
10465 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10466 fi
10467
10468 else
10469
10470 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10471
10472 fi
10473
10474
10475 eval "$wx_cv_use_commandlinkbutton"
10476
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_COMMANDLINKBUTTON = no; then
10479 result=yes
10480 else
10481 result=no
10482 fi
10483 else
10484 result=$wxUSE_COMMANDLINKBUTTON
10485 fi
10486
10487 { echo "$as_me:$LINENO: result: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10489
10490
10491 enablestring=
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10495 defaultval=yes
10496 else
10497 defaultval=no
10498 fi
10499 fi
10500
10501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10503 # Check whether --enable-dataviewctrl was given.
10504 if test "${enable_dataviewctrl+set}" = set; then
10505 enableval=$enable_dataviewctrl;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10508 else
10509 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10510 fi
10511
10512 else
10513
10514 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10515
10516 fi
10517
10518
10519 eval "$wx_cv_use_dataviewctrl"
10520
10521 if test x"$enablestring" = xdisable; then
10522 if test $wxUSE_DATAVIEWCTRL = no; then
10523 result=yes
10524 else
10525 result=no
10526 fi
10527 else
10528 result=$wxUSE_DATAVIEWCTRL
10529 fi
10530
10531 { echo "$as_me:$LINENO: result: $result" >&5
10532 echo "${ECHO_T}$result" >&6; }
10533
10534
10535 enablestring=
10536 defaultval=$wxUSE_ALL_FEATURES
10537 if test -z "$defaultval"; then
10538 if test x"$enablestring" = xdisable; then
10539 defaultval=yes
10540 else
10541 defaultval=no
10542 fi
10543 fi
10544
10545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10547 # Check whether --enable-datepick was given.
10548 if test "${enable_datepick+set}" = set; then
10549 enableval=$enable_datepick;
10550 if test "$enableval" = yes; then
10551 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10552 else
10553 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10554 fi
10555
10556 else
10557
10558 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10559
10560 fi
10561
10562
10563 eval "$wx_cv_use_datepick"
10564
10565 if test x"$enablestring" = xdisable; then
10566 if test $wxUSE_DATEPICKCTRL = no; then
10567 result=yes
10568 else
10569 result=no
10570 fi
10571 else
10572 result=$wxUSE_DATEPICKCTRL
10573 fi
10574
10575 { echo "$as_me:$LINENO: result: $result" >&5
10576 echo "${ECHO_T}$result" >&6; }
10577
10578
10579 enablestring=
10580 defaultval=$wxUSE_ALL_FEATURES
10581 if test -z "$defaultval"; then
10582 if test x"$enablestring" = xdisable; then
10583 defaultval=yes
10584 else
10585 defaultval=no
10586 fi
10587 fi
10588
10589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10590 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10591 # Check whether --enable-detect_sm was given.
10592 if test "${enable_detect_sm+set}" = set; then
10593 enableval=$enable_detect_sm;
10594 if test "$enableval" = yes; then
10595 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10596 else
10597 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10598 fi
10599
10600 else
10601
10602 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10603
10604 fi
10605
10606
10607 eval "$wx_cv_use_detect_sm"
10608
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_DETECT_SM = no; then
10611 result=yes
10612 else
10613 result=no
10614 fi
10615 else
10616 result=$wxUSE_DETECT_SM
10617 fi
10618
10619 { echo "$as_me:$LINENO: result: $result" >&5
10620 echo "${ECHO_T}$result" >&6; }
10621
10622
10623 enablestring=
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10627 defaultval=yes
10628 else
10629 defaultval=no
10630 fi
10631 fi
10632
10633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10635 # Check whether --enable-dirpicker was given.
10636 if test "${enable_dirpicker+set}" = set; then
10637 enableval=$enable_dirpicker;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10640 else
10641 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10642 fi
10643
10644 else
10645
10646 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10647
10648 fi
10649
10650
10651 eval "$wx_cv_use_dirpicker"
10652
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_DIRPICKERCTRL = no; then
10655 result=yes
10656 else
10657 result=no
10658 fi
10659 else
10660 result=$wxUSE_DIRPICKERCTRL
10661 fi
10662
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10665
10666
10667 enablestring=
10668 defaultval=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x"$enablestring" = xdisable; then
10671 defaultval=yes
10672 else
10673 defaultval=no
10674 fi
10675 fi
10676
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10679 # Check whether --enable-display was given.
10680 if test "${enable_display+set}" = set; then
10681 enableval=$enable_display;
10682 if test "$enableval" = yes; then
10683 wx_cv_use_display='wxUSE_DISPLAY=yes'
10684 else
10685 wx_cv_use_display='wxUSE_DISPLAY=no'
10686 fi
10687
10688 else
10689
10690 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10691
10692 fi
10693
10694
10695 eval "$wx_cv_use_display"
10696
10697 if test x"$enablestring" = xdisable; then
10698 if test $wxUSE_DISPLAY = no; then
10699 result=yes
10700 else
10701 result=no
10702 fi
10703 else
10704 result=$wxUSE_DISPLAY
10705 fi
10706
10707 { echo "$as_me:$LINENO: result: $result" >&5
10708 echo "${ECHO_T}$result" >&6; }
10709
10710
10711 enablestring=
10712 defaultval=$wxUSE_ALL_FEATURES
10713 if test -z "$defaultval"; then
10714 if test x"$enablestring" = xdisable; then
10715 defaultval=yes
10716 else
10717 defaultval=no
10718 fi
10719 fi
10720
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10723 # Check whether --enable-editablebox was given.
10724 if test "${enable_editablebox+set}" = set; then
10725 enableval=$enable_editablebox;
10726 if test "$enableval" = yes; then
10727 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10728 else
10729 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10730 fi
10731
10732 else
10733
10734 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10735
10736 fi
10737
10738
10739 eval "$wx_cv_use_editablebox"
10740
10741 if test x"$enablestring" = xdisable; then
10742 if test $wxUSE_EDITABLELISTBOX = no; then
10743 result=yes
10744 else
10745 result=no
10746 fi
10747 else
10748 result=$wxUSE_EDITABLELISTBOX
10749 fi
10750
10751 { echo "$as_me:$LINENO: result: $result" >&5
10752 echo "${ECHO_T}$result" >&6; }
10753
10754
10755 enablestring=
10756 defaultval=$wxUSE_ALL_FEATURES
10757 if test -z "$defaultval"; then
10758 if test x"$enablestring" = xdisable; then
10759 defaultval=yes
10760 else
10761 defaultval=no
10762 fi
10763 fi
10764
10765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10766 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10767 # Check whether --enable-filectrl was given.
10768 if test "${enable_filectrl+set}" = set; then
10769 enableval=$enable_filectrl;
10770 if test "$enableval" = yes; then
10771 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10772 else
10773 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10774 fi
10775
10776 else
10777
10778 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10779
10780 fi
10781
10782
10783 eval "$wx_cv_use_filectrl"
10784
10785 if test x"$enablestring" = xdisable; then
10786 if test $wxUSE_FILECTRL = no; then
10787 result=yes
10788 else
10789 result=no
10790 fi
10791 else
10792 result=$wxUSE_FILECTRL
10793 fi
10794
10795 { echo "$as_me:$LINENO: result: $result" >&5
10796 echo "${ECHO_T}$result" >&6; }
10797
10798
10799 enablestring=
10800 defaultval=$wxUSE_ALL_FEATURES
10801 if test -z "$defaultval"; then
10802 if test x"$enablestring" = xdisable; then
10803 defaultval=yes
10804 else
10805 defaultval=no
10806 fi
10807 fi
10808
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10811 # Check whether --enable-filepicker was given.
10812 if test "${enable_filepicker+set}" = set; then
10813 enableval=$enable_filepicker;
10814 if test "$enableval" = yes; then
10815 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10816 else
10817 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10818 fi
10819
10820 else
10821
10822 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10823
10824 fi
10825
10826
10827 eval "$wx_cv_use_filepicker"
10828
10829 if test x"$enablestring" = xdisable; then
10830 if test $wxUSE_FILEPICKERCTRL = no; then
10831 result=yes
10832 else
10833 result=no
10834 fi
10835 else
10836 result=$wxUSE_FILEPICKERCTRL
10837 fi
10838
10839 { echo "$as_me:$LINENO: result: $result" >&5
10840 echo "${ECHO_T}$result" >&6; }
10841
10842
10843 enablestring=
10844 defaultval=$wxUSE_ALL_FEATURES
10845 if test -z "$defaultval"; then
10846 if test x"$enablestring" = xdisable; then
10847 defaultval=yes
10848 else
10849 defaultval=no
10850 fi
10851 fi
10852
10853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10855 # Check whether --enable-fontpicker was given.
10856 if test "${enable_fontpicker+set}" = set; then
10857 enableval=$enable_fontpicker;
10858 if test "$enableval" = yes; then
10859 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10860 else
10861 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10862 fi
10863
10864 else
10865
10866 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10867
10868 fi
10869
10870
10871 eval "$wx_cv_use_fontpicker"
10872
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_FONTPICKERCTRL = no; then
10875 result=yes
10876 else
10877 result=no
10878 fi
10879 else
10880 result=$wxUSE_FONTPICKERCTRL
10881 fi
10882
10883 { echo "$as_me:$LINENO: result: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10885
10886
10887 enablestring=
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10891 defaultval=yes
10892 else
10893 defaultval=no
10894 fi
10895 fi
10896
10897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10899 # Check whether --enable-gauge was given.
10900 if test "${enable_gauge+set}" = set; then
10901 enableval=$enable_gauge;
10902 if test "$enableval" = yes; then
10903 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10904 else
10905 wx_cv_use_gauge='wxUSE_GAUGE=no'
10906 fi
10907
10908 else
10909
10910 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10911
10912 fi
10913
10914
10915 eval "$wx_cv_use_gauge"
10916
10917 if test x"$enablestring" = xdisable; then
10918 if test $wxUSE_GAUGE = no; then
10919 result=yes
10920 else
10921 result=no
10922 fi
10923 else
10924 result=$wxUSE_GAUGE
10925 fi
10926
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10929
10930
10931 enablestring=
10932 defaultval=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x"$enablestring" = xdisable; then
10935 defaultval=yes
10936 else
10937 defaultval=no
10938 fi
10939 fi
10940
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10943 # Check whether --enable-grid was given.
10944 if test "${enable_grid+set}" = set; then
10945 enableval=$enable_grid;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_grid='wxUSE_GRID=yes'
10948 else
10949 wx_cv_use_grid='wxUSE_GRID=no'
10950 fi
10951
10952 else
10953
10954 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10955
10956 fi
10957
10958
10959 eval "$wx_cv_use_grid"
10960
10961 if test x"$enablestring" = xdisable; then
10962 if test $wxUSE_GRID = no; then
10963 result=yes
10964 else
10965 result=no
10966 fi
10967 else
10968 result=$wxUSE_GRID
10969 fi
10970
10971 { echo "$as_me:$LINENO: result: $result" >&5
10972 echo "${ECHO_T}$result" >&6; }
10973
10974
10975 enablestring=
10976 defaultval=$wxUSE_ALL_FEATURES
10977 if test -z "$defaultval"; then
10978 if test x"$enablestring" = xdisable; then
10979 defaultval=yes
10980 else
10981 defaultval=no
10982 fi
10983 fi
10984
10985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10986 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10987 # Check whether --enable-headerctrl was given.
10988 if test "${enable_headerctrl+set}" = set; then
10989 enableval=$enable_headerctrl;
10990 if test "$enableval" = yes; then
10991 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10992 else
10993 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10994 fi
10995
10996 else
10997
10998 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10999
11000 fi
11001
11002
11003 eval "$wx_cv_use_headerctrl"
11004
11005 if test x"$enablestring" = xdisable; then
11006 if test $wxUSE_HEADERCTRL = no; then
11007 result=yes
11008 else
11009 result=no
11010 fi
11011 else
11012 result=$wxUSE_HEADERCTRL
11013 fi
11014
11015 { echo "$as_me:$LINENO: result: $result" >&5
11016 echo "${ECHO_T}$result" >&6; }
11017
11018
11019 enablestring=
11020 defaultval=$wxUSE_ALL_FEATURES
11021 if test -z "$defaultval"; then
11022 if test x"$enablestring" = xdisable; then
11023 defaultval=yes
11024 else
11025 defaultval=no
11026 fi
11027 fi
11028
11029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11030 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11031 # Check whether --enable-hyperlink was given.
11032 if test "${enable_hyperlink+set}" = set; then
11033 enableval=$enable_hyperlink;
11034 if test "$enableval" = yes; then
11035 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11036 else
11037 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11038 fi
11039
11040 else
11041
11042 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11043
11044 fi
11045
11046
11047 eval "$wx_cv_use_hyperlink"
11048
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_HYPERLINKCTRL = no; then
11051 result=yes
11052 else
11053 result=no
11054 fi
11055 else
11056 result=$wxUSE_HYPERLINKCTRL
11057 fi
11058
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11061
11062
11063 enablestring=
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11067 defaultval=yes
11068 else
11069 defaultval=no
11070 fi
11071 fi
11072
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11075 # Check whether --enable-imaglist was given.
11076 if test "${enable_imaglist+set}" = set; then
11077 enableval=$enable_imaglist;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11080 else
11081 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11082 fi
11083
11084 else
11085
11086 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11087
11088 fi
11089
11090
11091 eval "$wx_cv_use_imaglist"
11092
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_IMAGLIST = no; then
11095 result=yes
11096 else
11097 result=no
11098 fi
11099 else
11100 result=$wxUSE_IMAGLIST
11101 fi
11102
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11105
11106
11107 enablestring=
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11111 defaultval=yes
11112 else
11113 defaultval=no
11114 fi
11115 fi
11116
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11119 # Check whether --enable-infobar was given.
11120 if test "${enable_infobar+set}" = set; then
11121 enableval=$enable_infobar;
11122 if test "$enableval" = yes; then
11123 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11124 else
11125 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11126 fi
11127
11128 else
11129
11130 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11131
11132 fi
11133
11134
11135 eval "$wx_cv_use_infobar"
11136
11137 if test x"$enablestring" = xdisable; then
11138 if test $wxUSE_INFOBAR = no; then
11139 result=yes
11140 else
11141 result=no
11142 fi
11143 else
11144 result=$wxUSE_INFOBAR
11145 fi
11146
11147 { echo "$as_me:$LINENO: result: $result" >&5
11148 echo "${ECHO_T}$result" >&6; }
11149
11150
11151 enablestring=
11152 defaultval=$wxUSE_ALL_FEATURES
11153 if test -z "$defaultval"; then
11154 if test x"$enablestring" = xdisable; then
11155 defaultval=yes
11156 else
11157 defaultval=no
11158 fi
11159 fi
11160
11161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11162 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11163 # Check whether --enable-listbook was given.
11164 if test "${enable_listbook+set}" = set; then
11165 enableval=$enable_listbook;
11166 if test "$enableval" = yes; then
11167 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11168 else
11169 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11170 fi
11171
11172 else
11173
11174 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11175
11176 fi
11177
11178
11179 eval "$wx_cv_use_listbook"
11180
11181 if test x"$enablestring" = xdisable; then
11182 if test $wxUSE_LISTBOOK = no; then
11183 result=yes
11184 else
11185 result=no
11186 fi
11187 else
11188 result=$wxUSE_LISTBOOK
11189 fi
11190
11191 { echo "$as_me:$LINENO: result: $result" >&5
11192 echo "${ECHO_T}$result" >&6; }
11193
11194
11195 enablestring=
11196 defaultval=$wxUSE_ALL_FEATURES
11197 if test -z "$defaultval"; then
11198 if test x"$enablestring" = xdisable; then
11199 defaultval=yes
11200 else
11201 defaultval=no
11202 fi
11203 fi
11204
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11207 # Check whether --enable-listbox was given.
11208 if test "${enable_listbox+set}" = set; then
11209 enableval=$enable_listbox;
11210 if test "$enableval" = yes; then
11211 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11212 else
11213 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11214 fi
11215
11216 else
11217
11218 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11219
11220 fi
11221
11222
11223 eval "$wx_cv_use_listbox"
11224
11225 if test x"$enablestring" = xdisable; then
11226 if test $wxUSE_LISTBOX = no; then
11227 result=yes
11228 else
11229 result=no
11230 fi
11231 else
11232 result=$wxUSE_LISTBOX
11233 fi
11234
11235 { echo "$as_me:$LINENO: result: $result" >&5
11236 echo "${ECHO_T}$result" >&6; }
11237
11238
11239 enablestring=
11240 defaultval=$wxUSE_ALL_FEATURES
11241 if test -z "$defaultval"; then
11242 if test x"$enablestring" = xdisable; then
11243 defaultval=yes
11244 else
11245 defaultval=no
11246 fi
11247 fi
11248
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11251 # Check whether --enable-listctrl was given.
11252 if test "${enable_listctrl+set}" = set; then
11253 enableval=$enable_listctrl;
11254 if test "$enableval" = yes; then
11255 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11256 else
11257 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11258 fi
11259
11260 else
11261
11262 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11263
11264 fi
11265
11266
11267 eval "$wx_cv_use_listctrl"
11268
11269 if test x"$enablestring" = xdisable; then
11270 if test $wxUSE_LISTCTRL = no; then
11271 result=yes
11272 else
11273 result=no
11274 fi
11275 else
11276 result=$wxUSE_LISTCTRL
11277 fi
11278
11279 { echo "$as_me:$LINENO: result: $result" >&5
11280 echo "${ECHO_T}$result" >&6; }
11281
11282
11283 enablestring=
11284 defaultval=$wxUSE_ALL_FEATURES
11285 if test -z "$defaultval"; then
11286 if test x"$enablestring" = xdisable; then
11287 defaultval=yes
11288 else
11289 defaultval=no
11290 fi
11291 fi
11292
11293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11294 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11295 # Check whether --enable-notebook was given.
11296 if test "${enable_notebook+set}" = set; then
11297 enableval=$enable_notebook;
11298 if test "$enableval" = yes; then
11299 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11300 else
11301 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11302 fi
11303
11304 else
11305
11306 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11307
11308 fi
11309
11310
11311 eval "$wx_cv_use_notebook"
11312
11313 if test x"$enablestring" = xdisable; then
11314 if test $wxUSE_NOTEBOOK = no; then
11315 result=yes
11316 else
11317 result=no
11318 fi
11319 else
11320 result=$wxUSE_NOTEBOOK
11321 fi
11322
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11325
11326
11327 enablestring=
11328 defaultval=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x"$enablestring" = xdisable; then
11331 defaultval=yes
11332 else
11333 defaultval=no
11334 fi
11335 fi
11336
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11339 # Check whether --enable-notifmsg was given.
11340 if test "${enable_notifmsg+set}" = set; then
11341 enableval=$enable_notifmsg;
11342 if test "$enableval" = yes; then
11343 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11344 else
11345 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11346 fi
11347
11348 else
11349
11350 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11351
11352 fi
11353
11354
11355 eval "$wx_cv_use_notifmsg"
11356
11357 if test x"$enablestring" = xdisable; then
11358 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11359 result=yes
11360 else
11361 result=no
11362 fi
11363 else
11364 result=$wxUSE_NOTIFICATION_MESSAGE
11365 fi
11366
11367 { echo "$as_me:$LINENO: result: $result" >&5
11368 echo "${ECHO_T}$result" >&6; }
11369
11370
11371 enablestring=
11372 defaultval=$wxUSE_ALL_FEATURES
11373 if test -z "$defaultval"; then
11374 if test x"$enablestring" = xdisable; then
11375 defaultval=yes
11376 else
11377 defaultval=no
11378 fi
11379 fi
11380
11381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11383 # Check whether --enable-odcombobox was given.
11384 if test "${enable_odcombobox+set}" = set; then
11385 enableval=$enable_odcombobox;
11386 if test "$enableval" = yes; then
11387 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11388 else
11389 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11390 fi
11391
11392 else
11393
11394 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11395
11396 fi
11397
11398
11399 eval "$wx_cv_use_odcombobox"
11400
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_ODCOMBOBOX = no; then
11403 result=yes
11404 else
11405 result=no
11406 fi
11407 else
11408 result=$wxUSE_ODCOMBOBOX
11409 fi
11410
11411 { echo "$as_me:$LINENO: result: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11413
11414
11415 enablestring=
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11419 defaultval=yes
11420 else
11421 defaultval=no
11422 fi
11423 fi
11424
11425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11426 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11427 # Check whether --enable-popupwin was given.
11428 if test "${enable_popupwin+set}" = set; then
11429 enableval=$enable_popupwin;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11432 else
11433 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11434 fi
11435
11436 else
11437
11438 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11439
11440 fi
11441
11442
11443 eval "$wx_cv_use_popupwin"
11444
11445 if test x"$enablestring" = xdisable; then
11446 if test $wxUSE_POPUPWIN = no; then
11447 result=yes
11448 else
11449 result=no
11450 fi
11451 else
11452 result=$wxUSE_POPUPWIN
11453 fi
11454
11455 { echo "$as_me:$LINENO: result: $result" >&5
11456 echo "${ECHO_T}$result" >&6; }
11457
11458
11459 enablestring=
11460 defaultval=$wxUSE_ALL_FEATURES
11461 if test -z "$defaultval"; then
11462 if test x"$enablestring" = xdisable; then
11463 defaultval=yes
11464 else
11465 defaultval=no
11466 fi
11467 fi
11468
11469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11470 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11471 # Check whether --enable-radiobox was given.
11472 if test "${enable_radiobox+set}" = set; then
11473 enableval=$enable_radiobox;
11474 if test "$enableval" = yes; then
11475 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11476 else
11477 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11478 fi
11479
11480 else
11481
11482 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11483
11484 fi
11485
11486
11487 eval "$wx_cv_use_radiobox"
11488
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_RADIOBOX = no; then
11491 result=yes
11492 else
11493 result=no
11494 fi
11495 else
11496 result=$wxUSE_RADIOBOX
11497 fi
11498
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11501
11502
11503 enablestring=
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11507 defaultval=yes
11508 else
11509 defaultval=no
11510 fi
11511 fi
11512
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11515 # Check whether --enable-radiobtn was given.
11516 if test "${enable_radiobtn+set}" = set; then
11517 enableval=$enable_radiobtn;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11520 else
11521 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11522 fi
11523
11524 else
11525
11526 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11527
11528 fi
11529
11530
11531 eval "$wx_cv_use_radiobtn"
11532
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_RADIOBTN = no; then
11535 result=yes
11536 else
11537 result=no
11538 fi
11539 else
11540 result=$wxUSE_RADIOBTN
11541 fi
11542
11543 { echo "$as_me:$LINENO: result: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11545
11546
11547 enablestring=
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11551 defaultval=yes
11552 else
11553 defaultval=no
11554 fi
11555 fi
11556
11557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11558 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11559 # Check whether --enable-richmsgdlg was given.
11560 if test "${enable_richmsgdlg+set}" = set; then
11561 enableval=$enable_richmsgdlg;
11562 if test "$enableval" = yes; then
11563 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11564 else
11565 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11566 fi
11567
11568 else
11569
11570 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11571
11572 fi
11573
11574
11575 eval "$wx_cv_use_richmsgdlg"
11576
11577 if test x"$enablestring" = xdisable; then
11578 if test $wxUSE_RICHMSGDLG = no; then
11579 result=yes
11580 else
11581 result=no
11582 fi
11583 else
11584 result=$wxUSE_RICHMSGDLG
11585 fi
11586
11587 { echo "$as_me:$LINENO: result: $result" >&5
11588 echo "${ECHO_T}$result" >&6; }
11589
11590
11591 enablestring=
11592 defaultval=$wxUSE_ALL_FEATURES
11593 if test -z "$defaultval"; then
11594 if test x"$enablestring" = xdisable; then
11595 defaultval=yes
11596 else
11597 defaultval=no
11598 fi
11599 fi
11600
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11603 # Check whether --enable-rearrangectrl was given.
11604 if test "${enable_rearrangectrl+set}" = set; then
11605 enableval=$enable_rearrangectrl;
11606 if test "$enableval" = yes; then
11607 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11608 else
11609 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11610 fi
11611
11612 else
11613
11614 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11615
11616 fi
11617
11618
11619 eval "$wx_cv_use_rearrangectrl"
11620
11621 if test x"$enablestring" = xdisable; then
11622 if test $wxUSE_REARRANGECTRL = no; then
11623 result=yes
11624 else
11625 result=no
11626 fi
11627 else
11628 result=$wxUSE_REARRANGECTRL
11629 fi
11630
11631 { echo "$as_me:$LINENO: result: $result" >&5
11632 echo "${ECHO_T}$result" >&6; }
11633
11634
11635 enablestring=
11636 defaultval=$wxUSE_ALL_FEATURES
11637 if test -z "$defaultval"; then
11638 if test x"$enablestring" = xdisable; then
11639 defaultval=yes
11640 else
11641 defaultval=no
11642 fi
11643 fi
11644
11645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11646 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11647 # Check whether --enable-sash was given.
11648 if test "${enable_sash+set}" = set; then
11649 enableval=$enable_sash;
11650 if test "$enableval" = yes; then
11651 wx_cv_use_sash='wxUSE_SASH=yes'
11652 else
11653 wx_cv_use_sash='wxUSE_SASH=no'
11654 fi
11655
11656 else
11657
11658 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11659
11660 fi
11661
11662
11663 eval "$wx_cv_use_sash"
11664
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_SASH = no; then
11667 result=yes
11668 else
11669 result=no
11670 fi
11671 else
11672 result=$wxUSE_SASH
11673 fi
11674
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11677
11678
11679 enablestring=
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11683 defaultval=yes
11684 else
11685 defaultval=no
11686 fi
11687 fi
11688
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11691 # Check whether --enable-scrollbar was given.
11692 if test "${enable_scrollbar+set}" = set; then
11693 enableval=$enable_scrollbar;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11696 else
11697 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11698 fi
11699
11700 else
11701
11702 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11703
11704 fi
11705
11706
11707 eval "$wx_cv_use_scrollbar"
11708
11709 if test x"$enablestring" = xdisable; then
11710 if test $wxUSE_SCROLLBAR = no; then
11711 result=yes
11712 else
11713 result=no
11714 fi
11715 else
11716 result=$wxUSE_SCROLLBAR
11717 fi
11718
11719 { echo "$as_me:$LINENO: result: $result" >&5
11720 echo "${ECHO_T}$result" >&6; }
11721
11722
11723 enablestring=
11724 defaultval=$wxUSE_ALL_FEATURES
11725 if test -z "$defaultval"; then
11726 if test x"$enablestring" = xdisable; then
11727 defaultval=yes
11728 else
11729 defaultval=no
11730 fi
11731 fi
11732
11733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11734 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11735 # Check whether --enable-searchctrl was given.
11736 if test "${enable_searchctrl+set}" = set; then
11737 enableval=$enable_searchctrl;
11738 if test "$enableval" = yes; then
11739 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11740 else
11741 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11742 fi
11743
11744 else
11745
11746 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11747
11748 fi
11749
11750
11751 eval "$wx_cv_use_searchctrl"
11752
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_SEARCHCTRL = no; then
11755 result=yes
11756 else
11757 result=no
11758 fi
11759 else
11760 result=$wxUSE_SEARCHCTRL
11761 fi
11762
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11765
11766
11767 enablestring=
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11771 defaultval=yes
11772 else
11773 defaultval=no
11774 fi
11775 fi
11776
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11779 # Check whether --enable-slider was given.
11780 if test "${enable_slider+set}" = set; then
11781 enableval=$enable_slider;
11782 if test "$enableval" = yes; then
11783 wx_cv_use_slider='wxUSE_SLIDER=yes'
11784 else
11785 wx_cv_use_slider='wxUSE_SLIDER=no'
11786 fi
11787
11788 else
11789
11790 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11791
11792 fi
11793
11794
11795 eval "$wx_cv_use_slider"
11796
11797 if test x"$enablestring" = xdisable; then
11798 if test $wxUSE_SLIDER = no; then
11799 result=yes
11800 else
11801 result=no
11802 fi
11803 else
11804 result=$wxUSE_SLIDER
11805 fi
11806
11807 { echo "$as_me:$LINENO: result: $result" >&5
11808 echo "${ECHO_T}$result" >&6; }
11809
11810
11811 enablestring=
11812 defaultval=$wxUSE_ALL_FEATURES
11813 if test -z "$defaultval"; then
11814 if test x"$enablestring" = xdisable; then
11815 defaultval=yes
11816 else
11817 defaultval=no
11818 fi
11819 fi
11820
11821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11822 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11823 # Check whether --enable-spinbtn was given.
11824 if test "${enable_spinbtn+set}" = set; then
11825 enableval=$enable_spinbtn;
11826 if test "$enableval" = yes; then
11827 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11828 else
11829 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11830 fi
11831
11832 else
11833
11834 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11835
11836 fi
11837
11838
11839 eval "$wx_cv_use_spinbtn"
11840
11841 if test x"$enablestring" = xdisable; then
11842 if test $wxUSE_SPINBTN = no; then
11843 result=yes
11844 else
11845 result=no
11846 fi
11847 else
11848 result=$wxUSE_SPINBTN
11849 fi
11850
11851 { echo "$as_me:$LINENO: result: $result" >&5
11852 echo "${ECHO_T}$result" >&6; }
11853
11854
11855 enablestring=
11856 defaultval=$wxUSE_ALL_FEATURES
11857 if test -z "$defaultval"; then
11858 if test x"$enablestring" = xdisable; then
11859 defaultval=yes
11860 else
11861 defaultval=no
11862 fi
11863 fi
11864
11865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11866 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11867 # Check whether --enable-spinctrl was given.
11868 if test "${enable_spinctrl+set}" = set; then
11869 enableval=$enable_spinctrl;
11870 if test "$enableval" = yes; then
11871 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11872 else
11873 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11874 fi
11875
11876 else
11877
11878 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11879
11880 fi
11881
11882
11883 eval "$wx_cv_use_spinctrl"
11884
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_SPINCTRL = no; then
11887 result=yes
11888 else
11889 result=no
11890 fi
11891 else
11892 result=$wxUSE_SPINCTRL
11893 fi
11894
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11897
11898
11899 enablestring=
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11903 defaultval=yes
11904 else
11905 defaultval=no
11906 fi
11907 fi
11908
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11911 # Check whether --enable-splitter was given.
11912 if test "${enable_splitter+set}" = set; then
11913 enableval=$enable_splitter;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11916 else
11917 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11918 fi
11919
11920 else
11921
11922 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11923
11924 fi
11925
11926
11927 eval "$wx_cv_use_splitter"
11928
11929 if test x"$enablestring" = xdisable; then
11930 if test $wxUSE_SPLITTER = no; then
11931 result=yes
11932 else
11933 result=no
11934 fi
11935 else
11936 result=$wxUSE_SPLITTER
11937 fi
11938
11939 { echo "$as_me:$LINENO: result: $result" >&5
11940 echo "${ECHO_T}$result" >&6; }
11941
11942
11943 enablestring=
11944 defaultval=$wxUSE_ALL_FEATURES
11945 if test -z "$defaultval"; then
11946 if test x"$enablestring" = xdisable; then
11947 defaultval=yes
11948 else
11949 defaultval=no
11950 fi
11951 fi
11952
11953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11954 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11955 # Check whether --enable-statbmp was given.
11956 if test "${enable_statbmp+set}" = set; then
11957 enableval=$enable_statbmp;
11958 if test "$enableval" = yes; then
11959 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11960 else
11961 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11962 fi
11963
11964 else
11965
11966 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11967
11968 fi
11969
11970
11971 eval "$wx_cv_use_statbmp"
11972
11973 if test x"$enablestring" = xdisable; then
11974 if test $wxUSE_STATBMP = no; then
11975 result=yes
11976 else
11977 result=no
11978 fi
11979 else
11980 result=$wxUSE_STATBMP
11981 fi
11982
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11985
11986
11987 enablestring=
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11991 defaultval=yes
11992 else
11993 defaultval=no
11994 fi
11995 fi
11996
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11999 # Check whether --enable-statbox was given.
12000 if test "${enable_statbox+set}" = set; then
12001 enableval=$enable_statbox;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12004 else
12005 wx_cv_use_statbox='wxUSE_STATBOX=no'
12006 fi
12007
12008 else
12009
12010 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12011
12012 fi
12013
12014
12015 eval "$wx_cv_use_statbox"
12016
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_STATBOX = no; then
12019 result=yes
12020 else
12021 result=no
12022 fi
12023 else
12024 result=$wxUSE_STATBOX
12025 fi
12026
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12029
12030
12031 enablestring=
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12035 defaultval=yes
12036 else
12037 defaultval=no
12038 fi
12039 fi
12040
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12043 # Check whether --enable-statline was given.
12044 if test "${enable_statline+set}" = set; then
12045 enableval=$enable_statline;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_statline='wxUSE_STATLINE=yes'
12048 else
12049 wx_cv_use_statline='wxUSE_STATLINE=no'
12050 fi
12051
12052 else
12053
12054 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12055
12056 fi
12057
12058
12059 eval "$wx_cv_use_statline"
12060
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_STATLINE = no; then
12063 result=yes
12064 else
12065 result=no
12066 fi
12067 else
12068 result=$wxUSE_STATLINE
12069 fi
12070
12071 { echo "$as_me:$LINENO: result: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12073
12074
12075 enablestring=
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12079 defaultval=yes
12080 else
12081 defaultval=no
12082 fi
12083 fi
12084
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12087 # Check whether --enable-stattext was given.
12088 if test "${enable_stattext+set}" = set; then
12089 enableval=$enable_stattext;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12092 else
12093 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12094 fi
12095
12096 else
12097
12098 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12099
12100 fi
12101
12102
12103 eval "$wx_cv_use_stattext"
12104
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_STATTEXT = no; then
12107 result=yes
12108 else
12109 result=no
12110 fi
12111 else
12112 result=$wxUSE_STATTEXT
12113 fi
12114
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12131 # Check whether --enable-statusbar was given.
12132 if test "${enable_statusbar+set}" = set; then
12133 enableval=$enable_statusbar;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12136 else
12137 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12138 fi
12139
12140 else
12141
12142 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12143
12144 fi
12145
12146
12147 eval "$wx_cv_use_statusbar"
12148
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_STATUSBAR = no; then
12151 result=yes
12152 else
12153 result=no
12154 fi
12155 else
12156 result=$wxUSE_STATUSBAR
12157 fi
12158
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12161
12162
12163 enablestring=
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12167 defaultval=yes
12168 else
12169 defaultval=no
12170 fi
12171 fi
12172
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12175 # Check whether --enable-taskbaricon was given.
12176 if test "${enable_taskbaricon+set}" = set; then
12177 enableval=$enable_taskbaricon;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12180 else
12181 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12182 fi
12183
12184 else
12185
12186 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12187
12188 fi
12189
12190
12191 eval "$wx_cv_use_taskbaricon"
12192
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_TASKBARICON = no; then
12195 result=yes
12196 else
12197 result=no
12198 fi
12199 else
12200 result=$wxUSE_TASKBARICON
12201 fi
12202
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12205
12206
12207 enablestring=
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12211 defaultval=yes
12212 else
12213 defaultval=no
12214 fi
12215 fi
12216
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12219 # Check whether --enable-tbarnative was given.
12220 if test "${enable_tbarnative+set}" = set; then
12221 enableval=$enable_tbarnative;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12224 else
12225 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12226 fi
12227
12228 else
12229
12230 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12231
12232 fi
12233
12234
12235 eval "$wx_cv_use_tbarnative"
12236
12237 if test x"$enablestring" = xdisable; then
12238 if test $wxUSE_TOOLBAR_NATIVE = no; then
12239 result=yes
12240 else
12241 result=no
12242 fi
12243 else
12244 result=$wxUSE_TOOLBAR_NATIVE
12245 fi
12246
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12249
12250
12251 enablestring=
12252 defaultval=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x"$enablestring" = xdisable; then
12255 defaultval=yes
12256 else
12257 defaultval=no
12258 fi
12259 fi
12260
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12263 # Check whether --enable-textctrl was given.
12264 if test "${enable_textctrl+set}" = set; then
12265 enableval=$enable_textctrl;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12268 else
12269 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12270 fi
12271
12272 else
12273
12274 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12275
12276 fi
12277
12278
12279 eval "$wx_cv_use_textctrl"
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_TEXTCTRL = no; then
12283 result=yes
12284 else
12285 result=no
12286 fi
12287 else
12288 result=$wxUSE_TEXTCTRL
12289 fi
12290
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12307 # Check whether --enable-tipwindow was given.
12308 if test "${enable_tipwindow+set}" = set; then
12309 enableval=$enable_tipwindow;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12312 else
12313 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12314 fi
12315
12316 else
12317
12318 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12319
12320 fi
12321
12322
12323 eval "$wx_cv_use_tipwindow"
12324
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_TIPWINDOW = no; then
12327 result=yes
12328 else
12329 result=no
12330 fi
12331 else
12332 result=$wxUSE_TIPWINDOW
12333 fi
12334
12335 { echo "$as_me:$LINENO: result: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12337
12338
12339 enablestring=
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12343 defaultval=yes
12344 else
12345 defaultval=no
12346 fi
12347 fi
12348
12349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12350 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12351 # Check whether --enable-togglebtn was given.
12352 if test "${enable_togglebtn+set}" = set; then
12353 enableval=$enable_togglebtn;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12356 else
12357 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12358 fi
12359
12360 else
12361
12362 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12363
12364 fi
12365
12366
12367 eval "$wx_cv_use_togglebtn"
12368
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_TOGGLEBTN = no; then
12371 result=yes
12372 else
12373 result=no
12374 fi
12375 else
12376 result=$wxUSE_TOGGLEBTN
12377 fi
12378
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12381
12382
12383 enablestring=
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12387 defaultval=yes
12388 else
12389 defaultval=no
12390 fi
12391 fi
12392
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12395 # Check whether --enable-toolbar was given.
12396 if test "${enable_toolbar+set}" = set; then
12397 enableval=$enable_toolbar;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12400 else
12401 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12402 fi
12403
12404 else
12405
12406 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12407
12408 fi
12409
12410
12411 eval "$wx_cv_use_toolbar"
12412
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_TOOLBAR = no; then
12415 result=yes
12416 else
12417 result=no
12418 fi
12419 else
12420 result=$wxUSE_TOOLBAR
12421 fi
12422
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12425
12426
12427 enablestring=
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12431 defaultval=yes
12432 else
12433 defaultval=no
12434 fi
12435 fi
12436
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12439 # Check whether --enable-toolbook was given.
12440 if test "${enable_toolbook+set}" = set; then
12441 enableval=$enable_toolbook;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12444 else
12445 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12446 fi
12447
12448 else
12449
12450 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12451
12452 fi
12453
12454
12455 eval "$wx_cv_use_toolbook"
12456
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_TOOLBOOK = no; then
12459 result=yes
12460 else
12461 result=no
12462 fi
12463 else
12464 result=$wxUSE_TOOLBOOK
12465 fi
12466
12467 { echo "$as_me:$LINENO: result: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12469
12470
12471 enablestring=
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12475 defaultval=yes
12476 else
12477 defaultval=no
12478 fi
12479 fi
12480
12481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12482 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12483 # Check whether --enable-treebook was given.
12484 if test "${enable_treebook+set}" = set; then
12485 enableval=$enable_treebook;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12488 else
12489 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12490 fi
12491
12492 else
12493
12494 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12495
12496 fi
12497
12498
12499 eval "$wx_cv_use_treebook"
12500
12501 if test x"$enablestring" = xdisable; then
12502 if test $wxUSE_TREEBOOK = no; then
12503 result=yes
12504 else
12505 result=no
12506 fi
12507 else
12508 result=$wxUSE_TREEBOOK
12509 fi
12510
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12513
12514
12515 enablestring=
12516 defaultval=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x"$enablestring" = xdisable; then
12519 defaultval=yes
12520 else
12521 defaultval=no
12522 fi
12523 fi
12524
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12527 # Check whether --enable-treectrl was given.
12528 if test "${enable_treectrl+set}" = set; then
12529 enableval=$enable_treectrl;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12532 else
12533 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12534 fi
12535
12536 else
12537
12538 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12539
12540 fi
12541
12542
12543 eval "$wx_cv_use_treectrl"
12544
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_TREECTRL = no; then
12547 result=yes
12548 else
12549 result=no
12550 fi
12551 else
12552 result=$wxUSE_TREECTRL
12553 fi
12554
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12557
12558
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12573 # Check whether --enable-commondlg was given.
12574 if test "${enable_commondlg+set}" = set; then
12575 enableval=$enable_commondlg;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12578 else
12579 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12580 fi
12581
12582 else
12583
12584 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_commondlg"
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_COMMONDLGS = no; then
12593 result=yes
12594 else
12595 result=no
12596 fi
12597 else
12598 result=$wxUSE_COMMONDLGS
12599 fi
12600
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12617 # Check whether --enable-aboutdlg was given.
12618 if test "${enable_aboutdlg+set}" = set; then
12619 enableval=$enable_aboutdlg;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12622 else
12623 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12624 fi
12625
12626 else
12627
12628 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12629
12630 fi
12631
12632
12633 eval "$wx_cv_use_aboutdlg"
12634
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_ABOUTDLG = no; then
12637 result=yes
12638 else
12639 result=no
12640 fi
12641 else
12642 result=$wxUSE_ABOUTDLG
12643 fi
12644
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12661 # Check whether --enable-choicedlg was given.
12662 if test "${enable_choicedlg+set}" = set; then
12663 enableval=$enable_choicedlg;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12666 else
12667 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_choicedlg"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_CHOICEDLG = no; then
12681 result=yes
12682 else
12683 result=no
12684 fi
12685 else
12686 result=$wxUSE_CHOICEDLG
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12705 # Check whether --enable-coldlg was given.
12706 if test "${enable_coldlg+set}" = set; then
12707 enableval=$enable_coldlg;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12710 else
12711 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_coldlg"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_COLOURDLG = no; then
12725 result=yes
12726 else
12727 result=no
12728 fi
12729 else
12730 result=$wxUSE_COLOURDLG
12731 fi
12732
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12749 # Check whether --enable-filedlg was given.
12750 if test "${enable_filedlg+set}" = set; then
12751 enableval=$enable_filedlg;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12754 else
12755 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_filedlg"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_FILEDLG = no; then
12769 result=yes
12770 else
12771 result=no
12772 fi
12773 else
12774 result=$wxUSE_FILEDLG
12775 fi
12776
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12793 # Check whether --enable-finddlg was given.
12794 if test "${enable_finddlg+set}" = set; then
12795 enableval=$enable_finddlg;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12798 else
12799 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_finddlg"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_FINDREPLDLG = no; then
12813 result=yes
12814 else
12815 result=no
12816 fi
12817 else
12818 result=$wxUSE_FINDREPLDLG
12819 fi
12820
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12837 # Check whether --enable-fontdlg was given.
12838 if test "${enable_fontdlg+set}" = set; then
12839 enableval=$enable_fontdlg;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12842 else
12843 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_fontdlg"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_FONTDLG = no; then
12857 result=yes
12858 else
12859 result=no
12860 fi
12861 else
12862 result=$wxUSE_FONTDLG
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869 enablestring=
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12873 defaultval=yes
12874 else
12875 defaultval=no
12876 fi
12877 fi
12878
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12881 # Check whether --enable-dirdlg was given.
12882 if test "${enable_dirdlg+set}" = set; then
12883 enableval=$enable_dirdlg;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12886 else
12887 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12888 fi
12889
12890 else
12891
12892 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12893
12894 fi
12895
12896
12897 eval "$wx_cv_use_dirdlg"
12898
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_DIRDLG = no; then
12901 result=yes
12902 else
12903 result=no
12904 fi
12905 else
12906 result=$wxUSE_DIRDLG
12907 fi
12908
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12911
12912
12913 enablestring=
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12917 defaultval=yes
12918 else
12919 defaultval=no
12920 fi
12921 fi
12922
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12925 # Check whether --enable-msgdlg was given.
12926 if test "${enable_msgdlg+set}" = set; then
12927 enableval=$enable_msgdlg;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12930 else
12931 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12932 fi
12933
12934 else
12935
12936 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12937
12938 fi
12939
12940
12941 eval "$wx_cv_use_msgdlg"
12942
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_MSGDLG = no; then
12945 result=yes
12946 else
12947 result=no
12948 fi
12949 else
12950 result=$wxUSE_MSGDLG
12951 fi
12952
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12955
12956
12957 enablestring=
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12961 defaultval=yes
12962 else
12963 defaultval=no
12964 fi
12965 fi
12966
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12969 # Check whether --enable-numberdlg was given.
12970 if test "${enable_numberdlg+set}" = set; then
12971 enableval=$enable_numberdlg;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12974 else
12975 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12976 fi
12977
12978 else
12979
12980 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12981
12982 fi
12983
12984
12985 eval "$wx_cv_use_numberdlg"
12986
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_NUMBERDLG = no; then
12989 result=yes
12990 else
12991 result=no
12992 fi
12993 else
12994 result=$wxUSE_NUMBERDLG
12995 fi
12996
12997 { echo "$as_me:$LINENO: result: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
12999
13000
13001 enablestring=
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13005 defaultval=yes
13006 else
13007 defaultval=no
13008 fi
13009 fi
13010
13011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13012 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13013 # Check whether --enable-splash was given.
13014 if test "${enable_splash+set}" = set; then
13015 enableval=$enable_splash;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_splash='wxUSE_SPLASH=yes'
13018 else
13019 wx_cv_use_splash='wxUSE_SPLASH=no'
13020 fi
13021
13022 else
13023
13024 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13025
13026 fi
13027
13028
13029 eval "$wx_cv_use_splash"
13030
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_SPLASH = no; then
13033 result=yes
13034 else
13035 result=no
13036 fi
13037 else
13038 result=$wxUSE_SPLASH
13039 fi
13040
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13043
13044
13045 enablestring=
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13049 defaultval=yes
13050 else
13051 defaultval=no
13052 fi
13053 fi
13054
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13057 # Check whether --enable-textdlg was given.
13058 if test "${enable_textdlg+set}" = set; then
13059 enableval=$enable_textdlg;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13062 else
13063 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13064 fi
13065
13066 else
13067
13068 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13069
13070 fi
13071
13072
13073 eval "$wx_cv_use_textdlg"
13074
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_TEXTDLG = no; then
13077 result=yes
13078 else
13079 result=no
13080 fi
13081 else
13082 result=$wxUSE_TEXTDLG
13083 fi
13084
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13087
13088
13089 enablestring=
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13093 defaultval=yes
13094 else
13095 defaultval=no
13096 fi
13097 fi
13098
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13101 # Check whether --enable-tipdlg was given.
13102 if test "${enable_tipdlg+set}" = set; then
13103 enableval=$enable_tipdlg;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13106 else
13107 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13108 fi
13109
13110 else
13111
13112 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13113
13114 fi
13115
13116
13117 eval "$wx_cv_use_tipdlg"
13118
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_STARTUP_TIPS = no; then
13121 result=yes
13122 else
13123 result=no
13124 fi
13125 else
13126 result=$wxUSE_STARTUP_TIPS
13127 fi
13128
13129 { echo "$as_me:$LINENO: result: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13131
13132
13133 enablestring=
13134 defaultval=$wxUSE_ALL_FEATURES
13135 if test -z "$defaultval"; then
13136 if test x"$enablestring" = xdisable; then
13137 defaultval=yes
13138 else
13139 defaultval=no
13140 fi
13141 fi
13142
13143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13144 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13145 # Check whether --enable-progressdlg was given.
13146 if test "${enable_progressdlg+set}" = set; then
13147 enableval=$enable_progressdlg;
13148 if test "$enableval" = yes; then
13149 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13150 else
13151 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13152 fi
13153
13154 else
13155
13156 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13157
13158 fi
13159
13160
13161 eval "$wx_cv_use_progressdlg"
13162
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_PROGRESSDLG = no; then
13165 result=yes
13166 else
13167 result=no
13168 fi
13169 else
13170 result=$wxUSE_PROGRESSDLG
13171 fi
13172
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13175
13176
13177 enablestring=
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13181 defaultval=yes
13182 else
13183 defaultval=no
13184 fi
13185 fi
13186
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13189 # Check whether --enable-wizarddlg was given.
13190 if test "${enable_wizarddlg+set}" = set; then
13191 enableval=$enable_wizarddlg;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13194 else
13195 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13196 fi
13197
13198 else
13199
13200 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13201
13202 fi
13203
13204
13205 eval "$wx_cv_use_wizarddlg"
13206
13207 if test x"$enablestring" = xdisable; then
13208 if test $wxUSE_WIZARDDLG = no; then
13209 result=yes
13210 else
13211 result=no
13212 fi
13213 else
13214 result=$wxUSE_WIZARDDLG
13215 fi
13216
13217 { echo "$as_me:$LINENO: result: $result" >&5
13218 echo "${ECHO_T}$result" >&6; }
13219
13220
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13235 # Check whether --enable-menus was given.
13236 if test "${enable_menus+set}" = set; then
13237 enableval=$enable_menus;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_menus='wxUSE_MENUS=yes'
13240 else
13241 wx_cv_use_menus='wxUSE_MENUS=no'
13242 fi
13243
13244 else
13245
13246 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13247
13248 fi
13249
13250
13251 eval "$wx_cv_use_menus"
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_MENUS = no; then
13255 result=yes
13256 else
13257 result=no
13258 fi
13259 else
13260 result=$wxUSE_MENUS
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13279 # Check whether --enable-miniframe was given.
13280 if test "${enable_miniframe+set}" = set; then
13281 enableval=$enable_miniframe;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13284 else
13285 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_miniframe"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_MINIFRAME = no; then
13299 result=yes
13300 else
13301 result=no
13302 fi
13303 else
13304 result=$wxUSE_MINIFRAME
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13323 # Check whether --enable-tooltips was given.
13324 if test "${enable_tooltips+set}" = set; then
13325 enableval=$enable_tooltips;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13328 else
13329 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_tooltips"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_TOOLTIPS = no; then
13343 result=yes
13344 else
13345 result=no
13346 fi
13347 else
13348 result=$wxUSE_TOOLTIPS
13349 fi
13350
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13353
13354
13355 enablestring=
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13359 defaultval=yes
13360 else
13361 defaultval=no
13362 fi
13363 fi
13364
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13367 # Check whether --enable-splines was given.
13368 if test "${enable_splines+set}" = set; then
13369 enableval=$enable_splines;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_splines='wxUSE_SPLINES=yes'
13372 else
13373 wx_cv_use_splines='wxUSE_SPLINES=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_splines"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_SPLINES = no; then
13387 result=yes
13388 else
13389 result=no
13390 fi
13391 else
13392 result=$wxUSE_SPLINES
13393 fi
13394
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13397
13398
13399 enablestring=
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13403 defaultval=yes
13404 else
13405 defaultval=no
13406 fi
13407 fi
13408
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13411 # Check whether --enable-mousewheel was given.
13412 if test "${enable_mousewheel+set}" = set; then
13413 enableval=$enable_mousewheel;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13416 else
13417 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_mousewheel"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_MOUSEWHEEL = no; then
13431 result=yes
13432 else
13433 result=no
13434 fi
13435 else
13436 result=$wxUSE_MOUSEWHEEL
13437 fi
13438
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13441
13442
13443 enablestring=
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13447 defaultval=yes
13448 else
13449 defaultval=no
13450 fi
13451 fi
13452
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13455 # Check whether --enable-validators was given.
13456 if test "${enable_validators+set}" = set; then
13457 enableval=$enable_validators;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13460 else
13461 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_validators"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_VALIDATORS = no; then
13475 result=yes
13476 else
13477 result=no
13478 fi
13479 else
13480 result=$wxUSE_VALIDATORS
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13499 # Check whether --enable-busyinfo was given.
13500 if test "${enable_busyinfo+set}" = set; then
13501 enableval=$enable_busyinfo;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13504 else
13505 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_busyinfo"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_BUSYINFO = no; then
13519 result=yes
13520 else
13521 result=no
13522 fi
13523 else
13524 result=$wxUSE_BUSYINFO
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531 enablestring=
13532 defaultval=$wxUSE_ALL_FEATURES
13533 if test -z "$defaultval"; then
13534 if test x"$enablestring" = xdisable; then
13535 defaultval=yes
13536 else
13537 defaultval=no
13538 fi
13539 fi
13540
13541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13542 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13543 # Check whether --enable-joystick was given.
13544 if test "${enable_joystick+set}" = set; then
13545 enableval=$enable_joystick;
13546 if test "$enableval" = yes; then
13547 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13548 else
13549 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13550 fi
13551
13552 else
13553
13554 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13555
13556 fi
13557
13558
13559 eval "$wx_cv_use_joystick"
13560
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_JOYSTICK = no; then
13563 result=yes
13564 else
13565 result=no
13566 fi
13567 else
13568 result=$wxUSE_JOYSTICK
13569 fi
13570
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13573
13574
13575 enablestring=
13576 defaultval=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x"$enablestring" = xdisable; then
13579 defaultval=yes
13580 else
13581 defaultval=no
13582 fi
13583 fi
13584
13585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13586 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13587 # Check whether --enable-metafile was given.
13588 if test "${enable_metafile+set}" = set; then
13589 enableval=$enable_metafile;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13592 else
13593 wx_cv_use_metafile='wxUSE_METAFILE=no'
13594 fi
13595
13596 else
13597
13598 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13599
13600 fi
13601
13602
13603 eval "$wx_cv_use_metafile"
13604
13605 if test x"$enablestring" = xdisable; then
13606 if test $wxUSE_METAFILE = no; then
13607 result=yes
13608 else
13609 result=no
13610 fi
13611 else
13612 result=$wxUSE_METAFILE
13613 fi
13614
13615 { echo "$as_me:$LINENO: result: $result" >&5
13616 echo "${ECHO_T}$result" >&6; }
13617
13618
13619 enablestring=
13620 defaultval=$wxUSE_ALL_FEATURES
13621 if test -z "$defaultval"; then
13622 if test x"$enablestring" = xdisable; then
13623 defaultval=yes
13624 else
13625 defaultval=no
13626 fi
13627 fi
13628
13629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13630 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13631 # Check whether --enable-dragimage was given.
13632 if test "${enable_dragimage+set}" = set; then
13633 enableval=$enable_dragimage;
13634 if test "$enableval" = yes; then
13635 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13636 else
13637 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13638 fi
13639
13640 else
13641
13642 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13643
13644 fi
13645
13646
13647 eval "$wx_cv_use_dragimage"
13648
13649 if test x"$enablestring" = xdisable; then
13650 if test $wxUSE_DRAGIMAGE = no; then
13651 result=yes
13652 else
13653 result=no
13654 fi
13655 else
13656 result=$wxUSE_DRAGIMAGE
13657 fi
13658
13659 { echo "$as_me:$LINENO: result: $result" >&5
13660 echo "${ECHO_T}$result" >&6; }
13661
13662
13663 enablestring=
13664 defaultval=$wxUSE_ALL_FEATURES
13665 if test -z "$defaultval"; then
13666 if test x"$enablestring" = xdisable; then
13667 defaultval=yes
13668 else
13669 defaultval=no
13670 fi
13671 fi
13672
13673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13674 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13675 # Check whether --enable-accessibility was given.
13676 if test "${enable_accessibility+set}" = set; then
13677 enableval=$enable_accessibility;
13678 if test "$enableval" = yes; then
13679 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13680 else
13681 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13682 fi
13683
13684 else
13685
13686 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13687
13688 fi
13689
13690
13691 eval "$wx_cv_use_accessibility"
13692
13693 if test x"$enablestring" = xdisable; then
13694 if test $wxUSE_ACCESSIBILITY = no; then
13695 result=yes
13696 else
13697 result=no
13698 fi
13699 else
13700 result=$wxUSE_ACCESSIBILITY
13701 fi
13702
13703 { echo "$as_me:$LINENO: result: $result" >&5
13704 echo "${ECHO_T}$result" >&6; }
13705
13706
13707 enablestring=
13708 defaultval=$wxUSE_ALL_FEATURES
13709 if test -z "$defaultval"; then
13710 if test x"$enablestring" = xdisable; then
13711 defaultval=yes
13712 else
13713 defaultval=no
13714 fi
13715 fi
13716
13717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13718 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13719 # Check whether --enable-uiactionsim was given.
13720 if test "${enable_uiactionsim+set}" = set; then
13721 enableval=$enable_uiactionsim;
13722 if test "$enableval" = yes; then
13723 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13724 else
13725 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13726 fi
13727
13728 else
13729
13730 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13731
13732 fi
13733
13734
13735 eval "$wx_cv_use_uiactionsim"
13736
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_UIACTIONSIMULATOR = no; then
13739 result=yes
13740 else
13741 result=no
13742 fi
13743 else
13744 result=$wxUSE_UIACTIONSIMULATOR
13745 fi
13746
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13749
13750
13751
13752
13753 enablestring=
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13757 defaultval=yes
13758 else
13759 defaultval=no
13760 fi
13761 fi
13762
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13765 # Check whether --enable-palette was given.
13766 if test "${enable_palette+set}" = set; then
13767 enableval=$enable_palette;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_palette='wxUSE_PALETTE=yes'
13770 else
13771 wx_cv_use_palette='wxUSE_PALETTE=no'
13772 fi
13773
13774 else
13775
13776 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13777
13778 fi
13779
13780
13781 eval "$wx_cv_use_palette"
13782
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_PALETTE = no; then
13785 result=yes
13786 else
13787 result=no
13788 fi
13789 else
13790 result=$wxUSE_PALETTE
13791 fi
13792
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13795
13796
13797 enablestring=
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13801 defaultval=yes
13802 else
13803 defaultval=no
13804 fi
13805 fi
13806
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13809 # Check whether --enable-image was given.
13810 if test "${enable_image+set}" = set; then
13811 enableval=$enable_image;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_image='wxUSE_IMAGE=yes'
13814 else
13815 wx_cv_use_image='wxUSE_IMAGE=no'
13816 fi
13817
13818 else
13819
13820 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13821
13822 fi
13823
13824
13825 eval "$wx_cv_use_image"
13826
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_IMAGE = no; then
13829 result=yes
13830 else
13831 result=no
13832 fi
13833 else
13834 result=$wxUSE_IMAGE
13835 fi
13836
13837 { echo "$as_me:$LINENO: result: $result" >&5
13838 echo "${ECHO_T}$result" >&6; }
13839
13840
13841 enablestring=
13842 defaultval=$wxUSE_ALL_FEATURES
13843 if test -z "$defaultval"; then
13844 if test x"$enablestring" = xdisable; then
13845 defaultval=yes
13846 else
13847 defaultval=no
13848 fi
13849 fi
13850
13851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13853 # Check whether --enable-gif was given.
13854 if test "${enable_gif+set}" = set; then
13855 enableval=$enable_gif;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_gif='wxUSE_GIF=yes'
13858 else
13859 wx_cv_use_gif='wxUSE_GIF=no'
13860 fi
13861
13862 else
13863
13864 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13865
13866 fi
13867
13868
13869 eval "$wx_cv_use_gif"
13870
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_GIF = no; then
13873 result=yes
13874 else
13875 result=no
13876 fi
13877 else
13878 result=$wxUSE_GIF
13879 fi
13880
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13883
13884
13885 enablestring=
13886 defaultval=$wxUSE_ALL_FEATURES
13887 if test -z "$defaultval"; then
13888 if test x"$enablestring" = xdisable; then
13889 defaultval=yes
13890 else
13891 defaultval=no
13892 fi
13893 fi
13894
13895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13897 # Check whether --enable-pcx was given.
13898 if test "${enable_pcx+set}" = set; then
13899 enableval=$enable_pcx;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_pcx='wxUSE_PCX=yes'
13902 else
13903 wx_cv_use_pcx='wxUSE_PCX=no'
13904 fi
13905
13906 else
13907
13908 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13909
13910 fi
13911
13912
13913 eval "$wx_cv_use_pcx"
13914
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_PCX = no; then
13917 result=yes
13918 else
13919 result=no
13920 fi
13921 else
13922 result=$wxUSE_PCX
13923 fi
13924
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13927
13928
13929 enablestring=
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13933 defaultval=yes
13934 else
13935 defaultval=no
13936 fi
13937 fi
13938
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13941 # Check whether --enable-tga was given.
13942 if test "${enable_tga+set}" = set; then
13943 enableval=$enable_tga;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_tga='wxUSE_TGA=yes'
13946 else
13947 wx_cv_use_tga='wxUSE_TGA=no'
13948 fi
13949
13950 else
13951
13952 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13953
13954 fi
13955
13956
13957 eval "$wx_cv_use_tga"
13958
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_TGA = no; then
13961 result=yes
13962 else
13963 result=no
13964 fi
13965 else
13966 result=$wxUSE_TGA
13967 fi
13968
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13971
13972
13973 enablestring=
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13977 defaultval=yes
13978 else
13979 defaultval=no
13980 fi
13981 fi
13982
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13985 # Check whether --enable-iff was given.
13986 if test "${enable_iff+set}" = set; then
13987 enableval=$enable_iff;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_iff='wxUSE_IFF=yes'
13990 else
13991 wx_cv_use_iff='wxUSE_IFF=no'
13992 fi
13993
13994 else
13995
13996 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13997
13998 fi
13999
14000
14001 eval "$wx_cv_use_iff"
14002
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_IFF = no; then
14005 result=yes
14006 else
14007 result=no
14008 fi
14009 else
14010 result=$wxUSE_IFF
14011 fi
14012
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14015
14016
14017 enablestring=
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14021 defaultval=yes
14022 else
14023 defaultval=no
14024 fi
14025 fi
14026
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14029 # Check whether --enable-pnm was given.
14030 if test "${enable_pnm+set}" = set; then
14031 enableval=$enable_pnm;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_pnm='wxUSE_PNM=yes'
14034 else
14035 wx_cv_use_pnm='wxUSE_PNM=no'
14036 fi
14037
14038 else
14039
14040 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14041
14042 fi
14043
14044
14045 eval "$wx_cv_use_pnm"
14046
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_PNM = no; then
14049 result=yes
14050 else
14051 result=no
14052 fi
14053 else
14054 result=$wxUSE_PNM
14055 fi
14056
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14059
14060
14061 enablestring=
14062 defaultval=$wxUSE_ALL_FEATURES
14063 if test -z "$defaultval"; then
14064 if test x"$enablestring" = xdisable; then
14065 defaultval=yes
14066 else
14067 defaultval=no
14068 fi
14069 fi
14070
14071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14073 # Check whether --enable-xpm was given.
14074 if test "${enable_xpm+set}" = set; then
14075 enableval=$enable_xpm;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_xpm='wxUSE_XPM=yes'
14078 else
14079 wx_cv_use_xpm='wxUSE_XPM=no'
14080 fi
14081
14082 else
14083
14084 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14085
14086 fi
14087
14088
14089 eval "$wx_cv_use_xpm"
14090
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_XPM = no; then
14093 result=yes
14094 else
14095 result=no
14096 fi
14097 else
14098 result=$wxUSE_XPM
14099 fi
14100
14101 { echo "$as_me:$LINENO: result: $result" >&5
14102 echo "${ECHO_T}$result" >&6; }
14103
14104
14105 enablestring=
14106 defaultval=$wxUSE_ALL_FEATURES
14107 if test -z "$defaultval"; then
14108 if test x"$enablestring" = xdisable; then
14109 defaultval=yes
14110 else
14111 defaultval=no
14112 fi
14113 fi
14114
14115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14117 # Check whether --enable-ico_cur was given.
14118 if test "${enable_ico_cur+set}" = set; then
14119 enableval=$enable_ico_cur;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14122 else
14123 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14124 fi
14125
14126 else
14127
14128 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14129
14130 fi
14131
14132
14133 eval "$wx_cv_use_ico_cur"
14134
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_ICO_CUR = no; then
14137 result=yes
14138 else
14139 result=no
14140 fi
14141 else
14142 result=$wxUSE_ICO_CUR
14143 fi
14144
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14147
14148
14149
14150
14151 enablestring=
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14155 defaultval=yes
14156 else
14157 defaultval=no
14158 fi
14159 fi
14160
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14163 # Check whether --enable-dccache was given.
14164 if test "${enable_dccache+set}" = set; then
14165 enableval=$enable_dccache;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14168 else
14169 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14170 fi
14171
14172 else
14173
14174 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14175
14176 fi
14177
14178
14179 eval "$wx_cv_use_dccache"
14180
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_DC_CACHEING = no; then
14183 result=yes
14184 else
14185 result=no
14186 fi
14187 else
14188 result=$wxUSE_DC_CACHEING
14189 fi
14190
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14193
14194
14195 enablestring=
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14199 defaultval=yes
14200 else
14201 defaultval=no
14202 fi
14203 fi
14204
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14207 # Check whether --enable-ps-in-msw was given.
14208 if test "${enable_ps_in_msw+set}" = set; then
14209 enableval=$enable_ps_in_msw;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14212 else
14213 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14214 fi
14215
14216 else
14217
14218 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14219
14220 fi
14221
14222
14223 eval "$wx_cv_use_ps_in_msw"
14224
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14227 result=yes
14228 else
14229 result=no
14230 fi
14231 else
14232 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14233 fi
14234
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14237
14238
14239 enablestring=
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14243 defaultval=yes
14244 else
14245 defaultval=no
14246 fi
14247 fi
14248
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14251 # Check whether --enable-ownerdrawn was given.
14252 if test "${enable_ownerdrawn+set}" = set; then
14253 enableval=$enable_ownerdrawn;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14256 else
14257 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14258 fi
14259
14260 else
14261
14262 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_ownerdrawn"
14268
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_OWNER_DRAWN = no; then
14271 result=yes
14272 else
14273 result=no
14274 fi
14275 else
14276 result=$wxUSE_OWNER_DRAWN
14277 fi
14278
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14281
14282
14283 enablestring=
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14287 defaultval=yes
14288 else
14289 defaultval=no
14290 fi
14291 fi
14292
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14295 # Check whether --enable-uxtheme was given.
14296 if test "${enable_uxtheme+set}" = set; then
14297 enableval=$enable_uxtheme;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14300 else
14301 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14302 fi
14303
14304 else
14305
14306 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14307
14308 fi
14309
14310
14311 eval "$wx_cv_use_uxtheme"
14312
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_UXTHEME = no; then
14315 result=yes
14316 else
14317 result=no
14318 fi
14319 else
14320 result=$wxUSE_UXTHEME
14321 fi
14322
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14325
14326
14327 enablestring=
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14331 defaultval=yes
14332 else
14333 defaultval=no
14334 fi
14335 fi
14336
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14339 # Check whether --enable-wxdib was given.
14340 if test "${enable_wxdib+set}" = set; then
14341 enableval=$enable_wxdib;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_wxdib='wxUSE_DIB=yes'
14344 else
14345 wx_cv_use_wxdib='wxUSE_DIB=no'
14346 fi
14347
14348 else
14349
14350 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14351
14352 fi
14353
14354
14355 eval "$wx_cv_use_wxdib"
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_DIB = no; then
14359 result=yes
14360 else
14361 result=no
14362 fi
14363 else
14364 result=$wxUSE_DIB
14365 fi
14366
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14369
14370
14371 if test "$wxUSE_MSW" != 1; then
14372 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14373 fi
14374
14375
14376 enablestring=
14377 defaultval=$wxUSE_ALL_FEATURES
14378 if test -z "$defaultval"; then
14379 if test x"$enablestring" = xdisable; then
14380 defaultval=yes
14381 else
14382 defaultval=no
14383 fi
14384 fi
14385
14386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14387 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14388 # Check whether --enable-autoidman was given.
14389 if test "${enable_autoidman+set}" = set; then
14390 enableval=$enable_autoidman;
14391 if test "$enableval" = yes; then
14392 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14393 else
14394 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14395 fi
14396
14397 else
14398
14399 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14400
14401 fi
14402
14403
14404 eval "$wx_cv_use_autoidman"
14405
14406 if test x"$enablestring" = xdisable; then
14407 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14408 result=yes
14409 else
14410 result=no
14411 fi
14412 else
14413 result=$wxUSE_AUTOID_MANAGEMENT
14414 fi
14415
14416 { echo "$as_me:$LINENO: result: $result" >&5
14417 echo "${ECHO_T}$result" >&6; }
14418
14419
14420 fi
14421
14422
14423 cat >confcache <<\_ACEOF
14424 # This file is a shell script that caches the results of configure
14425 # tests run on this system so they can be shared between configure
14426 # scripts and configure runs, see configure's option --config-cache.
14427 # It is not useful on other systems. If it contains results you don't
14428 # want to keep, you may remove or edit it.
14429 #
14430 # config.status only pays attention to the cache file if you give it
14431 # the --recheck option to rerun configure.
14432 #
14433 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14434 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14435 # following values.
14436
14437 _ACEOF
14438
14439 # The following way of writing the cache mishandles newlines in values,
14440 # but we know of no workaround that is simple, portable, and efficient.
14441 # So, we kill variables containing newlines.
14442 # Ultrix sh set writes to stderr and can't be redirected directly,
14443 # and sets the high bit in the cache file unless we assign to the vars.
14444 (
14445 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14446 eval ac_val=\$$ac_var
14447 case $ac_val in #(
14448 *${as_nl}*)
14449 case $ac_var in #(
14450 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14451 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14452 esac
14453 case $ac_var in #(
14454 _ | IFS | as_nl) ;; #(
14455 *) $as_unset $ac_var ;;
14456 esac ;;
14457 esac
14458 done
14459
14460 (set) 2>&1 |
14461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14462 *${as_nl}ac_space=\ *)
14463 # `set' does not quote correctly, so add quotes (double-quote
14464 # substitution turns \\\\ into \\, and sed turns \\ into \).
14465 sed -n \
14466 "s/'/'\\\\''/g;
14467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14468 ;; #(
14469 *)
14470 # `set' quotes correctly as required by POSIX, so do not add quotes.
14471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14472 ;;
14473 esac |
14474 sort
14475 ) |
14476 sed '
14477 /^ac_cv_env_/b end
14478 t clear
14479 :clear
14480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14481 t end
14482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14483 :end' >>confcache
14484 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14485 if test -w "$cache_file"; then
14486 test "x$cache_file" != "x/dev/null" &&
14487 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14488 echo "$as_me: updating cache $cache_file" >&6;}
14489 cat confcache >$cache_file
14490 else
14491 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14492 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14493 fi
14494 fi
14495 rm -f confcache
14496
14497 CFLAGS=${CFLAGS:=}
14498 ac_ext=c
14499 ac_cpp='$CPP $CPPFLAGS'
14500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14503 if test -n "$ac_tool_prefix"; then
14504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC="$CC" # Let the user override the test.
14513 else
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14516 do
14517 IFS=$as_save_IFS
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14523 break 2
14524 fi
14525 done
14526 done
14527 IFS=$as_save_IFS
14528
14529 fi
14530 fi
14531 CC=$ac_cv_prog_CC
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14535 else
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14538 fi
14539
14540
14541 fi
14542 if test -z "$ac_cv_prog_CC"; then
14543 ac_ct_CC=$CC
14544 # Extract the first word of "gcc", so it can be a program name with args.
14545 set dummy gcc; ac_word=$2
14546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551 if test -n "$ac_ct_CC"; then
14552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14553 else
14554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14555 for as_dir in $PATH
14556 do
14557 IFS=$as_save_IFS
14558 test -z "$as_dir" && as_dir=.
14559 for ac_exec_ext in '' $ac_executable_extensions; do
14560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14561 ac_cv_prog_ac_ct_CC="gcc"
14562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14563 break 2
14564 fi
14565 done
14566 done
14567 IFS=$as_save_IFS
14568
14569 fi
14570 fi
14571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14572 if test -n "$ac_ct_CC"; then
14573 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14574 echo "${ECHO_T}$ac_ct_CC" >&6; }
14575 else
14576 { echo "$as_me:$LINENO: result: no" >&5
14577 echo "${ECHO_T}no" >&6; }
14578 fi
14579
14580 if test "x$ac_ct_CC" = x; then
14581 CC=""
14582 else
14583 case $cross_compiling:$ac_tool_warned in
14584 yes:)
14585 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14586 whose name does not start with the host triplet. If you think this
14587 configuration is useful to you, please write to autoconf@gnu.org." >&5
14588 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14589 whose name does not start with the host triplet. If you think this
14590 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14591 ac_tool_warned=yes ;;
14592 esac
14593 CC=$ac_ct_CC
14594 fi
14595 else
14596 CC="$ac_cv_prog_CC"
14597 fi
14598
14599 if test -z "$CC"; then
14600 if test -n "$ac_tool_prefix"; then
14601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14602 set dummy ${ac_tool_prefix}cc; ac_word=$2
14603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14605 if test "${ac_cv_prog_CC+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 else
14608 if test -n "$CC"; then
14609 ac_cv_prog_CC="$CC" # Let the user override the test.
14610 else
14611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14612 for as_dir in $PATH
14613 do
14614 IFS=$as_save_IFS
14615 test -z "$as_dir" && as_dir=.
14616 for ac_exec_ext in '' $ac_executable_extensions; do
14617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14618 ac_cv_prog_CC="${ac_tool_prefix}cc"
14619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14620 break 2
14621 fi
14622 done
14623 done
14624 IFS=$as_save_IFS
14625
14626 fi
14627 fi
14628 CC=$ac_cv_prog_CC
14629 if test -n "$CC"; then
14630 { echo "$as_me:$LINENO: result: $CC" >&5
14631 echo "${ECHO_T}$CC" >&6; }
14632 else
14633 { echo "$as_me:$LINENO: result: no" >&5
14634 echo "${ECHO_T}no" >&6; }
14635 fi
14636
14637
14638 fi
14639 fi
14640 if test -z "$CC"; then
14641 # Extract the first word of "cc", so it can be a program name with args.
14642 set dummy cc; ac_word=$2
14643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14645 if test "${ac_cv_prog_CC+set}" = set; then
14646 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 else
14648 if test -n "$CC"; then
14649 ac_cv_prog_CC="$CC" # Let the user override the test.
14650 else
14651 ac_prog_rejected=no
14652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14653 for as_dir in $PATH
14654 do
14655 IFS=$as_save_IFS
14656 test -z "$as_dir" && as_dir=.
14657 for ac_exec_ext in '' $ac_executable_extensions; do
14658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14659 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14660 ac_prog_rejected=yes
14661 continue
14662 fi
14663 ac_cv_prog_CC="cc"
14664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14665 break 2
14666 fi
14667 done
14668 done
14669 IFS=$as_save_IFS
14670
14671 if test $ac_prog_rejected = yes; then
14672 # We found a bogon in the path, so make sure we never use it.
14673 set dummy $ac_cv_prog_CC
14674 shift
14675 if test $# != 0; then
14676 # We chose a different compiler from the bogus one.
14677 # However, it has the same basename, so the bogon will be chosen
14678 # first if we set CC to just the basename; use the full file name.
14679 shift
14680 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14681 fi
14682 fi
14683 fi
14684 fi
14685 CC=$ac_cv_prog_CC
14686 if test -n "$CC"; then
14687 { echo "$as_me:$LINENO: result: $CC" >&5
14688 echo "${ECHO_T}$CC" >&6; }
14689 else
14690 { echo "$as_me:$LINENO: result: no" >&5
14691 echo "${ECHO_T}no" >&6; }
14692 fi
14693
14694
14695 fi
14696 if test -z "$CC"; then
14697 if test -n "$ac_tool_prefix"; then
14698 for ac_prog in cl.exe
14699 do
14700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14704 if test "${ac_cv_prog_CC+set}" = set; then
14705 echo $ECHO_N "(cached) $ECHO_C" >&6
14706 else
14707 if test -n "$CC"; then
14708 ac_cv_prog_CC="$CC" # Let the user override the test.
14709 else
14710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14711 for as_dir in $PATH
14712 do
14713 IFS=$as_save_IFS
14714 test -z "$as_dir" && as_dir=.
14715 for ac_exec_ext in '' $ac_executable_extensions; do
14716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14717 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14719 break 2
14720 fi
14721 done
14722 done
14723 IFS=$as_save_IFS
14724
14725 fi
14726 fi
14727 CC=$ac_cv_prog_CC
14728 if test -n "$CC"; then
14729 { echo "$as_me:$LINENO: result: $CC" >&5
14730 echo "${ECHO_T}$CC" >&6; }
14731 else
14732 { echo "$as_me:$LINENO: result: no" >&5
14733 echo "${ECHO_T}no" >&6; }
14734 fi
14735
14736
14737 test -n "$CC" && break
14738 done
14739 fi
14740 if test -z "$CC"; then
14741 ac_ct_CC=$CC
14742 for ac_prog in cl.exe
14743 do
14744 # Extract the first word of "$ac_prog", so it can be a program name with args.
14745 set dummy $ac_prog; ac_word=$2
14746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14750 else
14751 if test -n "$ac_ct_CC"; then
14752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14753 else
14754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14755 for as_dir in $PATH
14756 do
14757 IFS=$as_save_IFS
14758 test -z "$as_dir" && as_dir=.
14759 for ac_exec_ext in '' $ac_executable_extensions; do
14760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14761 ac_cv_prog_ac_ct_CC="$ac_prog"
14762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14763 break 2
14764 fi
14765 done
14766 done
14767 IFS=$as_save_IFS
14768
14769 fi
14770 fi
14771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14772 if test -n "$ac_ct_CC"; then
14773 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14774 echo "${ECHO_T}$ac_ct_CC" >&6; }
14775 else
14776 { echo "$as_me:$LINENO: result: no" >&5
14777 echo "${ECHO_T}no" >&6; }
14778 fi
14779
14780
14781 test -n "$ac_ct_CC" && break
14782 done
14783
14784 if test "x$ac_ct_CC" = x; then
14785 CC=""
14786 else
14787 case $cross_compiling:$ac_tool_warned in
14788 yes:)
14789 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14790 whose name does not start with the host triplet. If you think this
14791 configuration is useful to you, please write to autoconf@gnu.org." >&5
14792 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14793 whose name does not start with the host triplet. If you think this
14794 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14795 ac_tool_warned=yes ;;
14796 esac
14797 CC=$ac_ct_CC
14798 fi
14799 fi
14800
14801 fi
14802
14803
14804 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14805 See \`config.log' for more details." >&5
14806 echo "$as_me: error: no acceptable C compiler found in \$PATH
14807 See \`config.log' for more details." >&2;}
14808 { (exit 1); exit 1; }; }
14809
14810 # Provide some information about the compiler.
14811 echo "$as_me:$LINENO: checking for C compiler version" >&5
14812 ac_compiler=`set X $ac_compile; echo $2`
14813 { (ac_try="$ac_compiler --version >&5"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14817 esac
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_compiler --version >&5") 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }
14823 { (ac_try="$ac_compiler -v >&5"
14824 case "(($ac_try" in
14825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14826 *) ac_try_echo=$ac_try;;
14827 esac
14828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14829 (eval "$ac_compiler -v >&5") 2>&5
14830 ac_status=$?
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }
14833 { (ac_try="$ac_compiler -V >&5"
14834 case "(($ac_try" in
14835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;;
14837 esac
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839 (eval "$ac_compiler -V >&5") 2>&5
14840 ac_status=$?
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }
14843
14844 cat >conftest.$ac_ext <<_ACEOF
14845 /* confdefs.h. */
14846 _ACEOF
14847 cat confdefs.h >>conftest.$ac_ext
14848 cat >>conftest.$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14850
14851 int
14852 main ()
14853 {
14854
14855 ;
14856 return 0;
14857 }
14858 _ACEOF
14859 ac_clean_files_save=$ac_clean_files
14860 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14861 # Try to create an executable without -o first, disregard a.out.
14862 # It will help us diagnose broken compilers, and finding out an intuition
14863 # of exeext.
14864 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14865 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14866 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14867 #
14868 # List of possible output files, starting from the most likely.
14869 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14870 # only as a last resort. b.out is created by i960 compilers.
14871 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14872 #
14873 # The IRIX 6 linker writes into existing files which may not be
14874 # executable, retaining their permissions. Remove them first so a
14875 # subsequent execution test works.
14876 ac_rmfiles=
14877 for ac_file in $ac_files
14878 do
14879 case $ac_file in
14880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14881 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14882 esac
14883 done
14884 rm -f $ac_rmfiles
14885
14886 if { (ac_try="$ac_link_default"
14887 case "(($ac_try" in
14888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14889 *) ac_try_echo=$ac_try;;
14890 esac
14891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14892 (eval "$ac_link_default") 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; then
14896 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14897 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14898 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14899 # so that the user can short-circuit this test for compilers unknown to
14900 # Autoconf.
14901 for ac_file in $ac_files ''
14902 do
14903 test -f "$ac_file" || continue
14904 case $ac_file in
14905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14906 ;;
14907 [ab].out )
14908 # We found the default executable, but exeext='' is most
14909 # certainly right.
14910 break;;
14911 *.* )
14912 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14913 then :; else
14914 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14915 fi
14916 # We set ac_cv_exeext here because the later test for it is not
14917 # safe: cross compilers may not add the suffix if given an `-o'
14918 # argument, so we may need to know it at that point already.
14919 # Even if this section looks crufty: it has the advantage of
14920 # actually working.
14921 break;;
14922 * )
14923 break;;
14924 esac
14925 done
14926 test "$ac_cv_exeext" = no && ac_cv_exeext=
14927
14928 else
14929 ac_file=''
14930 fi
14931
14932 { echo "$as_me:$LINENO: result: $ac_file" >&5
14933 echo "${ECHO_T}$ac_file" >&6; }
14934 if test -z "$ac_file"; then
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14937
14938 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14939 See \`config.log' for more details." >&5
14940 echo "$as_me: error: C compiler cannot create executables
14941 See \`config.log' for more details." >&2;}
14942 { (exit 77); exit 77; }; }
14943 fi
14944
14945 ac_exeext=$ac_cv_exeext
14946
14947 # Check that the compiler produces executables we can run. If not, either
14948 # the compiler is broken, or we cross compile.
14949 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14950 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14951 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14952 # If not cross compiling, check that we can run a simple program.
14953 if test "$cross_compiling" != yes; then
14954 if { ac_try='./$ac_file'
14955 { (case "(($ac_try" in
14956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14957 *) ac_try_echo=$ac_try;;
14958 esac
14959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14960 (eval "$ac_try") 2>&5
14961 ac_status=$?
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14964 cross_compiling=no
14965 else
14966 if test "$cross_compiling" = maybe; then
14967 cross_compiling=yes
14968 else
14969 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14970 If you meant to cross compile, use \`--host'.
14971 See \`config.log' for more details." >&5
14972 echo "$as_me: error: cannot run C compiled programs.
14973 If you meant to cross compile, use \`--host'.
14974 See \`config.log' for more details." >&2;}
14975 { (exit 1); exit 1; }; }
14976 fi
14977 fi
14978 fi
14979 { echo "$as_me:$LINENO: result: yes" >&5
14980 echo "${ECHO_T}yes" >&6; }
14981
14982 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14983 ac_clean_files=$ac_clean_files_save
14984 # Check that the compiler produces executables we can run. If not, either
14985 # the compiler is broken, or we cross compile.
14986 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14987 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14988 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14989 echo "${ECHO_T}$cross_compiling" >&6; }
14990
14991 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14992 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14993 if { (ac_try="$ac_link"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14997 esac
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; then
15003 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15004 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15005 # work properly (i.e., refer to `conftest.exe'), while it won't with
15006 # `rm'.
15007 for ac_file in conftest.exe conftest conftest.*; do
15008 test -f "$ac_file" || continue
15009 case $ac_file in
15010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15011 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15012 break;;
15013 * ) break;;
15014 esac
15015 done
15016 else
15017 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15018 See \`config.log' for more details." >&5
15019 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15020 See \`config.log' for more details." >&2;}
15021 { (exit 1); exit 1; }; }
15022 fi
15023
15024 rm -f conftest$ac_cv_exeext
15025 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15026 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15027
15028 rm -f conftest.$ac_ext
15029 EXEEXT=$ac_cv_exeext
15030 ac_exeext=$EXEEXT
15031 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15032 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15033 if test "${ac_cv_objext+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042
15043 int
15044 main ()
15045 {
15046
15047 ;
15048 return 0;
15049 }
15050 _ACEOF
15051 rm -f conftest.o conftest.obj
15052 if { (ac_try="$ac_compile"
15053 case "(($ac_try" in
15054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15055 *) ac_try_echo=$ac_try;;
15056 esac
15057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15058 (eval "$ac_compile") 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; then
15062 for ac_file in conftest.o conftest.obj conftest.*; do
15063 test -f "$ac_file" || continue;
15064 case $ac_file in
15065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15066 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15067 break;;
15068 esac
15069 done
15070 else
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15073
15074 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15075 See \`config.log' for more details." >&5
15076 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15077 See \`config.log' for more details." >&2;}
15078 { (exit 1); exit 1; }; }
15079 fi
15080
15081 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15082 fi
15083 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15084 echo "${ECHO_T}$ac_cv_objext" >&6; }
15085 OBJEXT=$ac_cv_objext
15086 ac_objext=$OBJEXT
15087 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15088 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15089 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 else
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098
15099 int
15100 main ()
15101 {
15102 #ifndef __GNUC__
15103 choke me
15104 #endif
15105
15106 ;
15107 return 0;
15108 }
15109 _ACEOF
15110 rm -f conftest.$ac_objext
15111 if { (ac_try="$ac_compile"
15112 case "(($ac_try" in
15113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15114 *) ac_try_echo=$ac_try;;
15115 esac
15116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15117 (eval "$ac_compile") 2>conftest.er1
15118 ac_status=$?
15119 grep -v '^ *+' conftest.er1 >conftest.err
15120 rm -f conftest.er1
15121 cat conftest.err >&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } && {
15124 test -z "$ac_c_werror_flag" ||
15125 test ! -s conftest.err
15126 } && test -s conftest.$ac_objext; then
15127 ac_compiler_gnu=yes
15128 else
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.$ac_ext >&5
15131
15132 ac_compiler_gnu=no
15133 fi
15134
15135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15137
15138 fi
15139 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15140 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15141 GCC=`test $ac_compiler_gnu = yes && echo yes`
15142 ac_test_CFLAGS=${CFLAGS+set}
15143 ac_save_CFLAGS=$CFLAGS
15144 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15145 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_cc_g+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 ac_save_c_werror_flag=$ac_c_werror_flag
15150 ac_c_werror_flag=yes
15151 ac_cv_prog_cc_g=no
15152 CFLAGS="-g"
15153 cat >conftest.$ac_ext <<_ACEOF
15154 /* confdefs.h. */
15155 _ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159
15160 int
15161 main ()
15162 {
15163
15164 ;
15165 return 0;
15166 }
15167 _ACEOF
15168 rm -f conftest.$ac_objext
15169 if { (ac_try="$ac_compile"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15173 esac
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compile") 2>conftest.er1
15176 ac_status=$?
15177 grep -v '^ *+' conftest.er1 >conftest.err
15178 rm -f conftest.er1
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest.$ac_objext; then
15185 ac_cv_prog_cc_g=yes
15186 else
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15189
15190 CFLAGS=""
15191 cat >conftest.$ac_ext <<_ACEOF
15192 /* confdefs.h. */
15193 _ACEOF
15194 cat confdefs.h >>conftest.$ac_ext
15195 cat >>conftest.$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15197
15198 int
15199 main ()
15200 {
15201
15202 ;
15203 return 0;
15204 }
15205 _ACEOF
15206 rm -f conftest.$ac_objext
15207 if { (ac_try="$ac_compile"
15208 case "(($ac_try" in
15209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15211 esac
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_compile") 2>conftest.er1
15214 ac_status=$?
15215 grep -v '^ *+' conftest.er1 >conftest.err
15216 rm -f conftest.er1
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } && {
15220 test -z "$ac_c_werror_flag" ||
15221 test ! -s conftest.err
15222 } && test -s conftest.$ac_objext; then
15223 :
15224 else
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15227
15228 ac_c_werror_flag=$ac_save_c_werror_flag
15229 CFLAGS="-g"
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236
15237 int
15238 main ()
15239 {
15240
15241 ;
15242 return 0;
15243 }
15244 _ACEOF
15245 rm -f conftest.$ac_objext
15246 if { (ac_try="$ac_compile"
15247 case "(($ac_try" in
15248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15249 *) ac_try_echo=$ac_try;;
15250 esac
15251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15252 (eval "$ac_compile") 2>conftest.er1
15253 ac_status=$?
15254 grep -v '^ *+' conftest.er1 >conftest.err
15255 rm -f conftest.er1
15256 cat conftest.err >&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } && {
15259 test -z "$ac_c_werror_flag" ||
15260 test ! -s conftest.err
15261 } && test -s conftest.$ac_objext; then
15262 ac_cv_prog_cc_g=yes
15263 else
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15266
15267
15268 fi
15269
15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15271 fi
15272
15273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15274 fi
15275
15276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15277 ac_c_werror_flag=$ac_save_c_werror_flag
15278 fi
15279 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15280 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15281 if test "$ac_test_CFLAGS" = set; then
15282 CFLAGS=$ac_save_CFLAGS
15283 elif test $ac_cv_prog_cc_g = yes; then
15284 if test "$GCC" = yes; then
15285 CFLAGS="-g -O2"
15286 else
15287 CFLAGS="-g"
15288 fi
15289 else
15290 if test "$GCC" = yes; then
15291 CFLAGS="-O2"
15292 else
15293 CFLAGS=
15294 fi
15295 fi
15296 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15297 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15298 if test "${ac_cv_prog_cc_c89+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15301 ac_cv_prog_cc_c89=no
15302 ac_save_CC=$CC
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 #include <stdarg.h>
15310 #include <stdio.h>
15311 #include <sys/types.h>
15312 #include <sys/stat.h>
15313 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15314 struct buf { int x; };
15315 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15316 static char *e (p, i)
15317 char **p;
15318 int i;
15319 {
15320 return p[i];
15321 }
15322 static char *f (char * (*g) (char **, int), char **p, ...)
15323 {
15324 char *s;
15325 va_list v;
15326 va_start (v,p);
15327 s = g (p, va_arg (v,int));
15328 va_end (v);
15329 return s;
15330 }
15331
15332 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15333 function prototypes and stuff, but not '\xHH' hex character constants.
15334 These don't provoke an error unfortunately, instead are silently treated
15335 as 'x'. The following induces an error, until -std is added to get
15336 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15337 array size at least. It's necessary to write '\x00'==0 to get something
15338 that's true only with -std. */
15339 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15340
15341 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15342 inside strings and character constants. */
15343 #define FOO(x) 'x'
15344 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15345
15346 int test (int i, double x);
15347 struct s1 {int (*f) (int a);};
15348 struct s2 {int (*f) (double a);};
15349 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15350 int argc;
15351 char **argv;
15352 int
15353 main ()
15354 {
15355 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15356 ;
15357 return 0;
15358 }
15359 _ACEOF
15360 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15361 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15362 do
15363 CC="$ac_save_CC $ac_arg"
15364 rm -f conftest.$ac_objext
15365 if { (ac_try="$ac_compile"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15369 esac
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_compile") 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest.$ac_objext; then
15381 ac_cv_prog_cc_c89=$ac_arg
15382 else
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386
15387 fi
15388
15389 rm -f core conftest.err conftest.$ac_objext
15390 test "x$ac_cv_prog_cc_c89" != "xno" && break
15391 done
15392 rm -f conftest.$ac_ext
15393 CC=$ac_save_CC
15394
15395 fi
15396 # AC_CACHE_VAL
15397 case "x$ac_cv_prog_cc_c89" in
15398 x)
15399 { echo "$as_me:$LINENO: result: none needed" >&5
15400 echo "${ECHO_T}none needed" >&6; } ;;
15401 xno)
15402 { echo "$as_me:$LINENO: result: unsupported" >&5
15403 echo "${ECHO_T}unsupported" >&6; } ;;
15404 *)
15405 CC="$CC $ac_cv_prog_cc_c89"
15406 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15407 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15408 esac
15409
15410
15411 ac_ext=c
15412 ac_cpp='$CPP $CPPFLAGS'
15413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15416
15417
15418
15419
15420
15421
15422
15423
15424 ac_ext=c
15425 ac_cpp='$CPP $CPPFLAGS'
15426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15429
15430 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15431 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15432 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 else
15435 cat >conftest.$ac_ext <<_ACEOF
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441
15442 int
15443 main ()
15444 {
15445
15446 #ifndef __INTEL_COMPILER
15447 choke me
15448 #endif
15449
15450 ;
15451 return 0;
15452 }
15453 _ACEOF
15454 rm -f conftest.$ac_objext
15455 if { (ac_try="$ac_compile"
15456 case "(($ac_try" in
15457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15459 esac
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_compile") 2>conftest.er1
15462 ac_status=$?
15463 grep -v '^ *+' conftest.er1 >conftest.err
15464 rm -f conftest.er1
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } && {
15468 test -z "$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15470 } && test -s conftest.$ac_objext; then
15471 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15472 else
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.$ac_ext >&5
15475
15476 bakefile_cv_c_compiler___INTEL_COMPILER=no
15477
15478 fi
15479
15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481
15482
15483 fi
15484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15485 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15486 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15487 :; INTELCC=yes
15488 else
15489 :;
15490 fi
15491 ac_ext=c
15492 ac_cpp='$CPP $CPPFLAGS'
15493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15496
15497
15498
15499
15500 if test "$INTELCC" = "yes"; then
15501
15502
15503 ac_ext=c
15504 ac_cpp='$CPP $CPPFLAGS'
15505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15508
15509 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15510 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15511 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 else
15514 cat >conftest.$ac_ext <<_ACEOF
15515 /* confdefs.h. */
15516 _ACEOF
15517 cat confdefs.h >>conftest.$ac_ext
15518 cat >>conftest.$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15520
15521 int
15522 main ()
15523 {
15524
15525 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15526 choke me
15527 #endif
15528
15529 ;
15530 return 0;
15531 }
15532 _ACEOF
15533 rm -f conftest.$ac_objext
15534 if { (ac_try="$ac_compile"
15535 case "(($ac_try" in
15536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15537 *) ac_try_echo=$ac_try;;
15538 esac
15539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15540 (eval "$ac_compile") 2>conftest.er1
15541 ac_status=$?
15542 grep -v '^ *+' conftest.er1 >conftest.err
15543 rm -f conftest.er1
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } && {
15547 test -z "$ac_c_werror_flag" ||
15548 test ! -s conftest.err
15549 } && test -s conftest.$ac_objext; then
15550 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15551 else
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.$ac_ext >&5
15554
15555 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15556
15557 fi
15558
15559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15560
15561
15562 fi
15563 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15564 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15565 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15566 :; INTELCC8=yes
15567 else
15568 :;
15569 fi
15570 ac_ext=c
15571 ac_cpp='$CPP $CPPFLAGS'
15572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15575
15576
15577
15578
15579
15580 ac_ext=c
15581 ac_cpp='$CPP $CPPFLAGS'
15582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15585
15586 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15587 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15588 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 else
15591 cat >conftest.$ac_ext <<_ACEOF
15592 /* confdefs.h. */
15593 _ACEOF
15594 cat confdefs.h >>conftest.$ac_ext
15595 cat >>conftest.$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15597
15598 int
15599 main ()
15600 {
15601
15602 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15603 choke me
15604 #endif
15605
15606 ;
15607 return 0;
15608 }
15609 _ACEOF
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15615 esac
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15618 ac_status=$?
15619 grep -v '^ *+' conftest.er1 >conftest.err
15620 rm -f conftest.er1
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && {
15624 test -z "$ac_c_werror_flag" ||
15625 test ! -s conftest.err
15626 } && test -s conftest.$ac_objext; then
15627 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15628 else
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15631
15632 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15633
15634 fi
15635
15636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15637
15638
15639 fi
15640 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15641 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15642 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15643 :; INTELCC10=yes
15644 else
15645 :;
15646 fi
15647 ac_ext=c
15648 ac_cpp='$CPP $CPPFLAGS'
15649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15652
15653
15654
15655 fi
15656
15657 if test "x$GCC" != "xyes"; then
15658 if test "xCC" = "xC"; then
15659 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15660 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15661 if test "${bakefile_cv_c_exto+set}" = set; then
15662 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 else
15664 cat >conftest.$ac_ext <<_ACEOF
15665 /* confdefs.h. */
15666 _ACEOF
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15670
15671 int
15672 main ()
15673 {
15674
15675 ;
15676 return 0;
15677 }
15678 _ACEOF
15679 rm -f conftest.$ac_objext conftest.$ac_ext.o
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; then
15685 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15686 case $ac_file in
15687 conftest.$ac_ext.o)
15688 bakefile_cv_c_exto="-ext o"
15689 ;;
15690 *)
15691 ;;
15692 esac
15693 done
15694 else
15695 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15696 See \`config.log' for more details." >&5
15697 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15698 See \`config.log' for more details." >&2;}
15699 { (exit 1); exit 1; }; }
15700
15701 fi
15702
15703 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15704
15705 fi
15706 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15707 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15708 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15709 if test "c" = "c"; then
15710 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15711 fi
15712 if test "c" = "cxx"; then
15713 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15714 fi
15715 fi
15716
15717 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15718 unset ac_cv_prog_cc_g
15719 ac_test_CFLAGS=${CFLAGS+set}
15720 ac_save_CFLAGS=$CFLAGS
15721 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15722 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15723 if test "${ac_cv_prog_cc_g+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 else
15726 ac_save_c_werror_flag=$ac_c_werror_flag
15727 ac_c_werror_flag=yes
15728 ac_cv_prog_cc_g=no
15729 CFLAGS="-g"
15730 cat >conftest.$ac_ext <<_ACEOF
15731 /* confdefs.h. */
15732 _ACEOF
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15736
15737 int
15738 main ()
15739 {
15740
15741 ;
15742 return 0;
15743 }
15744 _ACEOF
15745 rm -f conftest.$ac_objext
15746 if { (ac_try="$ac_compile"
15747 case "(($ac_try" in
15748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15749 *) ac_try_echo=$ac_try;;
15750 esac
15751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15752 (eval "$ac_compile") 2>conftest.er1
15753 ac_status=$?
15754 grep -v '^ *+' conftest.er1 >conftest.err
15755 rm -f conftest.er1
15756 cat conftest.err >&5
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } && {
15759 test -z "$ac_c_werror_flag" ||
15760 test ! -s conftest.err
15761 } && test -s conftest.$ac_objext; then
15762 ac_cv_prog_cc_g=yes
15763 else
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.$ac_ext >&5
15766
15767 CFLAGS=""
15768 cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774
15775 int
15776 main ()
15777 {
15778
15779 ;
15780 return 0;
15781 }
15782 _ACEOF
15783 rm -f conftest.$ac_objext
15784 if { (ac_try="$ac_compile"
15785 case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15788 esac
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_compile") 2>conftest.er1
15791 ac_status=$?
15792 grep -v '^ *+' conftest.er1 >conftest.err
15793 rm -f conftest.er1
15794 cat conftest.err >&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } && {
15797 test -z "$ac_c_werror_flag" ||
15798 test ! -s conftest.err
15799 } && test -s conftest.$ac_objext; then
15800 :
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15804
15805 ac_c_werror_flag=$ac_save_c_werror_flag
15806 CFLAGS="-g"
15807 cat >conftest.$ac_ext <<_ACEOF
15808 /* confdefs.h. */
15809 _ACEOF
15810 cat confdefs.h >>conftest.$ac_ext
15811 cat >>conftest.$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15813
15814 int
15815 main ()
15816 {
15817
15818 ;
15819 return 0;
15820 }
15821 _ACEOF
15822 rm -f conftest.$ac_objext
15823 if { (ac_try="$ac_compile"
15824 case "(($ac_try" in
15825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15826 *) ac_try_echo=$ac_try;;
15827 esac
15828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15829 (eval "$ac_compile") 2>conftest.er1
15830 ac_status=$?
15831 grep -v '^ *+' conftest.er1 >conftest.err
15832 rm -f conftest.er1
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } && {
15836 test -z "$ac_c_werror_flag" ||
15837 test ! -s conftest.err
15838 } && test -s conftest.$ac_objext; then
15839 ac_cv_prog_cc_g=yes
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844
15845 fi
15846
15847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15848 fi
15849
15850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15851 fi
15852
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854 ac_c_werror_flag=$ac_save_c_werror_flag
15855 fi
15856 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15857 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15858 if test "$ac_test_CFLAGS" = set; then
15859 CFLAGS=$ac_save_CFLAGS
15860 elif test $ac_cv_prog_cc_g = yes; then
15861 if test "$GCC" = yes; then
15862 CFLAGS="-g -O2"
15863 else
15864 CFLAGS="-g"
15865 fi
15866 else
15867 if test "$GCC" = yes; then
15868 CFLAGS="-O2"
15869 else
15870 CFLAGS=
15871 fi
15872 fi
15873 fi
15874 fi
15875
15876 case `uname -s` in
15877 AIX*)
15878
15879
15880 ac_ext=c
15881 ac_cpp='$CPP $CPPFLAGS'
15882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15885
15886 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15887 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15888 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15889 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 else
15891 cat >conftest.$ac_ext <<_ACEOF
15892 /* confdefs.h. */
15893 _ACEOF
15894 cat confdefs.h >>conftest.$ac_ext
15895 cat >>conftest.$ac_ext <<_ACEOF
15896 /* end confdefs.h. */
15897
15898 int
15899 main ()
15900 {
15901
15902 #ifndef __xlC__
15903 choke me
15904 #endif
15905
15906 ;
15907 return 0;
15908 }
15909 _ACEOF
15910 rm -f conftest.$ac_objext
15911 if { (ac_try="$ac_compile"
15912 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15915 esac
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_compile") 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } && {
15924 test -z "$ac_c_werror_flag" ||
15925 test ! -s conftest.err
15926 } && test -s conftest.$ac_objext; then
15927 bakefile_cv_c_compiler___xlC__=yes
15928 else
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.$ac_ext >&5
15931
15932 bakefile_cv_c_compiler___xlC__=no
15933
15934 fi
15935
15936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15937
15938
15939 fi
15940 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15941 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15942 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15943 :; XLCC=yes
15944 else
15945 :;
15946 fi
15947 ac_ext=c
15948 ac_cpp='$CPP $CPPFLAGS'
15949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15952
15953
15954
15955 ;;
15956
15957 Darwin)
15958
15959
15960 ac_ext=c
15961 ac_cpp='$CPP $CPPFLAGS'
15962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15965
15966 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15967 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15968 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971 cat >conftest.$ac_ext <<_ACEOF
15972 /* confdefs.h. */
15973 _ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977
15978 int
15979 main ()
15980 {
15981
15982 #ifndef __MWERKS__
15983 choke me
15984 #endif
15985
15986 ;
15987 return 0;
15988 }
15989 _ACEOF
15990 rm -f conftest.$ac_objext
15991 if { (ac_try="$ac_compile"
15992 case "(($ac_try" in
15993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15995 esac
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_compile") 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } && {
16004 test -z "$ac_c_werror_flag" ||
16005 test ! -s conftest.err
16006 } && test -s conftest.$ac_objext; then
16007 bakefile_cv_c_compiler___MWERKS__=yes
16008 else
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.$ac_ext >&5
16011
16012 bakefile_cv_c_compiler___MWERKS__=no
16013
16014 fi
16015
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16017
16018
16019 fi
16020 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16021 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16022 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16023 :; MWCC=yes
16024 else
16025 :;
16026 fi
16027 ac_ext=c
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16032
16033
16034
16035 if test "$MWCC" != "yes"; then
16036
16037
16038 ac_ext=c
16039 ac_cpp='$CPP $CPPFLAGS'
16040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16043
16044 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16045 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16046 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 else
16049 cat >conftest.$ac_ext <<_ACEOF
16050 /* confdefs.h. */
16051 _ACEOF
16052 cat confdefs.h >>conftest.$ac_ext
16053 cat >>conftest.$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055
16056 int
16057 main ()
16058 {
16059
16060 #ifndef __xlC__
16061 choke me
16062 #endif
16063
16064 ;
16065 return 0;
16066 }
16067 _ACEOF
16068 rm -f conftest.$ac_objext
16069 if { (ac_try="$ac_compile"
16070 case "(($ac_try" in
16071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16072 *) ac_try_echo=$ac_try;;
16073 esac
16074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16075 (eval "$ac_compile") 2>conftest.er1
16076 ac_status=$?
16077 grep -v '^ *+' conftest.er1 >conftest.err
16078 rm -f conftest.er1
16079 cat conftest.err >&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } && {
16082 test -z "$ac_c_werror_flag" ||
16083 test ! -s conftest.err
16084 } && test -s conftest.$ac_objext; then
16085 bakefile_cv_c_compiler___xlC__=yes
16086 else
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16089
16090 bakefile_cv_c_compiler___xlC__=no
16091
16092 fi
16093
16094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16095
16096
16097 fi
16098 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16099 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16100 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16101 :; XLCC=yes
16102 else
16103 :;
16104 fi
16105 ac_ext=c
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16110
16111
16112
16113 fi
16114 ;;
16115
16116 IRIX*)
16117
16118
16119 ac_ext=c
16120 ac_cpp='$CPP $CPPFLAGS'
16121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16124
16125 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16126 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16127 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 else
16130 cat >conftest.$ac_ext <<_ACEOF
16131 /* confdefs.h. */
16132 _ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16136
16137 int
16138 main ()
16139 {
16140
16141 #ifndef _SGI_COMPILER_VERSION
16142 choke me
16143 #endif
16144
16145 ;
16146 return 0;
16147 }
16148 _ACEOF
16149 rm -f conftest.$ac_objext
16150 if { (ac_try="$ac_compile"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16154 esac
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_compile") 2>conftest.er1
16157 ac_status=$?
16158 grep -v '^ *+' conftest.er1 >conftest.err
16159 rm -f conftest.er1
16160 cat conftest.err >&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } && {
16163 test -z "$ac_c_werror_flag" ||
16164 test ! -s conftest.err
16165 } && test -s conftest.$ac_objext; then
16166 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16167 else
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.$ac_ext >&5
16170
16171 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16172
16173 fi
16174
16175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16176
16177
16178 fi
16179 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16180 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16181 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16182 :; SGICC=yes
16183 else
16184 :;
16185 fi
16186 ac_ext=c
16187 ac_cpp='$CPP $CPPFLAGS'
16188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16191
16192
16193
16194 ;;
16195
16196 Linux*)
16197 if test "$INTELCC" != "yes"; then
16198
16199
16200 ac_ext=c
16201 ac_cpp='$CPP $CPPFLAGS'
16202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16205
16206 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16207 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16208 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 else
16211 cat >conftest.$ac_ext <<_ACEOF
16212 /* confdefs.h. */
16213 _ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16217
16218 int
16219 main ()
16220 {
16221
16222 #ifndef __SUNPRO_C
16223 choke me
16224 #endif
16225
16226 ;
16227 return 0;
16228 }
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (ac_try="$ac_compile"
16232 case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16235 esac
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_compile") 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && {
16244 test -z "$ac_c_werror_flag" ||
16245 test ! -s conftest.err
16246 } && test -s conftest.$ac_objext; then
16247 bakefile_cv_c_compiler___SUNPRO_C=yes
16248 else
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.$ac_ext >&5
16251
16252 bakefile_cv_c_compiler___SUNPRO_C=no
16253
16254 fi
16255
16256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16257
16258
16259 fi
16260 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16261 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16262 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16263 :; SUNCC=yes
16264 else
16265 :;
16266 fi
16267 ac_ext=c
16268 ac_cpp='$CPP $CPPFLAGS'
16269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16272
16273
16274
16275 fi
16276 ;;
16277
16278 HP-UX*)
16279
16280
16281 ac_ext=c
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16286
16287 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16288 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16289 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 else
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298
16299 int
16300 main ()
16301 {
16302
16303 #ifndef __HP_cc
16304 choke me
16305 #endif
16306
16307 ;
16308 return 0;
16309 }
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (ac_try="$ac_compile"
16313 case "(($ac_try" in
16314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16315 *) ac_try_echo=$ac_try;;
16316 esac
16317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16318 (eval "$ac_compile") 2>conftest.er1
16319 ac_status=$?
16320 grep -v '^ *+' conftest.er1 >conftest.err
16321 rm -f conftest.er1
16322 cat conftest.err >&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } && {
16325 test -z "$ac_c_werror_flag" ||
16326 test ! -s conftest.err
16327 } && test -s conftest.$ac_objext; then
16328 bakefile_cv_c_compiler___HP_cc=yes
16329 else
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.$ac_ext >&5
16332
16333 bakefile_cv_c_compiler___HP_cc=no
16334
16335 fi
16336
16337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16338
16339
16340 fi
16341 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16342 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16343 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16344 :; HPCC=yes
16345 else
16346 :;
16347 fi
16348 ac_ext=c
16349 ac_cpp='$CPP $CPPFLAGS'
16350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16353
16354
16355
16356 ;;
16357
16358 OSF1)
16359
16360
16361 ac_ext=c
16362 ac_cpp='$CPP $CPPFLAGS'
16363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16366
16367 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16368 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16369 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16370 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 else
16372 cat >conftest.$ac_ext <<_ACEOF
16373 /* confdefs.h. */
16374 _ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16378
16379 int
16380 main ()
16381 {
16382
16383 #ifndef __DECC
16384 choke me
16385 #endif
16386
16387 ;
16388 return 0;
16389 }
16390 _ACEOF
16391 rm -f conftest.$ac_objext
16392 if { (ac_try="$ac_compile"
16393 case "(($ac_try" in
16394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16395 *) ac_try_echo=$ac_try;;
16396 esac
16397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16398 (eval "$ac_compile") 2>conftest.er1
16399 ac_status=$?
16400 grep -v '^ *+' conftest.er1 >conftest.err
16401 rm -f conftest.er1
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } && {
16405 test -z "$ac_c_werror_flag" ||
16406 test ! -s conftest.err
16407 } && test -s conftest.$ac_objext; then
16408 bakefile_cv_c_compiler___DECC=yes
16409 else
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16412
16413 bakefile_cv_c_compiler___DECC=no
16414
16415 fi
16416
16417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16418
16419
16420 fi
16421 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16422 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16423 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16424 :; COMPAQCC=yes
16425 else
16426 :;
16427 fi
16428 ac_ext=c
16429 ac_cpp='$CPP $CPPFLAGS'
16430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16433
16434
16435
16436 ;;
16437
16438 SunOS)
16439
16440
16441 ac_ext=c
16442 ac_cpp='$CPP $CPPFLAGS'
16443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16446
16447 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16448 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16449 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 else
16452 cat >conftest.$ac_ext <<_ACEOF
16453 /* confdefs.h. */
16454 _ACEOF
16455 cat confdefs.h >>conftest.$ac_ext
16456 cat >>conftest.$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458
16459 int
16460 main ()
16461 {
16462
16463 #ifndef __SUNPRO_C
16464 choke me
16465 #endif
16466
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 rm -f conftest.$ac_objext
16472 if { (ac_try="$ac_compile"
16473 case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16476 esac
16477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_compile") 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest.$ac_objext; then
16488 bakefile_cv_c_compiler___SUNPRO_C=yes
16489 else
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16492
16493 bakefile_cv_c_compiler___SUNPRO_C=no
16494
16495 fi
16496
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498
16499
16500 fi
16501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16502 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16503 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16504 :; SUNCC=yes
16505 else
16506 :;
16507 fi
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16513
16514
16515
16516 ;;
16517 esac
16518 fi
16519
16520
16521
16522 ac_ext=c
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16527 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16528 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16529 # On Suns, sometimes $CPP names a directory.
16530 if test -n "$CPP" && test -d "$CPP"; then
16531 CPP=
16532 fi
16533 if test -z "$CPP"; then
16534 if test "${ac_cv_prog_CPP+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 else
16537 # Double quotes because CPP needs to be expanded
16538 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16539 do
16540 ac_preproc_ok=false
16541 for ac_c_preproc_warn_flag in '' yes
16542 do
16543 # Use a header file that comes with gcc, so configuring glibc
16544 # with a fresh cross-compiler works.
16545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16546 # <limits.h> exists even on freestanding compilers.
16547 # On the NeXT, cc -E runs the code through the compiler's parser,
16548 # not just through cpp. "Syntax error" is here to catch this case.
16549 cat >conftest.$ac_ext <<_ACEOF
16550 /* confdefs.h. */
16551 _ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555 #ifdef __STDC__
16556 # include <limits.h>
16557 #else
16558 # include <assert.h>
16559 #endif
16560 Syntax error
16561 _ACEOF
16562 if { (ac_try="$ac_cpp conftest.$ac_ext"
16563 case "(($ac_try" in
16564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16566 esac
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16569 ac_status=$?
16570 grep -v '^ *+' conftest.er1 >conftest.err
16571 rm -f conftest.er1
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } >/dev/null && {
16575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 }; then
16578 :
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16582
16583 # Broken: fails on valid input.
16584 continue
16585 fi
16586
16587 rm -f conftest.err conftest.$ac_ext
16588
16589 # OK, works on sane cases. Now check whether nonexistent headers
16590 # can be detected and how.
16591 cat >conftest.$ac_ext <<_ACEOF
16592 /* confdefs.h. */
16593 _ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 #include <ac_nonexistent.h>
16598 _ACEOF
16599 if { (ac_try="$ac_cpp conftest.$ac_ext"
16600 case "(($ac_try" in
16601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16602 *) ac_try_echo=$ac_try;;
16603 esac
16604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16606 ac_status=$?
16607 grep -v '^ *+' conftest.er1 >conftest.err
16608 rm -f conftest.er1
16609 cat conftest.err >&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } >/dev/null && {
16612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16613 test ! -s conftest.err
16614 }; then
16615 # Broken: success on invalid input.
16616 continue
16617 else
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16620
16621 # Passes both tests.
16622 ac_preproc_ok=:
16623 break
16624 fi
16625
16626 rm -f conftest.err conftest.$ac_ext
16627
16628 done
16629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16630 rm -f conftest.err conftest.$ac_ext
16631 if $ac_preproc_ok; then
16632 break
16633 fi
16634
16635 done
16636 ac_cv_prog_CPP=$CPP
16637
16638 fi
16639 CPP=$ac_cv_prog_CPP
16640 else
16641 ac_cv_prog_CPP=$CPP
16642 fi
16643 { echo "$as_me:$LINENO: result: $CPP" >&5
16644 echo "${ECHO_T}$CPP" >&6; }
16645 ac_preproc_ok=false
16646 for ac_c_preproc_warn_flag in '' yes
16647 do
16648 # Use a header file that comes with gcc, so configuring glibc
16649 # with a fresh cross-compiler works.
16650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16651 # <limits.h> exists even on freestanding compilers.
16652 # On the NeXT, cc -E runs the code through the compiler's parser,
16653 # not just through cpp. "Syntax error" is here to catch this case.
16654 cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h. */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 #ifdef __STDC__
16661 # include <limits.h>
16662 #else
16663 # include <assert.h>
16664 #endif
16665 Syntax error
16666 _ACEOF
16667 if { (ac_try="$ac_cpp conftest.$ac_ext"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16674 ac_status=$?
16675 grep -v '^ *+' conftest.er1 >conftest.err
16676 rm -f conftest.er1
16677 cat conftest.err >&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } >/dev/null && {
16680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16681 test ! -s conftest.err
16682 }; then
16683 :
16684 else
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16687
16688 # Broken: fails on valid input.
16689 continue
16690 fi
16691
16692 rm -f conftest.err conftest.$ac_ext
16693
16694 # OK, works on sane cases. Now check whether nonexistent headers
16695 # can be detected and how.
16696 cat >conftest.$ac_ext <<_ACEOF
16697 /* confdefs.h. */
16698 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 #include <ac_nonexistent.h>
16703 _ACEOF
16704 if { (ac_try="$ac_cpp conftest.$ac_ext"
16705 case "(($ac_try" in
16706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16707 *) ac_try_echo=$ac_try;;
16708 esac
16709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16711 ac_status=$?
16712 grep -v '^ *+' conftest.er1 >conftest.err
16713 rm -f conftest.er1
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } >/dev/null && {
16717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16718 test ! -s conftest.err
16719 }; then
16720 # Broken: success on invalid input.
16721 continue
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 # Passes both tests.
16727 ac_preproc_ok=:
16728 break
16729 fi
16730
16731 rm -f conftest.err conftest.$ac_ext
16732
16733 done
16734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16735 rm -f conftest.err conftest.$ac_ext
16736 if $ac_preproc_ok; then
16737 :
16738 else
16739 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16740 See \`config.log' for more details." >&5
16741 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16742 See \`config.log' for more details." >&2;}
16743 { (exit 1); exit 1; }; }
16744 fi
16745
16746 ac_ext=c
16747 ac_cpp='$CPP $CPPFLAGS'
16748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16751
16752
16753 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16754 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16755 if test "${ac_cv_path_GREP+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 else
16758 # Extract the first word of "grep ggrep" to use in msg output
16759 if test -z "$GREP"; then
16760 set dummy grep ggrep; ac_prog_name=$2
16761 if test "${ac_cv_path_GREP+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 else
16764 ac_path_GREP_found=false
16765 # Loop through the user's path and test for each of PROGNAME-LIST
16766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16767 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16768 do
16769 IFS=$as_save_IFS
16770 test -z "$as_dir" && as_dir=.
16771 for ac_prog in grep ggrep; do
16772 for ac_exec_ext in '' $ac_executable_extensions; do
16773 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16774 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16775 # Check for GNU ac_path_GREP and select it if it is found.
16776 # Check for GNU $ac_path_GREP
16777 case `"$ac_path_GREP" --version 2>&1` in
16778 *GNU*)
16779 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16780 *)
16781 ac_count=0
16782 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16783 while :
16784 do
16785 cat "conftest.in" "conftest.in" >"conftest.tmp"
16786 mv "conftest.tmp" "conftest.in"
16787 cp "conftest.in" "conftest.nl"
16788 echo 'GREP' >> "conftest.nl"
16789 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16790 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16791 ac_count=`expr $ac_count + 1`
16792 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16793 # Best one so far, save it but keep looking for a better one
16794 ac_cv_path_GREP="$ac_path_GREP"
16795 ac_path_GREP_max=$ac_count
16796 fi
16797 # 10*(2^10) chars as input seems more than enough
16798 test $ac_count -gt 10 && break
16799 done
16800 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16801 esac
16802
16803
16804 $ac_path_GREP_found && break 3
16805 done
16806 done
16807
16808 done
16809 IFS=$as_save_IFS
16810
16811
16812 fi
16813
16814 GREP="$ac_cv_path_GREP"
16815 if test -z "$GREP"; then
16816 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16817 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16818 { (exit 1); exit 1; }; }
16819 fi
16820
16821 else
16822 ac_cv_path_GREP=$GREP
16823 fi
16824
16825
16826 fi
16827 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16828 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16829 GREP="$ac_cv_path_GREP"
16830
16831
16832 { echo "$as_me:$LINENO: checking for egrep" >&5
16833 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16834 if test "${ac_cv_path_EGREP+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 else
16837 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16838 then ac_cv_path_EGREP="$GREP -E"
16839 else
16840 # Extract the first word of "egrep" to use in msg output
16841 if test -z "$EGREP"; then
16842 set dummy egrep; ac_prog_name=$2
16843 if test "${ac_cv_path_EGREP+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 else
16846 ac_path_EGREP_found=false
16847 # Loop through the user's path and test for each of PROGNAME-LIST
16848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16849 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16850 do
16851 IFS=$as_save_IFS
16852 test -z "$as_dir" && as_dir=.
16853 for ac_prog in egrep; do
16854 for ac_exec_ext in '' $ac_executable_extensions; do
16855 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16856 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16857 # Check for GNU ac_path_EGREP and select it if it is found.
16858 # Check for GNU $ac_path_EGREP
16859 case `"$ac_path_EGREP" --version 2>&1` in
16860 *GNU*)
16861 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16862 *)
16863 ac_count=0
16864 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16865 while :
16866 do
16867 cat "conftest.in" "conftest.in" >"conftest.tmp"
16868 mv "conftest.tmp" "conftest.in"
16869 cp "conftest.in" "conftest.nl"
16870 echo 'EGREP' >> "conftest.nl"
16871 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16872 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16873 ac_count=`expr $ac_count + 1`
16874 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16875 # Best one so far, save it but keep looking for a better one
16876 ac_cv_path_EGREP="$ac_path_EGREP"
16877 ac_path_EGREP_max=$ac_count
16878 fi
16879 # 10*(2^10) chars as input seems more than enough
16880 test $ac_count -gt 10 && break
16881 done
16882 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16883 esac
16884
16885
16886 $ac_path_EGREP_found && break 3
16887 done
16888 done
16889
16890 done
16891 IFS=$as_save_IFS
16892
16893
16894 fi
16895
16896 EGREP="$ac_cv_path_EGREP"
16897 if test -z "$EGREP"; then
16898 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16899 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16900 { (exit 1); exit 1; }; }
16901 fi
16902
16903 else
16904 ac_cv_path_EGREP=$EGREP
16905 fi
16906
16907
16908 fi
16909 fi
16910 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16911 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16912 EGREP="$ac_cv_path_EGREP"
16913
16914
16915 if test $ac_cv_c_compiler_gnu = yes; then
16916 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921 ac_pattern="Autoconf.*'x'"
16922 cat >conftest.$ac_ext <<_ACEOF
16923 /* confdefs.h. */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 #include <sgtty.h>
16929 Autoconf TIOCGETP
16930 _ACEOF
16931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16933 ac_cv_prog_gcc_traditional=yes
16934 else
16935 ac_cv_prog_gcc_traditional=no
16936 fi
16937 rm -f conftest*
16938
16939
16940 if test $ac_cv_prog_gcc_traditional = no; then
16941 cat >conftest.$ac_ext <<_ACEOF
16942 /* confdefs.h. */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 #include <termio.h>
16948 Autoconf TCGETA
16949 _ACEOF
16950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16952 ac_cv_prog_gcc_traditional=yes
16953 fi
16954 rm -f conftest*
16955
16956 fi
16957 fi
16958 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16960 if test $ac_cv_prog_gcc_traditional = yes; then
16961 CC="$CC -traditional"
16962 fi
16963 fi
16964
16965
16966 CXXFLAGS=${CXXFLAGS:=}
16967 ac_ext=cpp
16968 ac_cpp='$CXXCPP $CPPFLAGS'
16969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16972 if test -z "$CXX"; then
16973 if test -n "$CCC"; then
16974 CXX=$CCC
16975 else
16976 if test -n "$ac_tool_prefix"; then
16977 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16978 do
16979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16983 if test "${ac_cv_prog_CXX+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 else
16986 if test -n "$CXX"; then
16987 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16988 else
16989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16990 for as_dir in $PATH
16991 do
16992 IFS=$as_save_IFS
16993 test -z "$as_dir" && as_dir=.
16994 for ac_exec_ext in '' $ac_executable_extensions; do
16995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16996 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16998 break 2
16999 fi
17000 done
17001 done
17002 IFS=$as_save_IFS
17003
17004 fi
17005 fi
17006 CXX=$ac_cv_prog_CXX
17007 if test -n "$CXX"; then
17008 { echo "$as_me:$LINENO: result: $CXX" >&5
17009 echo "${ECHO_T}$CXX" >&6; }
17010 else
17011 { echo "$as_me:$LINENO: result: no" >&5
17012 echo "${ECHO_T}no" >&6; }
17013 fi
17014
17015
17016 test -n "$CXX" && break
17017 done
17018 fi
17019 if test -z "$CXX"; then
17020 ac_ct_CXX=$CXX
17021 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17022 do
17023 # Extract the first word of "$ac_prog", so it can be a program name with args.
17024 set dummy $ac_prog; ac_word=$2
17025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17027 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 else
17030 if test -n "$ac_ct_CXX"; then
17031 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17032 else
17033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17034 for as_dir in $PATH
17035 do
17036 IFS=$as_save_IFS
17037 test -z "$as_dir" && as_dir=.
17038 for ac_exec_ext in '' $ac_executable_extensions; do
17039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17040 ac_cv_prog_ac_ct_CXX="$ac_prog"
17041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17042 break 2
17043 fi
17044 done
17045 done
17046 IFS=$as_save_IFS
17047
17048 fi
17049 fi
17050 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17051 if test -n "$ac_ct_CXX"; then
17052 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17053 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17054 else
17055 { echo "$as_me:$LINENO: result: no" >&5
17056 echo "${ECHO_T}no" >&6; }
17057 fi
17058
17059
17060 test -n "$ac_ct_CXX" && break
17061 done
17062
17063 if test "x$ac_ct_CXX" = x; then
17064 CXX="g++"
17065 else
17066 case $cross_compiling:$ac_tool_warned in
17067 yes:)
17068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17069 whose name does not start with the host triplet. If you think this
17070 configuration is useful to you, please write to autoconf@gnu.org." >&5
17071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17072 whose name does not start with the host triplet. If you think this
17073 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17074 ac_tool_warned=yes ;;
17075 esac
17076 CXX=$ac_ct_CXX
17077 fi
17078 fi
17079
17080 fi
17081 fi
17082 # Provide some information about the compiler.
17083 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17084 ac_compiler=`set X $ac_compile; echo $2`
17085 { (ac_try="$ac_compiler --version >&5"
17086 case "(($ac_try" in
17087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17088 *) ac_try_echo=$ac_try;;
17089 esac
17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17091 (eval "$ac_compiler --version >&5") 2>&5
17092 ac_status=$?
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }
17095 { (ac_try="$ac_compiler -v >&5"
17096 case "(($ac_try" in
17097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17098 *) ac_try_echo=$ac_try;;
17099 esac
17100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 (eval "$ac_compiler -v >&5") 2>&5
17102 ac_status=$?
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }
17105 { (ac_try="$ac_compiler -V >&5"
17106 case "(($ac_try" in
17107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17108 *) ac_try_echo=$ac_try;;
17109 esac
17110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17111 (eval "$ac_compiler -V >&5") 2>&5
17112 ac_status=$?
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }
17115
17116 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17117 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17118 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127
17128 int
17129 main ()
17130 {
17131 #ifndef __GNUC__
17132 choke me
17133 #endif
17134
17135 ;
17136 return 0;
17137 }
17138 _ACEOF
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17144 esac
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17147 ac_status=$?
17148 grep -v '^ *+' conftest.er1 >conftest.err
17149 rm -f conftest.er1
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_cxx_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.$ac_objext; then
17156 ac_compiler_gnu=yes
17157 else
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17160
17161 ac_compiler_gnu=no
17162 fi
17163
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17166
17167 fi
17168 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17169 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17170 GXX=`test $ac_compiler_gnu = yes && echo yes`
17171 ac_test_CXXFLAGS=${CXXFLAGS+set}
17172 ac_save_CXXFLAGS=$CXXFLAGS
17173 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17174 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17175 if test "${ac_cv_prog_cxx_g+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17177 else
17178 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17179 ac_cxx_werror_flag=yes
17180 ac_cv_prog_cxx_g=no
17181 CXXFLAGS="-g"
17182 cat >conftest.$ac_ext <<_ACEOF
17183 /* confdefs.h. */
17184 _ACEOF
17185 cat confdefs.h >>conftest.$ac_ext
17186 cat >>conftest.$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188
17189 int
17190 main ()
17191 {
17192
17193 ;
17194 return 0;
17195 }
17196 _ACEOF
17197 rm -f conftest.$ac_objext
17198 if { (ac_try="$ac_compile"
17199 case "(($ac_try" in
17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17202 esac
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_compile") 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } && {
17211 test -z "$ac_cxx_werror_flag" ||
17212 test ! -s conftest.err
17213 } && test -s conftest.$ac_objext; then
17214 ac_cv_prog_cxx_g=yes
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 CXXFLAGS=""
17220 cat >conftest.$ac_ext <<_ACEOF
17221 /* confdefs.h. */
17222 _ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226
17227 int
17228 main ()
17229 {
17230
17231 ;
17232 return 0;
17233 }
17234 _ACEOF
17235 rm -f conftest.$ac_objext
17236 if { (ac_try="$ac_compile"
17237 case "(($ac_try" in
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17239 *) ac_try_echo=$ac_try;;
17240 esac
17241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17242 (eval "$ac_compile") 2>conftest.er1
17243 ac_status=$?
17244 grep -v '^ *+' conftest.er1 >conftest.err
17245 rm -f conftest.er1
17246 cat conftest.err >&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } && {
17249 test -z "$ac_cxx_werror_flag" ||
17250 test ! -s conftest.err
17251 } && test -s conftest.$ac_objext; then
17252 :
17253 else
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.$ac_ext >&5
17256
17257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17258 CXXFLAGS="-g"
17259 cat >conftest.$ac_ext <<_ACEOF
17260 /* confdefs.h. */
17261 _ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265
17266 int
17267 main ()
17268 {
17269
17270 ;
17271 return 0;
17272 }
17273 _ACEOF
17274 rm -f conftest.$ac_objext
17275 if { (ac_try="$ac_compile"
17276 case "(($ac_try" in
17277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17278 *) ac_try_echo=$ac_try;;
17279 esac
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17281 (eval "$ac_compile") 2>conftest.er1
17282 ac_status=$?
17283 grep -v '^ *+' conftest.er1 >conftest.err
17284 rm -f conftest.er1
17285 cat conftest.err >&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } && {
17288 test -z "$ac_cxx_werror_flag" ||
17289 test ! -s conftest.err
17290 } && test -s conftest.$ac_objext; then
17291 ac_cv_prog_cxx_g=yes
17292 else
17293 echo "$as_me: failed program was:" >&5
17294 sed 's/^/| /' conftest.$ac_ext >&5
17295
17296
17297 fi
17298
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17300 fi
17301
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303 fi
17304
17305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17306 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17307 fi
17308 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17309 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17310 if test "$ac_test_CXXFLAGS" = set; then
17311 CXXFLAGS=$ac_save_CXXFLAGS
17312 elif test $ac_cv_prog_cxx_g = yes; then
17313 if test "$GXX" = yes; then
17314 CXXFLAGS="-g -O2"
17315 else
17316 CXXFLAGS="-g"
17317 fi
17318 else
17319 if test "$GXX" = yes; then
17320 CXXFLAGS="-O2"
17321 else
17322 CXXFLAGS=
17323 fi
17324 fi
17325 ac_ext=c
17326 ac_cpp='$CPP $CPPFLAGS'
17327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17330
17331
17332
17333
17334
17335
17336
17337
17338 ac_ext=cpp
17339 ac_cpp='$CXXCPP $CPPFLAGS'
17340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17343
17344 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17345 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17346 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17347 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 else
17349 cat >conftest.$ac_ext <<_ACEOF
17350 /* confdefs.h. */
17351 _ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355
17356 int
17357 main ()
17358 {
17359
17360 #ifndef __INTEL_COMPILER
17361 choke me
17362 #endif
17363
17364 ;
17365 return 0;
17366 }
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (ac_try="$ac_compile"
17370 case "(($ac_try" in
17371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17372 *) ac_try_echo=$ac_try;;
17373 esac
17374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17375 (eval "$ac_compile") 2>conftest.er1
17376 ac_status=$?
17377 grep -v '^ *+' conftest.er1 >conftest.err
17378 rm -f conftest.er1
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } && {
17382 test -z "$ac_cxx_werror_flag" ||
17383 test ! -s conftest.err
17384 } && test -s conftest.$ac_objext; then
17385 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17389
17390 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17391
17392 fi
17393
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395
17396
17397 fi
17398 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17399 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17400 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17401 :; INTELCXX=yes
17402 else
17403 :;
17404 fi
17405 ac_ext=c
17406 ac_cpp='$CPP $CPPFLAGS'
17407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17410
17411
17412
17413
17414 if test "$INTELCXX" = "yes"; then
17415
17416
17417 ac_ext=cpp
17418 ac_cpp='$CXXCPP $CPPFLAGS'
17419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17422
17423 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17424 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17425 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 cat >conftest.$ac_ext <<_ACEOF
17429 /* confdefs.h. */
17430 _ACEOF
17431 cat confdefs.h >>conftest.$ac_ext
17432 cat >>conftest.$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17434
17435 int
17436 main ()
17437 {
17438
17439 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17440 choke me
17441 #endif
17442
17443 ;
17444 return 0;
17445 }
17446 _ACEOF
17447 rm -f conftest.$ac_objext
17448 if { (ac_try="$ac_compile"
17449 case "(($ac_try" in
17450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17451 *) ac_try_echo=$ac_try;;
17452 esac
17453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17454 (eval "$ac_compile") 2>conftest.er1
17455 ac_status=$?
17456 grep -v '^ *+' conftest.er1 >conftest.err
17457 rm -f conftest.er1
17458 cat conftest.err >&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } && {
17461 test -z "$ac_cxx_werror_flag" ||
17462 test ! -s conftest.err
17463 } && test -s conftest.$ac_objext; then
17464 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17465 else
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17468
17469 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17470
17471 fi
17472
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474
17475
17476 fi
17477 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17478 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17479 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17480 :; INTELCXX8=yes
17481 else
17482 :;
17483 fi
17484 ac_ext=c
17485 ac_cpp='$CPP $CPPFLAGS'
17486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17489
17490
17491
17492
17493
17494 ac_ext=cpp
17495 ac_cpp='$CXXCPP $CPPFLAGS'
17496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17499
17500 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17501 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17502 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 else
17505 cat >conftest.$ac_ext <<_ACEOF
17506 /* confdefs.h. */
17507 _ACEOF
17508 cat confdefs.h >>conftest.$ac_ext
17509 cat >>conftest.$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17511
17512 int
17513 main ()
17514 {
17515
17516 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17517 choke me
17518 #endif
17519
17520 ;
17521 return 0;
17522 }
17523 _ACEOF
17524 rm -f conftest.$ac_objext
17525 if { (ac_try="$ac_compile"
17526 case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17529 esac
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_compile") 2>conftest.er1
17532 ac_status=$?
17533 grep -v '^ *+' conftest.er1 >conftest.err
17534 rm -f conftest.er1
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } && {
17538 test -z "$ac_cxx_werror_flag" ||
17539 test ! -s conftest.err
17540 } && test -s conftest.$ac_objext; then
17541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17542 else
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.$ac_ext >&5
17545
17546 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17547
17548 fi
17549
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551
17552
17553 fi
17554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17556 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17557 :; INTELCXX10=yes
17558 else
17559 :;
17560 fi
17561 ac_ext=c
17562 ac_cpp='$CPP $CPPFLAGS'
17563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17566
17567
17568
17569 fi
17570
17571 if test "x$GCXX" != "xyes"; then
17572 if test "xCXX" = "xC"; then
17573 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17574 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17575 if test "${bakefile_cv_c_exto+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 int
17586 main ()
17587 {
17588
17589 ;
17590 return 0;
17591 }
17592 _ACEOF
17593 rm -f conftest.$ac_objext conftest.$ac_ext.o
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; then
17599 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17600 case $ac_file in
17601 conftest.$ac_ext.o)
17602 bakefile_cv_c_exto="-ext o"
17603 ;;
17604 *)
17605 ;;
17606 esac
17607 done
17608 else
17609 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17610 See \`config.log' for more details." >&5
17611 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17612 See \`config.log' for more details." >&2;}
17613 { (exit 1); exit 1; }; }
17614
17615 fi
17616
17617 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17618
17619 fi
17620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17621 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17623 if test "c" = "c"; then
17624 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17625 fi
17626 if test "c" = "cxx"; then
17627 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17628 fi
17629 fi
17630
17631 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17632 unset ac_cv_prog_cc_g
17633 ac_test_CFLAGS=${CFLAGS+set}
17634 ac_save_CFLAGS=$CFLAGS
17635 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17636 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17637 if test "${ac_cv_prog_cc_g+set}" = set; then
17638 echo $ECHO_N "(cached) $ECHO_C" >&6
17639 else
17640 ac_save_c_werror_flag=$ac_c_werror_flag
17641 ac_c_werror_flag=yes
17642 ac_cv_prog_cc_g=no
17643 CFLAGS="-g"
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650
17651 int
17652 main ()
17653 {
17654
17655 ;
17656 return 0;
17657 }
17658 _ACEOF
17659 rm -f conftest.$ac_objext
17660 if { (ac_try="$ac_compile"
17661 case "(($ac_try" in
17662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17663 *) ac_try_echo=$ac_try;;
17664 esac
17665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17666 (eval "$ac_compile") 2>conftest.er1
17667 ac_status=$?
17668 grep -v '^ *+' conftest.er1 >conftest.err
17669 rm -f conftest.er1
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } && {
17673 test -z "$ac_c_werror_flag" ||
17674 test ! -s conftest.err
17675 } && test -s conftest.$ac_objext; then
17676 ac_cv_prog_cc_g=yes
17677 else
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17680
17681 CFLAGS=""
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688
17689 int
17690 main ()
17691 {
17692
17693 ;
17694 return 0;
17695 }
17696 _ACEOF
17697 rm -f conftest.$ac_objext
17698 if { (ac_try="$ac_compile"
17699 case "(($ac_try" in
17700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17701 *) ac_try_echo=$ac_try;;
17702 esac
17703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17704 (eval "$ac_compile") 2>conftest.er1
17705 ac_status=$?
17706 grep -v '^ *+' conftest.er1 >conftest.err
17707 rm -f conftest.er1
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } && {
17711 test -z "$ac_c_werror_flag" ||
17712 test ! -s conftest.err
17713 } && test -s conftest.$ac_objext; then
17714 :
17715 else
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17718
17719 ac_c_werror_flag=$ac_save_c_werror_flag
17720 CFLAGS="-g"
17721 cat >conftest.$ac_ext <<_ACEOF
17722 /* confdefs.h. */
17723 _ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727
17728 int
17729 main ()
17730 {
17731
17732 ;
17733 return 0;
17734 }
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17741 esac
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_prog_cc_g=yes
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758
17759 fi
17760
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762 fi
17763
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 fi
17766
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 ac_c_werror_flag=$ac_save_c_werror_flag
17769 fi
17770 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17771 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17772 if test "$ac_test_CFLAGS" = set; then
17773 CFLAGS=$ac_save_CFLAGS
17774 elif test $ac_cv_prog_cc_g = yes; then
17775 if test "$GCC" = yes; then
17776 CFLAGS="-g -O2"
17777 else
17778 CFLAGS="-g"
17779 fi
17780 else
17781 if test "$GCC" = yes; then
17782 CFLAGS="-O2"
17783 else
17784 CFLAGS=
17785 fi
17786 fi
17787 fi
17788 fi
17789
17790 case `uname -s` in
17791 AIX*)
17792
17793
17794 ac_ext=cpp
17795 ac_cpp='$CXXCPP $CPPFLAGS'
17796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17799
17800 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17801 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17802 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 else
17805 cat >conftest.$ac_ext <<_ACEOF
17806 /* confdefs.h. */
17807 _ACEOF
17808 cat confdefs.h >>conftest.$ac_ext
17809 cat >>conftest.$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811
17812 int
17813 main ()
17814 {
17815
17816 #ifndef __xlC__
17817 choke me
17818 #endif
17819
17820 ;
17821 return 0;
17822 }
17823 _ACEOF
17824 rm -f conftest.$ac_objext
17825 if { (ac_try="$ac_compile"
17826 case "(($ac_try" in
17827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17828 *) ac_try_echo=$ac_try;;
17829 esac
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_compile") 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } && {
17838 test -z "$ac_cxx_werror_flag" ||
17839 test ! -s conftest.err
17840 } && test -s conftest.$ac_objext; then
17841 bakefile_cv_cxx_compiler___xlC__=yes
17842 else
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17845
17846 bakefile_cv_cxx_compiler___xlC__=no
17847
17848 fi
17849
17850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17851
17852
17853 fi
17854 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17855 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17856 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17857 :; XLCXX=yes
17858 else
17859 :;
17860 fi
17861 ac_ext=c
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17866
17867
17868
17869 ;;
17870
17871 Darwin)
17872
17873
17874 ac_ext=cpp
17875 ac_cpp='$CXXCPP $CPPFLAGS'
17876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17879
17880 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17881 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17882 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 else
17885 cat >conftest.$ac_ext <<_ACEOF
17886 /* confdefs.h. */
17887 _ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17891
17892 int
17893 main ()
17894 {
17895
17896 #ifndef __MWERKS__
17897 choke me
17898 #endif
17899
17900 ;
17901 return 0;
17902 }
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17921 bakefile_cv_cxx_compiler___MWERKS__=yes
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 bakefile_cv_cxx_compiler___MWERKS__=no
17927
17928 fi
17929
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931
17932
17933 fi
17934 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17935 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17936 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17937 :; MWCXX=yes
17938 else
17939 :;
17940 fi
17941 ac_ext=c
17942 ac_cpp='$CPP $CPPFLAGS'
17943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17946
17947
17948
17949 if test "$MWCXX" != "yes"; then
17950
17951
17952 ac_ext=cpp
17953 ac_cpp='$CXXCPP $CPPFLAGS'
17954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17957
17958 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17959 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17960 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969
17970 int
17971 main ()
17972 {
17973
17974 #ifndef __xlC__
17975 choke me
17976 #endif
17977
17978 ;
17979 return 0;
17980 }
17981 _ACEOF
17982 rm -f conftest.$ac_objext
17983 if { (ac_try="$ac_compile"
17984 case "(($ac_try" in
17985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17986 *) ac_try_echo=$ac_try;;
17987 esac
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_compile") 2>conftest.er1
17990 ac_status=$?
17991 grep -v '^ *+' conftest.er1 >conftest.err
17992 rm -f conftest.er1
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_cxx_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest.$ac_objext; then
17999 bakefile_cv_cxx_compiler___xlC__=yes
18000 else
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18003
18004 bakefile_cv_cxx_compiler___xlC__=no
18005
18006 fi
18007
18008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009
18010
18011 fi
18012 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18013 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18014 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18015 :; XLCXX=yes
18016 else
18017 :;
18018 fi
18019 ac_ext=c
18020 ac_cpp='$CPP $CPPFLAGS'
18021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18024
18025
18026
18027 fi
18028 ;;
18029
18030 IRIX*)
18031
18032
18033 ac_ext=cpp
18034 ac_cpp='$CXXCPP $CPPFLAGS'
18035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18038
18039 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18040 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18041 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 else
18044 cat >conftest.$ac_ext <<_ACEOF
18045 /* confdefs.h. */
18046 _ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050
18051 int
18052 main ()
18053 {
18054
18055 #ifndef _SGI_COMPILER_VERSION
18056 choke me
18057 #endif
18058
18059 ;
18060 return 0;
18061 }
18062 _ACEOF
18063 rm -f conftest.$ac_objext
18064 if { (ac_try="$ac_compile"
18065 case "(($ac_try" in
18066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18068 esac
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_compile") 2>conftest.er1
18071 ac_status=$?
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && {
18077 test -z "$ac_cxx_werror_flag" ||
18078 test ! -s conftest.err
18079 } && test -s conftest.$ac_objext; then
18080 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18084
18085 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18086
18087 fi
18088
18089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090
18091
18092 fi
18093 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18094 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18095 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18096 :; SGICXX=yes
18097 else
18098 :;
18099 fi
18100 ac_ext=c
18101 ac_cpp='$CPP $CPPFLAGS'
18102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18105
18106
18107
18108 ;;
18109
18110 Linux*)
18111 if test "$INTELCXX" != "yes"; then
18112
18113
18114 ac_ext=cpp
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18119
18120 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18121 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18122 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 else
18125 cat >conftest.$ac_ext <<_ACEOF
18126 /* confdefs.h. */
18127 _ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131
18132 int
18133 main ()
18134 {
18135
18136 #ifndef __SUNPRO_CC
18137 choke me
18138 #endif
18139
18140 ;
18141 return 0;
18142 }
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (ac_try="$ac_compile"
18146 case "(($ac_try" in
18147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18148 *) ac_try_echo=$ac_try;;
18149 esac
18150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18151 (eval "$ac_compile") 2>conftest.er1
18152 ac_status=$?
18153 grep -v '^ *+' conftest.er1 >conftest.err
18154 rm -f conftest.er1
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } && {
18158 test -z "$ac_cxx_werror_flag" ||
18159 test ! -s conftest.err
18160 } && test -s conftest.$ac_objext; then
18161 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18167
18168 fi
18169
18170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18171
18172
18173 fi
18174 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18175 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18176 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18177 :; SUNCXX=yes
18178 else
18179 :;
18180 fi
18181 ac_ext=c
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18186
18187
18188
18189 fi
18190 ;;
18191
18192 HP-UX*)
18193
18194
18195 ac_ext=cpp
18196 ac_cpp='$CXXCPP $CPPFLAGS'
18197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18200
18201 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18202 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 else
18206 cat >conftest.$ac_ext <<_ACEOF
18207 /* confdefs.h. */
18208 _ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18212
18213 int
18214 main ()
18215 {
18216
18217 #ifndef __HP_aCC
18218 choke me
18219 #endif
18220
18221 ;
18222 return 0;
18223 }
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18230 esac
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18233 ac_status=$?
18234 grep -v '^ *+' conftest.er1 >conftest.err
18235 rm -f conftest.er1
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_cxx_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 bakefile_cv_cxx_compiler___HP_aCC=yes
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18246
18247 bakefile_cv_cxx_compiler___HP_aCC=no
18248
18249 fi
18250
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252
18253
18254 fi
18255 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18256 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18257 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18258 :; HPCXX=yes
18259 else
18260 :;
18261 fi
18262 ac_ext=c
18263 ac_cpp='$CPP $CPPFLAGS'
18264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18267
18268
18269
18270 ;;
18271
18272 OSF1)
18273
18274
18275 ac_ext=cpp
18276 ac_cpp='$CXXCPP $CPPFLAGS'
18277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18280
18281 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 else
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292
18293 int
18294 main ()
18295 {
18296
18297 #ifndef __DECCXX
18298 choke me
18299 #endif
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18313 ac_status=$?
18314 grep -v '^ *+' conftest.er1 >conftest.err
18315 rm -f conftest.er1
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_cxx_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_cxx_compiler___DECCXX=yes
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18326
18327 bakefile_cv_cxx_compiler___DECCXX=no
18328
18329 fi
18330
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332
18333
18334 fi
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18336 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18337 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18338 :; COMPAQCXX=yes
18339 else
18340 :;
18341 fi
18342 ac_ext=c
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347
18348
18349
18350 ;;
18351
18352 SunOS)
18353
18354
18355 ac_ext=cpp
18356 ac_cpp='$CXXCPP $CPPFLAGS'
18357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18360
18361 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18362 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18363 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 cat >conftest.$ac_ext <<_ACEOF
18367 /* confdefs.h. */
18368 _ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18372
18373 int
18374 main ()
18375 {
18376
18377 #ifndef __SUNPRO_CC
18378 choke me
18379 #endif
18380
18381 ;
18382 return 0;
18383 }
18384 _ACEOF
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18390 esac
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18393 ac_status=$?
18394 grep -v '^ *+' conftest.er1 >conftest.err
18395 rm -f conftest.er1
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_cxx_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18403 else
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18408
18409 fi
18410
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412
18413
18414 fi
18415 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18416 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18417 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18418 :; SUNCXX=yes
18419 else
18420 :;
18421 fi
18422 ac_ext=c
18423 ac_cpp='$CPP $CPPFLAGS'
18424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18427
18428
18429
18430 ;;
18431 esac
18432 fi
18433
18434
18435
18436 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18437 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18438 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18439 { (exit 1); exit 1; }; }
18440 fi
18441
18442 if test "x$SUNCXX" != xyes; then
18443 if test -n "$ac_tool_prefix"; then
18444 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18445 set dummy ${ac_tool_prefix}ar; ac_word=$2
18446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18448 if test "${ac_cv_prog_AR+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 else
18451 if test -n "$AR"; then
18452 ac_cv_prog_AR="$AR" # Let the user override the test.
18453 else
18454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18455 for as_dir in $PATH
18456 do
18457 IFS=$as_save_IFS
18458 test -z "$as_dir" && as_dir=.
18459 for ac_exec_ext in '' $ac_executable_extensions; do
18460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18461 ac_cv_prog_AR="${ac_tool_prefix}ar"
18462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18463 break 2
18464 fi
18465 done
18466 done
18467 IFS=$as_save_IFS
18468
18469 fi
18470 fi
18471 AR=$ac_cv_prog_AR
18472 if test -n "$AR"; then
18473 { echo "$as_me:$LINENO: result: $AR" >&5
18474 echo "${ECHO_T}$AR" >&6; }
18475 else
18476 { echo "$as_me:$LINENO: result: no" >&5
18477 echo "${ECHO_T}no" >&6; }
18478 fi
18479
18480
18481 fi
18482 if test -z "$ac_cv_prog_AR"; then
18483 ac_ct_AR=$AR
18484 # Extract the first word of "ar", so it can be a program name with args.
18485 set dummy ar; ac_word=$2
18486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18488 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 else
18491 if test -n "$ac_ct_AR"; then
18492 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18493 else
18494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18495 for as_dir in $PATH
18496 do
18497 IFS=$as_save_IFS
18498 test -z "$as_dir" && as_dir=.
18499 for ac_exec_ext in '' $ac_executable_extensions; do
18500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18501 ac_cv_prog_ac_ct_AR="ar"
18502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18503 break 2
18504 fi
18505 done
18506 done
18507 IFS=$as_save_IFS
18508
18509 fi
18510 fi
18511 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18512 if test -n "$ac_ct_AR"; then
18513 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18514 echo "${ECHO_T}$ac_ct_AR" >&6; }
18515 else
18516 { echo "$as_me:$LINENO: result: no" >&5
18517 echo "${ECHO_T}no" >&6; }
18518 fi
18519
18520 if test "x$ac_ct_AR" = x; then
18521 AR=""
18522 else
18523 case $cross_compiling:$ac_tool_warned in
18524 yes:)
18525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18526 whose name does not start with the host triplet. If you think this
18527 configuration is useful to you, please write to autoconf@gnu.org." >&5
18528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18529 whose name does not start with the host triplet. If you think this
18530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18531 ac_tool_warned=yes ;;
18532 esac
18533 AR=$ac_ct_AR
18534 fi
18535 else
18536 AR="$ac_cv_prog_AR"
18537 fi
18538
18539 if test "x$AR" = "x" ; then
18540 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18541 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18542 { (exit 1); exit 1; }; }
18543 fi
18544 fi
18545
18546
18547 if test "$wxUSE_MAC" = 1; then
18548
18549 retest_macosx_linking=no
18550
18551 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18552 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18553 # Implicitly turn on the new --with-macosx-sdk using the default
18554 # SDK which provides the behavior this option has always had.
18555 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18556 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18557 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18558 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18559 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18560 wxUSE_MACOSX_SDK=yes
18561 fi
18562 else
18563 # Complain to user if he specified an argument to --enable-universal_binary
18564 # and also 1) specified --with-macosx-sdk using the default (yes) or
18565 # 2) specified --with-macosx-sdk using a path or 3) specified
18566 # --without-macosx-sdk (no).
18567 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18568 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18569 See \`config.log' for more details." >&5
18570 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18571 See \`config.log' for more details." >&2;}
18572 { (exit 1); exit 1; }; }
18573 else
18574 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18575 # special-case the empty string because the below test simply
18576 # converts "no" to the empty string anyway.
18577 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18578 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18579 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18580 fi
18581 fi
18582 OSX_UNIV_OPTS="-arch ppc -arch i386"
18583 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18584 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18585 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18586 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18587 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18588 retest_macosx_linking=yes
18589
18590 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18591 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18592 bk_use_pch=no
18593 fi
18594
18595 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18596 wxUSE_MACOSX_SDK=
18597 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18598 # TODO: Search for most recent SDK and use it.
18599 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18600 fi
18601
18602
18603 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18604 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18605 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18606 if ! test -d "$wxUSE_MACOSX_SDK"; then
18607 { { echo "$as_me:$LINENO: error: not found
18608 See \`config.log' for more details." >&5
18609 echo "$as_me: error: not found
18610 See \`config.log' for more details." >&2;}
18611 { (exit 1); exit 1; }; }
18612 else
18613 { echo "$as_me:$LINENO: result: exists" >&5
18614 echo "${ECHO_T}exists" >&6; }
18615 fi
18616 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18617 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18618 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18619 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18620 retest_macosx_linking=yes
18621 fi
18622
18623 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18624 wxUSE_MACOSX_VERSION_MIN=
18625 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18626 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18627 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18628 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18629
18630 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/'`
18631
18632 # If that failed, try again with the new key
18633 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18634
18635 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/'`
18636
18637 fi
18638
18639 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18640 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18641 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18642 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18643 else
18644 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18645 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18646 wxUSE_MACOSX_VERSION_MIN=
18647 fi
18648 else
18649 wxUSE_MACOSX_VERSION_MIN=
18650 fi
18651 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18652 for ac_prog in sw_vers
18653 do
18654 # Extract the first word of "$ac_prog", so it can be a program name with args.
18655 set dummy $ac_prog; ac_word=$2
18656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18658 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 if test -n "$OSX_SW_VERS"; then
18662 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18663 else
18664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18665 for as_dir in $PATH
18666 do
18667 IFS=$as_save_IFS
18668 test -z "$as_dir" && as_dir=.
18669 for ac_exec_ext in '' $ac_executable_extensions; do
18670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18671 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18673 break 2
18674 fi
18675 done
18676 done
18677 IFS=$as_save_IFS
18678
18679 fi
18680 fi
18681 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18682 if test -n "$OSX_SW_VERS"; then
18683 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18684 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18685 else
18686 { echo "$as_me:$LINENO: result: no" >&5
18687 echo "${ECHO_T}no" >&6; }
18688 fi
18689
18690
18691 test -n "$OSX_SW_VERS" && break
18692 done
18693
18694 if test "$OSX_SW_VERS" != ""; then
18695 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18696 else
18697 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18698 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18699 OSX_VERSION="10.4"
18700 fi
18701
18702 case "$OSX_VERSION" in
18703 10.4* )
18704 wxUSE_MACOSX_VERSION_MIN=10.4
18705 ;;
18706
18707 * )
18708 if test "$wxUSE_OSX_CARBON" = 1; then
18709 # otherwise configure stops on leopard for universal_binary
18710 wxUSE_MACOSX_VERSION_MIN=10.4
18711 else
18712 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18713 wxUSE_MACOSX_VERSION_MIN=10.5
18714 fi
18715 ;;
18716 esac
18717 fi
18718
18719 NEEDS_GCC40="no"
18720 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18721 NEEDS_GCC40="yes"
18722 fi
18723
18724 if test "$wxUSE_OSX_CARBON" = 1; then
18725 NEEDS_GCC40="yes"
18726 fi
18727
18728 if test "x$NEEDS_GCC40" == "xyes"; then
18729 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18730 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18731 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18732 if test "x$CC" = "xgcc"; then
18733 CCVERSION=`$CC --version | grep 4.[2-9].`
18734 if test "x$CCVERSION" != "x"; then
18735 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18736 CC="/usr/bin/gcc-4.0"
18737 fi
18738 fi
18739
18740 if test "x$CXX" = "xg++"; then
18741 CCVERSION=`$CXX --version | grep 4.[2-9].`
18742 if test "x$CCVERSION" != "x"; then
18743 CXX="/usr/bin/g++-4.0"
18744 fi
18745 fi
18746 fi
18747
18748 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18749 if test "$wxUSE_OSX_IPHONE" = 1; then
18750 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18751 else
18752 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18753 fi
18754 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18755 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18756 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18757 retest_macosx_linking=yes
18758 fi
18759
18760 if test "x$retest_macosx_linking" = "xyes"; then
18761 ac_ext=c
18762 ac_cpp='$CPP $CPPFLAGS'
18763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18766
18767 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18768 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775
18776 int
18777 main ()
18778 {
18779
18780 ;
18781 return 0;
18782 }
18783 _ACEOF
18784 rm -f conftest.$ac_objext conftest$ac_exeext
18785 if { (ac_try="$ac_link"
18786 case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18789 esac
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_link") 2>conftest.er1
18792 ac_status=$?
18793 grep -v '^ *+' conftest.er1 >conftest.err
18794 rm -f conftest.er1
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } && {
18798 test -z "$ac_c_werror_flag" ||
18799 test ! -s conftest.err
18800 } && test -s conftest$ac_exeext &&
18801 $as_test_x conftest$ac_exeext; then
18802 { echo "$as_me:$LINENO: result: yes" >&5
18803 echo "${ECHO_T}yes" >&6; }
18804 else
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18807
18808 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18809 See \`config.log' for more details." >&5
18810 echo "$as_me: error: no. Try a different SDK
18811 See \`config.log' for more details." >&2;}
18812 { (exit 1); exit 1; }; }; exit 1
18813 fi
18814
18815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18816 conftest$ac_exeext conftest.$ac_ext
18817 ac_ext=c
18818 ac_cpp='$CPP $CPPFLAGS'
18819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18822
18823
18824 ac_ext=cpp
18825 ac_cpp='$CXXCPP $CPPFLAGS'
18826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18829
18830 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18831 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838
18839 int
18840 main ()
18841 {
18842
18843 ;
18844 return 0;
18845 }
18846 _ACEOF
18847 rm -f conftest.$ac_objext conftest$ac_exeext
18848 if { (ac_try="$ac_link"
18849 case "(($ac_try" in
18850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18851 *) ac_try_echo=$ac_try;;
18852 esac
18853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18854 (eval "$ac_link") 2>conftest.er1
18855 ac_status=$?
18856 grep -v '^ *+' conftest.er1 >conftest.err
18857 rm -f conftest.er1
18858 cat conftest.err >&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } && {
18861 test -z "$ac_cxx_werror_flag" ||
18862 test ! -s conftest.err
18863 } && test -s conftest$ac_exeext &&
18864 $as_test_x conftest$ac_exeext; then
18865 { echo "$as_me:$LINENO: result: yes" >&5
18866 echo "${ECHO_T}yes" >&6; }
18867 else
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18870
18871 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18872 See \`config.log' for more details." >&5
18873 echo "$as_me: error: no. Try a different SDK
18874 See \`config.log' for more details." >&2;}
18875 { (exit 1); exit 1; }; }; exit 1
18876 fi
18877
18878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18879 conftest$ac_exeext conftest.$ac_ext
18880 ac_ext=c
18881 ac_cpp='$CPP $CPPFLAGS'
18882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18885
18886 fi
18887
18888 fi
18889 case "${host}" in
18890
18891 *-*-darwin* )
18892 INSTALL_PROGRAM="cp -fp"
18893 INSTALL_DATA="cp -fp"
18894 ;;
18895 *)
18896 ;;
18897 esac
18898
18899
18900 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18901 CXXFLAGS="-qunique $CXXFLAGS"
18902 fi
18903
18904 case "${host}" in
18905 powerpc-*-darwin* )
18906 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18907 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18908 cat >conftest.$ac_ext <<_ACEOF
18909 /* confdefs.h. */
18910 _ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914
18915 int
18916 main ()
18917 {
18918 #ifndef __POWERPC__
18919 choke me for lack of PowerPC
18920 #endif
18921
18922 ;
18923 return 0;
18924 }
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18931 esac
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18934 ac_status=$?
18935 grep -v '^ *+' conftest.er1 >conftest.err
18936 rm -f conftest.er1
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 { echo "$as_me:$LINENO: result: yes" >&5
18944 echo "${ECHO_T}yes" >&6; }
18945 else
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.$ac_ext >&5
18948
18949 { echo "$as_me:$LINENO: result: no" >&5
18950 echo "${ECHO_T}no" >&6; }
18951 cat >>confdefs.h <<\_ACEOF
18952 #define __POWERPC__ 1
18953 _ACEOF
18954
18955
18956 fi
18957
18958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18959 ;;
18960 esac
18961
18962 case "${host}" in
18963 *-*-darwin* )
18964 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18965 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 #include <CoreFoundation/CFBase.h>
18973
18974 int
18975 main ()
18976 {
18977
18978 ;
18979 return 0;
18980 }
18981 _ACEOF
18982 rm -f conftest.$ac_objext
18983 if { (ac_try="$ac_compile"
18984 case "(($ac_try" in
18985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18987 esac
18988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_compile") 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } && {
18996 test -z "$ac_c_werror_flag" ||
18997 test ! -s conftest.err
18998 } && test -s conftest.$ac_objext; then
18999 { echo "$as_me:$LINENO: result: yes" >&5
19000 echo "${ECHO_T}yes" >&6; }
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 { echo "$as_me:$LINENO: result: no" >&5
19006 echo "${ECHO_T}no" >&6; }
19007 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19008 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19009 cat >conftest.$ac_ext <<_ACEOF
19010 /* confdefs.h. */
19011 _ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 #define __CF_USE_FRAMEWORK_INCLUDES__
19016 #include <CoreFoundation/CFBase.h>
19017
19018 int
19019 main ()
19020 {
19021
19022 ;
19023 return 0;
19024 }
19025 _ACEOF
19026 rm -f conftest.$ac_objext
19027 if { (ac_try="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19031 esac
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_compile") 2>conftest.er1
19034 ac_status=$?
19035 grep -v '^ *+' conftest.er1 >conftest.err
19036 rm -f conftest.er1
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && {
19040 test -z "$ac_c_werror_flag" ||
19041 test ! -s conftest.err
19042 } && test -s conftest.$ac_objext; then
19043 { echo "$as_me:$LINENO: result: yes" >&5
19044 echo "${ECHO_T}yes" >&6; }
19045 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19046 else
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.$ac_ext >&5
19049
19050 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19051 See \`config.log' for more details." >&5
19052 echo "$as_me: error: no. CoreFoundation not available.
19053 See \`config.log' for more details." >&2;}
19054 { (exit 1); exit 1; }; }
19055
19056 fi
19057
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059
19060
19061 fi
19062
19063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 ;;
19065 esac
19066
19067 wants_win32=0
19068 doesnt_want_win32=0
19069 case "${host}" in
19070 *-*-cygwin*)
19071 if test "$wxUSE_MSW" = 1 ; then
19072 wants_win32=1
19073 else
19074 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19075 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19076 if test "${wx_cv_nocygwin+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 else
19079
19080 cat >conftest.$ac_ext <<_ACEOF
19081 /* confdefs.h. */
19082 _ACEOF
19083 cat confdefs.h >>conftest.$ac_ext
19084 cat >>conftest.$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086
19087 int
19088 main ()
19089 {
19090
19091 #ifdef __MINGW32__
19092 choke me
19093 #endif
19094
19095 ;
19096 return 0;
19097 }
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest.$ac_objext; then
19116 wx_cv_nocygwin=no
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19120
19121 wx_cv_nocygwin=yes
19122
19123 fi
19124
19125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126
19127
19128 fi
19129 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19130 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19131
19132 if test "$wx_cv_nocygwin" = "yes"; then
19133 wants_win32=1
19134 else
19135 doesnt_want_win32=1
19136 fi
19137 fi
19138 if test "$wants_win32" = 1 ; then
19139 BAKEFILE_FORCE_PLATFORM=win32
19140 fi
19141 ;;
19142 *-*-mingw*)
19143 wants_win32=1
19144 ;;
19145 esac
19146
19147 if test "$wxUSE_WINE" = "yes"; then
19148 wants_win32=1
19149 LDFLAGS_GUI="-mwindows"
19150 fi
19151
19152 if test "$wants_win32" = 1 ; then
19153 USE_UNIX=0
19154 USE_WIN32=1
19155 cat >>confdefs.h <<\_ACEOF
19156 #define __WIN32__ 1
19157 _ACEOF
19158
19159 cat >>confdefs.h <<\_ACEOF
19160 #define __WIN95__ 1
19161 _ACEOF
19162
19163 cat >>confdefs.h <<\_ACEOF
19164 #define __WINDOWS__ 1
19165 _ACEOF
19166
19167 cat >>confdefs.h <<\_ACEOF
19168 #define __GNUWIN32__ 1
19169 _ACEOF
19170
19171 cat >>confdefs.h <<\_ACEOF
19172 #define STRICT 1
19173 _ACEOF
19174
19175 fi
19176 if test "$doesnt_want_win32" = 1 ; then
19177 USE_UNIX=1
19178 USE_WIN32=0
19179 fi
19180
19181 if test "$USE_UNIX" = 1 ; then
19182 wxUSE_UNIX=yes
19183 cat >>confdefs.h <<\_ACEOF
19184 #define __UNIX__ 1
19185 _ACEOF
19186
19187 fi
19188
19189 case "${host}" in
19190 *-pc-os2_emx | *-pc-os2-emx )
19191 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19192 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19193 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19194 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 else
19197 ac_check_lib_save_LIBS=$LIBS
19198 LIBS="-lcExt $LIBS"
19199 cat >conftest.$ac_ext <<_ACEOF
19200 /* confdefs.h. */
19201 _ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19209 #ifdef __cplusplus
19210 extern "C"
19211 #endif
19212 char drand48 ();
19213 int
19214 main ()
19215 {
19216 return drand48 ();
19217 ;
19218 return 0;
19219 }
19220 _ACEOF
19221 rm -f conftest.$ac_objext conftest$ac_exeext
19222 if { (ac_try="$ac_link"
19223 case "(($ac_try" in
19224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19225 *) ac_try_echo=$ac_try;;
19226 esac
19227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19228 (eval "$ac_link") 2>conftest.er1
19229 ac_status=$?
19230 grep -v '^ *+' conftest.er1 >conftest.err
19231 rm -f conftest.er1
19232 cat conftest.err >&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } && {
19235 test -z "$ac_c_werror_flag" ||
19236 test ! -s conftest.err
19237 } && test -s conftest$ac_exeext &&
19238 $as_test_x conftest$ac_exeext; then
19239 ac_cv_lib_cExt_drand48=yes
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19243
19244 ac_cv_lib_cExt_drand48=no
19245 fi
19246
19247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19248 conftest$ac_exeext conftest.$ac_ext
19249 LIBS=$ac_check_lib_save_LIBS
19250 fi
19251 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19252 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19253 if test $ac_cv_lib_cExt_drand48 = yes; then
19254 LIBS="$LIBS -lcExt"
19255 fi
19256
19257 else
19258 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19259 fi
19260 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19261 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19262 if test "${wx_cv_gccversion+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19264 else
19265
19266 if test "$cross_compiling" = yes; then
19267 wx_cv_gccversion="EMX2"
19268
19269 else
19270 cat >conftest.$ac_ext <<_ACEOF
19271 /* confdefs.h. */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276
19277 #include <stdio.h>
19278
19279 int main()
19280 {
19281 FILE *f=fopen("conftestval", "w");
19282 if (!f) exit(1);
19283 fprintf(f,
19284 #if (__GNUC__ < 3)
19285 "EMX2"
19286 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19287 "EMX3"
19288 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19289 "Innotek5"
19290 #else
19291 "Innotek6"
19292 #endif
19293 );
19294 exit(0);
19295 }
19296
19297 _ACEOF
19298 rm -f conftest$ac_exeext
19299 if { (ac_try="$ac_link"
19300 case "(($ac_try" in
19301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19302 *) ac_try_echo=$ac_try;;
19303 esac
19304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19305 (eval "$ac_link") 2>&5
19306 ac_status=$?
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19309 { (case "(($ac_try" in
19310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19311 *) ac_try_echo=$ac_try;;
19312 esac
19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19314 (eval "$ac_try") 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 wx_cv_gccversion=`cat conftestval`
19319 else
19320 echo "$as_me: program exited with status $ac_status" >&5
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19323
19324 ( exit $ac_status )
19325 wx_cv_gccversion="EMX2"
19326 fi
19327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19328 fi
19329
19330
19331
19332 fi
19333 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19334 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19335 if test "$wx_cv_gccversion" = "EMX2"; then
19336 LIBS="$LIBS -lstdcpp"
19337 LDFLAGS="$LDFLAGS -Zsysv-signals"
19338 else
19339 if test "$wx_cv_gccversion" = "EMX3"; then
19340 LIBS="$LIBS -lstdcxx -lgcc"
19341 LDFLAGS="$LDFLAGS -Zsysv-signals"
19342 else
19343 LIBS="$LIBS -lstdc++"
19344 fi
19345 fi
19346 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19347 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19348 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19349 wxUSE_OMF=yes
19350 enable_omf=yes
19351 fi
19352 ;;
19353 *)
19354
19355 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19356 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19357 if test "${ac_cv_string_strcasecmp+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360
19361 cat >conftest.$ac_ext <<_ACEOF
19362 /* confdefs.h. */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367
19368 #include <string.h>
19369
19370 int
19371 main ()
19372 {
19373
19374 strcasecmp("foo", "bar");
19375
19376 ;
19377 return 0;
19378 }
19379 _ACEOF
19380 rm -f conftest.$ac_objext conftest$ac_exeext
19381 if { (ac_try="$ac_link"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_link") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest$ac_exeext &&
19397 $as_test_x conftest$ac_exeext; then
19398 ac_cv_string_strcasecmp=yes
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 ac_cv_string_strcasecmp=no
19404
19405 fi
19406
19407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19408 conftest$ac_exeext conftest.$ac_ext
19409
19410 fi
19411 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19412 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19413
19414 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19415 cat >>confdefs.h <<\_ACEOF
19416 #define HAVE_STRCASECMP_IN_STRING_H 1
19417 _ACEOF
19418
19419 else
19420 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19421 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19422 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19424 else
19425
19426 cat >conftest.$ac_ext <<_ACEOF
19427 /* confdefs.h. */
19428 _ACEOF
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432
19433 #include <strings.h>
19434
19435 int
19436 main ()
19437 {
19438
19439 strcasecmp("foo", "bar");
19440
19441 ;
19442 return 0;
19443 }
19444 _ACEOF
19445 rm -f conftest.$ac_objext conftest$ac_exeext
19446 if { (ac_try="$ac_link"
19447 case "(($ac_try" in
19448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19449 *) ac_try_echo=$ac_try;;
19450 esac
19451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19452 (eval "$ac_link") 2>conftest.er1
19453 ac_status=$?
19454 grep -v '^ *+' conftest.er1 >conftest.err
19455 rm -f conftest.er1
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } && {
19459 test -z "$ac_c_werror_flag" ||
19460 test ! -s conftest.err
19461 } && test -s conftest$ac_exeext &&
19462 $as_test_x conftest$ac_exeext; then
19463 ac_cv_strings_strcasecmp=yes
19464 else
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19467
19468 ac_cv_strings_strcasecmp=no
19469
19470 fi
19471
19472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19473 conftest$ac_exeext conftest.$ac_ext
19474
19475 fi
19476 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19477 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19478
19479 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19480 cat >>confdefs.h <<\_ACEOF
19481 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19482 _ACEOF
19483
19484 else
19485 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19486 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19487 { (exit 1); exit 1; }; }
19488 fi
19489 fi
19490
19491 ;;
19492 esac
19493
19494
19495 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19496 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19497 if test "${ac_cv_header_stdc+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 else
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 #include <stdlib.h>
19507 #include <stdarg.h>
19508 #include <string.h>
19509 #include <float.h>
19510
19511 int
19512 main ()
19513 {
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19524 esac
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19527 ac_status=$?
19528 grep -v '^ *+' conftest.er1 >conftest.err
19529 rm -f conftest.er1
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 ac_cv_header_stdc=yes
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19540
19541 ac_cv_header_stdc=no
19542 fi
19543
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545
19546 if test $ac_cv_header_stdc = yes; then
19547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19548 cat >conftest.$ac_ext <<_ACEOF
19549 /* confdefs.h. */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #include <string.h>
19555
19556 _ACEOF
19557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19558 $EGREP "memchr" >/dev/null 2>&1; then
19559 :
19560 else
19561 ac_cv_header_stdc=no
19562 fi
19563 rm -f conftest*
19564
19565 fi
19566
19567 if test $ac_cv_header_stdc = yes; then
19568 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 #include <stdlib.h>
19576
19577 _ACEOF
19578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19579 $EGREP "free" >/dev/null 2>&1; then
19580 :
19581 else
19582 ac_cv_header_stdc=no
19583 fi
19584 rm -f conftest*
19585
19586 fi
19587
19588 if test $ac_cv_header_stdc = yes; then
19589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19590 if test "$cross_compiling" = yes; then
19591 :
19592 else
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #include <ctype.h>
19600 #include <stdlib.h>
19601 #if ((' ' & 0x0FF) == 0x020)
19602 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19603 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19604 #else
19605 # define ISLOWER(c) \
19606 (('a' <= (c) && (c) <= 'i') \
19607 || ('j' <= (c) && (c) <= 'r') \
19608 || ('s' <= (c) && (c) <= 'z'))
19609 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19610 #endif
19611
19612 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19613 int
19614 main ()
19615 {
19616 int i;
19617 for (i = 0; i < 256; i++)
19618 if (XOR (islower (i), ISLOWER (i))
19619 || toupper (i) != TOUPPER (i))
19620 return 2;
19621 return 0;
19622 }
19623 _ACEOF
19624 rm -f conftest$ac_exeext
19625 if { (ac_try="$ac_link"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_link") 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19635 { (case "(($ac_try" in
19636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19637 *) ac_try_echo=$ac_try;;
19638 esac
19639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19640 (eval "$ac_try") 2>&5
19641 ac_status=$?
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 :
19645 else
19646 echo "$as_me: program exited with status $ac_status" >&5
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19649
19650 ( exit $ac_status )
19651 ac_cv_header_stdc=no
19652 fi
19653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19654 fi
19655
19656
19657 fi
19658 fi
19659 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19660 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19661 if test $ac_cv_header_stdc = yes; then
19662
19663 cat >>confdefs.h <<\_ACEOF
19664 #define STDC_HEADERS 1
19665 _ACEOF
19666
19667 fi
19668
19669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19680 inttypes.h stdint.h unistd.h
19681 do
19682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 else
19688 cat >conftest.$ac_ext <<_ACEOF
19689 /* confdefs.h. */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 $ac_includes_default
19695
19696 #include <$ac_header>
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19703 esac
19704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19705 (eval "$ac_compile") 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } && {
19712 test -z "$ac_c_werror_flag" ||
19713 test ! -s conftest.err
19714 } && test -s conftest.$ac_objext; then
19715 eval "$as_ac_Header=yes"
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 eval "$as_ac_Header=no"
19721 fi
19722
19723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19724 fi
19725 ac_res=`eval echo '${'$as_ac_Header'}'`
19726 { echo "$as_me:$LINENO: result: $ac_res" >&5
19727 echo "${ECHO_T}$ac_res" >&6; }
19728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19729 cat >>confdefs.h <<_ACEOF
19730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19731 _ACEOF
19732
19733 fi
19734
19735 done
19736
19737
19738
19739
19740 for ac_header in langinfo.h wchar.h
19741 do
19742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 else
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19755
19756 #include <$ac_header>
19757 _ACEOF
19758 rm -f conftest.$ac_objext
19759 if { (ac_try="$ac_compile"
19760 case "(($ac_try" in
19761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19763 esac
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_compile") 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } && {
19772 test -z "$ac_c_werror_flag" ||
19773 test ! -s conftest.err
19774 } && test -s conftest.$ac_objext; then
19775 eval "$as_ac_Header=yes"
19776 else
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19779
19780 eval "$as_ac_Header=no"
19781 fi
19782
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19784 fi
19785 ac_res=`eval echo '${'$as_ac_Header'}'`
19786 { echo "$as_me:$LINENO: result: $ac_res" >&5
19787 echo "${ECHO_T}$ac_res" >&6; }
19788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19789 cat >>confdefs.h <<_ACEOF
19790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19791 _ACEOF
19792
19793 fi
19794
19795 done
19796
19797
19798 if test "$ac_cv_header_wchar_h" != "yes"; then
19799
19800 for ac_header in wcstr.h
19801 do
19802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19815
19816 #include <$ac_header>
19817 _ACEOF
19818 rm -f conftest.$ac_objext
19819 if { (ac_try="$ac_compile"
19820 case "(($ac_try" in
19821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19822 *) ac_try_echo=$ac_try;;
19823 esac
19824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19825 (eval "$ac_compile") 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } && {
19832 test -z "$ac_c_werror_flag" ||
19833 test ! -s conftest.err
19834 } && test -s conftest.$ac_objext; then
19835 eval "$as_ac_Header=yes"
19836 else
19837 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.$ac_ext >&5
19839
19840 eval "$as_ac_Header=no"
19841 fi
19842
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19844 fi
19845 ac_res=`eval echo '${'$as_ac_Header'}'`
19846 { echo "$as_me:$LINENO: result: $ac_res" >&5
19847 echo "${ECHO_T}$ac_res" >&6; }
19848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19849 cat >>confdefs.h <<_ACEOF
19850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19851 _ACEOF
19852
19853 fi
19854
19855 done
19856
19857 fi
19858
19859 case "${host}" in
19860 *-pc-os2_emx | *-pc-os2-emx )
19861 if test $ac_cv_header_langinfo_h = "yes" \
19862 -a \( "$wx_cv_gccversion" = "EMX2" \
19863 -o "$wx_cv_gccversion" = "EMX3" \
19864 -o "$wx_cv_gccversion" = "Innotek5" \); then
19865 LIBS="$LIBS -lintl"
19866 fi
19867 ;;
19868 esac
19869
19870 if test "$USE_UNIX" = 1 ; then
19871
19872 for ac_header in sys/select.h
19873 do
19874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19880 cat >conftest.$ac_ext <<_ACEOF
19881 /* confdefs.h. */
19882 _ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886 $ac_includes_default
19887
19888 #include <$ac_header>
19889 _ACEOF
19890 rm -f conftest.$ac_objext
19891 if { (ac_try="$ac_compile"
19892 case "(($ac_try" in
19893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19895 esac
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_compile") 2>conftest.er1
19898 ac_status=$?
19899 grep -v '^ *+' conftest.er1 >conftest.err
19900 rm -f conftest.er1
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest.$ac_objext; then
19907 eval "$as_ac_Header=yes"
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19911
19912 eval "$as_ac_Header=no"
19913 fi
19914
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 fi
19917 ac_res=`eval echo '${'$as_ac_Header'}'`
19918 { echo "$as_me:$LINENO: result: $ac_res" >&5
19919 echo "${ECHO_T}$ac_res" >&6; }
19920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19921 cat >>confdefs.h <<_ACEOF
19922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19923 _ACEOF
19924
19925 fi
19926
19927 done
19928
19929 fi
19930
19931
19932 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19933 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19934 if test "${ac_cv_c_const+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 else
19937 cat >conftest.$ac_ext <<_ACEOF
19938 /* confdefs.h. */
19939 _ACEOF
19940 cat confdefs.h >>conftest.$ac_ext
19941 cat >>conftest.$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19943
19944 int
19945 main ()
19946 {
19947 /* FIXME: Include the comments suggested by Paul. */
19948 #ifndef __cplusplus
19949 /* Ultrix mips cc rejects this. */
19950 typedef int charset[2];
19951 const charset cs;
19952 /* SunOS 4.1.1 cc rejects this. */
19953 char const *const *pcpcc;
19954 char **ppc;
19955 /* NEC SVR4.0.2 mips cc rejects this. */
19956 struct point {int x, y;};
19957 static struct point const zero = {0,0};
19958 /* AIX XL C 1.02.0.0 rejects this.
19959 It does not let you subtract one const X* pointer from another in
19960 an arm of an if-expression whose if-part is not a constant
19961 expression */
19962 const char *g = "string";
19963 pcpcc = &g + (g ? g-g : 0);
19964 /* HPUX 7.0 cc rejects these. */
19965 ++pcpcc;
19966 ppc = (char**) pcpcc;
19967 pcpcc = (char const *const *) ppc;
19968 { /* SCO 3.2v4 cc rejects this. */
19969 char *t;
19970 char const *s = 0 ? (char *) 0 : (char const *) 0;
19971
19972 *t++ = 0;
19973 if (s) return 0;
19974 }
19975 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19976 int x[] = {25, 17};
19977 const int *foo = &x[0];
19978 ++foo;
19979 }
19980 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19981 typedef const int *iptr;
19982 iptr p = 0;
19983 ++p;
19984 }
19985 { /* AIX XL C 1.02.0.0 rejects this saying
19986 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19987 struct s { int j; const int *ap[3]; };
19988 struct s *b; b->j = 5;
19989 }
19990 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19991 const int foo = 10;
19992 if (!foo) return 0;
19993 }
19994 return !cs[0] && !zero.x;
19995 #endif
19996
19997 ;
19998 return 0;
19999 }
20000 _ACEOF
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20006 esac
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20018 ac_cv_c_const=yes
20019 else
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20022
20023 ac_cv_c_const=no
20024 fi
20025
20026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 fi
20028 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20029 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20030 if test $ac_cv_c_const = no; then
20031
20032 cat >>confdefs.h <<\_ACEOF
20033 #define const
20034 _ACEOF
20035
20036 fi
20037
20038 { echo "$as_me:$LINENO: checking for inline" >&5
20039 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20040 if test "${ac_cv_c_inline+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20042 else
20043 ac_cv_c_inline=no
20044 for ac_kw in inline __inline__ __inline; do
20045 cat >conftest.$ac_ext <<_ACEOF
20046 /* confdefs.h. */
20047 _ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 #ifndef __cplusplus
20052 typedef int foo_t;
20053 static $ac_kw foo_t static_foo () {return 0; }
20054 $ac_kw foo_t foo () {return 0; }
20055 #endif
20056
20057 _ACEOF
20058 rm -f conftest.$ac_objext
20059 if { (ac_try="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20063 esac
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20066 ac_status=$?
20067 grep -v '^ *+' conftest.er1 >conftest.err
20068 rm -f conftest.er1
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.$ac_objext; then
20075 ac_cv_c_inline=$ac_kw
20076 else
20077 echo "$as_me: failed program was:" >&5
20078 sed 's/^/| /' conftest.$ac_ext >&5
20079
20080
20081 fi
20082
20083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20084 test "$ac_cv_c_inline" != no && break
20085 done
20086
20087 fi
20088 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20089 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20090
20091
20092 case $ac_cv_c_inline in
20093 inline | yes) ;;
20094 *)
20095 case $ac_cv_c_inline in
20096 no) ac_val=;;
20097 *) ac_val=$ac_cv_c_inline;;
20098 esac
20099 cat >>confdefs.h <<_ACEOF
20100 #ifndef __cplusplus
20101 #define inline $ac_val
20102 #endif
20103 _ACEOF
20104 ;;
20105 esac
20106
20107
20108 { echo "$as_me:$LINENO: checking for short" >&5
20109 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20110 if test "${ac_cv_type_short+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h. */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20120 typedef short ac__type_new_;
20121 int
20122 main ()
20123 {
20124 if ((ac__type_new_ *) 0)
20125 return 0;
20126 if (sizeof (ac__type_new_))
20127 return 0;
20128 ;
20129 return 0;
20130 }
20131 _ACEOF
20132 rm -f conftest.$ac_objext
20133 if { (ac_try="$ac_compile"
20134 case "(($ac_try" in
20135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20136 *) ac_try_echo=$ac_try;;
20137 esac
20138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20139 (eval "$ac_compile") 2>conftest.er1
20140 ac_status=$?
20141 grep -v '^ *+' conftest.er1 >conftest.err
20142 rm -f conftest.er1
20143 cat conftest.err >&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } && {
20146 test -z "$ac_c_werror_flag" ||
20147 test ! -s conftest.err
20148 } && test -s conftest.$ac_objext; then
20149 ac_cv_type_short=yes
20150 else
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20153
20154 ac_cv_type_short=no
20155 fi
20156
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 fi
20159 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20160 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20161
20162 # The cast to long int works around a bug in the HP C Compiler
20163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20165 # This bug is HP SR number 8606223364.
20166 { echo "$as_me:$LINENO: checking size of short" >&5
20167 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20168 if test "${ac_cv_sizeof_short+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171 if test "$cross_compiling" = yes; then
20172 # Depending upon the size, compute the lo and hi bounds.
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef short ac__type_sizeof_;
20181 int
20182 main ()
20183 {
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20185 test_array [0] = 0
20186
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20208 ac_lo=0 ac_mid=0
20209 while :; do
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20217 typedef short ac__type_sizeof_;
20218 int
20219 main ()
20220 {
20221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20222 test_array [0] = 0
20223
20224 ;
20225 return 0;
20226 }
20227 _ACEOF
20228 rm -f conftest.$ac_objext
20229 if { (ac_try="$ac_compile"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20233 esac
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_compile") 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } && {
20242 test -z "$ac_c_werror_flag" ||
20243 test ! -s conftest.err
20244 } && test -s conftest.$ac_objext; then
20245 ac_hi=$ac_mid; break
20246 else
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20249
20250 ac_lo=`expr $ac_mid + 1`
20251 if test $ac_lo -le $ac_mid; then
20252 ac_lo= ac_hi=
20253 break
20254 fi
20255 ac_mid=`expr 2 '*' $ac_mid + 1`
20256 fi
20257
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 done
20260 else
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20263
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef short ac__type_sizeof_;
20272 int
20273 main ()
20274 {
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20276 test_array [0] = 0
20277
20278 ;
20279 return 0;
20280 }
20281 _ACEOF
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20290 ac_status=$?
20291 grep -v '^ *+' conftest.er1 >conftest.err
20292 rm -f conftest.er1
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20299 ac_hi=-1 ac_mid=-1
20300 while :; do
20301 cat >conftest.$ac_ext <<_ACEOF
20302 /* confdefs.h. */
20303 _ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 typedef short ac__type_sizeof_;
20309 int
20310 main ()
20311 {
20312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20313 test_array [0] = 0
20314
20315 ;
20316 return 0;
20317 }
20318 _ACEOF
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20324 esac
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20327 ac_status=$?
20328 grep -v '^ *+' conftest.er1 >conftest.err
20329 rm -f conftest.er1
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.$ac_objext; then
20336 ac_lo=$ac_mid; break
20337 else
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.$ac_ext >&5
20340
20341 ac_hi=`expr '(' $ac_mid ')' - 1`
20342 if test $ac_mid -le $ac_hi; then
20343 ac_lo= ac_hi=
20344 break
20345 fi
20346 ac_mid=`expr 2 '*' $ac_mid`
20347 fi
20348
20349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20350 done
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 ac_lo= ac_hi=
20356 fi
20357
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 fi
20360
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362 # Binary search between lo and hi bounds.
20363 while test "x$ac_lo" != "x$ac_hi"; do
20364 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20365 cat >conftest.$ac_ext <<_ACEOF
20366 /* confdefs.h. */
20367 _ACEOF
20368 cat confdefs.h >>conftest.$ac_ext
20369 cat >>conftest.$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20371 $ac_includes_default
20372 typedef short ac__type_sizeof_;
20373 int
20374 main ()
20375 {
20376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20377 test_array [0] = 0
20378
20379 ;
20380 return 0;
20381 }
20382 _ACEOF
20383 rm -f conftest.$ac_objext
20384 if { (ac_try="$ac_compile"
20385 case "(($ac_try" in
20386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20387 *) ac_try_echo=$ac_try;;
20388 esac
20389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20390 (eval "$ac_compile") 2>conftest.er1
20391 ac_status=$?
20392 grep -v '^ *+' conftest.er1 >conftest.err
20393 rm -f conftest.er1
20394 cat conftest.err >&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } && {
20397 test -z "$ac_c_werror_flag" ||
20398 test ! -s conftest.err
20399 } && test -s conftest.$ac_objext; then
20400 ac_hi=$ac_mid
20401 else
20402 echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.$ac_ext >&5
20404
20405 ac_lo=`expr '(' $ac_mid ')' + 1`
20406 fi
20407
20408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20409 done
20410 case $ac_lo in
20411 ?*) ac_cv_sizeof_short=$ac_lo;;
20412 '') if test "$ac_cv_type_short" = yes; then
20413 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20414 See \`config.log' for more details." >&5
20415 echo "$as_me: error: cannot compute sizeof (short)
20416 See \`config.log' for more details." >&2;}
20417 { (exit 77); exit 77; }; }
20418 else
20419 ac_cv_sizeof_short=0
20420 fi ;;
20421 esac
20422 else
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 $ac_includes_default
20430 typedef short ac__type_sizeof_;
20431 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20432 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20433 #include <stdio.h>
20434 #include <stdlib.h>
20435 int
20436 main ()
20437 {
20438
20439 FILE *f = fopen ("conftest.val", "w");
20440 if (! f)
20441 return 1;
20442 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20443 {
20444 long int i = longval ();
20445 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20446 return 1;
20447 fprintf (f, "%ld\n", i);
20448 }
20449 else
20450 {
20451 unsigned long int i = ulongval ();
20452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20453 return 1;
20454 fprintf (f, "%lu\n", i);
20455 }
20456 return ferror (f) || fclose (f) != 0;
20457
20458 ;
20459 return 0;
20460 }
20461 _ACEOF
20462 rm -f conftest$ac_exeext
20463 if { (ac_try="$ac_link"
20464 case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20467 esac
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_link") 2>&5
20470 ac_status=$?
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20473 { (case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20476 esac
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_try") 2>&5
20479 ac_status=$?
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; }; then
20482 ac_cv_sizeof_short=`cat conftest.val`
20483 else
20484 echo "$as_me: program exited with status $ac_status" >&5
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.$ac_ext >&5
20487
20488 ( exit $ac_status )
20489 if test "$ac_cv_type_short" = yes; then
20490 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20491 See \`config.log' for more details." >&5
20492 echo "$as_me: error: cannot compute sizeof (short)
20493 See \`config.log' for more details." >&2;}
20494 { (exit 77); exit 77; }; }
20495 else
20496 ac_cv_sizeof_short=0
20497 fi
20498 fi
20499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20500 fi
20501 rm -f conftest.val
20502 fi
20503 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20504 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20505
20506
20507
20508 cat >>confdefs.h <<_ACEOF
20509 #define SIZEOF_SHORT $ac_cv_sizeof_short
20510 _ACEOF
20511
20512
20513 { echo "$as_me:$LINENO: checking for void *" >&5
20514 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20515 if test "${ac_cv_type_void_p+set}" = set; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20517 else
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h. */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20525 typedef void * ac__type_new_;
20526 int
20527 main ()
20528 {
20529 if ((ac__type_new_ *) 0)
20530 return 0;
20531 if (sizeof (ac__type_new_))
20532 return 0;
20533 ;
20534 return 0;
20535 }
20536 _ACEOF
20537 rm -f conftest.$ac_objext
20538 if { (ac_try="$ac_compile"
20539 case "(($ac_try" in
20540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20542 esac
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_compile") 2>conftest.er1
20545 ac_status=$?
20546 grep -v '^ *+' conftest.er1 >conftest.err
20547 rm -f conftest.er1
20548 cat conftest.err >&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_c_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest.$ac_objext; then
20554 ac_cv_type_void_p=yes
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20558
20559 ac_cv_type_void_p=no
20560 fi
20561
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 fi
20564 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20565 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20566
20567 # The cast to long int works around a bug in the HP C Compiler
20568 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20569 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20570 # This bug is HP SR number 8606223364.
20571 { echo "$as_me:$LINENO: checking size of void *" >&5
20572 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20573 if test "${ac_cv_sizeof_void_p+set}" = set; then
20574 echo $ECHO_N "(cached) $ECHO_C" >&6
20575 else
20576 if test "$cross_compiling" = yes; then
20577 # Depending upon the size, compute the lo and hi bounds.
20578 cat >conftest.$ac_ext <<_ACEOF
20579 /* confdefs.h. */
20580 _ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef void * ac__type_sizeof_;
20586 int
20587 main ()
20588 {
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20590 test_array [0] = 0
20591
20592 ;
20593 return 0;
20594 }
20595 _ACEOF
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20601 esac
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20604 ac_status=$?
20605 grep -v '^ *+' conftest.er1 >conftest.err
20606 rm -f conftest.er1
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.$ac_objext; then
20613 ac_lo=0 ac_mid=0
20614 while :; do
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20622 typedef void * ac__type_sizeof_;
20623 int
20624 main ()
20625 {
20626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20627 test_array [0] = 0
20628
20629 ;
20630 return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest.$ac_objext
20634 if { (ac_try="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20638 esac
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20641 ac_status=$?
20642 grep -v '^ *+' conftest.er1 >conftest.err
20643 rm -f conftest.er1
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.$ac_objext; then
20650 ac_hi=$ac_mid; break
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 ac_lo=`expr $ac_mid + 1`
20656 if test $ac_lo -le $ac_mid; then
20657 ac_lo= ac_hi=
20658 break
20659 fi
20660 ac_mid=`expr 2 '*' $ac_mid + 1`
20661 fi
20662
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 done
20665 else
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20668
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef void * ac__type_sizeof_;
20677 int
20678 main ()
20679 {
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20681 test_array [0] = 0
20682
20683 ;
20684 return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20692 esac
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20695 ac_status=$?
20696 grep -v '^ *+' conftest.er1 >conftest.err
20697 rm -f conftest.er1
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20704 ac_hi=-1 ac_mid=-1
20705 while :; do
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef void * ac__type_sizeof_;
20714 int
20715 main ()
20716 {
20717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20718 test_array [0] = 0
20719
20720 ;
20721 return 0;
20722 }
20723 _ACEOF
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20729 esac
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20732 ac_status=$?
20733 grep -v '^ *+' conftest.er1 >conftest.err
20734 rm -f conftest.er1
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 ac_lo=$ac_mid; break
20742 else
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20745
20746 ac_hi=`expr '(' $ac_mid ')' - 1`
20747 if test $ac_mid -le $ac_hi; then
20748 ac_lo= ac_hi=
20749 break
20750 fi
20751 ac_mid=`expr 2 '*' $ac_mid`
20752 fi
20753
20754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20755 done
20756 else
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20759
20760 ac_lo= ac_hi=
20761 fi
20762
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 fi
20765
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767 # Binary search between lo and hi bounds.
20768 while test "x$ac_lo" != "x$ac_hi"; do
20769 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20770 cat >conftest.$ac_ext <<_ACEOF
20771 /* confdefs.h. */
20772 _ACEOF
20773 cat confdefs.h >>conftest.$ac_ext
20774 cat >>conftest.$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776 $ac_includes_default
20777 typedef void * ac__type_sizeof_;
20778 int
20779 main ()
20780 {
20781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20782 test_array [0] = 0
20783
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext
20789 if { (ac_try="$ac_compile"
20790 case "(($ac_try" in
20791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20792 *) ac_try_echo=$ac_try;;
20793 esac
20794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20795 (eval "$ac_compile") 2>conftest.er1
20796 ac_status=$?
20797 grep -v '^ *+' conftest.er1 >conftest.err
20798 rm -f conftest.er1
20799 cat conftest.err >&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } && {
20802 test -z "$ac_c_werror_flag" ||
20803 test ! -s conftest.err
20804 } && test -s conftest.$ac_objext; then
20805 ac_hi=$ac_mid
20806 else
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20809
20810 ac_lo=`expr '(' $ac_mid ')' + 1`
20811 fi
20812
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 done
20815 case $ac_lo in
20816 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20817 '') if test "$ac_cv_type_void_p" = yes; then
20818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20819 See \`config.log' for more details." >&5
20820 echo "$as_me: error: cannot compute sizeof (void *)
20821 See \`config.log' for more details." >&2;}
20822 { (exit 77); exit 77; }; }
20823 else
20824 ac_cv_sizeof_void_p=0
20825 fi ;;
20826 esac
20827 else
20828 cat >conftest.$ac_ext <<_ACEOF
20829 /* confdefs.h. */
20830 _ACEOF
20831 cat confdefs.h >>conftest.$ac_ext
20832 cat >>conftest.$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20834 $ac_includes_default
20835 typedef void * ac__type_sizeof_;
20836 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20837 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20838 #include <stdio.h>
20839 #include <stdlib.h>
20840 int
20841 main ()
20842 {
20843
20844 FILE *f = fopen ("conftest.val", "w");
20845 if (! f)
20846 return 1;
20847 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20848 {
20849 long int i = longval ();
20850 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20851 return 1;
20852 fprintf (f, "%ld\n", i);
20853 }
20854 else
20855 {
20856 unsigned long int i = ulongval ();
20857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20858 return 1;
20859 fprintf (f, "%lu\n", i);
20860 }
20861 return ferror (f) || fclose (f) != 0;
20862
20863 ;
20864 return 0;
20865 }
20866 _ACEOF
20867 rm -f conftest$ac_exeext
20868 if { (ac_try="$ac_link"
20869 case "(($ac_try" in
20870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20872 esac
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_link") 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20878 { (case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20881 esac
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_try") 2>&5
20884 ac_status=$?
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; }; then
20887 ac_cv_sizeof_void_p=`cat conftest.val`
20888 else
20889 echo "$as_me: program exited with status $ac_status" >&5
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20892
20893 ( exit $ac_status )
20894 if test "$ac_cv_type_void_p" = yes; then
20895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20896 See \`config.log' for more details." >&5
20897 echo "$as_me: error: cannot compute sizeof (void *)
20898 See \`config.log' for more details." >&2;}
20899 { (exit 77); exit 77; }; }
20900 else
20901 ac_cv_sizeof_void_p=0
20902 fi
20903 fi
20904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20905 fi
20906 rm -f conftest.val
20907 fi
20908 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20909 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20910
20911
20912
20913 cat >>confdefs.h <<_ACEOF
20914 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20915 _ACEOF
20916
20917
20918 { echo "$as_me:$LINENO: checking for int" >&5
20919 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20920 if test "${ac_cv_type_int+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 else
20923 cat >conftest.$ac_ext <<_ACEOF
20924 /* confdefs.h. */
20925 _ACEOF
20926 cat confdefs.h >>conftest.$ac_ext
20927 cat >>conftest.$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 $ac_includes_default
20930 typedef int ac__type_new_;
20931 int
20932 main ()
20933 {
20934 if ((ac__type_new_ *) 0)
20935 return 0;
20936 if (sizeof (ac__type_new_))
20937 return 0;
20938 ;
20939 return 0;
20940 }
20941 _ACEOF
20942 rm -f conftest.$ac_objext
20943 if { (ac_try="$ac_compile"
20944 case "(($ac_try" in
20945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20946 *) ac_try_echo=$ac_try;;
20947 esac
20948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20949 (eval "$ac_compile") 2>conftest.er1
20950 ac_status=$?
20951 grep -v '^ *+' conftest.er1 >conftest.err
20952 rm -f conftest.er1
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } && {
20956 test -z "$ac_c_werror_flag" ||
20957 test ! -s conftest.err
20958 } && test -s conftest.$ac_objext; then
20959 ac_cv_type_int=yes
20960 else
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20963
20964 ac_cv_type_int=no
20965 fi
20966
20967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20968 fi
20969 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20970 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20971
20972 # The cast to long int works around a bug in the HP C Compiler
20973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20975 # This bug is HP SR number 8606223364.
20976 { echo "$as_me:$LINENO: checking size of int" >&5
20977 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20978 if test "${ac_cv_sizeof_int+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981 if test "$cross_compiling" = yes; then
20982 # Depending upon the size, compute the lo and hi bounds.
20983 cat >conftest.$ac_ext <<_ACEOF
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef int ac__type_sizeof_;
20991 int
20992 main ()
20993 {
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20995 test_array [0] = 0
20996
20997 ;
20998 return 0;
20999 }
21000 _ACEOF
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21006 esac
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21009 ac_status=$?
21010 grep -v '^ *+' conftest.er1 >conftest.err
21011 rm -f conftest.er1
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.$ac_objext; then
21018 ac_lo=0 ac_mid=0
21019 while :; do
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h. */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 typedef int ac__type_sizeof_;
21028 int
21029 main ()
21030 {
21031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21032 test_array [0] = 0
21033
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest.$ac_objext
21039 if { (ac_try="$ac_compile"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21042 *) ac_try_echo=$ac_try;;
21043 esac
21044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_compile") 2>conftest.er1
21046 ac_status=$?
21047 grep -v '^ *+' conftest.er1 >conftest.err
21048 rm -f conftest.er1
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } && {
21052 test -z "$ac_c_werror_flag" ||
21053 test ! -s conftest.err
21054 } && test -s conftest.$ac_objext; then
21055 ac_hi=$ac_mid; break
21056 else
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21059
21060 ac_lo=`expr $ac_mid + 1`
21061 if test $ac_lo -le $ac_mid; then
21062 ac_lo= ac_hi=
21063 break
21064 fi
21065 ac_mid=`expr 2 '*' $ac_mid + 1`
21066 fi
21067
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 done
21070 else
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21073
21074 cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h. */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef int ac__type_sizeof_;
21082 int
21083 main ()
21084 {
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21086 test_array [0] = 0
21087
21088 ;
21089 return 0;
21090 }
21091 _ACEOF
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21097 esac
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21100 ac_status=$?
21101 grep -v '^ *+' conftest.er1 >conftest.err
21102 rm -f conftest.er1
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.$ac_objext; then
21109 ac_hi=-1 ac_mid=-1
21110 while :; do
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef int ac__type_sizeof_;
21119 int
21120 main ()
21121 {
21122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21123 test_array [0] = 0
21124
21125 ;
21126 return 0;
21127 }
21128 _ACEOF
21129 rm -f conftest.$ac_objext
21130 if { (ac_try="$ac_compile"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21133 *) ac_try_echo=$ac_try;;
21134 esac
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_compile") 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } && {
21143 test -z "$ac_c_werror_flag" ||
21144 test ! -s conftest.err
21145 } && test -s conftest.$ac_objext; then
21146 ac_lo=$ac_mid; break
21147 else
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5
21150
21151 ac_hi=`expr '(' $ac_mid ')' - 1`
21152 if test $ac_mid -le $ac_hi; then
21153 ac_lo= ac_hi=
21154 break
21155 fi
21156 ac_mid=`expr 2 '*' $ac_mid`
21157 fi
21158
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21160 done
21161 else
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21164
21165 ac_lo= ac_hi=
21166 fi
21167
21168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21169 fi
21170
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 # Binary search between lo and hi bounds.
21173 while test "x$ac_lo" != "x$ac_hi"; do
21174 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21175 cat >conftest.$ac_ext <<_ACEOF
21176 /* confdefs.h. */
21177 _ACEOF
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 $ac_includes_default
21182 typedef int ac__type_sizeof_;
21183 int
21184 main ()
21185 {
21186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21187 test_array [0] = 0
21188
21189 ;
21190 return 0;
21191 }
21192 _ACEOF
21193 rm -f conftest.$ac_objext
21194 if { (ac_try="$ac_compile"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21198 esac
21199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_compile") 2>conftest.er1
21201 ac_status=$?
21202 grep -v '^ *+' conftest.er1 >conftest.err
21203 rm -f conftest.er1
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } && {
21207 test -z "$ac_c_werror_flag" ||
21208 test ! -s conftest.err
21209 } && test -s conftest.$ac_objext; then
21210 ac_hi=$ac_mid
21211 else
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21214
21215 ac_lo=`expr '(' $ac_mid ')' + 1`
21216 fi
21217
21218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21219 done
21220 case $ac_lo in
21221 ?*) ac_cv_sizeof_int=$ac_lo;;
21222 '') if test "$ac_cv_type_int" = yes; then
21223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21224 See \`config.log' for more details." >&5
21225 echo "$as_me: error: cannot compute sizeof (int)
21226 See \`config.log' for more details." >&2;}
21227 { (exit 77); exit 77; }; }
21228 else
21229 ac_cv_sizeof_int=0
21230 fi ;;
21231 esac
21232 else
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef int ac__type_sizeof_;
21241 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21242 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21243 #include <stdio.h>
21244 #include <stdlib.h>
21245 int
21246 main ()
21247 {
21248
21249 FILE *f = fopen ("conftest.val", "w");
21250 if (! f)
21251 return 1;
21252 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21253 {
21254 long int i = longval ();
21255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21256 return 1;
21257 fprintf (f, "%ld\n", i);
21258 }
21259 else
21260 {
21261 unsigned long int i = ulongval ();
21262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21263 return 1;
21264 fprintf (f, "%lu\n", i);
21265 }
21266 return ferror (f) || fclose (f) != 0;
21267
21268 ;
21269 return 0;
21270 }
21271 _ACEOF
21272 rm -f conftest$ac_exeext
21273 if { (ac_try="$ac_link"
21274 case "(($ac_try" in
21275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21276 *) ac_try_echo=$ac_try;;
21277 esac
21278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21279 (eval "$ac_link") 2>&5
21280 ac_status=$?
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21283 { (case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21286 esac
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_try") 2>&5
21289 ac_status=$?
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21292 ac_cv_sizeof_int=`cat conftest.val`
21293 else
21294 echo "$as_me: program exited with status $ac_status" >&5
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21297
21298 ( exit $ac_status )
21299 if test "$ac_cv_type_int" = yes; then
21300 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21301 See \`config.log' for more details." >&5
21302 echo "$as_me: error: cannot compute sizeof (int)
21303 See \`config.log' for more details." >&2;}
21304 { (exit 77); exit 77; }; }
21305 else
21306 ac_cv_sizeof_int=0
21307 fi
21308 fi
21309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21310 fi
21311 rm -f conftest.val
21312 fi
21313 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21314 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21315
21316
21317
21318 cat >>confdefs.h <<_ACEOF
21319 #define SIZEOF_INT $ac_cv_sizeof_int
21320 _ACEOF
21321
21322
21323 { echo "$as_me:$LINENO: checking for long" >&5
21324 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21325 if test "${ac_cv_type_long+set}" = set; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328 cat >conftest.$ac_ext <<_ACEOF
21329 /* confdefs.h. */
21330 _ACEOF
21331 cat confdefs.h >>conftest.$ac_ext
21332 cat >>conftest.$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 $ac_includes_default
21335 typedef long ac__type_new_;
21336 int
21337 main ()
21338 {
21339 if ((ac__type_new_ *) 0)
21340 return 0;
21341 if (sizeof (ac__type_new_))
21342 return 0;
21343 ;
21344 return 0;
21345 }
21346 _ACEOF
21347 rm -f conftest.$ac_objext
21348 if { (ac_try="$ac_compile"
21349 case "(($ac_try" in
21350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21351 *) ac_try_echo=$ac_try;;
21352 esac
21353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21354 (eval "$ac_compile") 2>conftest.er1
21355 ac_status=$?
21356 grep -v '^ *+' conftest.er1 >conftest.err
21357 rm -f conftest.er1
21358 cat conftest.err >&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } && {
21361 test -z "$ac_c_werror_flag" ||
21362 test ! -s conftest.err
21363 } && test -s conftest.$ac_objext; then
21364 ac_cv_type_long=yes
21365 else
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21368
21369 ac_cv_type_long=no
21370 fi
21371
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 fi
21374 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21375 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21376
21377 # The cast to long int works around a bug in the HP C Compiler
21378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21379 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21380 # This bug is HP SR number 8606223364.
21381 { echo "$as_me:$LINENO: checking size of long" >&5
21382 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21383 if test "${ac_cv_sizeof_long+set}" = set; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 else
21386 if test "$cross_compiling" = yes; then
21387 # Depending upon the size, compute the lo and hi bounds.
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21395 typedef long ac__type_sizeof_;
21396 int
21397 main ()
21398 {
21399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21400 test_array [0] = 0
21401
21402 ;
21403 return 0;
21404 }
21405 _ACEOF
21406 rm -f conftest.$ac_objext
21407 if { (ac_try="$ac_compile"
21408 case "(($ac_try" in
21409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21410 *) ac_try_echo=$ac_try;;
21411 esac
21412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21413 (eval "$ac_compile") 2>conftest.er1
21414 ac_status=$?
21415 grep -v '^ *+' conftest.er1 >conftest.err
21416 rm -f conftest.er1
21417 cat conftest.err >&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } && {
21420 test -z "$ac_c_werror_flag" ||
21421 test ! -s conftest.err
21422 } && test -s conftest.$ac_objext; then
21423 ac_lo=0 ac_mid=0
21424 while :; do
21425 cat >conftest.$ac_ext <<_ACEOF
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 typedef long ac__type_sizeof_;
21433 int
21434 main ()
21435 {
21436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21437 test_array [0] = 0
21438
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21448 esac
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 ac_hi=$ac_mid; break
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_lo=`expr $ac_mid + 1`
21466 if test $ac_lo -le $ac_mid; then
21467 ac_lo= ac_hi=
21468 break
21469 fi
21470 ac_mid=`expr 2 '*' $ac_mid + 1`
21471 fi
21472
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21474 done
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h. */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef long ac__type_sizeof_;
21487 int
21488 main ()
21489 {
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21491 test_array [0] = 0
21492
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21514 ac_hi=-1 ac_mid=-1
21515 while :; do
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef long ac__type_sizeof_;
21524 int
21525 main ()
21526 {
21527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21528 test_array [0] = 0
21529
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21539 esac
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21542 ac_status=$?
21543 grep -v '^ *+' conftest.er1 >conftest.err
21544 rm -f conftest.er1
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 ac_lo=$ac_mid; break
21552 else
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21555
21556 ac_hi=`expr '(' $ac_mid ')' - 1`
21557 if test $ac_mid -le $ac_hi; then
21558 ac_lo= ac_hi=
21559 break
21560 fi
21561 ac_mid=`expr 2 '*' $ac_mid`
21562 fi
21563
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21565 done
21566 else
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21569
21570 ac_lo= ac_hi=
21571 fi
21572
21573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574 fi
21575
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 # Binary search between lo and hi bounds.
21578 while test "x$ac_lo" != "x$ac_hi"; do
21579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21580 cat >conftest.$ac_ext <<_ACEOF
21581 /* confdefs.h. */
21582 _ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 $ac_includes_default
21587 typedef long ac__type_sizeof_;
21588 int
21589 main ()
21590 {
21591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21592 test_array [0] = 0
21593
21594 ;
21595 return 0;
21596 }
21597 _ACEOF
21598 rm -f conftest.$ac_objext
21599 if { (ac_try="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21603 esac
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21606 ac_status=$?
21607 grep -v '^ *+' conftest.er1 >conftest.err
21608 rm -f conftest.er1
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_c_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21615 ac_hi=$ac_mid
21616 else
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21619
21620 ac_lo=`expr '(' $ac_mid ')' + 1`
21621 fi
21622
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 done
21625 case $ac_lo in
21626 ?*) ac_cv_sizeof_long=$ac_lo;;
21627 '') if test "$ac_cv_type_long" = yes; then
21628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21629 See \`config.log' for more details." >&5
21630 echo "$as_me: error: cannot compute sizeof (long)
21631 See \`config.log' for more details." >&2;}
21632 { (exit 77); exit 77; }; }
21633 else
21634 ac_cv_sizeof_long=0
21635 fi ;;
21636 esac
21637 else
21638 cat >conftest.$ac_ext <<_ACEOF
21639 /* confdefs.h. */
21640 _ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644 $ac_includes_default
21645 typedef long ac__type_sizeof_;
21646 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21647 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21648 #include <stdio.h>
21649 #include <stdlib.h>
21650 int
21651 main ()
21652 {
21653
21654 FILE *f = fopen ("conftest.val", "w");
21655 if (! f)
21656 return 1;
21657 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21658 {
21659 long int i = longval ();
21660 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21661 return 1;
21662 fprintf (f, "%ld\n", i);
21663 }
21664 else
21665 {
21666 unsigned long int i = ulongval ();
21667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21668 return 1;
21669 fprintf (f, "%lu\n", i);
21670 }
21671 return ferror (f) || fclose (f) != 0;
21672
21673 ;
21674 return 0;
21675 }
21676 _ACEOF
21677 rm -f conftest$ac_exeext
21678 if { (ac_try="$ac_link"
21679 case "(($ac_try" in
21680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21681 *) ac_try_echo=$ac_try;;
21682 esac
21683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21684 (eval "$ac_link") 2>&5
21685 ac_status=$?
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21688 { (case "(($ac_try" in
21689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21690 *) ac_try_echo=$ac_try;;
21691 esac
21692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21693 (eval "$ac_try") 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 ac_cv_sizeof_long=`cat conftest.val`
21698 else
21699 echo "$as_me: program exited with status $ac_status" >&5
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21702
21703 ( exit $ac_status )
21704 if test "$ac_cv_type_long" = yes; then
21705 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21706 See \`config.log' for more details." >&5
21707 echo "$as_me: error: cannot compute sizeof (long)
21708 See \`config.log' for more details." >&2;}
21709 { (exit 77); exit 77; }; }
21710 else
21711 ac_cv_sizeof_long=0
21712 fi
21713 fi
21714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21715 fi
21716 rm -f conftest.val
21717 fi
21718 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21719 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21720
21721
21722
21723 cat >>confdefs.h <<_ACEOF
21724 #define SIZEOF_LONG $ac_cv_sizeof_long
21725 _ACEOF
21726
21727
21728 { echo "$as_me:$LINENO: checking for size_t" >&5
21729 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21730 if test "${ac_cv_type_size_t+set}" = set; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 else
21733 cat >conftest.$ac_ext <<_ACEOF
21734 /* confdefs.h. */
21735 _ACEOF
21736 cat confdefs.h >>conftest.$ac_ext
21737 cat >>conftest.$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21739 $ac_includes_default
21740 typedef size_t ac__type_new_;
21741 int
21742 main ()
21743 {
21744 if ((ac__type_new_ *) 0)
21745 return 0;
21746 if (sizeof (ac__type_new_))
21747 return 0;
21748 ;
21749 return 0;
21750 }
21751 _ACEOF
21752 rm -f conftest.$ac_objext
21753 if { (ac_try="$ac_compile"
21754 case "(($ac_try" in
21755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21756 *) ac_try_echo=$ac_try;;
21757 esac
21758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21759 (eval "$ac_compile") 2>conftest.er1
21760 ac_status=$?
21761 grep -v '^ *+' conftest.er1 >conftest.err
21762 rm -f conftest.er1
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } && {
21766 test -z "$ac_c_werror_flag" ||
21767 test ! -s conftest.err
21768 } && test -s conftest.$ac_objext; then
21769 ac_cv_type_size_t=yes
21770 else
21771 echo "$as_me: failed program was:" >&5
21772 sed 's/^/| /' conftest.$ac_ext >&5
21773
21774 ac_cv_type_size_t=no
21775 fi
21776
21777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21778 fi
21779 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21780 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21781
21782 # The cast to long int works around a bug in the HP C Compiler
21783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21785 # This bug is HP SR number 8606223364.
21786 { echo "$as_me:$LINENO: checking size of size_t" >&5
21787 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21788 if test "${ac_cv_sizeof_size_t+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21790 else
21791 if test "$cross_compiling" = yes; then
21792 # Depending upon the size, compute the lo and hi bounds.
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 $ac_includes_default
21800 typedef size_t ac__type_sizeof_;
21801 int
21802 main ()
21803 {
21804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21805 test_array [0] = 0
21806
21807 ;
21808 return 0;
21809 }
21810 _ACEOF
21811 rm -f conftest.$ac_objext
21812 if { (ac_try="$ac_compile"
21813 case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21816 esac
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_compile") 2>conftest.er1
21819 ac_status=$?
21820 grep -v '^ *+' conftest.er1 >conftest.err
21821 rm -f conftest.er1
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && {
21825 test -z "$ac_c_werror_flag" ||
21826 test ! -s conftest.err
21827 } && test -s conftest.$ac_objext; then
21828 ac_lo=0 ac_mid=0
21829 while :; do
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef size_t ac__type_sizeof_;
21838 int
21839 main ()
21840 {
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21842 test_array [0] = 0
21843
21844 ;
21845 return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21853 esac
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21856 ac_status=$?
21857 grep -v '^ *+' conftest.er1 >conftest.err
21858 rm -f conftest.er1
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_hi=$ac_mid; break
21866 else
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 ac_lo=`expr $ac_mid + 1`
21871 if test $ac_lo -le $ac_mid; then
21872 ac_lo= ac_hi=
21873 break
21874 fi
21875 ac_mid=`expr 2 '*' $ac_mid + 1`
21876 fi
21877
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879 done
21880 else
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21883
21884 cat >conftest.$ac_ext <<_ACEOF
21885 /* confdefs.h. */
21886 _ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef size_t ac__type_sizeof_;
21892 int
21893 main ()
21894 {
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21896 test_array [0] = 0
21897
21898 ;
21899 return 0;
21900 }
21901 _ACEOF
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21907 esac
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21919 ac_hi=-1 ac_mid=-1
21920 while :; do
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef size_t ac__type_sizeof_;
21929 int
21930 main ()
21931 {
21932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21933 test_array [0] = 0
21934
21935 ;
21936 return 0;
21937 }
21938 _ACEOF
21939 rm -f conftest.$ac_objext
21940 if { (ac_try="$ac_compile"
21941 case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21944 esac
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_compile") 2>conftest.er1
21947 ac_status=$?
21948 grep -v '^ *+' conftest.er1 >conftest.err
21949 rm -f conftest.er1
21950 cat conftest.err >&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } && {
21953 test -z "$ac_c_werror_flag" ||
21954 test ! -s conftest.err
21955 } && test -s conftest.$ac_objext; then
21956 ac_lo=$ac_mid; break
21957 else
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21960
21961 ac_hi=`expr '(' $ac_mid ')' - 1`
21962 if test $ac_mid -le $ac_hi; then
21963 ac_lo= ac_hi=
21964 break
21965 fi
21966 ac_mid=`expr 2 '*' $ac_mid`
21967 fi
21968
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 done
21971 else
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21974
21975 ac_lo= ac_hi=
21976 fi
21977
21978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21979 fi
21980
21981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21982 # Binary search between lo and hi bounds.
21983 while test "x$ac_lo" != "x$ac_hi"; do
21984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef size_t ac__type_sizeof_;
21993 int
21994 main ()
21995 {
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21997 test_array [0] = 0
21998
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22011 ac_status=$?
22012 grep -v '^ *+' conftest.er1 >conftest.err
22013 rm -f conftest.er1
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22020 ac_hi=$ac_mid
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_lo=`expr '(' $ac_mid ')' + 1`
22026 fi
22027
22028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22029 done
22030 case $ac_lo in
22031 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22032 '') if test "$ac_cv_type_size_t" = yes; then
22033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22034 See \`config.log' for more details." >&5
22035 echo "$as_me: error: cannot compute sizeof (size_t)
22036 See \`config.log' for more details." >&2;}
22037 { (exit 77); exit 77; }; }
22038 else
22039 ac_cv_sizeof_size_t=0
22040 fi ;;
22041 esac
22042 else
22043 cat >conftest.$ac_ext <<_ACEOF
22044 /* confdefs.h. */
22045 _ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 $ac_includes_default
22050 typedef size_t ac__type_sizeof_;
22051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22053 #include <stdio.h>
22054 #include <stdlib.h>
22055 int
22056 main ()
22057 {
22058
22059 FILE *f = fopen ("conftest.val", "w");
22060 if (! f)
22061 return 1;
22062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22063 {
22064 long int i = longval ();
22065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22066 return 1;
22067 fprintf (f, "%ld\n", i);
22068 }
22069 else
22070 {
22071 unsigned long int i = ulongval ();
22072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22073 return 1;
22074 fprintf (f, "%lu\n", i);
22075 }
22076 return ferror (f) || fclose (f) != 0;
22077
22078 ;
22079 return 0;
22080 }
22081 _ACEOF
22082 rm -f conftest$ac_exeext
22083 if { (ac_try="$ac_link"
22084 case "(($ac_try" in
22085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22086 *) ac_try_echo=$ac_try;;
22087 esac
22088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22089 (eval "$ac_link") 2>&5
22090 ac_status=$?
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22093 { (case "(($ac_try" in
22094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22095 *) ac_try_echo=$ac_try;;
22096 esac
22097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22098 (eval "$ac_try") 2>&5
22099 ac_status=$?
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; }; then
22102 ac_cv_sizeof_size_t=`cat conftest.val`
22103 else
22104 echo "$as_me: program exited with status $ac_status" >&5
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.$ac_ext >&5
22107
22108 ( exit $ac_status )
22109 if test "$ac_cv_type_size_t" = yes; then
22110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22111 See \`config.log' for more details." >&5
22112 echo "$as_me: error: cannot compute sizeof (size_t)
22113 See \`config.log' for more details." >&2;}
22114 { (exit 77); exit 77; }; }
22115 else
22116 ac_cv_sizeof_size_t=0
22117 fi
22118 fi
22119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22120 fi
22121 rm -f conftest.val
22122 fi
22123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22124 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22125
22126
22127
22128 cat >>confdefs.h <<_ACEOF
22129 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22130 _ACEOF
22131
22132
22133
22134 case "${host}" in
22135 arm-*-linux* )
22136 { echo "$as_me:$LINENO: checking for long long" >&5
22137 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22138 if test "${ac_cv_type_long_long+set}" = set; then
22139 echo $ECHO_N "(cached) $ECHO_C" >&6
22140 else
22141 cat >conftest.$ac_ext <<_ACEOF
22142 /* confdefs.h. */
22143 _ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_new_;
22149 int
22150 main ()
22151 {
22152 if ((ac__type_new_ *) 0)
22153 return 0;
22154 if (sizeof (ac__type_new_))
22155 return 0;
22156 ;
22157 return 0;
22158 }
22159 _ACEOF
22160 rm -f conftest.$ac_objext
22161 if { (ac_try="$ac_compile"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22165 esac
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_compile") 2>conftest.er1
22168 ac_status=$?
22169 grep -v '^ *+' conftest.er1 >conftest.err
22170 rm -f conftest.er1
22171 cat conftest.err >&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } && {
22174 test -z "$ac_c_werror_flag" ||
22175 test ! -s conftest.err
22176 } && test -s conftest.$ac_objext; then
22177 ac_cv_type_long_long=yes
22178 else
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22181
22182 ac_cv_type_long_long=no
22183 fi
22184
22185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22186 fi
22187 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22188 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22189
22190 # The cast to long int works around a bug in the HP C Compiler
22191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22193 # This bug is HP SR number 8606223364.
22194 { echo "$as_me:$LINENO: checking size of long long" >&5
22195 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22196 if test "${ac_cv_sizeof_long_long+set}" = set; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22198 else
22199 if test "$cross_compiling" = yes; then
22200 # Depending upon the size, compute the lo and hi bounds.
22201 cat >conftest.$ac_ext <<_ACEOF
22202 /* confdefs.h. */
22203 _ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 $ac_includes_default
22208 typedef long long ac__type_sizeof_;
22209 int
22210 main ()
22211 {
22212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22213 test_array [0] = 0
22214
22215 ;
22216 return 0;
22217 }
22218 _ACEOF
22219 rm -f conftest.$ac_objext
22220 if { (ac_try="$ac_compile"
22221 case "(($ac_try" in
22222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22223 *) ac_try_echo=$ac_try;;
22224 esac
22225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22226 (eval "$ac_compile") 2>conftest.er1
22227 ac_status=$?
22228 grep -v '^ *+' conftest.er1 >conftest.err
22229 rm -f conftest.er1
22230 cat conftest.err >&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && {
22233 test -z "$ac_c_werror_flag" ||
22234 test ! -s conftest.err
22235 } && test -s conftest.$ac_objext; then
22236 ac_lo=0 ac_mid=0
22237 while :; do
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 $ac_includes_default
22245 typedef long long ac__type_sizeof_;
22246 int
22247 main ()
22248 {
22249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22250 test_array [0] = 0
22251
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 ac_hi=$ac_mid; break
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 ac_lo=`expr $ac_mid + 1`
22279 if test $ac_lo -le $ac_mid; then
22280 ac_lo= ac_hi=
22281 break
22282 fi
22283 ac_mid=`expr 2 '*' $ac_mid + 1`
22284 fi
22285
22286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22287 done
22288 else
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22291
22292 cat >conftest.$ac_ext <<_ACEOF
22293 /* confdefs.h. */
22294 _ACEOF
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 $ac_includes_default
22299 typedef long long ac__type_sizeof_;
22300 int
22301 main ()
22302 {
22303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22304 test_array [0] = 0
22305
22306 ;
22307 return 0;
22308 }
22309 _ACEOF
22310 rm -f conftest.$ac_objext
22311 if { (ac_try="$ac_compile"
22312 case "(($ac_try" in
22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22315 esac
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_compile") 2>conftest.er1
22318 ac_status=$?
22319 grep -v '^ *+' conftest.er1 >conftest.err
22320 rm -f conftest.er1
22321 cat conftest.err >&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); } && {
22324 test -z "$ac_c_werror_flag" ||
22325 test ! -s conftest.err
22326 } && test -s conftest.$ac_objext; then
22327 ac_hi=-1 ac_mid=-1
22328 while :; do
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 $ac_includes_default
22336 typedef long long ac__type_sizeof_;
22337 int
22338 main ()
22339 {
22340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22341 test_array [0] = 0
22342
22343 ;
22344 return 0;
22345 }
22346 _ACEOF
22347 rm -f conftest.$ac_objext
22348 if { (ac_try="$ac_compile"
22349 case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22352 esac
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_compile") 2>conftest.er1
22355 ac_status=$?
22356 grep -v '^ *+' conftest.er1 >conftest.err
22357 rm -f conftest.er1
22358 cat conftest.err >&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && {
22361 test -z "$ac_c_werror_flag" ||
22362 test ! -s conftest.err
22363 } && test -s conftest.$ac_objext; then
22364 ac_lo=$ac_mid; break
22365 else
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22368
22369 ac_hi=`expr '(' $ac_mid ')' - 1`
22370 if test $ac_mid -le $ac_hi; then
22371 ac_lo= ac_hi=
22372 break
22373 fi
22374 ac_mid=`expr 2 '*' $ac_mid`
22375 fi
22376
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 done
22379 else
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22382
22383 ac_lo= ac_hi=
22384 fi
22385
22386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22387 fi
22388
22389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22390 # Binary search between lo and hi bounds.
22391 while test "x$ac_lo" != "x$ac_hi"; do
22392 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22393 cat >conftest.$ac_ext <<_ACEOF
22394 /* confdefs.h. */
22395 _ACEOF
22396 cat confdefs.h >>conftest.$ac_ext
22397 cat >>conftest.$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 $ac_includes_default
22400 typedef long long ac__type_sizeof_;
22401 int
22402 main ()
22403 {
22404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22405 test_array [0] = 0
22406
22407 ;
22408 return 0;
22409 }
22410 _ACEOF
22411 rm -f conftest.$ac_objext
22412 if { (ac_try="$ac_compile"
22413 case "(($ac_try" in
22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22416 esac
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_compile") 2>conftest.er1
22419 ac_status=$?
22420 grep -v '^ *+' conftest.er1 >conftest.err
22421 rm -f conftest.er1
22422 cat conftest.err >&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); } && {
22425 test -z "$ac_c_werror_flag" ||
22426 test ! -s conftest.err
22427 } && test -s conftest.$ac_objext; then
22428 ac_hi=$ac_mid
22429 else
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 ac_lo=`expr '(' $ac_mid ')' + 1`
22434 fi
22435
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 done
22438 case $ac_lo in
22439 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22440 '') if test "$ac_cv_type_long_long" = yes; then
22441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22442 See \`config.log' for more details." >&5
22443 echo "$as_me: error: cannot compute sizeof (long long)
22444 See \`config.log' for more details." >&2;}
22445 { (exit 77); exit 77; }; }
22446 else
22447 ac_cv_sizeof_long_long=0
22448 fi ;;
22449 esac
22450 else
22451 cat >conftest.$ac_ext <<_ACEOF
22452 /* confdefs.h. */
22453 _ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef long long ac__type_sizeof_;
22459 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22460 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22461 #include <stdio.h>
22462 #include <stdlib.h>
22463 int
22464 main ()
22465 {
22466
22467 FILE *f = fopen ("conftest.val", "w");
22468 if (! f)
22469 return 1;
22470 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22471 {
22472 long int i = longval ();
22473 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22474 return 1;
22475 fprintf (f, "%ld\n", i);
22476 }
22477 else
22478 {
22479 unsigned long int i = ulongval ();
22480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22481 return 1;
22482 fprintf (f, "%lu\n", i);
22483 }
22484 return ferror (f) || fclose (f) != 0;
22485
22486 ;
22487 return 0;
22488 }
22489 _ACEOF
22490 rm -f conftest$ac_exeext
22491 if { (ac_try="$ac_link"
22492 case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22495 esac
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_link") 2>&5
22498 ac_status=$?
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22501 { (case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_try") 2>&5
22507 ac_status=$?
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; }; then
22510 ac_cv_sizeof_long_long=`cat conftest.val`
22511 else
22512 echo "$as_me: program exited with status $ac_status" >&5
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22515
22516 ( exit $ac_status )
22517 if test "$ac_cv_type_long_long" = yes; then
22518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22519 See \`config.log' for more details." >&5
22520 echo "$as_me: error: cannot compute sizeof (long long)
22521 See \`config.log' for more details." >&2;}
22522 { (exit 77); exit 77; }; }
22523 else
22524 ac_cv_sizeof_long_long=0
22525 fi
22526 fi
22527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22528 fi
22529 rm -f conftest.val
22530 fi
22531 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22532 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22533
22534
22535
22536 cat >>confdefs.h <<_ACEOF
22537 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22538 _ACEOF
22539
22540
22541 ;;
22542 *-hp-hpux* )
22543 { echo "$as_me:$LINENO: checking for long long" >&5
22544 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22545 if test "${ac_cv_type_long_long+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 else
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 $ac_includes_default
22555 typedef long long ac__type_new_;
22556 int
22557 main ()
22558 {
22559 if ((ac__type_new_ *) 0)
22560 return 0;
22561 if (sizeof (ac__type_new_))
22562 return 0;
22563 ;
22564 return 0;
22565 }
22566 _ACEOF
22567 rm -f conftest.$ac_objext
22568 if { (ac_try="$ac_compile"
22569 case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22572 esac
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_compile") 2>conftest.er1
22575 ac_status=$?
22576 grep -v '^ *+' conftest.er1 >conftest.err
22577 rm -f conftest.er1
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } && {
22581 test -z "$ac_c_werror_flag" ||
22582 test ! -s conftest.err
22583 } && test -s conftest.$ac_objext; then
22584 ac_cv_type_long_long=yes
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 ac_cv_type_long_long=no
22590 fi
22591
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593 fi
22594 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22595 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22596
22597 # The cast to long int works around a bug in the HP C Compiler
22598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22600 # This bug is HP SR number 8606223364.
22601 { echo "$as_me:$LINENO: checking size of long long" >&5
22602 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22603 if test "${ac_cv_sizeof_long_long+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22605 else
22606 if test "$cross_compiling" = yes; then
22607 # Depending upon the size, compute the lo and hi bounds.
22608 cat >conftest.$ac_ext <<_ACEOF
22609 /* confdefs.h. */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 $ac_includes_default
22615 typedef long long ac__type_sizeof_;
22616 int
22617 main ()
22618 {
22619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22620 test_array [0] = 0
22621
22622 ;
22623 return 0;
22624 }
22625 _ACEOF
22626 rm -f conftest.$ac_objext
22627 if { (ac_try="$ac_compile"
22628 case "(($ac_try" in
22629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22630 *) ac_try_echo=$ac_try;;
22631 esac
22632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22633 (eval "$ac_compile") 2>conftest.er1
22634 ac_status=$?
22635 grep -v '^ *+' conftest.er1 >conftest.err
22636 rm -f conftest.er1
22637 cat conftest.err >&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && {
22640 test -z "$ac_c_werror_flag" ||
22641 test ! -s conftest.err
22642 } && test -s conftest.$ac_objext; then
22643 ac_lo=0 ac_mid=0
22644 while :; do
22645 cat >conftest.$ac_ext <<_ACEOF
22646 /* confdefs.h. */
22647 _ACEOF
22648 cat confdefs.h >>conftest.$ac_ext
22649 cat >>conftest.$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22653 int
22654 main ()
22655 {
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22657 test_array [0] = 0
22658
22659 ;
22660 return 0;
22661 }
22662 _ACEOF
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22667 *) ac_try_echo=$ac_try;;
22668 esac
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22671 ac_status=$?
22672 grep -v '^ *+' conftest.er1 >conftest.err
22673 rm -f conftest.er1
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.$ac_objext; then
22680 ac_hi=$ac_mid; break
22681 else
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22684
22685 ac_lo=`expr $ac_mid + 1`
22686 if test $ac_lo -le $ac_mid; then
22687 ac_lo= ac_hi=
22688 break
22689 fi
22690 ac_mid=`expr 2 '*' $ac_mid + 1`
22691 fi
22692
22693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22694 done
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22698
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef long long ac__type_sizeof_;
22707 int
22708 main ()
22709 {
22710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22711 test_array [0] = 0
22712
22713 ;
22714 return 0;
22715 }
22716 _ACEOF
22717 rm -f conftest.$ac_objext
22718 if { (ac_try="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22722 esac
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22725 ac_status=$?
22726 grep -v '^ *+' conftest.er1 >conftest.err
22727 rm -f conftest.er1
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && {
22731 test -z "$ac_c_werror_flag" ||
22732 test ! -s conftest.err
22733 } && test -s conftest.$ac_objext; then
22734 ac_hi=-1 ac_mid=-1
22735 while :; do
22736 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 $ac_includes_default
22743 typedef long long ac__type_sizeof_;
22744 int
22745 main ()
22746 {
22747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22748 test_array [0] = 0
22749
22750 ;
22751 return 0;
22752 }
22753 _ACEOF
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22759 esac
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22762 ac_status=$?
22763 grep -v '^ *+' conftest.er1 >conftest.err
22764 rm -f conftest.er1
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.$ac_objext; then
22771 ac_lo=$ac_mid; break
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 ac_hi=`expr '(' $ac_mid ')' - 1`
22777 if test $ac_mid -le $ac_hi; then
22778 ac_lo= ac_hi=
22779 break
22780 fi
22781 ac_mid=`expr 2 '*' $ac_mid`
22782 fi
22783
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 done
22786 else
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.$ac_ext >&5
22789
22790 ac_lo= ac_hi=
22791 fi
22792
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 fi
22795
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 # Binary search between lo and hi bounds.
22798 while test "x$ac_lo" != "x$ac_hi"; do
22799 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22800 cat >conftest.$ac_ext <<_ACEOF
22801 /* confdefs.h. */
22802 _ACEOF
22803 cat confdefs.h >>conftest.$ac_ext
22804 cat >>conftest.$ac_ext <<_ACEOF
22805 /* end confdefs.h. */
22806 $ac_includes_default
22807 typedef long long ac__type_sizeof_;
22808 int
22809 main ()
22810 {
22811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22812 test_array [0] = 0
22813
22814 ;
22815 return 0;
22816 }
22817 _ACEOF
22818 rm -f conftest.$ac_objext
22819 if { (ac_try="$ac_compile"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22823 esac
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_compile") 2>conftest.er1
22826 ac_status=$?
22827 grep -v '^ *+' conftest.er1 >conftest.err
22828 rm -f conftest.er1
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_c_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest.$ac_objext; then
22835 ac_hi=$ac_mid
22836 else
22837 echo "$as_me: failed program was:" >&5
22838 sed 's/^/| /' conftest.$ac_ext >&5
22839
22840 ac_lo=`expr '(' $ac_mid ')' + 1`
22841 fi
22842
22843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22844 done
22845 case $ac_lo in
22846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22847 '') if test "$ac_cv_type_long_long" = yes; then
22848 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22849 See \`config.log' for more details." >&5
22850 echo "$as_me: error: cannot compute sizeof (long long)
22851 See \`config.log' for more details." >&2;}
22852 { (exit 77); exit 77; }; }
22853 else
22854 ac_cv_sizeof_long_long=0
22855 fi ;;
22856 esac
22857 else
22858 cat >conftest.$ac_ext <<_ACEOF
22859 /* confdefs.h. */
22860 _ACEOF
22861 cat confdefs.h >>conftest.$ac_ext
22862 cat >>conftest.$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 $ac_includes_default
22865 typedef long long ac__type_sizeof_;
22866 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22867 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22868 #include <stdio.h>
22869 #include <stdlib.h>
22870 int
22871 main ()
22872 {
22873
22874 FILE *f = fopen ("conftest.val", "w");
22875 if (! f)
22876 return 1;
22877 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22878 {
22879 long int i = longval ();
22880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22881 return 1;
22882 fprintf (f, "%ld\n", i);
22883 }
22884 else
22885 {
22886 unsigned long int i = ulongval ();
22887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22888 return 1;
22889 fprintf (f, "%lu\n", i);
22890 }
22891 return ferror (f) || fclose (f) != 0;
22892
22893 ;
22894 return 0;
22895 }
22896 _ACEOF
22897 rm -f conftest$ac_exeext
22898 if { (ac_try="$ac_link"
22899 case "(($ac_try" in
22900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22901 *) ac_try_echo=$ac_try;;
22902 esac
22903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22904 (eval "$ac_link") 2>&5
22905 ac_status=$?
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22908 { (case "(($ac_try" in
22909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22910 *) ac_try_echo=$ac_try;;
22911 esac
22912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22913 (eval "$ac_try") 2>&5
22914 ac_status=$?
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; }; then
22917 ac_cv_sizeof_long_long=`cat conftest.val`
22918 else
22919 echo "$as_me: program exited with status $ac_status" >&5
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22922
22923 ( exit $ac_status )
22924 if test "$ac_cv_type_long_long" = yes; then
22925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22926 See \`config.log' for more details." >&5
22927 echo "$as_me: error: cannot compute sizeof (long long)
22928 See \`config.log' for more details." >&2;}
22929 { (exit 77); exit 77; }; }
22930 else
22931 ac_cv_sizeof_long_long=0
22932 fi
22933 fi
22934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22935 fi
22936 rm -f conftest.val
22937 fi
22938 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22939 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22940
22941
22942
22943 cat >>confdefs.h <<_ACEOF
22944 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22945 _ACEOF
22946
22947
22948 if test "$ac_cv_sizeof_long_long" != 0; then
22949 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22950 fi
22951 ;;
22952 * )
22953 { echo "$as_me:$LINENO: checking for long long" >&5
22954 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22955 if test "${ac_cv_type_long_long+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22957 else
22958 cat >conftest.$ac_ext <<_ACEOF
22959 /* confdefs.h. */
22960 _ACEOF
22961 cat confdefs.h >>conftest.$ac_ext
22962 cat >>conftest.$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 $ac_includes_default
22965 typedef long long ac__type_new_;
22966 int
22967 main ()
22968 {
22969 if ((ac__type_new_ *) 0)
22970 return 0;
22971 if (sizeof (ac__type_new_))
22972 return 0;
22973 ;
22974 return 0;
22975 }
22976 _ACEOF
22977 rm -f conftest.$ac_objext
22978 if { (ac_try="$ac_compile"
22979 case "(($ac_try" in
22980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22981 *) ac_try_echo=$ac_try;;
22982 esac
22983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22984 (eval "$ac_compile") 2>conftest.er1
22985 ac_status=$?
22986 grep -v '^ *+' conftest.er1 >conftest.err
22987 rm -f conftest.er1
22988 cat conftest.err >&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); } && {
22991 test -z "$ac_c_werror_flag" ||
22992 test ! -s conftest.err
22993 } && test -s conftest.$ac_objext; then
22994 ac_cv_type_long_long=yes
22995 else
22996 echo "$as_me: failed program was:" >&5
22997 sed 's/^/| /' conftest.$ac_ext >&5
22998
22999 ac_cv_type_long_long=no
23000 fi
23001
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23003 fi
23004 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23005 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23006
23007 # The cast to long int works around a bug in the HP C Compiler
23008 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23009 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23010 # This bug is HP SR number 8606223364.
23011 { echo "$as_me:$LINENO: checking size of long long" >&5
23012 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23013 if test "${ac_cv_sizeof_long_long+set}" = set; then
23014 echo $ECHO_N "(cached) $ECHO_C" >&6
23015 else
23016 if test "$cross_compiling" = yes; then
23017 # Depending upon the size, compute the lo and hi bounds.
23018 cat >conftest.$ac_ext <<_ACEOF
23019 /* confdefs.h. */
23020 _ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23024 $ac_includes_default
23025 typedef long long ac__type_sizeof_;
23026 int
23027 main ()
23028 {
23029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23030 test_array [0] = 0
23031
23032 ;
23033 return 0;
23034 }
23035 _ACEOF
23036 rm -f conftest.$ac_objext
23037 if { (ac_try="$ac_compile"
23038 case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23041 esac
23042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_compile") 2>conftest.er1
23044 ac_status=$?
23045 grep -v '^ *+' conftest.er1 >conftest.err
23046 rm -f conftest.er1
23047 cat conftest.err >&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } && {
23050 test -z "$ac_c_werror_flag" ||
23051 test ! -s conftest.err
23052 } && test -s conftest.$ac_objext; then
23053 ac_lo=0 ac_mid=0
23054 while :; do
23055 cat >conftest.$ac_ext <<_ACEOF
23056 /* confdefs.h. */
23057 _ACEOF
23058 cat confdefs.h >>conftest.$ac_ext
23059 cat >>conftest.$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23061 $ac_includes_default
23062 typedef long long ac__type_sizeof_;
23063 int
23064 main ()
23065 {
23066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23067 test_array [0] = 0
23068
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23078 esac
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23081 ac_status=$?
23082 grep -v '^ *+' conftest.er1 >conftest.err
23083 rm -f conftest.er1
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_c_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23090 ac_hi=$ac_mid; break
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 ac_lo=`expr $ac_mid + 1`
23096 if test $ac_lo -le $ac_mid; then
23097 ac_lo= ac_hi=
23098 break
23099 fi
23100 ac_mid=`expr 2 '*' $ac_mid + 1`
23101 fi
23102
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104 done
23105 else
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23108
23109 cat >conftest.$ac_ext <<_ACEOF
23110 /* confdefs.h. */
23111 _ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115 $ac_includes_default
23116 typedef long long ac__type_sizeof_;
23117 int
23118 main ()
23119 {
23120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23121 test_array [0] = 0
23122
23123 ;
23124 return 0;
23125 }
23126 _ACEOF
23127 rm -f conftest.$ac_objext
23128 if { (ac_try="$ac_compile"
23129 case "(($ac_try" in
23130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23132 esac
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_compile") 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } && {
23141 test -z "$ac_c_werror_flag" ||
23142 test ! -s conftest.err
23143 } && test -s conftest.$ac_objext; then
23144 ac_hi=-1 ac_mid=-1
23145 while :; do
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 $ac_includes_default
23153 typedef long long ac__type_sizeof_;
23154 int
23155 main ()
23156 {
23157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23158 test_array [0] = 0
23159
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 ac_lo=$ac_mid; break
23182 else
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23185
23186 ac_hi=`expr '(' $ac_mid ')' - 1`
23187 if test $ac_mid -le $ac_hi; then
23188 ac_lo= ac_hi=
23189 break
23190 fi
23191 ac_mid=`expr 2 '*' $ac_mid`
23192 fi
23193
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23195 done
23196 else
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23199
23200 ac_lo= ac_hi=
23201 fi
23202
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204 fi
23205
23206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23207 # Binary search between lo and hi bounds.
23208 while test "x$ac_lo" != "x$ac_hi"; do
23209 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23210 cat >conftest.$ac_ext <<_ACEOF
23211 /* confdefs.h. */
23212 _ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216 $ac_includes_default
23217 typedef long long ac__type_sizeof_;
23218 int
23219 main ()
23220 {
23221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23222 test_array [0] = 0
23223
23224 ;
23225 return 0;
23226 }
23227 _ACEOF
23228 rm -f conftest.$ac_objext
23229 if { (ac_try="$ac_compile"
23230 case "(($ac_try" in
23231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23232 *) ac_try_echo=$ac_try;;
23233 esac
23234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23235 (eval "$ac_compile") 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } && {
23242 test -z "$ac_c_werror_flag" ||
23243 test ! -s conftest.err
23244 } && test -s conftest.$ac_objext; then
23245 ac_hi=$ac_mid
23246 else
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23249
23250 ac_lo=`expr '(' $ac_mid ')' + 1`
23251 fi
23252
23253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 done
23255 case $ac_lo in
23256 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23257 '') if test "$ac_cv_type_long_long" = yes; then
23258 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23259 See \`config.log' for more details." >&5
23260 echo "$as_me: error: cannot compute sizeof (long long)
23261 See \`config.log' for more details." >&2;}
23262 { (exit 77); exit 77; }; }
23263 else
23264 ac_cv_sizeof_long_long=0
23265 fi ;;
23266 esac
23267 else
23268 cat >conftest.$ac_ext <<_ACEOF
23269 /* confdefs.h. */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 $ac_includes_default
23275 typedef long long ac__type_sizeof_;
23276 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23277 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23278 #include <stdio.h>
23279 #include <stdlib.h>
23280 int
23281 main ()
23282 {
23283
23284 FILE *f = fopen ("conftest.val", "w");
23285 if (! f)
23286 return 1;
23287 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23288 {
23289 long int i = longval ();
23290 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23291 return 1;
23292 fprintf (f, "%ld\n", i);
23293 }
23294 else
23295 {
23296 unsigned long int i = ulongval ();
23297 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23298 return 1;
23299 fprintf (f, "%lu\n", i);
23300 }
23301 return ferror (f) || fclose (f) != 0;
23302
23303 ;
23304 return 0;
23305 }
23306 _ACEOF
23307 rm -f conftest$ac_exeext
23308 if { (ac_try="$ac_link"
23309 case "(($ac_try" in
23310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23311 *) ac_try_echo=$ac_try;;
23312 esac
23313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23314 (eval "$ac_link") 2>&5
23315 ac_status=$?
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23318 { (case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23321 esac
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_try") 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_sizeof_long_long=`cat conftest.val`
23328 else
23329 echo "$as_me: program exited with status $ac_status" >&5
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.$ac_ext >&5
23332
23333 ( exit $ac_status )
23334 if test "$ac_cv_type_long_long" = yes; then
23335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23336 See \`config.log' for more details." >&5
23337 echo "$as_me: error: cannot compute sizeof (long long)
23338 See \`config.log' for more details." >&2;}
23339 { (exit 77); exit 77; }; }
23340 else
23341 ac_cv_sizeof_long_long=0
23342 fi
23343 fi
23344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23345 fi
23346 rm -f conftest.val
23347 fi
23348 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23349 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23350
23351
23352
23353 cat >>confdefs.h <<_ACEOF
23354 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23355 _ACEOF
23356
23357
23358 esac
23359
23360 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23361 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23362 if test "${ac_cv_type_wchar_t+set}" = set; then
23363 echo $ECHO_N "(cached) $ECHO_C" >&6
23364 else
23365 cat >conftest.$ac_ext <<_ACEOF
23366 /* confdefs.h. */
23367 _ACEOF
23368 cat confdefs.h >>conftest.$ac_ext
23369 cat >>conftest.$ac_ext <<_ACEOF
23370 /* end confdefs.h. */
23371
23372 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23373 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23374 # error "fake wchar_t"
23375 #endif
23376 #ifdef HAVE_WCHAR_H
23377 # ifdef __CYGWIN__
23378 # include <stddef.h>
23379 # endif
23380 # include <wchar.h>
23381 #endif
23382 #ifdef HAVE_STDLIB_H
23383 # include <stdlib.h>
23384 #endif
23385 #include <stdio.h>
23386
23387
23388
23389 typedef wchar_t ac__type_new_;
23390 int
23391 main ()
23392 {
23393 if ((ac__type_new_ *) 0)
23394 return 0;
23395 if (sizeof (ac__type_new_))
23396 return 0;
23397 ;
23398 return 0;
23399 }
23400 _ACEOF
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406 esac
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_c_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 ac_cv_type_wchar_t=yes
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 ac_cv_type_wchar_t=no
23424 fi
23425
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 fi
23428 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23429 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23430
23431 # The cast to long int works around a bug in the HP C Compiler
23432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23434 # This bug is HP SR number 8606223364.
23435 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23436 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23437 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 else
23440 if test "$cross_compiling" = yes; then
23441 # Depending upon the size, compute the lo and hi bounds.
23442 cat >conftest.$ac_ext <<_ACEOF
23443 /* confdefs.h. */
23444 _ACEOF
23445 cat confdefs.h >>conftest.$ac_ext
23446 cat >>conftest.$ac_ext <<_ACEOF
23447 /* end confdefs.h. */
23448
23449 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23450 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23451 # error "fake wchar_t"
23452 #endif
23453 #ifdef HAVE_WCHAR_H
23454 # ifdef __CYGWIN__
23455 # include <stddef.h>
23456 # endif
23457 # include <wchar.h>
23458 #endif
23459 #ifdef HAVE_STDLIB_H
23460 # include <stdlib.h>
23461 #endif
23462 #include <stdio.h>
23463
23464
23465
23466 typedef wchar_t ac__type_sizeof_;
23467 int
23468 main ()
23469 {
23470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23471 test_array [0] = 0
23472
23473 ;
23474 return 0;
23475 }
23476 _ACEOF
23477 rm -f conftest.$ac_objext
23478 if { (ac_try="$ac_compile"
23479 case "(($ac_try" in
23480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23481 *) ac_try_echo=$ac_try;;
23482 esac
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_compile") 2>conftest.er1
23485 ac_status=$?
23486 grep -v '^ *+' conftest.er1 >conftest.err
23487 rm -f conftest.er1
23488 cat conftest.err >&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); } && {
23491 test -z "$ac_c_werror_flag" ||
23492 test ! -s conftest.err
23493 } && test -s conftest.$ac_objext; then
23494 ac_lo=0 ac_mid=0
23495 while :; do
23496 cat >conftest.$ac_ext <<_ACEOF
23497 /* confdefs.h. */
23498 _ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502
23503 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23504 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23505 # error "fake wchar_t"
23506 #endif
23507 #ifdef HAVE_WCHAR_H
23508 # ifdef __CYGWIN__
23509 # include <stddef.h>
23510 # endif
23511 # include <wchar.h>
23512 #endif
23513 #ifdef HAVE_STDLIB_H
23514 # include <stdlib.h>
23515 #endif
23516 #include <stdio.h>
23517
23518
23519
23520 typedef wchar_t ac__type_sizeof_;
23521 int
23522 main ()
23523 {
23524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23525 test_array [0] = 0
23526
23527 ;
23528 return 0;
23529 }
23530 _ACEOF
23531 rm -f conftest.$ac_objext
23532 if { (ac_try="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_hi=$ac_mid; break
23549 else
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23552
23553 ac_lo=`expr $ac_mid + 1`
23554 if test $ac_lo -le $ac_mid; then
23555 ac_lo= ac_hi=
23556 break
23557 fi
23558 ac_mid=`expr 2 '*' $ac_mid + 1`
23559 fi
23560
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562 done
23563 else
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.$ac_ext >&5
23566
23567 cat >conftest.$ac_ext <<_ACEOF
23568 /* confdefs.h. */
23569 _ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573
23574 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23575 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23576 # error "fake wchar_t"
23577 #endif
23578 #ifdef HAVE_WCHAR_H
23579 # ifdef __CYGWIN__
23580 # include <stddef.h>
23581 # endif
23582 # include <wchar.h>
23583 #endif
23584 #ifdef HAVE_STDLIB_H
23585 # include <stdlib.h>
23586 #endif
23587 #include <stdio.h>
23588
23589
23590
23591 typedef wchar_t ac__type_sizeof_;
23592 int
23593 main ()
23594 {
23595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23596 test_array [0] = 0
23597
23598 ;
23599 return 0;
23600 }
23601 _ACEOF
23602 rm -f conftest.$ac_objext
23603 if { (ac_try="$ac_compile"
23604 case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23607 esac
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23610 ac_status=$?
23611 grep -v '^ *+' conftest.er1 >conftest.err
23612 rm -f conftest.er1
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23619 ac_hi=-1 ac_mid=-1
23620 while :; do
23621 cat >conftest.$ac_ext <<_ACEOF
23622 /* confdefs.h. */
23623 _ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627
23628 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23629 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23630 # error "fake wchar_t"
23631 #endif
23632 #ifdef HAVE_WCHAR_H
23633 # ifdef __CYGWIN__
23634 # include <stddef.h>
23635 # endif
23636 # include <wchar.h>
23637 #endif
23638 #ifdef HAVE_STDLIB_H
23639 # include <stdlib.h>
23640 #endif
23641 #include <stdio.h>
23642
23643
23644
23645 typedef wchar_t ac__type_sizeof_;
23646 int
23647 main ()
23648 {
23649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23650 test_array [0] = 0
23651
23652 ;
23653 return 0;
23654 }
23655 _ACEOF
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23661 esac
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_c_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_lo=$ac_mid; break
23674 else
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5
23677
23678 ac_hi=`expr '(' $ac_mid ')' - 1`
23679 if test $ac_mid -le $ac_hi; then
23680 ac_lo= ac_hi=
23681 break
23682 fi
23683 ac_mid=`expr 2 '*' $ac_mid`
23684 fi
23685
23686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23687 done
23688 else
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.$ac_ext >&5
23691
23692 ac_lo= ac_hi=
23693 fi
23694
23695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 fi
23697
23698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23699 # Binary search between lo and hi bounds.
23700 while test "x$ac_lo" != "x$ac_hi"; do
23701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23702 cat >conftest.$ac_ext <<_ACEOF
23703 /* confdefs.h. */
23704 _ACEOF
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708
23709 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23710 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23711 # error "fake wchar_t"
23712 #endif
23713 #ifdef HAVE_WCHAR_H
23714 # ifdef __CYGWIN__
23715 # include <stddef.h>
23716 # endif
23717 # include <wchar.h>
23718 #endif
23719 #ifdef HAVE_STDLIB_H
23720 # include <stdlib.h>
23721 #endif
23722 #include <stdio.h>
23723
23724
23725
23726 typedef wchar_t ac__type_sizeof_;
23727 int
23728 main ()
23729 {
23730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23731 test_array [0] = 0
23732
23733 ;
23734 return 0;
23735 }
23736 _ACEOF
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23742 esac
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_compile") 2>conftest.er1
23745 ac_status=$?
23746 grep -v '^ *+' conftest.er1 >conftest.err
23747 rm -f conftest.er1
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } && {
23751 test -z "$ac_c_werror_flag" ||
23752 test ! -s conftest.err
23753 } && test -s conftest.$ac_objext; then
23754 ac_hi=$ac_mid
23755 else
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23758
23759 ac_lo=`expr '(' $ac_mid ')' + 1`
23760 fi
23761
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23763 done
23764 case $ac_lo in
23765 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23766 '') if test "$ac_cv_type_wchar_t" = yes; then
23767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23768 See \`config.log' for more details." >&5
23769 echo "$as_me: error: cannot compute sizeof (wchar_t)
23770 See \`config.log' for more details." >&2;}
23771 { (exit 77); exit 77; }; }
23772 else
23773 ac_cv_sizeof_wchar_t=0
23774 fi ;;
23775 esac
23776 else
23777 cat >conftest.$ac_ext <<_ACEOF
23778 /* confdefs.h. */
23779 _ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23783
23784 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23785 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23786 # error "fake wchar_t"
23787 #endif
23788 #ifdef HAVE_WCHAR_H
23789 # ifdef __CYGWIN__
23790 # include <stddef.h>
23791 # endif
23792 # include <wchar.h>
23793 #endif
23794 #ifdef HAVE_STDLIB_H
23795 # include <stdlib.h>
23796 #endif
23797 #include <stdio.h>
23798
23799
23800
23801 typedef wchar_t ac__type_sizeof_;
23802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23804 #include <stdio.h>
23805 #include <stdlib.h>
23806 int
23807 main ()
23808 {
23809
23810 FILE *f = fopen ("conftest.val", "w");
23811 if (! f)
23812 return 1;
23813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23814 {
23815 long int i = longval ();
23816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23817 return 1;
23818 fprintf (f, "%ld\n", i);
23819 }
23820 else
23821 {
23822 unsigned long int i = ulongval ();
23823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23824 return 1;
23825 fprintf (f, "%lu\n", i);
23826 }
23827 return ferror (f) || fclose (f) != 0;
23828
23829 ;
23830 return 0;
23831 }
23832 _ACEOF
23833 rm -f conftest$ac_exeext
23834 if { (ac_try="$ac_link"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23838 esac
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_link") 2>&5
23841 ac_status=$?
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23844 { (case "(($ac_try" in
23845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23846 *) ac_try_echo=$ac_try;;
23847 esac
23848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23849 (eval "$ac_try") 2>&5
23850 ac_status=$?
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23853 ac_cv_sizeof_wchar_t=`cat conftest.val`
23854 else
23855 echo "$as_me: program exited with status $ac_status" >&5
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23858
23859 ( exit $ac_status )
23860 if test "$ac_cv_type_wchar_t" = yes; then
23861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23862 See \`config.log' for more details." >&5
23863 echo "$as_me: error: cannot compute sizeof (wchar_t)
23864 See \`config.log' for more details." >&2;}
23865 { (exit 77); exit 77; }; }
23866 else
23867 ac_cv_sizeof_wchar_t=0
23868 fi
23869 fi
23870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23871 fi
23872 rm -f conftest.val
23873 fi
23874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23875 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23876
23877
23878
23879 cat >>confdefs.h <<_ACEOF
23880 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23881 _ACEOF
23882
23883
23884 if test "$ac_cv_sizeof_wchar_t" != 0; then
23885 wxUSE_WCHAR_T=yes
23886 else
23887 wxUSE_WCHAR_T=no
23888 fi
23889
23890 { echo "$as_me:$LINENO: checking for va_copy" >&5
23891 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23892 if test "${wx_cv_func_va_copy+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 else
23895
23896 ac_ext=cpp
23897 ac_cpp='$CXXCPP $CPPFLAGS'
23898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23901
23902 cat >conftest.$ac_ext <<_ACEOF
23903
23904 #include <stdarg.h>
23905 void foo(char *f, ...)
23906 {
23907 va_list ap1, ap2;
23908 va_start(ap1, f);
23909 va_copy(ap2, ap1);
23910 va_end(ap2);
23911 va_end(ap1);
23912 }
23913 int main()
23914 {
23915 foo("hi", 17);
23916 return 0;
23917 }
23918 _ACEOF
23919 rm -f conftest.$ac_objext conftest$ac_exeext
23920 if { (ac_try="$ac_link"
23921 case "(($ac_try" in
23922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23923 *) ac_try_echo=$ac_try;;
23924 esac
23925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23926 (eval "$ac_link") 2>conftest.er1
23927 ac_status=$?
23928 grep -v '^ *+' conftest.er1 >conftest.err
23929 rm -f conftest.er1
23930 cat conftest.err >&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } && {
23933 test -z "$ac_cxx_werror_flag" ||
23934 test ! -s conftest.err
23935 } && test -s conftest$ac_exeext &&
23936 $as_test_x conftest$ac_exeext; then
23937 wx_cv_func_va_copy=yes
23938 else
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23941
23942 wx_cv_func_va_copy=no
23943
23944 fi
23945
23946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23947 conftest$ac_exeext conftest.$ac_ext
23948 ac_ext=c
23949 ac_cpp='$CPP $CPPFLAGS'
23950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23953
23954
23955
23956 fi
23957 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23958 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23959
23960 if test $wx_cv_func_va_copy = "yes"; then
23961 cat >>confdefs.h <<\_ACEOF
23962 #define HAVE_VA_COPY 1
23963 _ACEOF
23964
23965 else
23966 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23967 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23968 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23969 echo $ECHO_N "(cached) $ECHO_C" >&6
23970 else
23971
23972 if test "$cross_compiling" = yes; then
23973 wx_cv_type_va_list_lvalue=yes
23974
23975 else
23976 cat >conftest.$ac_ext <<_ACEOF
23977
23978 #include <stdarg.h>
23979 int foo(char *f, ...)
23980 {
23981 va_list ap1, ap2;
23982 va_start(ap1, f);
23983 ap2 = ap1;
23984 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23985 return 1;
23986 va_end(ap2);
23987 va_end(ap1);
23988 return 0;
23989 }
23990 int main()
23991 {
23992 return foo("hi", 17);
23993 }
23994 _ACEOF
23995 rm -f conftest$ac_exeext
23996 if { (ac_try="$ac_link"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24000 esac
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_link") 2>&5
24003 ac_status=$?
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24006 { (case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24009 esac
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_try") 2>&5
24012 ac_status=$?
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; }; then
24015 wx_cv_type_va_list_lvalue=yes
24016 else
24017 echo "$as_me: program exited with status $ac_status" >&5
24018 echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24020
24021 ( exit $ac_status )
24022 wx_cv_type_va_list_lvalue=no
24023 fi
24024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24025 fi
24026
24027
24028
24029
24030 fi
24031 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24032 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24033
24034 if test $wx_cv_type_va_list_lvalue != "yes"; then
24035 cat >>confdefs.h <<\_ACEOF
24036 #define VA_LIST_IS_ARRAY 1
24037 _ACEOF
24038
24039 fi
24040 fi
24041
24042 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24043
24044 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24045 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24046 if test "${wx_cv_have_variadic_macros+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 else
24049
24050 ac_ext=cpp
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24055
24056 cat >conftest.$ac_ext <<_ACEOF
24057 /* confdefs.h. */
24058 _ACEOF
24059 cat confdefs.h >>conftest.$ac_ext
24060 cat >>conftest.$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24062
24063 #include <stdio.h>
24064 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24065
24066 int
24067 main ()
24068 {
24069
24070 test("%s %d %p", "test", 1, 0);
24071
24072
24073 ;
24074 return 0;
24075 }
24076 _ACEOF
24077 rm -f conftest.$ac_objext
24078 if { (ac_try="$ac_compile"
24079 case "(($ac_try" in
24080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24081 *) ac_try_echo=$ac_try;;
24082 esac
24083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24084 (eval "$ac_compile") 2>conftest.er1
24085 ac_status=$?
24086 grep -v '^ *+' conftest.er1 >conftest.err
24087 rm -f conftest.er1
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } && {
24091 test -z "$ac_cxx_werror_flag" ||
24092 test ! -s conftest.err
24093 } && test -s conftest.$ac_objext; then
24094 wx_cv_have_variadic_macros=yes
24095 else
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.$ac_ext >&5
24098
24099 wx_cv_have_variadic_macros=no
24100
24101 fi
24102
24103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24104 ac_ext=c
24105 ac_cpp='$CPP $CPPFLAGS'
24106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24109
24110
24111
24112 fi
24113 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24114 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24115
24116 if test $wx_cv_have_variadic_macros = "yes"; then
24117 cat >>confdefs.h <<\_ACEOF
24118 #define HAVE_VARIADIC_MACROS 1
24119 _ACEOF
24120
24121 fi
24122
24123 fi
24124
24125 LARGEFILE_CPPFLAGS=
24126 # Check whether --enable-largefile was given.
24127 if test "${enable_largefile+set}" = set; then
24128 enableval=$enable_largefile;
24129 fi
24130
24131 if test "$enable_largefile" != no; then
24132 wx_largefile=no
24133
24134 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24135 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24136 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24138 else
24139
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #define _FILE_OFFSET_BITS 64
24147 #include <sys/types.h>
24148 int
24149 main ()
24150 {
24151 typedef struct {
24152 unsigned int field: sizeof(off_t) == 8;
24153 } wxlf;
24154
24155 ;
24156 return 0;
24157 }
24158 _ACEOF
24159 rm -f conftest.$ac_objext
24160 if { (ac_try="$ac_compile"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163 *) ac_try_echo=$ac_try;;
24164 esac
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_compile") 2>conftest.er1
24167 ac_status=$?
24168 grep -v '^ *+' conftest.er1 >conftest.err
24169 rm -f conftest.er1
24170 cat conftest.err >&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } && {
24173 test -z "$ac_c_werror_flag" ||
24174 test ! -s conftest.err
24175 } && test -s conftest.$ac_objext; then
24176 ac_cv_sys_file_offset_bits=64
24177 else
24178 echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.$ac_ext >&5
24180
24181 ac_cv_sys_file_offset_bits=no
24182 fi
24183
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185
24186
24187 fi
24188 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24189 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24190
24191 if test "$ac_cv_sys_file_offset_bits" != no; then
24192 wx_largefile=yes
24193 cat >>confdefs.h <<_ACEOF
24194 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24195 _ACEOF
24196
24197 fi
24198
24199 if test "x$wx_largefile" != "xyes"; then
24200
24201 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24202 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24203 if test "${ac_cv_sys_large_files+set}" = set; then
24204 echo $ECHO_N "(cached) $ECHO_C" >&6
24205 else
24206
24207 cat >conftest.$ac_ext <<_ACEOF
24208 /* confdefs.h. */
24209 _ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213 #define _LARGE_FILES 1
24214 #include <sys/types.h>
24215 int
24216 main ()
24217 {
24218 typedef struct {
24219 unsigned int field: sizeof(off_t) == 8;
24220 } wxlf;
24221
24222 ;
24223 return 0;
24224 }
24225 _ACEOF
24226 rm -f conftest.$ac_objext
24227 if { (ac_try="$ac_compile"
24228 case "(($ac_try" in
24229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24230 *) ac_try_echo=$ac_try;;
24231 esac
24232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24233 (eval "$ac_compile") 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } && {
24240 test -z "$ac_c_werror_flag" ||
24241 test ! -s conftest.err
24242 } && test -s conftest.$ac_objext; then
24243 ac_cv_sys_large_files=1
24244 else
24245 echo "$as_me: failed program was:" >&5
24246 sed 's/^/| /' conftest.$ac_ext >&5
24247
24248 ac_cv_sys_large_files=no
24249 fi
24250
24251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24252
24253
24254 fi
24255 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24256 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24257
24258 if test "$ac_cv_sys_large_files" != no; then
24259 wx_largefile=yes
24260 cat >>confdefs.h <<_ACEOF
24261 #define _LARGE_FILES $ac_cv_sys_large_files
24262 _ACEOF
24263
24264 fi
24265
24266 fi
24267
24268 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24269 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24270 if test "x$wx_largefile" = "xyes"; then
24271 cat >>confdefs.h <<\_ACEOF
24272 #define HAVE_LARGEFILE_SUPPORT 1
24273 _ACEOF
24274
24275 fi
24276 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24277 echo "${ECHO_T}$wx_largefile" >&6; }
24278 fi
24279
24280 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24281 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24282 elif test "$ac_cv_sys_large_files" = 1; then
24283 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24284 fi
24285
24286 if test -n "$LARGEFILE_CPPFLAGS"; then
24287 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24288
24289 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24290 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24291 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24292 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24294 else
24295
24296 ac_ext=cpp
24297 ac_cpp='$CXXCPP $CPPFLAGS'
24298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24301
24302 cat >conftest.$ac_ext <<_ACEOF
24303 /* confdefs.h. */
24304 _ACEOF
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308
24309 int
24310 main ()
24311 {
24312
24313 #ifndef __STDC_EXT__
24314 choke me
24315 #endif
24316
24317 ;
24318 return 0;
24319 }
24320 _ACEOF
24321 rm -f conftest.$ac_objext
24322 if { (ac_try="$ac_compile"
24323 case "(($ac_try" in
24324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24325 *) ac_try_echo=$ac_try;;
24326 esac
24327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24328 (eval "$ac_compile") 2>conftest.er1
24329 ac_status=$?
24330 grep -v '^ *+' conftest.er1 >conftest.err
24331 rm -f conftest.er1
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } && {
24335 test -z "$ac_cxx_werror_flag" ||
24336 test ! -s conftest.err
24337 } && test -s conftest.$ac_objext; then
24338 wx_cv_STDC_EXT_required=no
24339 else
24340 echo "$as_me: failed program was:" >&5
24341 sed 's/^/| /' conftest.$ac_ext >&5
24342
24343 wx_cv_STDC_EXT_required=yes
24344
24345 fi
24346
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 ac_ext=c
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24353
24354
24355
24356 fi
24357 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24358 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24359 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24360 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24361 fi
24362 fi
24363 fi
24364
24365 ac_ext=cpp
24366 ac_cpp='$CXXCPP $CPPFLAGS'
24367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24370
24371 old_CPPFLAGS="$CPPFLAGS"
24372 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24373 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24374 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24375 if test "${ac_cv_sys_largefile_source+set}" = set; then
24376 echo $ECHO_N "(cached) $ECHO_C" >&6
24377 else
24378 while :; do
24379 cat >conftest.$ac_ext <<_ACEOF
24380 /* confdefs.h. */
24381 _ACEOF
24382 cat confdefs.h >>conftest.$ac_ext
24383 cat >>conftest.$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24385 #include <sys/types.h> /* for off_t */
24386 #include <stdio.h>
24387 int
24388 main ()
24389 {
24390 int (*fp) (FILE *, off_t, int) = fseeko;
24391 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24392 ;
24393 return 0;
24394 }
24395 _ACEOF
24396 rm -f conftest.$ac_objext conftest$ac_exeext
24397 if { (ac_try="$ac_link"
24398 case "(($ac_try" in
24399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24400 *) ac_try_echo=$ac_try;;
24401 esac
24402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24403 (eval "$ac_link") 2>conftest.er1
24404 ac_status=$?
24405 grep -v '^ *+' conftest.er1 >conftest.err
24406 rm -f conftest.er1
24407 cat conftest.err >&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } && {
24410 test -z "$ac_cxx_werror_flag" ||
24411 test ! -s conftest.err
24412 } && test -s conftest$ac_exeext &&
24413 $as_test_x conftest$ac_exeext; then
24414 ac_cv_sys_largefile_source=no; break
24415 else
24416 echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24418
24419
24420 fi
24421
24422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24423 conftest$ac_exeext conftest.$ac_ext
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h. */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #define _LARGEFILE_SOURCE 1
24431 #include <sys/types.h> /* for off_t */
24432 #include <stdio.h>
24433 int
24434 main ()
24435 {
24436 int (*fp) (FILE *, off_t, int) = fseeko;
24437 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24438 ;
24439 return 0;
24440 }
24441 _ACEOF
24442 rm -f conftest.$ac_objext conftest$ac_exeext
24443 if { (ac_try="$ac_link"
24444 case "(($ac_try" in
24445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24446 *) ac_try_echo=$ac_try;;
24447 esac
24448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24449 (eval "$ac_link") 2>conftest.er1
24450 ac_status=$?
24451 grep -v '^ *+' conftest.er1 >conftest.err
24452 rm -f conftest.er1
24453 cat conftest.err >&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } && {
24456 test -z "$ac_cxx_werror_flag" ||
24457 test ! -s conftest.err
24458 } && test -s conftest$ac_exeext &&
24459 $as_test_x conftest$ac_exeext; then
24460 ac_cv_sys_largefile_source=1; break
24461 else
24462 echo "$as_me: failed program was:" >&5
24463 sed 's/^/| /' conftest.$ac_ext >&5
24464
24465
24466 fi
24467
24468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24469 conftest$ac_exeext conftest.$ac_ext
24470 ac_cv_sys_largefile_source=unknown
24471 break
24472 done
24473 fi
24474 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24475 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24476 case $ac_cv_sys_largefile_source in #(
24477 no | unknown) ;;
24478 *)
24479 cat >>confdefs.h <<_ACEOF
24480 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24481 _ACEOF
24482 ;;
24483 esac
24484 rm -f conftest*
24485
24486 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24487 # in glibc 2.1.3, but that breaks too many other things.
24488 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24489 if test $ac_cv_sys_largefile_source != unknown; then
24490
24491 cat >>confdefs.h <<\_ACEOF
24492 #define HAVE_FSEEKO 1
24493 _ACEOF
24494
24495 fi
24496
24497 CPPFLAGS="$old_CPPFLAGS"
24498 ac_ext=c
24499 ac_cpp='$CPP $CPPFLAGS'
24500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24503
24504 if test "$ac_cv_sys_largefile_source" != no; then
24505 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24506 fi
24507
24508 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24509 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24510 if test "${ac_cv_c_bigendian+set}" = set; then
24511 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 else
24513 ac_cv_c_bigendian=unknown
24514 # See if sys/param.h defines the BYTE_ORDER macro.
24515 cat >conftest.$ac_ext <<_ACEOF
24516 /* confdefs.h. */
24517 _ACEOF
24518 cat confdefs.h >>conftest.$ac_ext
24519 cat >>conftest.$ac_ext <<_ACEOF
24520 /* end confdefs.h. */
24521 #include <sys/types.h>
24522 #include <sys/param.h>
24523 int
24524 main ()
24525 {
24526
24527 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24528 bogus endian macros
24529 #endif
24530 ;
24531 return 0;
24532 }
24533 _ACEOF
24534 rm -f conftest.$ac_objext
24535 if { (ac_try="$ac_compile"
24536 case "(($ac_try" in
24537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24538 *) ac_try_echo=$ac_try;;
24539 esac
24540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24541 (eval "$ac_compile") 2>conftest.er1
24542 ac_status=$?
24543 grep -v '^ *+' conftest.er1 >conftest.err
24544 rm -f conftest.er1
24545 cat conftest.err >&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } && {
24548 test -z "$ac_c_werror_flag" ||
24549 test ! -s conftest.err
24550 } && test -s conftest.$ac_objext; then
24551 # It does; now see whether it defined to BIG_ENDIAN or not.
24552 cat >conftest.$ac_ext <<_ACEOF
24553 /* confdefs.h. */
24554 _ACEOF
24555 cat confdefs.h >>conftest.$ac_ext
24556 cat >>conftest.$ac_ext <<_ACEOF
24557 /* end confdefs.h. */
24558 #include <sys/types.h>
24559 #include <sys/param.h>
24560 int
24561 main ()
24562 {
24563
24564 #if BYTE_ORDER != BIG_ENDIAN
24565 not big endian
24566 #endif
24567 ;
24568 return 0;
24569 }
24570 _ACEOF
24571 rm -f conftest.$ac_objext
24572 if { (ac_try="$ac_compile"
24573 case "(($ac_try" in
24574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24575 *) ac_try_echo=$ac_try;;
24576 esac
24577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24578 (eval "$ac_compile") 2>conftest.er1
24579 ac_status=$?
24580 grep -v '^ *+' conftest.er1 >conftest.err
24581 rm -f conftest.er1
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } && {
24585 test -z "$ac_c_werror_flag" ||
24586 test ! -s conftest.err
24587 } && test -s conftest.$ac_objext; then
24588 ac_cv_c_bigendian=yes
24589 else
24590 echo "$as_me: failed program was:" >&5
24591 sed 's/^/| /' conftest.$ac_ext >&5
24592
24593 ac_cv_c_bigendian=no
24594 fi
24595
24596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24597 else
24598 echo "$as_me: failed program was:" >&5
24599 sed 's/^/| /' conftest.$ac_ext >&5
24600
24601
24602 fi
24603
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 if test $ac_cv_c_bigendian = unknown; then
24606 if test "$cross_compiling" = yes; then
24607 ac_cv_c_bigendian=unknown
24608 else
24609 cat >conftest.$ac_ext <<_ACEOF
24610 /* confdefs.h. */
24611 _ACEOF
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24615 main () {
24616 /* Are we little or big endian? From Harbison&Steele. */
24617 union
24618 {
24619 long l;
24620 char c[sizeof (long)];
24621 } u;
24622 u.l = 1;
24623 exit (u.c[sizeof (long) - 1] == 1);
24624 }
24625 _ACEOF
24626 rm -f conftest$ac_exeext
24627 if { (ac_try="$ac_link"
24628 case "(($ac_try" in
24629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24630 *) ac_try_echo=$ac_try;;
24631 esac
24632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24633 (eval "$ac_link") 2>&5
24634 ac_status=$?
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24637 { (case "(($ac_try" in
24638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639 *) ac_try_echo=$ac_try;;
24640 esac
24641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642 (eval "$ac_try") 2>&5
24643 ac_status=$?
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; }; then
24646 ac_cv_c_bigendian=no
24647 else
24648 echo "$as_me: program exited with status $ac_status" >&5
24649 echo "$as_me: failed program was:" >&5
24650 sed 's/^/| /' conftest.$ac_ext >&5
24651
24652 ( exit $ac_status )
24653 ac_cv_c_bigendian=yes
24654 fi
24655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24656 fi
24657
24658
24659 fi
24660 fi
24661 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24662 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24663 if test $ac_cv_c_bigendian = unknown; then
24664 { 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
24665 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;}
24666 fi
24667 if test $ac_cv_c_bigendian = yes; then
24668 cat >>confdefs.h <<\_ACEOF
24669 #define WORDS_BIGENDIAN 1
24670 _ACEOF
24671
24672 fi
24673
24674
24675
24676
24677 ac_ext=cpp
24678 ac_cpp='$CXXCPP $CPPFLAGS'
24679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24682
24683
24684
24685 for ac_header in iostream
24686 do
24687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24691 echo $ECHO_N "(cached) $ECHO_C" >&6
24692 else
24693 cat >conftest.$ac_ext <<_ACEOF
24694 /* confdefs.h. */
24695 _ACEOF
24696 cat confdefs.h >>conftest.$ac_ext
24697 cat >>conftest.$ac_ext <<_ACEOF
24698 /* end confdefs.h. */
24699
24700
24701 #include <$ac_header>
24702 _ACEOF
24703 rm -f conftest.$ac_objext
24704 if { (ac_try="$ac_compile"
24705 case "(($ac_try" in
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24707 *) ac_try_echo=$ac_try;;
24708 esac
24709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24710 (eval "$ac_compile") 2>conftest.er1
24711 ac_status=$?
24712 grep -v '^ *+' conftest.er1 >conftest.err
24713 rm -f conftest.er1
24714 cat conftest.err >&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); } && {
24717 test -z "$ac_cxx_werror_flag" ||
24718 test ! -s conftest.err
24719 } && test -s conftest.$ac_objext; then
24720 eval "$as_ac_Header=yes"
24721 else
24722 echo "$as_me: failed program was:" >&5
24723 sed 's/^/| /' conftest.$ac_ext >&5
24724
24725 eval "$as_ac_Header=no"
24726 fi
24727
24728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24729 fi
24730 ac_res=`eval echo '${'$as_ac_Header'}'`
24731 { echo "$as_me:$LINENO: result: $ac_res" >&5
24732 echo "${ECHO_T}$ac_res" >&6; }
24733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24734 cat >>confdefs.h <<_ACEOF
24735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24736 _ACEOF
24737
24738 fi
24739
24740 done
24741
24742
24743 if test "$ac_cv_header_iostream" = "yes" ; then
24744 :
24745 else
24746 cat >>confdefs.h <<\_ACEOF
24747 #define wxUSE_IOSTREAMH 1
24748 _ACEOF
24749
24750 fi
24751
24752 ac_ext=c
24753 ac_cpp='$CPP $CPPFLAGS'
24754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757
24758
24759
24760
24761 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24762 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24763 if test "${wx_cv_explicit+set}" = set; then
24764 echo $ECHO_N "(cached) $ECHO_C" >&6
24765 else
24766
24767
24768 ac_ext=cpp
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773
24774
24775 cat >conftest.$ac_ext <<_ACEOF
24776 /* confdefs.h. */
24777 _ACEOF
24778 cat confdefs.h >>conftest.$ac_ext
24779 cat >>conftest.$ac_ext <<_ACEOF
24780 /* end confdefs.h. */
24781
24782 class Foo { public: explicit Foo(int) {} };
24783
24784 int
24785 main ()
24786 {
24787
24788 return 0;
24789
24790 ;
24791 return 0;
24792 }
24793 _ACEOF
24794 rm -f conftest.$ac_objext
24795 if { (ac_try="$ac_compile"
24796 case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24799 esac
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_compile") 2>conftest.er1
24802 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_cxx_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest.$ac_objext; then
24811
24812 cat >conftest.$ac_ext <<_ACEOF
24813 /* confdefs.h. */
24814 _ACEOF
24815 cat confdefs.h >>conftest.$ac_ext
24816 cat >>conftest.$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24818
24819 class Foo { public: explicit Foo(int) {} };
24820 static void TakeFoo(const Foo& foo) { }
24821
24822 int
24823 main ()
24824 {
24825
24826 TakeFoo(17);
24827 return 0;
24828
24829 ;
24830 return 0;
24831 }
24832 _ACEOF
24833 rm -f conftest.$ac_objext
24834 if { (ac_try="$ac_compile"
24835 case "(($ac_try" in
24836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24837 *) ac_try_echo=$ac_try;;
24838 esac
24839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24840 (eval "$ac_compile") 2>conftest.er1
24841 ac_status=$?
24842 grep -v '^ *+' conftest.er1 >conftest.err
24843 rm -f conftest.er1
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } && {
24847 test -z "$ac_cxx_werror_flag" ||
24848 test ! -s conftest.err
24849 } && test -s conftest.$ac_objext; then
24850 wx_cv_explicit=no
24851 else
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24854
24855 wx_cv_explicit=yes
24856
24857 fi
24858
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24860
24861 else
24862 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.$ac_ext >&5
24864
24865 wx_cv_explicit=no
24866
24867 fi
24868
24869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24870
24871 ac_ext=c
24872 ac_cpp='$CPP $CPPFLAGS'
24873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24876
24877
24878 fi
24879 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24880 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24881
24882 if test "$wx_cv_explicit" = "yes"; then
24883 cat >>confdefs.h <<\_ACEOF
24884 #define HAVE_EXPLICIT 1
24885 _ACEOF
24886
24887 fi
24888
24889
24890 if test "x$SUNCXX" = xyes; then
24891 CXXFLAGS="-features=tmplife $CXXFLAGS"
24892 fi
24893
24894 if test "x$SUNCC" = xyes; then
24895 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24896 fi
24897
24898 if test "x$SGICC" = "xyes"; then
24899 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24900 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24901 if test "${wx_cv_prog_sgicc744+set}" = set; then
24902 echo $ECHO_N "(cached) $ECHO_C" >&6
24903 else
24904
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911
24912 int
24913 main ()
24914 {
24915
24916 #if _SGI_COMPILER_VERSION >= 744
24917 chock me: mipsPro is 7.4.4 or later
24918 #endif
24919
24920 ;
24921 return 0;
24922 }
24923 _ACEOF
24924 rm -f conftest.$ac_objext
24925 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;;
24929 esac
24930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 (eval "$ac_compile") 2>conftest.er1
24932 ac_status=$?
24933 grep -v '^ *+' conftest.er1 >conftest.err
24934 rm -f conftest.er1
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } && {
24938 test -z "$ac_c_werror_flag" ||
24939 test ! -s conftest.err
24940 } && test -s conftest.$ac_objext; then
24941 wx_cv_prog_sgicc744=no
24942 else
24943 echo "$as_me: failed program was:" >&5
24944 sed 's/^/| /' conftest.$ac_ext >&5
24945
24946 wx_cv_prog_sgicc744=yes
24947
24948 fi
24949
24950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24951
24952
24953 fi
24954 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24955 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24956
24957 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24958 CFLAGS="-woff 3970 $CFLAGS"
24959 fi
24960 fi
24961 if test "x$SGICXX" = "xyes"; then
24962 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24963 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24964 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24965 echo $ECHO_N "(cached) $ECHO_C" >&6
24966 else
24967
24968 ac_ext=cpp
24969 ac_cpp='$CXXCPP $CPPFLAGS'
24970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980
24981 int
24982 main ()
24983 {
24984
24985 #if _SGI_COMPILER_VERSION >= 744
24986 chock me: mipsPro is 7.4.4 or later
24987 #endif
24988
24989 ;
24990 return 0;
24991 }
24992 _ACEOF
24993 rm -f conftest.$ac_objext
24994 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
25010 wx_cv_prog_sgicxx744=no
25011 else
25012 echo "$as_me: failed program was:" >&5
25013 sed 's/^/| /' conftest.$ac_ext >&5
25014
25015 wx_cv_prog_sgicxx744=yes
25016
25017 fi
25018
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020 ac_ext=c
25021 ac_cpp='$CPP $CPPFLAGS'
25022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25025
25026
25027
25028 fi
25029 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25030 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25031
25032 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25033 CXXFLAGS="-woff 3970 $CXXFLAGS"
25034 fi
25035 fi
25036
25037 if test "x$HPCC" = "xyes"; then
25038 CFLAGS="+W 2011,2450 $CFLAGS"
25039 fi
25040 if test "x$HPCXX" = "xyes"; then
25041 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25042 fi
25043
25044 if test "x$COMPAQCXX" = "xyes"; then
25045 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25046 fi
25047
25048 ac_ext=cpp
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25053
25054
25055 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25056 if test "$wxUSE_UNICODE" = "yes"; then
25057 std_string="std::wstring"
25058 char_type="wchar_t"
25059 else
25060 std_string="std::string"
25061 char_type="char"
25062 fi
25063
25064 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25065 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25066 if test "${wx_cv_class_stdstring+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069
25070 cat >conftest.$ac_ext <<_ACEOF
25071 /* confdefs.h. */
25072 _ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076 #include <string>
25077 int
25078 main ()
25079 {
25080 $std_string foo;
25081 ;
25082 return 0;
25083 }
25084 _ACEOF
25085 rm -f conftest.$ac_objext
25086 if { (ac_try="$ac_compile"
25087 case "(($ac_try" in
25088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25089 *) ac_try_echo=$ac_try;;
25090 esac
25091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25092 (eval "$ac_compile") 2>conftest.er1
25093 ac_status=$?
25094 grep -v '^ *+' conftest.er1 >conftest.err
25095 rm -f conftest.er1
25096 cat conftest.err >&5
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); } && {
25099 test -z "$ac_cxx_werror_flag" ||
25100 test ! -s conftest.err
25101 } && test -s conftest.$ac_objext; then
25102 wx_cv_class_stdstring=yes
25103 else
25104 echo "$as_me: failed program was:" >&5
25105 sed 's/^/| /' conftest.$ac_ext >&5
25106
25107 wx_cv_class_stdstring=no
25108
25109 fi
25110
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112
25113
25114 fi
25115 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25116 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25117
25118 if test "$wx_cv_class_stdstring" = yes; then
25119 if test "$wxUSE_UNICODE" = "yes"; then
25120 cat >>confdefs.h <<\_ACEOF
25121 #define HAVE_STD_WSTRING 1
25122 _ACEOF
25123
25124 fi
25125 else
25126 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25127 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25128 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25129 echo $ECHO_N "(cached) $ECHO_C" >&6
25130 else
25131
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138
25139 #ifdef HAVE_WCHAR_H
25140 # ifdef __CYGWIN__
25141 # include <stddef.h>
25142 # endif
25143 # include <wchar.h>
25144 #endif
25145 #ifdef HAVE_STDLIB_H
25146 # include <stdlib.h>
25147 #endif
25148 #include <stdio.h>
25149 #include <string>
25150
25151 int
25152 main ()
25153 {
25154 std::basic_string<$char_type> foo;
25155 const $char_type* dummy = foo.c_str();
25156 ;
25157 return 0;
25158 }
25159 _ACEOF
25160 rm -f conftest.$ac_objext
25161 if { (ac_try="$ac_compile"
25162 case "(($ac_try" in
25163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25164 *) ac_try_echo=$ac_try;;
25165 esac
25166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25167 (eval "$ac_compile") 2>conftest.er1
25168 ac_status=$?
25169 grep -v '^ *+' conftest.er1 >conftest.err
25170 rm -f conftest.er1
25171 cat conftest.err >&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); } && {
25174 test -z "$ac_cxx_werror_flag" ||
25175 test ! -s conftest.err
25176 } && test -s conftest.$ac_objext; then
25177 wx_cv_class_stdbasicstring=yes
25178 else
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25181
25182 wx_cv_class_stdbasicstring=no
25183
25184 fi
25185
25186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25187
25188
25189 fi
25190 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25191 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25192
25193 if test "$wx_cv_class_stdbasicstring" != yes; then
25194 if test "$wxUSE_STL" = "yes"; then
25195 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25196 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25197 { (exit 1); exit 1; }; }
25198 elif test "$wxUSE_STD_STRING" = "yes"; then
25199 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25200 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25201 { (exit 1); exit 1; }; }
25202 else
25203 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25204 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25205 wxUSE_STD_STRING=no
25206 fi
25207 fi
25208 fi
25209 fi
25210
25211 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25212 { echo "$as_me:$LINENO: checking for std::istream" >&5
25213 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25214 if test "${ac_cv_type_std__istream+set}" = set; then
25215 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 else
25217 cat >conftest.$ac_ext <<_ACEOF
25218 /* confdefs.h. */
25219 _ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 #include <iostream>
25224
25225 typedef std::istream ac__type_new_;
25226 int
25227 main ()
25228 {
25229 if ((ac__type_new_ *) 0)
25230 return 0;
25231 if (sizeof (ac__type_new_))
25232 return 0;
25233 ;
25234 return 0;
25235 }
25236 _ACEOF
25237 rm -f conftest.$ac_objext
25238 if { (ac_try="$ac_compile"
25239 case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25241 *) ac_try_echo=$ac_try;;
25242 esac
25243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25244 (eval "$ac_compile") 2>conftest.er1
25245 ac_status=$?
25246 grep -v '^ *+' conftest.er1 >conftest.err
25247 rm -f conftest.er1
25248 cat conftest.err >&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && {
25251 test -z "$ac_cxx_werror_flag" ||
25252 test ! -s conftest.err
25253 } && test -s conftest.$ac_objext; then
25254 ac_cv_type_std__istream=yes
25255 else
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25258
25259 ac_cv_type_std__istream=no
25260 fi
25261
25262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25263 fi
25264 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25265 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25266 if test $ac_cv_type_std__istream = yes; then
25267
25268 cat >>confdefs.h <<_ACEOF
25269 #define HAVE_STD__ISTREAM 1
25270 _ACEOF
25271
25272
25273 else
25274 wxUSE_STD_IOSTREAM=no
25275 fi
25276 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25277 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25278 if test "${ac_cv_type_std__ostream+set}" = set; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 else
25281 cat >conftest.$ac_ext <<_ACEOF
25282 /* confdefs.h. */
25283 _ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 #include <iostream>
25288
25289 typedef std::ostream ac__type_new_;
25290 int
25291 main ()
25292 {
25293 if ((ac__type_new_ *) 0)
25294 return 0;
25295 if (sizeof (ac__type_new_))
25296 return 0;
25297 ;
25298 return 0;
25299 }
25300 _ACEOF
25301 rm -f conftest.$ac_objext
25302 if { (ac_try="$ac_compile"
25303 case "(($ac_try" in
25304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25305 *) ac_try_echo=$ac_try;;
25306 esac
25307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25308 (eval "$ac_compile") 2>conftest.er1
25309 ac_status=$?
25310 grep -v '^ *+' conftest.er1 >conftest.err
25311 rm -f conftest.er1
25312 cat conftest.err >&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } && {
25315 test -z "$ac_cxx_werror_flag" ||
25316 test ! -s conftest.err
25317 } && test -s conftest.$ac_objext; then
25318 ac_cv_type_std__ostream=yes
25319 else
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25322
25323 ac_cv_type_std__ostream=no
25324 fi
25325
25326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25327 fi
25328 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25329 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25330 if test $ac_cv_type_std__ostream = yes; then
25331
25332 cat >>confdefs.h <<_ACEOF
25333 #define HAVE_STD__OSTREAM 1
25334 _ACEOF
25335
25336
25337 else
25338 wxUSE_STD_IOSTREAM=no
25339 fi
25340
25341
25342 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25343 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25344 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25345 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25346 { (exit 1); exit 1; }; }
25347 else
25348 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25349 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25350 fi
25351 fi
25352 fi
25353
25354 if test "$wxUSE_STL" = "yes"; then
25355 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25356 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25357 if test "${wx_cv_lib_stl+set}" = set; then
25358 echo $ECHO_N "(cached) $ECHO_C" >&6
25359 else
25360 cat >conftest.$ac_ext <<_ACEOF
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366 #include <string>
25367 #include <functional>
25368 #include <algorithm>
25369 #include <vector>
25370 #include <list>
25371 int
25372 main ()
25373 {
25374 std::vector<int> moo;
25375 std::list<int> foo;
25376 std::vector<int>::iterator it =
25377 std::find_if(moo.begin(), moo.end(),
25378 std::bind2nd(std::less<int>(), 3));
25379 ;
25380 return 0;
25381 }
25382 _ACEOF
25383 rm -f conftest.$ac_objext
25384 if { (ac_try="$ac_compile"
25385 case "(($ac_try" in
25386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25387 *) ac_try_echo=$ac_try;;
25388 esac
25389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25390 (eval "$ac_compile") 2>conftest.er1
25391 ac_status=$?
25392 grep -v '^ *+' conftest.er1 >conftest.err
25393 rm -f conftest.er1
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } && {
25397 test -z "$ac_cxx_werror_flag" ||
25398 test ! -s conftest.err
25399 } && test -s conftest.$ac_objext; then
25400 wx_cv_lib_stl=yes
25401 else
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25404
25405 wx_cv_lib_stl=no
25406
25407 fi
25408
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410
25411 fi
25412 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25413 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25414
25415 if test "$wx_cv_lib_stl" != yes; then
25416 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25417 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25418 { (exit 1); exit 1; }; }
25419 fi
25420
25421 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25422 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25423 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25424 echo $ECHO_N "(cached) $ECHO_C" >&6
25425 else
25426 cat >conftest.$ac_ext <<_ACEOF
25427 /* confdefs.h. */
25428 _ACEOF
25429 cat confdefs.h >>conftest.$ac_ext
25430 cat >>conftest.$ac_ext <<_ACEOF
25431 /* end confdefs.h. */
25432 #include <string>
25433 int
25434 main ()
25435 {
25436 std::string foo, bar;
25437 foo.compare(bar);
25438 foo.compare(1, 1, bar);
25439 foo.compare(1, 1, bar, 1, 1);
25440 foo.compare("");
25441 foo.compare(1, 1, "");
25442 foo.compare(1, 1, "", 2);
25443 ;
25444 return 0;
25445 }
25446 _ACEOF
25447 rm -f conftest.$ac_objext
25448 if { (ac_try="$ac_compile"
25449 case "(($ac_try" in
25450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25451 *) ac_try_echo=$ac_try;;
25452 esac
25453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25454 (eval "$ac_compile") 2>conftest.er1
25455 ac_status=$?
25456 grep -v '^ *+' conftest.er1 >conftest.err
25457 rm -f conftest.er1
25458 cat conftest.err >&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); } && {
25461 test -z "$ac_cxx_werror_flag" ||
25462 test ! -s conftest.err
25463 } && test -s conftest.$ac_objext; then
25464 wx_cv_func_stdstring_compare=yes
25465 else
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25468
25469 wx_cv_func_stdstring_compare=no
25470
25471 fi
25472
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474
25475 fi
25476 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25477 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25478
25479 if test "$wx_cv_func_stdstring_compare" = yes; then
25480 cat >>confdefs.h <<\_ACEOF
25481 #define HAVE_STD_STRING_COMPARE 1
25482 _ACEOF
25483
25484 fi
25485
25486 if test "$wx_cv_class_gnuhashmapset" = yes; then
25487 cat >>confdefs.h <<\_ACEOF
25488 #define HAVE_EXT_HASH_MAP 1
25489 _ACEOF
25490
25491 cat >>confdefs.h <<\_ACEOF
25492 #define HAVE_GNU_CXX_HASH_MAP 1
25493 _ACEOF
25494
25495 fi
25496
25497 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25498 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25499 if test "${ac_cv_header_unordered_map+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 else
25502 cat >conftest.$ac_ext <<_ACEOF
25503 /* confdefs.h. */
25504 _ACEOF
25505 cat confdefs.h >>conftest.$ac_ext
25506 cat >>conftest.$ac_ext <<_ACEOF
25507 /* end confdefs.h. */
25508
25509
25510
25511 #include <unordered_map>
25512 _ACEOF
25513 rm -f conftest.$ac_objext
25514 if { (ac_try="$ac_compile"
25515 case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25518 esac
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_compile") 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_cxx_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest.$ac_objext; then
25530 ac_cv_header_unordered_map=yes
25531 else
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25534
25535 ac_cv_header_unordered_map=no
25536 fi
25537
25538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25539 fi
25540 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25541 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25542 if test $ac_cv_header_unordered_map = yes; then
25543 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25544 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25545 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 else
25548 cat >conftest.$ac_ext <<_ACEOF
25549 /* confdefs.h. */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25554 #include <unordered_map>
25555 #include <unordered_set>
25556 int
25557 main ()
25558 {
25559 std::unordered_map<double*, char*> test1;
25560 std::unordered_set<char*> test2;
25561 ;
25562 return 0;
25563 }
25564 _ACEOF
25565 rm -f conftest.$ac_objext
25566 if { (ac_try="$ac_compile"
25567 case "(($ac_try" in
25568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25569 *) ac_try_echo=$ac_try;;
25570 esac
25571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25572 (eval "$ac_compile") 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } && {
25579 test -z "$ac_cxx_werror_flag" ||
25580 test ! -s conftest.err
25581 } && test -s conftest.$ac_objext; then
25582 wx_cv_class_stdunorderedmapset=yes
25583 else
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.$ac_ext >&5
25586
25587 wx_cv_class_stdunorderedmapset=no
25588 fi
25589
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25591
25592
25593 fi
25594 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25595 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25596 fi
25597
25598
25599
25600 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25601 cat >>confdefs.h <<\_ACEOF
25602 #define HAVE_STD_UNORDERED_MAP 1
25603 _ACEOF
25604
25605 cat >>confdefs.h <<\_ACEOF
25606 #define HAVE_STD_UNORDERED_SET 1
25607 _ACEOF
25608
25609 else
25610 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25611 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25612 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25614 else
25615 cat >conftest.$ac_ext <<_ACEOF
25616 /* confdefs.h. */
25617 _ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25621
25622
25623
25624 #include <tr1/unordered_map>
25625 _ACEOF
25626 rm -f conftest.$ac_objext
25627 if { (ac_try="$ac_compile"
25628 case "(($ac_try" in
25629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25630 *) ac_try_echo=$ac_try;;
25631 esac
25632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25633 (eval "$ac_compile") 2>conftest.er1
25634 ac_status=$?
25635 grep -v '^ *+' conftest.er1 >conftest.err
25636 rm -f conftest.er1
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } && {
25640 test -z "$ac_cxx_werror_flag" ||
25641 test ! -s conftest.err
25642 } && test -s conftest.$ac_objext; then
25643 ac_cv_header_tr1_unordered_map=yes
25644 else
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25647
25648 ac_cv_header_tr1_unordered_map=no
25649 fi
25650
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 fi
25653 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25654 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25655 if test $ac_cv_header_tr1_unordered_map = yes; then
25656 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25657 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25658 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25660 else
25661 cat >conftest.$ac_ext <<_ACEOF
25662 /* confdefs.h. */
25663 _ACEOF
25664 cat confdefs.h >>conftest.$ac_ext
25665 cat >>conftest.$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 #include <tr1/unordered_map>
25668 #include <tr1/unordered_set>
25669 int
25670 main ()
25671 {
25672 std::tr1::unordered_map<double*, char*> test1;
25673 std::tr1::unordered_set<char*> test2;
25674 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25675 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25676 #endif
25677 ;
25678 return 0;
25679 }
25680 _ACEOF
25681 rm -f conftest.$ac_objext
25682 if { (ac_try="$ac_compile"
25683 case "(($ac_try" in
25684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25685 *) ac_try_echo=$ac_try;;
25686 esac
25687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25688 (eval "$ac_compile") 2>conftest.er1
25689 ac_status=$?
25690 grep -v '^ *+' conftest.er1 >conftest.err
25691 rm -f conftest.er1
25692 cat conftest.err >&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } && {
25695 test -z "$ac_cxx_werror_flag" ||
25696 test ! -s conftest.err
25697 } && test -s conftest.$ac_objext; then
25698 wx_cv_class_tr1unorderedmapset=yes
25699 else
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.$ac_ext >&5
25702
25703 wx_cv_class_tr1unorderedmapset=no
25704 fi
25705
25706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25707
25708
25709 fi
25710 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25711 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25712 fi
25713
25714
25715
25716 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25717 cat >>confdefs.h <<\_ACEOF
25718 #define HAVE_TR1_UNORDERED_MAP 1
25719 _ACEOF
25720
25721 cat >>confdefs.h <<\_ACEOF
25722 #define HAVE_TR1_UNORDERED_SET 1
25723 _ACEOF
25724
25725 else
25726 { echo "$as_me:$LINENO: checking for hash_map" >&5
25727 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25728 if test "${ac_cv_header_hash_map+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 else
25731 cat >conftest.$ac_ext <<_ACEOF
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737
25738
25739
25740 #include <hash_map>
25741 _ACEOF
25742 rm -f conftest.$ac_objext
25743 if { (ac_try="$ac_compile"
25744 case "(($ac_try" in
25745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25746 *) ac_try_echo=$ac_try;;
25747 esac
25748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25749 (eval "$ac_compile") 2>conftest.er1
25750 ac_status=$?
25751 grep -v '^ *+' conftest.er1 >conftest.err
25752 rm -f conftest.er1
25753 cat conftest.err >&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); } && {
25756 test -z "$ac_cxx_werror_flag" ||
25757 test ! -s conftest.err
25758 } && test -s conftest.$ac_objext; then
25759 ac_cv_header_hash_map=yes
25760 else
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25763
25764 ac_cv_header_hash_map=no
25765 fi
25766
25767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25768 fi
25769 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25770 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25771 if test $ac_cv_header_hash_map = yes; then
25772 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25773 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25774 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25775 echo $ECHO_N "(cached) $ECHO_C" >&6
25776 else
25777 cat >conftest.$ac_ext <<_ACEOF
25778 /* confdefs.h. */
25779 _ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 #include <hash_map>
25784 #include <hash_set>
25785 int
25786 main ()
25787 {
25788 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25789 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25790 ;
25791 return 0;
25792 }
25793 _ACEOF
25794 rm -f conftest.$ac_objext
25795 if { (ac_try="$ac_compile"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25799 esac
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_compile") 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_cxx_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest.$ac_objext; then
25811 wx_cv_class_stdhashmapset=yes
25812 else
25813 echo "$as_me: failed program was:" >&5
25814 sed 's/^/| /' conftest.$ac_ext >&5
25815
25816 wx_cv_class_stdhashmapset=no
25817 fi
25818
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820
25821
25822 fi
25823 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25824 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25825 fi
25826
25827
25828
25829 if test "$wx_cv_class_stdhashmapset" = yes; then
25830 cat >>confdefs.h <<\_ACEOF
25831 #define HAVE_HASH_MAP 1
25832 _ACEOF
25833
25834 cat >>confdefs.h <<\_ACEOF
25835 #define HAVE_STD_HASH_MAP 1
25836 _ACEOF
25837
25838 fi
25839
25840 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25841 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25842 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25845 cat >conftest.$ac_ext <<_ACEOF
25846 /* confdefs.h. */
25847 _ACEOF
25848 cat confdefs.h >>conftest.$ac_ext
25849 cat >>conftest.$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25851
25852
25853
25854 #include <ext/hash_map>
25855 _ACEOF
25856 rm -f conftest.$ac_objext
25857 if { (ac_try="$ac_compile"
25858 case "(($ac_try" in
25859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25860 *) ac_try_echo=$ac_try;;
25861 esac
25862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25863 (eval "$ac_compile") 2>conftest.er1
25864 ac_status=$?
25865 grep -v '^ *+' conftest.er1 >conftest.err
25866 rm -f conftest.er1
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } && {
25870 test -z "$ac_cxx_werror_flag" ||
25871 test ! -s conftest.err
25872 } && test -s conftest.$ac_objext; then
25873 ac_cv_header_ext_hash_map=yes
25874 else
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25877
25878 ac_cv_header_ext_hash_map=no
25879 fi
25880
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25882 fi
25883 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25884 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25885 if test $ac_cv_header_ext_hash_map = yes; then
25886 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25887 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25888 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25889 echo $ECHO_N "(cached) $ECHO_C" >&6
25890 else
25891 cat >conftest.$ac_ext <<_ACEOF
25892 /* confdefs.h. */
25893 _ACEOF
25894 cat confdefs.h >>conftest.$ac_ext
25895 cat >>conftest.$ac_ext <<_ACEOF
25896 /* end confdefs.h. */
25897 #include <ext/hash_map>
25898 #include <ext/hash_set>
25899 int
25900 main ()
25901 {
25902 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25903 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25904 ;
25905 return 0;
25906 }
25907 _ACEOF
25908 rm -f conftest.$ac_objext
25909 if { (ac_try="$ac_compile"
25910 case "(($ac_try" in
25911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25912 *) ac_try_echo=$ac_try;;
25913 esac
25914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25915 (eval "$ac_compile") 2>conftest.er1
25916 ac_status=$?
25917 grep -v '^ *+' conftest.er1 >conftest.err
25918 rm -f conftest.er1
25919 cat conftest.err >&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); } && {
25922 test -z "$ac_cxx_werror_flag" ||
25923 test ! -s conftest.err
25924 } && test -s conftest.$ac_objext; then
25925 wx_cv_class_gnuhashmapset=yes
25926 else
25927 echo "$as_me: failed program was:" >&5
25928 sed 's/^/| /' conftest.$ac_ext >&5
25929
25930 wx_cv_class_gnuhashmapset=no
25931 fi
25932
25933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25934
25935
25936 fi
25937 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25938 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25939 fi
25940
25941
25942
25943 fi
25944 fi
25945 fi
25946
25947 ac_ext=cpp
25948 ac_cpp='$CXXCPP $CPPFLAGS'
25949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25953 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25954 if test -z "$CXXCPP"; then
25955 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25957 else
25958 # Double quotes because CXXCPP needs to be expanded
25959 for CXXCPP in "$CXX -E" "/lib/cpp"
25960 do
25961 ac_preproc_ok=false
25962 for ac_cxx_preproc_warn_flag in '' yes
25963 do
25964 # Use a header file that comes with gcc, so configuring glibc
25965 # with a fresh cross-compiler works.
25966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25967 # <limits.h> exists even on freestanding compilers.
25968 # On the NeXT, cc -E runs the code through the compiler's parser,
25969 # not just through cpp. "Syntax error" is here to catch this case.
25970 cat >conftest.$ac_ext <<_ACEOF
25971 /* confdefs.h. */
25972 _ACEOF
25973 cat confdefs.h >>conftest.$ac_ext
25974 cat >>conftest.$ac_ext <<_ACEOF
25975 /* end confdefs.h. */
25976 #ifdef __STDC__
25977 # include <limits.h>
25978 #else
25979 # include <assert.h>
25980 #endif
25981 Syntax error
25982 _ACEOF
25983 if { (ac_try="$ac_cpp conftest.$ac_ext"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25987 esac
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25990 ac_status=$?
25991 grep -v '^ *+' conftest.er1 >conftest.err
25992 rm -f conftest.er1
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } >/dev/null && {
25996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25997 test ! -s conftest.err
25998 }; then
25999 :
26000 else
26001 echo "$as_me: failed program was:" >&5
26002 sed 's/^/| /' conftest.$ac_ext >&5
26003
26004 # Broken: fails on valid input.
26005 continue
26006 fi
26007
26008 rm -f conftest.err conftest.$ac_ext
26009
26010 # OK, works on sane cases. Now check whether nonexistent headers
26011 # can be detected and how.
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 #include <ac_nonexistent.h>
26019 _ACEOF
26020 if { (ac_try="$ac_cpp conftest.$ac_ext"
26021 case "(($ac_try" in
26022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26023 *) ac_try_echo=$ac_try;;
26024 esac
26025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26027 ac_status=$?
26028 grep -v '^ *+' conftest.er1 >conftest.err
26029 rm -f conftest.er1
26030 cat conftest.err >&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); } >/dev/null && {
26033 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26034 test ! -s conftest.err
26035 }; then
26036 # Broken: success on invalid input.
26037 continue
26038 else
26039 echo "$as_me: failed program was:" >&5
26040 sed 's/^/| /' conftest.$ac_ext >&5
26041
26042 # Passes both tests.
26043 ac_preproc_ok=:
26044 break
26045 fi
26046
26047 rm -f conftest.err conftest.$ac_ext
26048
26049 done
26050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26051 rm -f conftest.err conftest.$ac_ext
26052 if $ac_preproc_ok; then
26053 break
26054 fi
26055
26056 done
26057 ac_cv_prog_CXXCPP=$CXXCPP
26058
26059 fi
26060 CXXCPP=$ac_cv_prog_CXXCPP
26061 else
26062 ac_cv_prog_CXXCPP=$CXXCPP
26063 fi
26064 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26065 echo "${ECHO_T}$CXXCPP" >&6; }
26066 ac_preproc_ok=false
26067 for ac_cxx_preproc_warn_flag in '' yes
26068 do
26069 # Use a header file that comes with gcc, so configuring glibc
26070 # with a fresh cross-compiler works.
26071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26072 # <limits.h> exists even on freestanding compilers.
26073 # On the NeXT, cc -E runs the code through the compiler's parser,
26074 # not just through cpp. "Syntax error" is here to catch this case.
26075 cat >conftest.$ac_ext <<_ACEOF
26076 /* confdefs.h. */
26077 _ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26081 #ifdef __STDC__
26082 # include <limits.h>
26083 #else
26084 # include <assert.h>
26085 #endif
26086 Syntax error
26087 _ACEOF
26088 if { (ac_try="$ac_cpp conftest.$ac_ext"
26089 case "(($ac_try" in
26090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26091 *) ac_try_echo=$ac_try;;
26092 esac
26093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26095 ac_status=$?
26096 grep -v '^ *+' conftest.er1 >conftest.err
26097 rm -f conftest.er1
26098 cat conftest.err >&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } >/dev/null && {
26101 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26102 test ! -s conftest.err
26103 }; then
26104 :
26105 else
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.$ac_ext >&5
26108
26109 # Broken: fails on valid input.
26110 continue
26111 fi
26112
26113 rm -f conftest.err conftest.$ac_ext
26114
26115 # OK, works on sane cases. Now check whether nonexistent headers
26116 # can be detected and how.
26117 cat >conftest.$ac_ext <<_ACEOF
26118 /* confdefs.h. */
26119 _ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26123 #include <ac_nonexistent.h>
26124 _ACEOF
26125 if { (ac_try="$ac_cpp conftest.$ac_ext"
26126 case "(($ac_try" in
26127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26128 *) ac_try_echo=$ac_try;;
26129 esac
26130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } >/dev/null && {
26138 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26139 test ! -s conftest.err
26140 }; then
26141 # Broken: success on invalid input.
26142 continue
26143 else
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26146
26147 # Passes both tests.
26148 ac_preproc_ok=:
26149 break
26150 fi
26151
26152 rm -f conftest.err conftest.$ac_ext
26153
26154 done
26155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26156 rm -f conftest.err conftest.$ac_ext
26157 if $ac_preproc_ok; then
26158 :
26159 else
26160 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26161 See \`config.log' for more details." >&5
26162 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26163 See \`config.log' for more details." >&2;}
26164 { (exit 1); exit 1; }; }
26165 fi
26166
26167 ac_ext=cpp
26168 ac_cpp='$CXXCPP $CPPFLAGS'
26169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26172
26173
26174
26175
26176 for ac_header in type_traits tr1/type_traits
26177 do
26178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26184 fi
26185 ac_res=`eval echo '${'$as_ac_Header'}'`
26186 { echo "$as_me:$LINENO: result: $ac_res" >&5
26187 echo "${ECHO_T}$ac_res" >&6; }
26188 else
26189 # Is the header compilable?
26190 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26192 cat >conftest.$ac_ext <<_ACEOF
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198 $ac_includes_default
26199 #include <$ac_header>
26200 _ACEOF
26201 rm -f conftest.$ac_objext
26202 if { (ac_try="$ac_compile"
26203 case "(($ac_try" in
26204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205 *) ac_try_echo=$ac_try;;
26206 esac
26207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208 (eval "$ac_compile") 2>conftest.er1
26209 ac_status=$?
26210 grep -v '^ *+' conftest.er1 >conftest.err
26211 rm -f conftest.er1
26212 cat conftest.err >&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } && {
26215 test -z "$ac_cxx_werror_flag" ||
26216 test ! -s conftest.err
26217 } && test -s conftest.$ac_objext; then
26218 ac_header_compiler=yes
26219 else
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 ac_header_compiler=no
26224 fi
26225
26226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26227 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26228 echo "${ECHO_T}$ac_header_compiler" >&6; }
26229
26230 # Is the header present?
26231 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26233 cat >conftest.$ac_ext <<_ACEOF
26234 /* confdefs.h. */
26235 _ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239 #include <$ac_header>
26240 _ACEOF
26241 if { (ac_try="$ac_cpp conftest.$ac_ext"
26242 case "(($ac_try" in
26243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26244 *) ac_try_echo=$ac_try;;
26245 esac
26246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26248 ac_status=$?
26249 grep -v '^ *+' conftest.er1 >conftest.err
26250 rm -f conftest.er1
26251 cat conftest.err >&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } >/dev/null && {
26254 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26255 test ! -s conftest.err
26256 }; then
26257 ac_header_preproc=yes
26258 else
26259 echo "$as_me: failed program was:" >&5
26260 sed 's/^/| /' conftest.$ac_ext >&5
26261
26262 ac_header_preproc=no
26263 fi
26264
26265 rm -f conftest.err conftest.$ac_ext
26266 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26267 echo "${ECHO_T}$ac_header_preproc" >&6; }
26268
26269 # So? What about this header?
26270 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26271 yes:no: )
26272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26276 ac_header_preproc=yes
26277 ;;
26278 no:yes:* )
26279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26291 ( cat <<\_ASBOX
26292 ## ----------------------------------------- ##
26293 ## Report this to wx-dev@lists.wxwidgets.org ##
26294 ## ----------------------------------------- ##
26295 _ASBOX
26296 ) | sed "s/^/$as_me: WARNING: /" >&2
26297 ;;
26298 esac
26299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26302 echo $ECHO_N "(cached) $ECHO_C" >&6
26303 else
26304 eval "$as_ac_Header=\$ac_header_preproc"
26305 fi
26306 ac_res=`eval echo '${'$as_ac_Header'}'`
26307 { echo "$as_me:$LINENO: result: $ac_res" >&5
26308 echo "${ECHO_T}$ac_res" >&6; }
26309
26310 fi
26311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26312 cat >>confdefs.h <<_ACEOF
26313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26314 _ACEOF
26315
26316 fi
26317
26318 done
26319
26320
26321
26322
26323 if test -n "$GCC"; then
26324 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26325 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26326 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26328 else
26329
26330 cat >conftest.$ac_ext <<_ACEOF
26331 /* confdefs.h. */
26332 _ACEOF
26333 cat confdefs.h >>conftest.$ac_ext
26334 cat >>conftest.$ac_ext <<_ACEOF
26335 /* end confdefs.h. */
26336
26337 int
26338 main ()
26339 {
26340
26341 unsigned int value=0;
26342 /* wxAtomicInc doesn't use return value here */
26343 __sync_fetch_and_add(&value, 2);
26344 __sync_sub_and_fetch(&value, 1);
26345 /* but wxAtomicDec does, so mimic that: */
26346 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26347
26348 ;
26349 return 0;
26350 }
26351 _ACEOF
26352 rm -f conftest.$ac_objext conftest$ac_exeext
26353 if { (ac_try="$ac_link"
26354 case "(($ac_try" in
26355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26356 *) ac_try_echo=$ac_try;;
26357 esac
26358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26359 (eval "$ac_link") 2>conftest.er1
26360 ac_status=$?
26361 grep -v '^ *+' conftest.er1 >conftest.err
26362 rm -f conftest.er1
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } && {
26366 test -z "$ac_cxx_werror_flag" ||
26367 test ! -s conftest.err
26368 } && test -s conftest$ac_exeext &&
26369 $as_test_x conftest$ac_exeext; then
26370 wx_cv_cc_gcc_atomic_builtins=yes
26371 else
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26374
26375 wx_cv_cc_gcc_atomic_builtins=no
26376 fi
26377
26378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26379 conftest$ac_exeext conftest.$ac_ext
26380
26381 fi
26382
26383 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26384 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26385 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26386 cat >>confdefs.h <<\_ACEOF
26387 #define HAVE_GCC_ATOMIC_BUILTINS 1
26388 _ACEOF
26389
26390 fi
26391 fi
26392
26393
26394 ac_ext=c
26395 ac_cpp='$CPP $CPPFLAGS'
26396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26399
26400
26401
26402 SEARCH_INCLUDE="\
26403 /usr/local/include \
26404 /usr/local/X11/include \
26405 /usr/local/include/X11 \
26406 /usr/local/X11R7/include \
26407 /usr/local/X11R6/include \
26408 /usr/local/include/X11R7 \
26409 /usr/local/include/X11R6 \
26410 \
26411 /usr/Motif-2.1/include \
26412 /usr/Motif-1.2/include \
26413 /usr/include/Motif1.2 \
26414 \
26415 /usr/dt/include \
26416 /usr/openwin/include \
26417 \
26418 /usr/include/Xm \
26419 \
26420 /usr/X11R7/include \
26421 /usr/X11R6/include \
26422 /usr/X11R6.4/include \
26423 \
26424 /usr/include/X11R7 \
26425 /usr/include/X11R6 \
26426 \
26427 /usr/X11/include \
26428 /usr/include/X11 \
26429 \
26430 /usr/XFree86/include/X11 \
26431 /usr/pkg/include \
26432 \
26433 /usr/local/X1R5/include \
26434 /usr/local/include/X11R5 \
26435 /usr/X11R5/include \
26436 /usr/include/X11R5 \
26437 \
26438 /usr/local/X11R4/include \
26439 /usr/local/include/X11R4 \
26440 /usr/X11R4/include \
26441 /usr/include/X11R4 \
26442 \
26443 /usr/openwin/share/include"
26444
26445 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26446 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26447
26448 case "${host}" in
26449 *-*-irix6* )
26450 if test "${wx_cv_std_libpath+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453
26454 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26455 for e in a so sl dylib dll.a; do
26456 libc="$d/libc.$e"
26457 if test -f $libc; then
26458 save_LIBS="$LIBS"
26459 LIBS="$libc"
26460 cat >conftest.$ac_ext <<_ACEOF
26461 int main() { return 0; }
26462 _ACEOF
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (ac_try="$ac_link"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467 *) ac_try_echo=$ac_try;;
26468 esac
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_link") 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_c_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest$ac_exeext &&
26480 $as_test_x conftest$ac_exeext; then
26481 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26482 else
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26485
26486
26487 fi
26488
26489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26490 conftest$ac_exeext conftest.$ac_ext
26491 LIBS="$save_LIBS"
26492 if test "x$wx_cv_std_libpath" != "x"; then
26493 break 2
26494 fi
26495 fi
26496 done
26497 done
26498 if test "x$wx_cv_std_libpath" = "x"; then
26499 wx_cv_std_libpath="lib"
26500 fi
26501
26502
26503 fi
26504
26505 ;;
26506
26507 *-*-solaris2* )
26508 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26509 wx_cv_std_libpath="lib/64"
26510 else
26511 wx_cv_std_libpath="lib"
26512 fi
26513 ;;
26514
26515 *-*-linux* )
26516 if test "$ac_cv_sizeof_void_p" = 8 -a \
26517 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26518 wx_cv_std_libpath="lib64"
26519 else
26520 wx_cv_std_libpath="lib"
26521 fi
26522 ;;
26523
26524 *)
26525 wx_cv_std_libpath="lib";
26526 ;;
26527 esac
26528
26529 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26530 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26531
26532 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26533
26534 if test "$build" != "$host" -a "$GCC" = yes; then
26535 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26536 cross_root=`dirname $cross_root`
26537 cross_root=`dirname $cross_root`
26538
26539 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26540 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26541 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26542
26543 if test -z "$PKG_CONFIG_PATH"; then
26544 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26545 export PKG_CONFIG_PATH
26546 fi
26547
26548 if test -z "$x_includes" -o "$x_includes" = NONE; then
26549
26550 ac_find_includes=
26551 for ac_dir in $SEARCH_INCLUDE /usr/include;
26552 do
26553 if test -f "$ac_dir/X11/Intrinsic.h"; then
26554 ac_find_includes=$ac_dir
26555 break
26556 fi
26557 done
26558
26559 x_includes=$ac_find_includes
26560 fi
26561 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26562
26563 ac_find_libraries=
26564 for ac_dir in $SEARCH_LIB;
26565 do
26566 for ac_extension in a so sl dylib dll.a; do
26567 if test -f "$ac_dir/libXt.$ac_extension"; then
26568 ac_find_libraries=$ac_dir
26569 break 2
26570 fi
26571 done
26572 done
26573
26574 x_libraries=$ac_find_libraries
26575 fi
26576 fi
26577 fi
26578
26579
26580 cat >confcache <<\_ACEOF
26581 # This file is a shell script that caches the results of configure
26582 # tests run on this system so they can be shared between configure
26583 # scripts and configure runs, see configure's option --config-cache.
26584 # It is not useful on other systems. If it contains results you don't
26585 # want to keep, you may remove or edit it.
26586 #
26587 # config.status only pays attention to the cache file if you give it
26588 # the --recheck option to rerun configure.
26589 #
26590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26592 # following values.
26593
26594 _ACEOF
26595
26596 # The following way of writing the cache mishandles newlines in values,
26597 # but we know of no workaround that is simple, portable, and efficient.
26598 # So, we kill variables containing newlines.
26599 # Ultrix sh set writes to stderr and can't be redirected directly,
26600 # and sets the high bit in the cache file unless we assign to the vars.
26601 (
26602 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26603 eval ac_val=\$$ac_var
26604 case $ac_val in #(
26605 *${as_nl}*)
26606 case $ac_var in #(
26607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26609 esac
26610 case $ac_var in #(
26611 _ | IFS | as_nl) ;; #(
26612 *) $as_unset $ac_var ;;
26613 esac ;;
26614 esac
26615 done
26616
26617 (set) 2>&1 |
26618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26619 *${as_nl}ac_space=\ *)
26620 # `set' does not quote correctly, so add quotes (double-quote
26621 # substitution turns \\\\ into \\, and sed turns \\ into \).
26622 sed -n \
26623 "s/'/'\\\\''/g;
26624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26625 ;; #(
26626 *)
26627 # `set' quotes correctly as required by POSIX, so do not add quotes.
26628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26629 ;;
26630 esac |
26631 sort
26632 ) |
26633 sed '
26634 /^ac_cv_env_/b end
26635 t clear
26636 :clear
26637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26638 t end
26639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26640 :end' >>confcache
26641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26642 if test -w "$cache_file"; then
26643 test "x$cache_file" != "x/dev/null" &&
26644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26645 echo "$as_me: updating cache $cache_file" >&6;}
26646 cat confcache >$cache_file
26647 else
26648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26649 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26650 fi
26651 fi
26652 rm -f confcache
26653
26654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26655 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26657 if test "${wx_cv_lib_glibc21+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 else
26660
26661 cat >conftest.$ac_ext <<_ACEOF
26662 /* confdefs.h. */
26663 _ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 #include <features.h>
26668 int
26669 main ()
26670 {
26671
26672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26673 not glibc 2.1
26674 #endif
26675
26676 ;
26677 return 0;
26678 }
26679 _ACEOF
26680 rm -f conftest.$ac_objext
26681 if { (ac_try="$ac_compile"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26685 esac
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_compile") 2>conftest.er1
26688 ac_status=$?
26689 grep -v '^ *+' conftest.er1 >conftest.err
26690 rm -f conftest.er1
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } && {
26694 test -z "$ac_c_werror_flag" ||
26695 test ! -s conftest.err
26696 } && test -s conftest.$ac_objext; then
26697
26698 wx_cv_lib_glibc21=yes
26699
26700 else
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.$ac_ext >&5
26703
26704
26705 wx_cv_lib_glibc21=no
26706
26707
26708 fi
26709
26710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26711
26712 fi
26713 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26714 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26715 if test "$wx_cv_lib_glibc21" = "yes"; then
26716 cat >>confdefs.h <<\_ACEOF
26717 #define wxHAVE_GLIBC2 1
26718 _ACEOF
26719
26720 fi
26721 fi
26722
26723 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26724 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define _GNU_SOURCE 1
26727 _ACEOF
26728
26729 fi
26730 fi
26731
26732 have_cos=0
26733 have_floor=0
26734
26735 for ac_func in cos
26736 do
26737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26741 echo $ECHO_N "(cached) $ECHO_C" >&6
26742 else
26743 cat >conftest.$ac_ext <<_ACEOF
26744 /* confdefs.h. */
26745 _ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26751 #define $ac_func innocuous_$ac_func
26752
26753 /* System header to define __stub macros and hopefully few prototypes,
26754 which can conflict with char $ac_func (); below.
26755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26756 <limits.h> exists even on freestanding compilers. */
26757
26758 #ifdef __STDC__
26759 # include <limits.h>
26760 #else
26761 # include <assert.h>
26762 #endif
26763
26764 #undef $ac_func
26765
26766 /* Override any GCC internal prototype to avoid an error.
26767 Use char because int might match the return type of a GCC
26768 builtin and then its argument prototype would still apply. */
26769 #ifdef __cplusplus
26770 extern "C"
26771 #endif
26772 char $ac_func ();
26773 /* The GNU C library defines this for functions which it implements
26774 to always fail with ENOSYS. Some functions are actually named
26775 something starting with __ and the normal name is an alias. */
26776 #if defined __stub_$ac_func || defined __stub___$ac_func
26777 choke me
26778 #endif
26779
26780 int
26781 main ()
26782 {
26783 return $ac_func ();
26784 ;
26785 return 0;
26786 }
26787 _ACEOF
26788 rm -f conftest.$ac_objext conftest$ac_exeext
26789 if { (ac_try="$ac_link"
26790 case "(($ac_try" in
26791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26792 *) ac_try_echo=$ac_try;;
26793 esac
26794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26795 (eval "$ac_link") 2>conftest.er1
26796 ac_status=$?
26797 grep -v '^ *+' conftest.er1 >conftest.err
26798 rm -f conftest.er1
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } && {
26802 test -z "$ac_c_werror_flag" ||
26803 test ! -s conftest.err
26804 } && test -s conftest$ac_exeext &&
26805 $as_test_x conftest$ac_exeext; then
26806 eval "$as_ac_var=yes"
26807 else
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26810
26811 eval "$as_ac_var=no"
26812 fi
26813
26814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26815 conftest$ac_exeext conftest.$ac_ext
26816 fi
26817 ac_res=`eval echo '${'$as_ac_var'}'`
26818 { echo "$as_me:$LINENO: result: $ac_res" >&5
26819 echo "${ECHO_T}$ac_res" >&6; }
26820 if test `eval echo '${'$as_ac_var'}'` = yes; then
26821 cat >>confdefs.h <<_ACEOF
26822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26823 _ACEOF
26824 have_cos=1
26825 fi
26826 done
26827
26828
26829 for ac_func in floor
26830 do
26831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26835 echo $ECHO_N "(cached) $ECHO_C" >&6
26836 else
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26845 #define $ac_func innocuous_$ac_func
26846
26847 /* System header to define __stub macros and hopefully few prototypes,
26848 which can conflict with char $ac_func (); below.
26849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26850 <limits.h> exists even on freestanding compilers. */
26851
26852 #ifdef __STDC__
26853 # include <limits.h>
26854 #else
26855 # include <assert.h>
26856 #endif
26857
26858 #undef $ac_func
26859
26860 /* Override any GCC internal prototype to avoid an error.
26861 Use char because int might match the return type of a GCC
26862 builtin and then its argument prototype would still apply. */
26863 #ifdef __cplusplus
26864 extern "C"
26865 #endif
26866 char $ac_func ();
26867 /* The GNU C library defines this for functions which it implements
26868 to always fail with ENOSYS. Some functions are actually named
26869 something starting with __ and the normal name is an alias. */
26870 #if defined __stub_$ac_func || defined __stub___$ac_func
26871 choke me
26872 #endif
26873
26874 int
26875 main ()
26876 {
26877 return $ac_func ();
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 rm -f conftest.$ac_objext conftest$ac_exeext
26883 if { (ac_try="$ac_link"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26887 esac
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_link") 2>conftest.er1
26890 ac_status=$?
26891 grep -v '^ *+' conftest.er1 >conftest.err
26892 rm -f conftest.er1
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_c_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest$ac_exeext &&
26899 $as_test_x conftest$ac_exeext; then
26900 eval "$as_ac_var=yes"
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 eval "$as_ac_var=no"
26906 fi
26907
26908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26909 conftest$ac_exeext conftest.$ac_ext
26910 fi
26911 ac_res=`eval echo '${'$as_ac_var'}'`
26912 { echo "$as_me:$LINENO: result: $ac_res" >&5
26913 echo "${ECHO_T}$ac_res" >&6; }
26914 if test `eval echo '${'$as_ac_var'}'` = yes; then
26915 cat >>confdefs.h <<_ACEOF
26916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26917 _ACEOF
26918 have_floor=1
26919 fi
26920 done
26921
26922 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26923 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26924 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26925 { echo "$as_me:$LINENO: result: yes" >&5
26926 echo "${ECHO_T}yes" >&6; }
26927 else
26928 { echo "$as_me:$LINENO: result: no" >&5
26929 echo "${ECHO_T}no" >&6; }
26930 LIBS="$LIBS -lm"
26931 # use different functions to avoid configure caching
26932 have_sin=0
26933 have_ceil=0
26934
26935 for ac_func in sin
26936 do
26937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26943 cat >conftest.$ac_ext <<_ACEOF
26944 /* confdefs.h. */
26945 _ACEOF
26946 cat confdefs.h >>conftest.$ac_ext
26947 cat >>conftest.$ac_ext <<_ACEOF
26948 /* end confdefs.h. */
26949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26951 #define $ac_func innocuous_$ac_func
26952
26953 /* System header to define __stub macros and hopefully few prototypes,
26954 which can conflict with char $ac_func (); below.
26955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26956 <limits.h> exists even on freestanding compilers. */
26957
26958 #ifdef __STDC__
26959 # include <limits.h>
26960 #else
26961 # include <assert.h>
26962 #endif
26963
26964 #undef $ac_func
26965
26966 /* Override any GCC internal prototype to avoid an error.
26967 Use char because int might match the return type of a GCC
26968 builtin and then its argument prototype would still apply. */
26969 #ifdef __cplusplus
26970 extern "C"
26971 #endif
26972 char $ac_func ();
26973 /* The GNU C library defines this for functions which it implements
26974 to always fail with ENOSYS. Some functions are actually named
26975 something starting with __ and the normal name is an alias. */
26976 #if defined __stub_$ac_func || defined __stub___$ac_func
26977 choke me
26978 #endif
26979
26980 int
26981 main ()
26982 {
26983 return $ac_func ();
26984 ;
26985 return 0;
26986 }
26987 _ACEOF
26988 rm -f conftest.$ac_objext conftest$ac_exeext
26989 if { (ac_try="$ac_link"
26990 case "(($ac_try" in
26991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26993 esac
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_link") 2>conftest.er1
26996 ac_status=$?
26997 grep -v '^ *+' conftest.er1 >conftest.err
26998 rm -f conftest.er1
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } && {
27002 test -z "$ac_c_werror_flag" ||
27003 test ! -s conftest.err
27004 } && test -s conftest$ac_exeext &&
27005 $as_test_x conftest$ac_exeext; then
27006 eval "$as_ac_var=yes"
27007 else
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011 eval "$as_ac_var=no"
27012 fi
27013
27014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27015 conftest$ac_exeext conftest.$ac_ext
27016 fi
27017 ac_res=`eval echo '${'$as_ac_var'}'`
27018 { echo "$as_me:$LINENO: result: $ac_res" >&5
27019 echo "${ECHO_T}$ac_res" >&6; }
27020 if test `eval echo '${'$as_ac_var'}'` = yes; then
27021 cat >>confdefs.h <<_ACEOF
27022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27023 _ACEOF
27024 have_sin=1
27025 fi
27026 done
27027
27028
27029 for ac_func in ceil
27030 do
27031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27035 echo $ECHO_N "(cached) $ECHO_C" >&6
27036 else
27037 cat >conftest.$ac_ext <<_ACEOF
27038 /* confdefs.h. */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27045 #define $ac_func innocuous_$ac_func
27046
27047 /* System header to define __stub macros and hopefully few prototypes,
27048 which can conflict with char $ac_func (); below.
27049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27050 <limits.h> exists even on freestanding compilers. */
27051
27052 #ifdef __STDC__
27053 # include <limits.h>
27054 #else
27055 # include <assert.h>
27056 #endif
27057
27058 #undef $ac_func
27059
27060 /* Override any GCC internal prototype to avoid an error.
27061 Use char because int might match the return type of a GCC
27062 builtin and then its argument prototype would still apply. */
27063 #ifdef __cplusplus
27064 extern "C"
27065 #endif
27066 char $ac_func ();
27067 /* The GNU C library defines this for functions which it implements
27068 to always fail with ENOSYS. Some functions are actually named
27069 something starting with __ and the normal name is an alias. */
27070 #if defined __stub_$ac_func || defined __stub___$ac_func
27071 choke me
27072 #endif
27073
27074 int
27075 main ()
27076 {
27077 return $ac_func ();
27078 ;
27079 return 0;
27080 }
27081 _ACEOF
27082 rm -f conftest.$ac_objext conftest$ac_exeext
27083 if { (ac_try="$ac_link"
27084 case "(($ac_try" in
27085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27086 *) ac_try_echo=$ac_try;;
27087 esac
27088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27089 (eval "$ac_link") 2>conftest.er1
27090 ac_status=$?
27091 grep -v '^ *+' conftest.er1 >conftest.err
27092 rm -f conftest.er1
27093 cat conftest.err >&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } && {
27096 test -z "$ac_c_werror_flag" ||
27097 test ! -s conftest.err
27098 } && test -s conftest$ac_exeext &&
27099 $as_test_x conftest$ac_exeext; then
27100 eval "$as_ac_var=yes"
27101 else
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.$ac_ext >&5
27104
27105 eval "$as_ac_var=no"
27106 fi
27107
27108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27109 conftest$ac_exeext conftest.$ac_ext
27110 fi
27111 ac_res=`eval echo '${'$as_ac_var'}'`
27112 { echo "$as_me:$LINENO: result: $ac_res" >&5
27113 echo "${ECHO_T}$ac_res" >&6; }
27114 if test `eval echo '${'$as_ac_var'}'` = yes; then
27115 cat >>confdefs.h <<_ACEOF
27116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27117 _ACEOF
27118 have_ceil=1
27119 fi
27120 done
27121
27122 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27123 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27124 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27125 { echo "$as_me:$LINENO: result: yes" >&5
27126 echo "${ECHO_T}yes" >&6; }
27127 else
27128 { echo "$as_me:$LINENO: result: no" >&5
27129 echo "${ECHO_T}no" >&6; }
27130 # not sure we should warn the user, crash, etc.
27131 fi
27132 fi
27133
27134 ac_ext=cpp
27135 ac_cpp='$CXXCPP $CPPFLAGS'
27136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27139
27140 if test "wxUSE_UNICODE" = "yes"; then
27141
27142 for wx_func in wcstoull
27143 do
27144 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27146 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27148 else
27149
27150 cat >conftest.$ac_ext <<_ACEOF
27151
27152 /* confdefs.h. */
27153 _ACEOF
27154 cat confdefs.h >>conftest.$ac_ext
27155 cat >>conftest.$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27157
27158
27159 $ac_includes_default
27160
27161 int
27162 main ()
27163 {
27164
27165 #ifndef $wx_func
27166 &$wx_func;
27167 #endif
27168
27169
27170 ;
27171 return 0;
27172 }
27173
27174 _ACEOF
27175 rm -f conftest.$ac_objext conftest$ac_exeext
27176 if { (ac_try="$ac_link"
27177 case "(($ac_try" in
27178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27179 *) ac_try_echo=$ac_try;;
27180 esac
27181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27182 (eval "$ac_link") 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } && {
27189 test -z "$ac_cxx_werror_flag" ||
27190 test ! -s conftest.err
27191 } && test -s conftest$ac_exeext &&
27192 $as_test_x conftest$ac_exeext; then
27193 eval wx_cv_func_$wx_func=yes
27194 else
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.$ac_ext >&5
27197
27198 eval wx_cv_func_$wx_func=no
27199 fi
27200
27201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27202 conftest$ac_exeext conftest.$ac_ext
27203
27204 fi
27205 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27206 { echo "$as_me:$LINENO: result: $ac_res" >&5
27207 echo "${ECHO_T}$ac_res" >&6; }
27208
27209 if eval test \$wx_cv_func_$wx_func = yes
27210 then
27211 cat >>confdefs.h <<_ACEOF
27212 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27213 _ACEOF
27214
27215
27216 else
27217 :
27218
27219 fi
27220 done
27221
27222 else
27223
27224 for wx_func in strtoull
27225 do
27226 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27227 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27228 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27229 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 else
27231
27232 cat >conftest.$ac_ext <<_ACEOF
27233
27234 /* confdefs.h. */
27235 _ACEOF
27236 cat confdefs.h >>conftest.$ac_ext
27237 cat >>conftest.$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27239
27240
27241 $ac_includes_default
27242
27243 int
27244 main ()
27245 {
27246
27247 #ifndef $wx_func
27248 &$wx_func;
27249 #endif
27250
27251
27252 ;
27253 return 0;
27254 }
27255
27256 _ACEOF
27257 rm -f conftest.$ac_objext conftest$ac_exeext
27258 if { (ac_try="$ac_link"
27259 case "(($ac_try" in
27260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27261 *) ac_try_echo=$ac_try;;
27262 esac
27263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27264 (eval "$ac_link") 2>conftest.er1
27265 ac_status=$?
27266 grep -v '^ *+' conftest.er1 >conftest.err
27267 rm -f conftest.er1
27268 cat conftest.err >&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } && {
27271 test -z "$ac_cxx_werror_flag" ||
27272 test ! -s conftest.err
27273 } && test -s conftest$ac_exeext &&
27274 $as_test_x conftest$ac_exeext; then
27275 eval wx_cv_func_$wx_func=yes
27276 else
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27279
27280 eval wx_cv_func_$wx_func=no
27281 fi
27282
27283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27284 conftest$ac_exeext conftest.$ac_ext
27285
27286 fi
27287 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27288 { echo "$as_me:$LINENO: result: $ac_res" >&5
27289 echo "${ECHO_T}$ac_res" >&6; }
27290
27291 if eval test \$wx_cv_func_$wx_func = yes
27292 then
27293 cat >>confdefs.h <<_ACEOF
27294 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27295 _ACEOF
27296
27297
27298 else
27299 :
27300
27301 fi
27302 done
27303
27304 fi
27305 ac_ext=c
27306 ac_cpp='$CPP $CPPFLAGS'
27307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27310
27311
27312
27313
27314 if test "$wxUSE_REGEX" != "no"; then
27315 cat >>confdefs.h <<\_ACEOF
27316 #define wxUSE_REGEX 1
27317 _ACEOF
27318
27319
27320 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27321 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27322 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27323 wxUSE_REGEX=builtin
27324 fi
27325
27326 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27327 { echo "$as_me:$LINENO: checking for regex.h" >&5
27328 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27329 if test "${ac_cv_header_regex_h+set}" = set; then
27330 echo $ECHO_N "(cached) $ECHO_C" >&6
27331 else
27332 cat >conftest.$ac_ext <<_ACEOF
27333 /* confdefs.h. */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338
27339
27340 #include <regex.h>
27341 _ACEOF
27342 rm -f conftest.$ac_objext
27343 if { (ac_try="$ac_compile"
27344 case "(($ac_try" in
27345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27346 *) ac_try_echo=$ac_try;;
27347 esac
27348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27349 (eval "$ac_compile") 2>conftest.er1
27350 ac_status=$?
27351 grep -v '^ *+' conftest.er1 >conftest.err
27352 rm -f conftest.er1
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } && {
27356 test -z "$ac_c_werror_flag" ||
27357 test ! -s conftest.err
27358 } && test -s conftest.$ac_objext; then
27359 ac_cv_header_regex_h=yes
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27363
27364 ac_cv_header_regex_h=no
27365 fi
27366
27367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27368 fi
27369 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27370 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27371 if test $ac_cv_header_regex_h = yes; then
27372
27373
27374 for ac_func in regcomp re_search
27375 do
27376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 else
27382 cat >conftest.$ac_ext <<_ACEOF
27383 /* confdefs.h. */
27384 _ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27390 #define $ac_func innocuous_$ac_func
27391
27392 /* System header to define __stub macros and hopefully few prototypes,
27393 which can conflict with char $ac_func (); below.
27394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27395 <limits.h> exists even on freestanding compilers. */
27396
27397 #ifdef __STDC__
27398 # include <limits.h>
27399 #else
27400 # include <assert.h>
27401 #endif
27402
27403 #undef $ac_func
27404
27405 /* Override any GCC internal prototype to avoid an error.
27406 Use char because int might match the return type of a GCC
27407 builtin and then its argument prototype would still apply. */
27408 #ifdef __cplusplus
27409 extern "C"
27410 #endif
27411 char $ac_func ();
27412 /* The GNU C library defines this for functions which it implements
27413 to always fail with ENOSYS. Some functions are actually named
27414 something starting with __ and the normal name is an alias. */
27415 #if defined __stub_$ac_func || defined __stub___$ac_func
27416 choke me
27417 #endif
27418
27419 int
27420 main ()
27421 {
27422 return $ac_func ();
27423 ;
27424 return 0;
27425 }
27426 _ACEOF
27427 rm -f conftest.$ac_objext conftest$ac_exeext
27428 if { (ac_try="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27432 esac
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 eval "$as_ac_var=yes"
27446 else
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27449
27450 eval "$as_ac_var=no"
27451 fi
27452
27453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27454 conftest$ac_exeext conftest.$ac_ext
27455 fi
27456 ac_res=`eval echo '${'$as_ac_var'}'`
27457 { echo "$as_me:$LINENO: result: $ac_res" >&5
27458 echo "${ECHO_T}$ac_res" >&6; }
27459 if test `eval echo '${'$as_ac_var'}'` = yes; then
27460 cat >>confdefs.h <<_ACEOF
27461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27462 _ACEOF
27463
27464 fi
27465 done
27466
27467 fi
27468
27469
27470
27471 if test "x$ac_cv_func_regcomp" != "xyes"; then
27472 if test "$wxUSE_REGEX" = "sys" ; then
27473 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27474 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27475 { (exit 1); exit 1; }; }
27476 else
27477 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27478 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27479 wxUSE_REGEX=builtin
27480 fi
27481 else
27482 wxUSE_REGEX=sys
27483 cat >>confdefs.h <<\_ACEOF
27484 #define WX_NO_REGEX_ADVANCED 1
27485 _ACEOF
27486
27487 fi
27488 fi
27489 fi
27490
27491
27492 ZLIB_LINK=
27493 if test "$wxUSE_ZLIB" != "no" ; then
27494 cat >>confdefs.h <<\_ACEOF
27495 #define wxUSE_ZLIB 1
27496 _ACEOF
27497
27498
27499 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27500 if test "$USE_DARWIN" = 1; then
27501 system_zlib_h_ok="yes"
27502 else
27503 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27504 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27505 if test "${ac_cv_header_zlib_h+set}" = set; then
27506 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 else
27508 if test "$cross_compiling" = yes; then
27509 unset ac_cv_header_zlib_h
27510
27511 else
27512 cat >conftest.$ac_ext <<_ACEOF
27513 /* confdefs.h. */
27514 _ACEOF
27515 cat confdefs.h >>conftest.$ac_ext
27516 cat >>conftest.$ac_ext <<_ACEOF
27517 /* end confdefs.h. */
27518
27519 #include <zlib.h>
27520 #include <stdio.h>
27521
27522 int main()
27523 {
27524 FILE *f=fopen("conftestval", "w");
27525 if (!f) exit(1);
27526 fprintf(f, "%s",
27527 ZLIB_VERSION[0] == '1' &&
27528 (ZLIB_VERSION[2] > '1' ||
27529 (ZLIB_VERSION[2] == '1' &&
27530 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27531 exit(0);
27532 }
27533
27534 _ACEOF
27535 rm -f conftest$ac_exeext
27536 if { (ac_try="$ac_link"
27537 case "(($ac_try" in
27538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27539 *) ac_try_echo=$ac_try;;
27540 esac
27541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27542 (eval "$ac_link") 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27546 { (case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27549 esac
27550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_try") 2>&5
27552 ac_status=$?
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); }; }; then
27555 ac_cv_header_zlib_h=`cat conftestval`
27556 else
27557 echo "$as_me: program exited with status $ac_status" >&5
27558 echo "$as_me: failed program was:" >&5
27559 sed 's/^/| /' conftest.$ac_ext >&5
27560
27561 ( exit $ac_status )
27562 ac_cv_header_zlib_h=no
27563 fi
27564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27565 fi
27566
27567
27568
27569 fi
27570 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27571 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27572 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27573 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27574 if test "${ac_cv_header_zlib_h+set}" = set; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 else
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583
27584
27585 #include <zlib.h>
27586 _ACEOF
27587 rm -f conftest.$ac_objext
27588 if { (ac_try="$ac_compile"
27589 case "(($ac_try" in
27590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 *) ac_try_echo=$ac_try;;
27592 esac
27593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27594 (eval "$ac_compile") 2>conftest.er1
27595 ac_status=$?
27596 grep -v '^ *+' conftest.er1 >conftest.err
27597 rm -f conftest.er1
27598 cat conftest.err >&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } && {
27601 test -z "$ac_c_werror_flag" ||
27602 test ! -s conftest.err
27603 } && test -s conftest.$ac_objext; then
27604 ac_cv_header_zlib_h=yes
27605 else
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27608
27609 ac_cv_header_zlib_h=no
27610 fi
27611
27612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613 fi
27614 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27616
27617
27618
27619 system_zlib_h_ok=$ac_cv_header_zlib_h
27620 fi
27621
27622 if test "$system_zlib_h_ok" = "yes"; then
27623 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27624 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27625 if test "${ac_cv_lib_z_deflate+set}" = set; then
27626 echo $ECHO_N "(cached) $ECHO_C" >&6
27627 else
27628 ac_check_lib_save_LIBS=$LIBS
27629 LIBS="-lz $LIBS"
27630 cat >conftest.$ac_ext <<_ACEOF
27631 /* confdefs.h. */
27632 _ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27636
27637 /* Override any GCC internal prototype to avoid an error.
27638 Use char because int might match the return type of a GCC
27639 builtin and then its argument prototype would still apply. */
27640 #ifdef __cplusplus
27641 extern "C"
27642 #endif
27643 char deflate ();
27644 int
27645 main ()
27646 {
27647 return deflate ();
27648 ;
27649 return 0;
27650 }
27651 _ACEOF
27652 rm -f conftest.$ac_objext conftest$ac_exeext
27653 if { (ac_try="$ac_link"
27654 case "(($ac_try" in
27655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27656 *) ac_try_echo=$ac_try;;
27657 esac
27658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27659 (eval "$ac_link") 2>conftest.er1
27660 ac_status=$?
27661 grep -v '^ *+' conftest.er1 >conftest.err
27662 rm -f conftest.er1
27663 cat conftest.err >&5
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } && {
27666 test -z "$ac_c_werror_flag" ||
27667 test ! -s conftest.err
27668 } && test -s conftest$ac_exeext &&
27669 $as_test_x conftest$ac_exeext; then
27670 ac_cv_lib_z_deflate=yes
27671 else
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.$ac_ext >&5
27674
27675 ac_cv_lib_z_deflate=no
27676 fi
27677
27678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27679 conftest$ac_exeext conftest.$ac_ext
27680 LIBS=$ac_check_lib_save_LIBS
27681 fi
27682 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27683 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27684 if test $ac_cv_lib_z_deflate = yes; then
27685 ZLIB_LINK=" -lz"
27686 fi
27687
27688 fi
27689
27690 if test "x$ZLIB_LINK" = "x" ; then
27691 if test "$wxUSE_ZLIB" = "sys" ; then
27692 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27693 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27694 { (exit 1); exit 1; }; }
27695 else
27696 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27697 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27698 wxUSE_ZLIB=builtin
27699 fi
27700 else
27701 wxUSE_ZLIB=sys
27702 fi
27703 fi
27704 fi
27705
27706
27707 PNG_LINK=
27708 if test "$wxUSE_LIBPNG" != "no" ; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define wxUSE_LIBPNG 1
27711 _ACEOF
27712
27713
27714 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27715 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27716 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27717 wxUSE_LIBPNG=sys
27718 fi
27719
27720 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27721 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27722 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27723 wxUSE_LIBPNG=builtin
27724 fi
27725
27726 if test "$wxUSE_MGL" != 1 ; then
27727 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27728 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27729 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27730 if test "${ac_cv_header_png_h+set}" = set; then
27731 echo $ECHO_N "(cached) $ECHO_C" >&6
27732 else
27733 if test "$cross_compiling" = yes; then
27734 unset ac_cv_header_png_h
27735
27736 else
27737 cat >conftest.$ac_ext <<_ACEOF
27738 /* confdefs.h. */
27739 _ACEOF
27740 cat confdefs.h >>conftest.$ac_ext
27741 cat >>conftest.$ac_ext <<_ACEOF
27742 /* end confdefs.h. */
27743
27744 #include <png.h>
27745 #include <stdio.h>
27746
27747 int main()
27748 {
27749 FILE *f=fopen("conftestval", "w");
27750 if (!f) exit(1);
27751 fprintf(f, "%s",
27752 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27753 exit(0);
27754 }
27755
27756 _ACEOF
27757 rm -f conftest$ac_exeext
27758 if { (ac_try="$ac_link"
27759 case "(($ac_try" in
27760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27761 *) ac_try_echo=$ac_try;;
27762 esac
27763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27764 (eval "$ac_link") 2>&5
27765 ac_status=$?
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27768 { (case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27771 esac
27772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_try") 2>&5
27774 ac_status=$?
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; }; then
27777 ac_cv_header_png_h=`cat conftestval`
27778 else
27779 echo "$as_me: program exited with status $ac_status" >&5
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27782
27783 ( exit $ac_status )
27784 ac_cv_header_png_h=no
27785 fi
27786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27787 fi
27788
27789
27790
27791 fi
27792 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27793 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27794 { echo "$as_me:$LINENO: checking for png.h" >&5
27795 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27796 if test "${ac_cv_header_png_h+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 else
27799 cat >conftest.$ac_ext <<_ACEOF
27800 /* confdefs.h. */
27801 _ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805
27806
27807 #include <png.h>
27808 _ACEOF
27809 rm -f conftest.$ac_objext
27810 if { (ac_try="$ac_compile"
27811 case "(($ac_try" in
27812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27813 *) ac_try_echo=$ac_try;;
27814 esac
27815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27816 (eval "$ac_compile") 2>conftest.er1
27817 ac_status=$?
27818 grep -v '^ *+' conftest.er1 >conftest.err
27819 rm -f conftest.er1
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } && {
27823 test -z "$ac_c_werror_flag" ||
27824 test ! -s conftest.err
27825 } && test -s conftest.$ac_objext; then
27826 ac_cv_header_png_h=yes
27827 else
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.$ac_ext >&5
27830
27831 ac_cv_header_png_h=no
27832 fi
27833
27834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27835 fi
27836 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27837 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27838
27839
27840
27841 if test "$ac_cv_header_png_h" = "yes"; then
27842 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27843 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27844 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 ac_check_lib_save_LIBS=$LIBS
27848 LIBS="-lpng -lz -lm $LIBS"
27849 cat >conftest.$ac_ext <<_ACEOF
27850 /* confdefs.h. */
27851 _ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27855
27856 /* Override any GCC internal prototype to avoid an error.
27857 Use char because int might match the return type of a GCC
27858 builtin and then its argument prototype would still apply. */
27859 #ifdef __cplusplus
27860 extern "C"
27861 #endif
27862 char png_sig_cmp ();
27863 int
27864 main ()
27865 {
27866 return png_sig_cmp ();
27867 ;
27868 return 0;
27869 }
27870 _ACEOF
27871 rm -f conftest.$ac_objext conftest$ac_exeext
27872 if { (ac_try="$ac_link"
27873 case "(($ac_try" in
27874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27875 *) ac_try_echo=$ac_try;;
27876 esac
27877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27878 (eval "$ac_link") 2>conftest.er1
27879 ac_status=$?
27880 grep -v '^ *+' conftest.er1 >conftest.err
27881 rm -f conftest.er1
27882 cat conftest.err >&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } && {
27885 test -z "$ac_c_werror_flag" ||
27886 test ! -s conftest.err
27887 } && test -s conftest$ac_exeext &&
27888 $as_test_x conftest$ac_exeext; then
27889 ac_cv_lib_png_png_sig_cmp=yes
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 ac_cv_lib_png_png_sig_cmp=no
27895 fi
27896
27897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27898 conftest$ac_exeext conftest.$ac_ext
27899 LIBS=$ac_check_lib_save_LIBS
27900 fi
27901 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27902 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27903 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27904 PNG_LINK=" -lpng -lz"
27905 fi
27906
27907 fi
27908
27909 if test "x$PNG_LINK" = "x" ; then
27910 if test "$wxUSE_LIBPNG" = "sys" ; then
27911 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27912 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27913 { (exit 1); exit 1; }; }
27914 else
27915 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27916 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27917 wxUSE_LIBPNG=builtin
27918 fi
27919 else
27920 wxUSE_LIBPNG=sys
27921 fi
27922 fi
27923 fi
27924 fi
27925
27926
27927 JPEG_LINK=
27928 if test "$wxUSE_LIBJPEG" != "no" ; then
27929 cat >>confdefs.h <<\_ACEOF
27930 #define wxUSE_LIBJPEG 1
27931 _ACEOF
27932
27933
27934 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27935 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27936 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27937 wxUSE_LIBJPEG=sys
27938 fi
27939
27940 if test "$wxUSE_MGL" != 1 ; then
27941 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27942 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27943 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27944 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27945 echo $ECHO_N "(cached) $ECHO_C" >&6
27946 else
27947 cat >conftest.$ac_ext <<_ACEOF
27948 /* confdefs.h. */
27949 _ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27953
27954 #undef HAVE_STDLIB_H
27955 #include <stdio.h>
27956 #include <jpeglib.h>
27957
27958 int
27959 main ()
27960 {
27961
27962
27963 ;
27964 return 0;
27965 }
27966 _ACEOF
27967 rm -f conftest.$ac_objext
27968 if { (ac_try="$ac_compile"
27969 case "(($ac_try" in
27970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27971 *) ac_try_echo=$ac_try;;
27972 esac
27973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27974 (eval "$ac_compile") 2>conftest.er1
27975 ac_status=$?
27976 grep -v '^ *+' conftest.er1 >conftest.err
27977 rm -f conftest.er1
27978 cat conftest.err >&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } && {
27981 test -z "$ac_c_werror_flag" ||
27982 test ! -s conftest.err
27983 } && test -s conftest.$ac_objext; then
27984 ac_cv_header_jpeglib_h=yes
27985 else
27986 echo "$as_me: failed program was:" >&5
27987 sed 's/^/| /' conftest.$ac_ext >&5
27988
27989 ac_cv_header_jpeglib_h=no
27990
27991 fi
27992
27993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27994
27995 fi
27996
27997 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27998 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27999
28000 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28001 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28002 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28003 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006 ac_check_lib_save_LIBS=$LIBS
28007 LIBS="-ljpeg $LIBS"
28008 cat >conftest.$ac_ext <<_ACEOF
28009 /* confdefs.h. */
28010 _ACEOF
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h. */
28014
28015 /* Override any GCC internal prototype to avoid an error.
28016 Use char because int might match the return type of a GCC
28017 builtin and then its argument prototype would still apply. */
28018 #ifdef __cplusplus
28019 extern "C"
28020 #endif
28021 char jpeg_read_header ();
28022 int
28023 main ()
28024 {
28025 return jpeg_read_header ();
28026 ;
28027 return 0;
28028 }
28029 _ACEOF
28030 rm -f conftest.$ac_objext conftest$ac_exeext
28031 if { (ac_try="$ac_link"
28032 case "(($ac_try" in
28033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28034 *) ac_try_echo=$ac_try;;
28035 esac
28036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28037 (eval "$ac_link") 2>conftest.er1
28038 ac_status=$?
28039 grep -v '^ *+' conftest.er1 >conftest.err
28040 rm -f conftest.er1
28041 cat conftest.err >&5
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); } && {
28044 test -z "$ac_c_werror_flag" ||
28045 test ! -s conftest.err
28046 } && test -s conftest$ac_exeext &&
28047 $as_test_x conftest$ac_exeext; then
28048 ac_cv_lib_jpeg_jpeg_read_header=yes
28049 else
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28052
28053 ac_cv_lib_jpeg_jpeg_read_header=no
28054 fi
28055
28056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28057 conftest$ac_exeext conftest.$ac_ext
28058 LIBS=$ac_check_lib_save_LIBS
28059 fi
28060 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28061 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28062 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28063 JPEG_LINK=" -ljpeg"
28064 fi
28065
28066 fi
28067
28068 if test "x$JPEG_LINK" = "x" ; then
28069 if test "$wxUSE_LIBJPEG" = "sys" ; then
28070 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28071 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28072 { (exit 1); exit 1; }; }
28073 else
28074 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28075 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28076 wxUSE_LIBJPEG=builtin
28077 fi
28078 else
28079 wxUSE_LIBJPEG=sys
28080
28081 if test "$wxUSE_MSW" = 1; then
28082 { echo "$as_me:$LINENO: checking for boolean" >&5
28083 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28084 if test "${ac_cv_type_boolean+set}" = set; then
28085 echo $ECHO_N "(cached) $ECHO_C" >&6
28086 else
28087 cat >conftest.$ac_ext <<_ACEOF
28088 /* confdefs.h. */
28089 _ACEOF
28090 cat confdefs.h >>conftest.$ac_ext
28091 cat >>conftest.$ac_ext <<_ACEOF
28092 /* end confdefs.h. */
28093 #include <windows.h>
28094
28095 typedef boolean ac__type_new_;
28096 int
28097 main ()
28098 {
28099 if ((ac__type_new_ *) 0)
28100 return 0;
28101 if (sizeof (ac__type_new_))
28102 return 0;
28103 ;
28104 return 0;
28105 }
28106 _ACEOF
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28112 esac
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28115 ac_status=$?
28116 grep -v '^ *+' conftest.er1 >conftest.err
28117 rm -f conftest.er1
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28124 ac_cv_type_boolean=yes
28125 else
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28128
28129 ac_cv_type_boolean=no
28130 fi
28131
28132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28133 fi
28134 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28135 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28136 if test $ac_cv_type_boolean = yes; then
28137
28138 cat >>confdefs.h <<_ACEOF
28139 #define HAVE_BOOLEAN 1
28140 _ACEOF
28141
28142
28143 { echo "$as_me:$LINENO: checking for boolean" >&5
28144 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28145 if test "${ac_cv_type_boolean+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 else
28148 cat >conftest.$ac_ext <<_ACEOF
28149 /* confdefs.h. */
28150 _ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28154
28155 #undef HAVE_BOOLEAN
28156 #include <stdio.h>
28157 #include <jpeglib.h>
28158
28159
28160 typedef boolean ac__type_new_;
28161 int
28162 main ()
28163 {
28164 if ((ac__type_new_ *) 0)
28165 return 0;
28166 if (sizeof (ac__type_new_))
28167 return 0;
28168 ;
28169 return 0;
28170 }
28171 _ACEOF
28172 rm -f conftest.$ac_objext
28173 if { (ac_try="$ac_compile"
28174 case "(($ac_try" in
28175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28177 esac
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_compile") 2>conftest.er1
28180 ac_status=$?
28181 grep -v '^ *+' conftest.er1 >conftest.err
28182 rm -f conftest.er1
28183 cat conftest.err >&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } && {
28186 test -z "$ac_c_werror_flag" ||
28187 test ! -s conftest.err
28188 } && test -s conftest.$ac_objext; then
28189 ac_cv_type_boolean=yes
28190 else
28191 echo "$as_me: failed program was:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28193
28194 ac_cv_type_boolean=no
28195 fi
28196
28197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28198 fi
28199 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28200 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28201
28202 # The cast to long int works around a bug in the HP C Compiler
28203 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28204 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28205 # This bug is HP SR number 8606223364.
28206 { echo "$as_me:$LINENO: checking size of boolean" >&5
28207 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28208 if test "${ac_cv_sizeof_boolean+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 else
28211 if test "$cross_compiling" = yes; then
28212 # Depending upon the size, compute the lo and hi bounds.
28213 cat >conftest.$ac_ext <<_ACEOF
28214 /* confdefs.h. */
28215 _ACEOF
28216 cat confdefs.h >>conftest.$ac_ext
28217 cat >>conftest.$ac_ext <<_ACEOF
28218 /* end confdefs.h. */
28219
28220 #undef HAVE_BOOLEAN
28221 #include <stdio.h>
28222 #include <jpeglib.h>
28223
28224
28225 typedef boolean ac__type_sizeof_;
28226 int
28227 main ()
28228 {
28229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28230 test_array [0] = 0
28231
28232 ;
28233 return 0;
28234 }
28235 _ACEOF
28236 rm -f conftest.$ac_objext
28237 if { (ac_try="$ac_compile"
28238 case "(($ac_try" in
28239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28240 *) ac_try_echo=$ac_try;;
28241 esac
28242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_compile") 2>conftest.er1
28244 ac_status=$?
28245 grep -v '^ *+' conftest.er1 >conftest.err
28246 rm -f conftest.er1
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); } && {
28250 test -z "$ac_c_werror_flag" ||
28251 test ! -s conftest.err
28252 } && test -s conftest.$ac_objext; then
28253 ac_lo=0 ac_mid=0
28254 while :; do
28255 cat >conftest.$ac_ext <<_ACEOF
28256 /* confdefs.h. */
28257 _ACEOF
28258 cat confdefs.h >>conftest.$ac_ext
28259 cat >>conftest.$ac_ext <<_ACEOF
28260 /* end confdefs.h. */
28261
28262 #undef HAVE_BOOLEAN
28263 #include <stdio.h>
28264 #include <jpeglib.h>
28265
28266
28267 typedef boolean ac__type_sizeof_;
28268 int
28269 main ()
28270 {
28271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28272 test_array [0] = 0
28273
28274 ;
28275 return 0;
28276 }
28277 _ACEOF
28278 rm -f conftest.$ac_objext
28279 if { (ac_try="$ac_compile"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28283 esac
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_compile") 2>conftest.er1
28286 ac_status=$?
28287 grep -v '^ *+' conftest.er1 >conftest.err
28288 rm -f conftest.er1
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest.$ac_objext; then
28295 ac_hi=$ac_mid; break
28296 else
28297 echo "$as_me: failed program was:" >&5
28298 sed 's/^/| /' conftest.$ac_ext >&5
28299
28300 ac_lo=`expr $ac_mid + 1`
28301 if test $ac_lo -le $ac_mid; then
28302 ac_lo= ac_hi=
28303 break
28304 fi
28305 ac_mid=`expr 2 '*' $ac_mid + 1`
28306 fi
28307
28308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28309 done
28310 else
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 cat >conftest.$ac_ext <<_ACEOF
28315 /* confdefs.h. */
28316 _ACEOF
28317 cat confdefs.h >>conftest.$ac_ext
28318 cat >>conftest.$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320
28321 #undef HAVE_BOOLEAN
28322 #include <stdio.h>
28323 #include <jpeglib.h>
28324
28325
28326 typedef boolean ac__type_sizeof_;
28327 int
28328 main ()
28329 {
28330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28331 test_array [0] = 0
28332
28333 ;
28334 return 0;
28335 }
28336 _ACEOF
28337 rm -f conftest.$ac_objext
28338 if { (ac_try="$ac_compile"
28339 case "(($ac_try" in
28340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28341 *) ac_try_echo=$ac_try;;
28342 esac
28343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28344 (eval "$ac_compile") 2>conftest.er1
28345 ac_status=$?
28346 grep -v '^ *+' conftest.er1 >conftest.err
28347 rm -f conftest.er1
28348 cat conftest.err >&5
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); } && {
28351 test -z "$ac_c_werror_flag" ||
28352 test ! -s conftest.err
28353 } && test -s conftest.$ac_objext; then
28354 ac_hi=-1 ac_mid=-1
28355 while :; do
28356 cat >conftest.$ac_ext <<_ACEOF
28357 /* confdefs.h. */
28358 _ACEOF
28359 cat confdefs.h >>conftest.$ac_ext
28360 cat >>conftest.$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28362
28363 #undef HAVE_BOOLEAN
28364 #include <stdio.h>
28365 #include <jpeglib.h>
28366
28367
28368 typedef boolean ac__type_sizeof_;
28369 int
28370 main ()
28371 {
28372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28373 test_array [0] = 0
28374
28375 ;
28376 return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext
28380 if { (ac_try="$ac_compile"
28381 case "(($ac_try" in
28382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28384 esac
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_compile") 2>conftest.er1
28387 ac_status=$?
28388 grep -v '^ *+' conftest.er1 >conftest.err
28389 rm -f conftest.er1
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_c_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest.$ac_objext; then
28396 ac_lo=$ac_mid; break
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_hi=`expr '(' $ac_mid ')' - 1`
28402 if test $ac_mid -le $ac_hi; then
28403 ac_lo= ac_hi=
28404 break
28405 fi
28406 ac_mid=`expr 2 '*' $ac_mid`
28407 fi
28408
28409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28410 done
28411 else
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28414
28415 ac_lo= ac_hi=
28416 fi
28417
28418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28419 fi
28420
28421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28422 # Binary search between lo and hi bounds.
28423 while test "x$ac_lo" != "x$ac_hi"; do
28424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28425 cat >conftest.$ac_ext <<_ACEOF
28426 /* confdefs.h. */
28427 _ACEOF
28428 cat confdefs.h >>conftest.$ac_ext
28429 cat >>conftest.$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28431
28432 #undef HAVE_BOOLEAN
28433 #include <stdio.h>
28434 #include <jpeglib.h>
28435
28436
28437 typedef boolean ac__type_sizeof_;
28438 int
28439 main ()
28440 {
28441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28442 test_array [0] = 0
28443
28444 ;
28445 return 0;
28446 }
28447 _ACEOF
28448 rm -f conftest.$ac_objext
28449 if { (ac_try="$ac_compile"
28450 case "(($ac_try" in
28451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28452 *) ac_try_echo=$ac_try;;
28453 esac
28454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28455 (eval "$ac_compile") 2>conftest.er1
28456 ac_status=$?
28457 grep -v '^ *+' conftest.er1 >conftest.err
28458 rm -f conftest.er1
28459 cat conftest.err >&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } && {
28462 test -z "$ac_c_werror_flag" ||
28463 test ! -s conftest.err
28464 } && test -s conftest.$ac_objext; then
28465 ac_hi=$ac_mid
28466 else
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.$ac_ext >&5
28469
28470 ac_lo=`expr '(' $ac_mid ')' + 1`
28471 fi
28472
28473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28474 done
28475 case $ac_lo in
28476 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28477 '') if test "$ac_cv_type_boolean" = yes; then
28478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28479 See \`config.log' for more details." >&5
28480 echo "$as_me: error: cannot compute sizeof (boolean)
28481 See \`config.log' for more details." >&2;}
28482 { (exit 77); exit 77; }; }
28483 else
28484 ac_cv_sizeof_boolean=0
28485 fi ;;
28486 esac
28487 else
28488 cat >conftest.$ac_ext <<_ACEOF
28489 /* confdefs.h. */
28490 _ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494
28495 #undef HAVE_BOOLEAN
28496 #include <stdio.h>
28497 #include <jpeglib.h>
28498
28499
28500 typedef boolean ac__type_sizeof_;
28501 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28502 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28503 #include <stdio.h>
28504 #include <stdlib.h>
28505 int
28506 main ()
28507 {
28508
28509 FILE *f = fopen ("conftest.val", "w");
28510 if (! f)
28511 return 1;
28512 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28513 {
28514 long int i = longval ();
28515 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28516 return 1;
28517 fprintf (f, "%ld\n", i);
28518 }
28519 else
28520 {
28521 unsigned long int i = ulongval ();
28522 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28523 return 1;
28524 fprintf (f, "%lu\n", i);
28525 }
28526 return ferror (f) || fclose (f) != 0;
28527
28528 ;
28529 return 0;
28530 }
28531 _ACEOF
28532 rm -f conftest$ac_exeext
28533 if { (ac_try="$ac_link"
28534 case "(($ac_try" in
28535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28536 *) ac_try_echo=$ac_try;;
28537 esac
28538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28539 (eval "$ac_link") 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28543 { (case "(($ac_try" in
28544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28545 *) ac_try_echo=$ac_try;;
28546 esac
28547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28548 (eval "$ac_try") 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 ac_cv_sizeof_boolean=`cat conftest.val`
28553 else
28554 echo "$as_me: program exited with status $ac_status" >&5
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.$ac_ext >&5
28557
28558 ( exit $ac_status )
28559 if test "$ac_cv_type_boolean" = yes; then
28560 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28561 See \`config.log' for more details." >&5
28562 echo "$as_me: error: cannot compute sizeof (boolean)
28563 See \`config.log' for more details." >&2;}
28564 { (exit 77); exit 77; }; }
28565 else
28566 ac_cv_sizeof_boolean=0
28567 fi
28568 fi
28569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28570 fi
28571 rm -f conftest.val
28572 fi
28573 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28574 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28575
28576
28577
28578 cat >>confdefs.h <<_ACEOF
28579 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28580 _ACEOF
28581
28582
28583 cat >>confdefs.h <<_ACEOF
28584 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28585 _ACEOF
28586
28587
28588 fi
28589
28590 fi
28591 fi
28592 fi
28593 fi
28594 fi
28595
28596
28597 TIFF_LINK=
28598 TIFF_PREREQ_LINKS=-lm
28599 if test "$wxUSE_LIBTIFF" != "no" ; then
28600 cat >>confdefs.h <<\_ACEOF
28601 #define wxUSE_LIBTIFF 1
28602 _ACEOF
28603
28604
28605 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28606 if test "$wxUSE_LIBJPEG" = "sys"; then
28607 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28608 fi
28609 if test "$wxUSE_ZLIB" = "sys"; then
28610 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28611 fi
28612 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28613 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28614 if test "${ac_cv_header_tiffio_h+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 else
28617 cat >conftest.$ac_ext <<_ACEOF
28618 /* confdefs.h. */
28619 _ACEOF
28620 cat confdefs.h >>conftest.$ac_ext
28621 cat >>conftest.$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623
28624
28625
28626 #include <tiffio.h>
28627 _ACEOF
28628 rm -f conftest.$ac_objext
28629 if { (ac_try="$ac_compile"
28630 case "(($ac_try" in
28631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28632 *) ac_try_echo=$ac_try;;
28633 esac
28634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28635 (eval "$ac_compile") 2>conftest.er1
28636 ac_status=$?
28637 grep -v '^ *+' conftest.er1 >conftest.err
28638 rm -f conftest.er1
28639 cat conftest.err >&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } && {
28642 test -z "$ac_c_werror_flag" ||
28643 test ! -s conftest.err
28644 } && test -s conftest.$ac_objext; then
28645 ac_cv_header_tiffio_h=yes
28646 else
28647 echo "$as_me: failed program was:" >&5
28648 sed 's/^/| /' conftest.$ac_ext >&5
28649
28650 ac_cv_header_tiffio_h=no
28651 fi
28652
28653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28654 fi
28655 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28656 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28657 if test $ac_cv_header_tiffio_h = yes; then
28658
28659 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28660 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28661 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28662 echo $ECHO_N "(cached) $ECHO_C" >&6
28663 else
28664 ac_check_lib_save_LIBS=$LIBS
28665 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28666 cat >conftest.$ac_ext <<_ACEOF
28667 /* confdefs.h. */
28668 _ACEOF
28669 cat confdefs.h >>conftest.$ac_ext
28670 cat >>conftest.$ac_ext <<_ACEOF
28671 /* end confdefs.h. */
28672
28673 /* Override any GCC internal prototype to avoid an error.
28674 Use char because int might match the return type of a GCC
28675 builtin and then its argument prototype would still apply. */
28676 #ifdef __cplusplus
28677 extern "C"
28678 #endif
28679 char TIFFError ();
28680 int
28681 main ()
28682 {
28683 return TIFFError ();
28684 ;
28685 return 0;
28686 }
28687 _ACEOF
28688 rm -f conftest.$ac_objext conftest$ac_exeext
28689 if { (ac_try="$ac_link"
28690 case "(($ac_try" in
28691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28692 *) ac_try_echo=$ac_try;;
28693 esac
28694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28695 (eval "$ac_link") 2>conftest.er1
28696 ac_status=$?
28697 grep -v '^ *+' conftest.er1 >conftest.err
28698 rm -f conftest.er1
28699 cat conftest.err >&5
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); } && {
28702 test -z "$ac_c_werror_flag" ||
28703 test ! -s conftest.err
28704 } && test -s conftest$ac_exeext &&
28705 $as_test_x conftest$ac_exeext; then
28706 ac_cv_lib_tiff_TIFFError=yes
28707 else
28708 echo "$as_me: failed program was:" >&5
28709 sed 's/^/| /' conftest.$ac_ext >&5
28710
28711 ac_cv_lib_tiff_TIFFError=no
28712 fi
28713
28714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28715 conftest$ac_exeext conftest.$ac_ext
28716 LIBS=$ac_check_lib_save_LIBS
28717 fi
28718 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28719 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28720 if test $ac_cv_lib_tiff_TIFFError = yes; then
28721 TIFF_LINK=" -ltiff"
28722 fi
28723
28724
28725 fi
28726
28727
28728
28729 if test "x$TIFF_LINK" = "x" ; then
28730 if test "$wxUSE_LIBTIFF" = "sys" ; then
28731 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28732 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28733 { (exit 1); exit 1; }; }
28734 else
28735 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28736 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28737 wxUSE_LIBTIFF=builtin
28738 fi
28739 else
28740 wxUSE_LIBTIFF=sys
28741 fi
28742 fi
28743 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28744 if test "$wxUSE_LIBJPEG" = "no"; then
28745 ac_configure_args="$ac_configure_args --disable-jpeg"
28746 fi
28747 subdirs="$subdirs src/tiff"
28748
28749 fi
28750 fi
28751
28752
28753 if test "$wxUSE_WCHAR_T" != "yes"; then
28754 if test "$wxUSE_EXPAT" != "no"; then
28755 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28756 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28757 wxUSE_EXPAT=no
28758 fi
28759 if test "$wxUSE_XML" != "no"; then
28760 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28761 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28762 wxUSE_XML=no
28763 fi
28764 fi
28765
28766 if test "$wxUSE_EXPAT" != "no"; then
28767 wxUSE_XML=yes
28768 cat >>confdefs.h <<\_ACEOF
28769 #define wxUSE_EXPAT 1
28770 _ACEOF
28771
28772 cat >>confdefs.h <<\_ACEOF
28773 #define wxUSE_XML 1
28774 _ACEOF
28775
28776
28777 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28778 { echo "$as_me:$LINENO: checking for expat.h" >&5
28779 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28780 if test "${ac_cv_header_expat_h+set}" = set; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 else
28783 cat >conftest.$ac_ext <<_ACEOF
28784 /* confdefs.h. */
28785 _ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789
28790
28791 #include <expat.h>
28792 _ACEOF
28793 rm -f conftest.$ac_objext
28794 if { (ac_try="$ac_compile"
28795 case "(($ac_try" in
28796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28797 *) ac_try_echo=$ac_try;;
28798 esac
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_compile") 2>conftest.er1
28801 ac_status=$?
28802 grep -v '^ *+' conftest.er1 >conftest.err
28803 rm -f conftest.er1
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } && {
28807 test -z "$ac_c_werror_flag" ||
28808 test ! -s conftest.err
28809 } && test -s conftest.$ac_objext; then
28810 ac_cv_header_expat_h=yes
28811 else
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28814
28815 ac_cv_header_expat_h=no
28816 fi
28817
28818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28819 fi
28820 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28821 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28822 if test $ac_cv_header_expat_h = yes; then
28823 found_expat_h=1
28824 fi
28825
28826
28827 if test "x$found_expat_h" = "x1"; then
28828 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28829 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28830 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28832 else
28833
28834 ac_ext=cpp
28835 ac_cpp='$CXXCPP $CPPFLAGS'
28836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28839
28840 cat >conftest.$ac_ext <<_ACEOF
28841 /* confdefs.h. */
28842 _ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846 #include <expat.h>
28847 int
28848 main ()
28849 {
28850
28851 ;
28852 return 0;
28853 }
28854 _ACEOF
28855 rm -f conftest.$ac_objext
28856 if { (ac_try="$ac_compile"
28857 case "(($ac_try" in
28858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28860 esac
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_compile") 2>conftest.er1
28863 ac_status=$?
28864 grep -v '^ *+' conftest.er1 >conftest.err
28865 rm -f conftest.er1
28866 cat conftest.err >&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && {
28869 test -z "$ac_cxx_werror_flag" ||
28870 test ! -s conftest.err
28871 } && test -s conftest.$ac_objext; then
28872 wx_cv_expat_is_not_broken=yes
28873 else
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28876
28877 wx_cv_expat_is_not_broken=no
28878
28879 fi
28880
28881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28882 ac_ext=c
28883 ac_cpp='$CPP $CPPFLAGS'
28884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28887
28888
28889
28890 fi
28891 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28892 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28893 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28894 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28895 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28896 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28897 echo $ECHO_N "(cached) $ECHO_C" >&6
28898 else
28899 ac_check_lib_save_LIBS=$LIBS
28900 LIBS="-lexpat $LIBS"
28901 cat >conftest.$ac_ext <<_ACEOF
28902 /* confdefs.h. */
28903 _ACEOF
28904 cat confdefs.h >>conftest.$ac_ext
28905 cat >>conftest.$ac_ext <<_ACEOF
28906 /* end confdefs.h. */
28907
28908 /* Override any GCC internal prototype to avoid an error.
28909 Use char because int might match the return type of a GCC
28910 builtin and then its argument prototype would still apply. */
28911 #ifdef __cplusplus
28912 extern "C"
28913 #endif
28914 char XML_ParserCreate ();
28915 int
28916 main ()
28917 {
28918 return XML_ParserCreate ();
28919 ;
28920 return 0;
28921 }
28922 _ACEOF
28923 rm -f conftest.$ac_objext conftest$ac_exeext
28924 if { (ac_try="$ac_link"
28925 case "(($ac_try" in
28926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28927 *) ac_try_echo=$ac_try;;
28928 esac
28929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28930 (eval "$ac_link") 2>conftest.er1
28931 ac_status=$?
28932 grep -v '^ *+' conftest.er1 >conftest.err
28933 rm -f conftest.er1
28934 cat conftest.err >&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } && {
28937 test -z "$ac_c_werror_flag" ||
28938 test ! -s conftest.err
28939 } && test -s conftest$ac_exeext &&
28940 $as_test_x conftest$ac_exeext; then
28941 ac_cv_lib_expat_XML_ParserCreate=yes
28942 else
28943 echo "$as_me: failed program was:" >&5
28944 sed 's/^/| /' conftest.$ac_ext >&5
28945
28946 ac_cv_lib_expat_XML_ParserCreate=no
28947 fi
28948
28949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28950 conftest$ac_exeext conftest.$ac_ext
28951 LIBS=$ac_check_lib_save_LIBS
28952 fi
28953 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28954 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28955 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28956 EXPAT_LINK=" -lexpat"
28957 fi
28958
28959 fi
28960 fi
28961 if test "x$EXPAT_LINK" = "x" ; then
28962 if test "$wxUSE_EXPAT" = "sys" ; then
28963 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28964 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28965 { (exit 1); exit 1; }; }
28966 else
28967 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28968 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28969 wxUSE_EXPAT=builtin
28970 fi
28971 else
28972 wxUSE_EXPAT=sys
28973 fi
28974 fi
28975 if test "$wxUSE_EXPAT" = "builtin" ; then
28976 subdirs="$subdirs src/expat"
28977
28978 fi
28979 fi
28980
28981
28982
28983 if test "$wxUSE_LIBMSPACK" != "no"; then
28984 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28985 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28986 if test "${ac_cv_header_mspack_h+set}" = set; then
28987 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 else
28989 cat >conftest.$ac_ext <<_ACEOF
28990 /* confdefs.h. */
28991 _ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28995
28996
28997 #include <mspack.h>
28998 _ACEOF
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29004 esac
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29007 ac_status=$?
29008 grep -v '^ *+' conftest.er1 >conftest.err
29009 rm -f conftest.er1
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29016 ac_cv_header_mspack_h=yes
29017 else
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 ac_cv_header_mspack_h=no
29022 fi
29023
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29025 fi
29026 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29027 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29028 if test $ac_cv_header_mspack_h = yes; then
29029 found_mspack_h=1
29030 fi
29031
29032
29033 if test "x$found_mspack_h" = "x1"; then
29034 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29035 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29036 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29038 else
29039 ac_check_lib_save_LIBS=$LIBS
29040 LIBS="-lmspack $LIBS"
29041 cat >conftest.$ac_ext <<_ACEOF
29042 /* confdefs.h. */
29043 _ACEOF
29044 cat confdefs.h >>conftest.$ac_ext
29045 cat >>conftest.$ac_ext <<_ACEOF
29046 /* end confdefs.h. */
29047
29048 /* Override any GCC internal prototype to avoid an error.
29049 Use char because int might match the return type of a GCC
29050 builtin and then its argument prototype would still apply. */
29051 #ifdef __cplusplus
29052 extern "C"
29053 #endif
29054 char mspack_create_chm_decompressor ();
29055 int
29056 main ()
29057 {
29058 return mspack_create_chm_decompressor ();
29059 ;
29060 return 0;
29061 }
29062 _ACEOF
29063 rm -f conftest.$ac_objext conftest$ac_exeext
29064 if { (ac_try="$ac_link"
29065 case "(($ac_try" in
29066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29067 *) ac_try_echo=$ac_try;;
29068 esac
29069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29070 (eval "$ac_link") 2>conftest.er1
29071 ac_status=$?
29072 grep -v '^ *+' conftest.er1 >conftest.err
29073 rm -f conftest.er1
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } && {
29077 test -z "$ac_c_werror_flag" ||
29078 test ! -s conftest.err
29079 } && test -s conftest$ac_exeext &&
29080 $as_test_x conftest$ac_exeext; then
29081 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29082 else
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29085
29086 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29087 fi
29088
29089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29090 conftest$ac_exeext conftest.$ac_ext
29091 LIBS=$ac_check_lib_save_LIBS
29092 fi
29093 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29094 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29095 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29096 MSPACK_LINK=" -lmspack"
29097 fi
29098
29099 fi
29100 if test "x$MSPACK_LINK" = "x" ; then
29101 wxUSE_LIBMSPACK=no
29102 fi
29103 fi
29104
29105 if test "$wxUSE_LIBMSPACK" != "no"; then
29106 cat >>confdefs.h <<\_ACEOF
29107 #define wxUSE_LIBMSPACK 1
29108 _ACEOF
29109
29110 fi
29111
29112
29113
29114 AFMINSTALL=
29115 WIN32INSTALL=
29116
29117 TOOLKIT=
29118 TOOLKIT_INCLUDE=
29119 WIDGET_SET=
29120
29121 if test "$USE_WIN32" = 1 ; then
29122
29123 for ac_header in w32api.h
29124 do
29125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29129 echo $ECHO_N "(cached) $ECHO_C" >&6
29130 else
29131 cat >conftest.$ac_ext <<_ACEOF
29132 /* confdefs.h. */
29133 _ACEOF
29134 cat confdefs.h >>conftest.$ac_ext
29135 cat >>conftest.$ac_ext <<_ACEOF
29136 /* end confdefs.h. */
29137
29138
29139 #include <$ac_header>
29140 _ACEOF
29141 rm -f conftest.$ac_objext
29142 if { (ac_try="$ac_compile"
29143 case "(($ac_try" in
29144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29145 *) ac_try_echo=$ac_try;;
29146 esac
29147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29148 (eval "$ac_compile") 2>conftest.er1
29149 ac_status=$?
29150 grep -v '^ *+' conftest.er1 >conftest.err
29151 rm -f conftest.er1
29152 cat conftest.err >&5
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); } && {
29155 test -z "$ac_c_werror_flag" ||
29156 test ! -s conftest.err
29157 } && test -s conftest.$ac_objext; then
29158 eval "$as_ac_Header=yes"
29159 else
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29162
29163 eval "$as_ac_Header=no"
29164 fi
29165
29166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29167 fi
29168 ac_res=`eval echo '${'$as_ac_Header'}'`
29169 { echo "$as_me:$LINENO: result: $ac_res" >&5
29170 echo "${ECHO_T}$ac_res" >&6; }
29171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29172 cat >>confdefs.h <<_ACEOF
29173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29174 _ACEOF
29175
29176 fi
29177
29178 done
29179
29180 { echo "$as_me:$LINENO: checking for windows.h" >&5
29181 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29182 if test "${ac_cv_header_windows_h+set}" = set; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185 cat >conftest.$ac_ext <<_ACEOF
29186 /* confdefs.h. */
29187 _ACEOF
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191
29192
29193 #include <windows.h>
29194 _ACEOF
29195 rm -f conftest.$ac_objext
29196 if { (ac_try="$ac_compile"
29197 case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29200 esac
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_compile") 2>conftest.er1
29203 ac_status=$?
29204 grep -v '^ *+' conftest.er1 >conftest.err
29205 rm -f conftest.er1
29206 cat conftest.err >&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } && {
29209 test -z "$ac_c_werror_flag" ||
29210 test ! -s conftest.err
29211 } && test -s conftest.$ac_objext; then
29212 ac_cv_header_windows_h=yes
29213 else
29214 echo "$as_me: failed program was:" >&5
29215 sed 's/^/| /' conftest.$ac_ext >&5
29216
29217 ac_cv_header_windows_h=no
29218 fi
29219
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221 fi
29222 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29223 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29224 if test $ac_cv_header_windows_h = yes; then
29225 :
29226 else
29227
29228 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29229 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29230 { (exit 1); exit 1; }; }
29231
29232 fi
29233
29234
29235
29236 case "${host}" in
29237 x86_64-*-mingw32* )
29238 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29239
29240 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29241 ;;
29242 * )
29243 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29244 ;;
29245 esac
29246 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29247 LIBS="$LIBS -loleacc"
29248 fi
29249
29250 case "${host}" in
29251 *-*-cygwin* )
29252 LIBS="$LIBS -lkernel32 -luser32"
29253 esac
29254
29255 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29256 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29257
29258 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29259
29260 WIN32INSTALL=win32install
29261
29262 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29263 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29264 if test "${ac_cv_header_pbt_h+set}" = set; then
29265 echo $ECHO_N "(cached) $ECHO_C" >&6
29266 else
29267 cat >conftest.$ac_ext <<_ACEOF
29268 /* confdefs.h. */
29269 _ACEOF
29270 cat confdefs.h >>conftest.$ac_ext
29271 cat >>conftest.$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29273
29274
29275 #include <pbt.h>
29276 _ACEOF
29277 rm -f conftest.$ac_objext
29278 if { (ac_try="$ac_compile"
29279 case "(($ac_try" in
29280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29281 *) ac_try_echo=$ac_try;;
29282 esac
29283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29284 (eval "$ac_compile") 2>conftest.er1
29285 ac_status=$?
29286 grep -v '^ *+' conftest.er1 >conftest.err
29287 rm -f conftest.er1
29288 cat conftest.err >&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); } && {
29291 test -z "$ac_c_werror_flag" ||
29292 test ! -s conftest.err
29293 } && test -s conftest.$ac_objext; then
29294 ac_cv_header_pbt_h=yes
29295 else
29296 echo "$as_me: failed program was:" >&5
29297 sed 's/^/| /' conftest.$ac_ext >&5
29298
29299 ac_cv_header_pbt_h=no
29300 fi
29301
29302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29303 fi
29304 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29305 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29306 if test $ac_cv_header_pbt_h = yes; then
29307 :
29308 else
29309 cat >>confdefs.h <<\_ACEOF
29310 #define NEED_PBT_H 1
29311 _ACEOF
29312
29313 fi
29314
29315
29316 fi
29317
29318 if test "$wxUSE_GUI" = "yes"; then
29319 USE_GUI=1
29320
29321 GUI_TK_LIBRARY=
29322
29323 WXGTK12=
29324 WXGTK127=
29325 WXGTK2=
29326 WXGPE=
29327
29328 if test "$wxUSE_OLD_COCOA" = 1 ; then
29329 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29330 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29331 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29332 wxUSE_PRINTING_ARCHITECTURE=no
29333 fi
29334 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29335 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29336 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29337 wxUSE_DRAG_AND_DROP=no
29338 fi
29339 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29340 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29341 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29342 wxUSE_DRAGIMAGE=no
29343 fi
29344 fi
29345
29346 if test "$wxUSE_MSW" = 1 ; then
29347 TOOLKIT=MSW
29348 GUIDIST=MSW_DIST
29349
29350 case "${host}" in
29351 *-*-mingw32* )
29352 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29353 esac
29354 fi
29355
29356 if test "$wxUSE_GTK" = 1; then
29357 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29358 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29359
29360 gtk_version_cached=1
29361 if test "${wx_cv_lib_gtk+set}" = set; then
29362 echo $ECHO_N "(cached) $ECHO_C" >&6
29363 else
29364
29365 gtk_version_cached=0
29366 { echo "$as_me:$LINENO: result: " >&5
29367 echo "${ECHO_T}" >&6; }
29368
29369 GTK_MODULES=
29370 if test "$wxUSE_THREADS" = "yes"; then
29371 GTK_MODULES=gthread
29372 fi
29373
29374 wx_cv_lib_gtk=
29375 if test "x$wxGTK_VERSION" != "x1"
29376 then
29377 case "${host}" in
29378 *-*-solaris2* )
29379 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29380 enable_gtktest=no
29381 fi
29382 esac
29383
29384 # Check whether --enable-gtktest was given.
29385 if test "${enable_gtktest+set}" = set; then
29386 enableval=$enable_gtktest;
29387 else
29388 enable_gtktest=yes
29389 fi
29390
29391
29392 pkg_config_args=gtk+-2.0
29393 for module in . $GTK_MODULES
29394 do
29395 case "$module" in
29396 gthread)
29397 pkg_config_args="$pkg_config_args gthread-2.0"
29398 ;;
29399 esac
29400 done
29401
29402 no_gtk=""
29403
29404 # Extract the first word of "pkg-config", so it can be a program name with args.
29405 set dummy pkg-config; ac_word=$2
29406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29408 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29409 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 else
29411 case $PKG_CONFIG in
29412 [\\/]* | ?:[\\/]*)
29413 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29414 ;;
29415 *)
29416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29417 for as_dir in $PATH
29418 do
29419 IFS=$as_save_IFS
29420 test -z "$as_dir" && as_dir=.
29421 for ac_exec_ext in '' $ac_executable_extensions; do
29422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29423 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29425 break 2
29426 fi
29427 done
29428 done
29429 IFS=$as_save_IFS
29430
29431 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29432 ;;
29433 esac
29434 fi
29435 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29436 if test -n "$PKG_CONFIG"; then
29437 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29438 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29439 else
29440 { echo "$as_me:$LINENO: result: no" >&5
29441 echo "${ECHO_T}no" >&6; }
29442 fi
29443
29444
29445
29446 if test x$PKG_CONFIG != xno ; then
29447 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29448 :
29449 else
29450 echo "*** pkg-config too old; version 0.7 or better required."
29451 no_gtk=yes
29452 PKG_CONFIG=no
29453 fi
29454 else
29455 no_gtk=yes
29456 fi
29457
29458 min_gtk_version=2.4.0
29459 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29460 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29461
29462 if test x$PKG_CONFIG != xno ; then
29463 ## don't try to run the test against uninstalled libtool libs
29464 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29465 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29466 enable_gtktest=no
29467 fi
29468
29469 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29470 :
29471 else
29472 no_gtk=yes
29473 fi
29474 fi
29475
29476 if test x"$no_gtk" = x ; then
29477 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29478 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29479 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29481 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29483 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29485 if test "x$enable_gtktest" = "xyes" ; then
29486 ac_save_CFLAGS="$CFLAGS"
29487 ac_save_LIBS="$LIBS"
29488 CFLAGS="$CFLAGS $GTK_CFLAGS"
29489 LIBS="$GTK_LIBS $LIBS"
29490 rm -f conf.gtktest
29491 if test "$cross_compiling" = yes; then
29492 echo $ac_n "cross compiling; assumed OK... $ac_c"
29493 else
29494 cat >conftest.$ac_ext <<_ACEOF
29495 /* confdefs.h. */
29496 _ACEOF
29497 cat confdefs.h >>conftest.$ac_ext
29498 cat >>conftest.$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29500
29501 #include <gtk/gtk.h>
29502 #include <stdio.h>
29503 #include <stdlib.h>
29504
29505 int
29506 main ()
29507 {
29508 int major, minor, micro;
29509 char *tmp_version;
29510
29511 system ("touch conf.gtktest");
29512
29513 /* HP/UX 9 (%@#!) writes to sscanf strings */
29514 tmp_version = g_strdup("$min_gtk_version");
29515 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29516 printf("%s, bad version string\n", "$min_gtk_version");
29517 exit(1);
29518 }
29519
29520 if ((gtk_major_version != $gtk_config_major_version) ||
29521 (gtk_minor_version != $gtk_config_minor_version) ||
29522 (gtk_micro_version != $gtk_config_micro_version))
29523 {
29524 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29525 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29526 gtk_major_version, gtk_minor_version, gtk_micro_version);
29527 printf ("*** was found! If pkg-config was correct, then it is best\n");
29528 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29529 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29530 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29531 printf("*** required on your system.\n");
29532 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29533 printf("*** to point to the correct configuration files\n");
29534 }
29535 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29536 (gtk_minor_version != GTK_MINOR_VERSION) ||
29537 (gtk_micro_version != GTK_MICRO_VERSION))
29538 {
29539 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29540 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29541 printf("*** library (version %d.%d.%d)\n",
29542 gtk_major_version, gtk_minor_version, gtk_micro_version);
29543 }
29544 else
29545 {
29546 if ((gtk_major_version > major) ||
29547 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29548 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29549 {
29550 return 0;
29551 }
29552 else
29553 {
29554 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29555 gtk_major_version, gtk_minor_version, gtk_micro_version);
29556 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29557 major, minor, micro);
29558 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29559 printf("***\n");
29560 printf("*** If you have already installed a sufficiently new version, this error\n");
29561 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29562 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29563 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29564 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29565 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29566 printf("*** so that the correct libraries are found at run-time))\n");
29567 }
29568 }
29569 return 1;
29570 }
29571
29572 _ACEOF
29573 rm -f conftest$ac_exeext
29574 if { (ac_try="$ac_link"
29575 case "(($ac_try" in
29576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29577 *) ac_try_echo=$ac_try;;
29578 esac
29579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29580 (eval "$ac_link") 2>&5
29581 ac_status=$?
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29584 { (case "(($ac_try" in
29585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29586 *) ac_try_echo=$ac_try;;
29587 esac
29588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29589 (eval "$ac_try") 2>&5
29590 ac_status=$?
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); }; }; then
29593 :
29594 else
29595 echo "$as_me: program exited with status $ac_status" >&5
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29598
29599 ( exit $ac_status )
29600 no_gtk=yes
29601 fi
29602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29603 fi
29604
29605
29606 CFLAGS="$ac_save_CFLAGS"
29607 LIBS="$ac_save_LIBS"
29608 fi
29609 fi
29610 if test "x$no_gtk" = x ; then
29611 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29612 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29613 wx_cv_lib_gtk=2.0
29614 else
29615 { echo "$as_me:$LINENO: result: no" >&5
29616 echo "${ECHO_T}no" >&6; }
29617 if test "$PKG_CONFIG" = "no" ; then
29618 echo "*** A new enough version of pkg-config was not found."
29619 echo "*** See http://pkgconfig.sourceforge.net"
29620 else
29621 if test -f conf.gtktest ; then
29622 :
29623 else
29624 echo "*** Could not run GTK+ test program, checking why..."
29625 ac_save_CFLAGS="$CFLAGS"
29626 ac_save_LIBS="$LIBS"
29627 CFLAGS="$CFLAGS $GTK_CFLAGS"
29628 LIBS="$LIBS $GTK_LIBS"
29629 cat >conftest.$ac_ext <<_ACEOF
29630 /* confdefs.h. */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29635
29636 #include <gtk/gtk.h>
29637 #include <stdio.h>
29638
29639 int
29640 main ()
29641 {
29642 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29643 ;
29644 return 0;
29645 }
29646 _ACEOF
29647 rm -f conftest.$ac_objext conftest$ac_exeext
29648 if { (ac_try="$ac_link"
29649 case "(($ac_try" in
29650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29651 *) ac_try_echo=$ac_try;;
29652 esac
29653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29654 (eval "$ac_link") 2>conftest.er1
29655 ac_status=$?
29656 grep -v '^ *+' conftest.er1 >conftest.err
29657 rm -f conftest.er1
29658 cat conftest.err >&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); } && {
29661 test -z "$ac_c_werror_flag" ||
29662 test ! -s conftest.err
29663 } && test -s conftest$ac_exeext &&
29664 $as_test_x conftest$ac_exeext; then
29665 echo "*** The test program compiled, but did not run. This usually means"
29666 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29667 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29668 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29669 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29670 echo "*** is required on your system"
29671 echo "***"
29672 echo "*** If you have an old version installed, it is best to remove it, although"
29673 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29674 else
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29677
29678 echo "*** The test program failed to compile or link. See the file config.log for the"
29679 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29680 fi
29681
29682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29683 conftest$ac_exeext conftest.$ac_ext
29684 CFLAGS="$ac_save_CFLAGS"
29685 LIBS="$ac_save_LIBS"
29686 fi
29687 fi
29688 GTK_CFLAGS=""
29689 GTK_LIBS=""
29690 :
29691 fi
29692
29693
29694 rm -f conf.gtktest
29695
29696
29697 case "${host}" in
29698 *-*-solaris2* )
29699 if test "$wxUSE_SHARED" != "yes"; then
29700 GTK_LIBS="$GTK_LIBS -lX11"
29701 fi
29702 esac
29703 fi
29704
29705 if test -z "$wx_cv_lib_gtk"; then
29706 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29707
29708 # Check whether --with-gtk-prefix was given.
29709 if test "${with_gtk_prefix+set}" = set; then
29710 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29711 else
29712 gtk_config_prefix=""
29713 fi
29714
29715
29716 # Check whether --with-gtk-exec-prefix was given.
29717 if test "${with_gtk_exec_prefix+set}" = set; then
29718 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29719 else
29720 gtk_config_exec_prefix=""
29721 fi
29722
29723 # Check whether --enable-gtktest was given.
29724 if test "${enable_gtktest+set}" = set; then
29725 enableval=$enable_gtktest;
29726 else
29727 enable_gtktest=yes
29728 fi
29729
29730
29731 for module in . $GTK_MODULES
29732 do
29733 case "$module" in
29734 gthread)
29735 gtk_config_args="$gtk_config_args gthread"
29736 ;;
29737 esac
29738 done
29739
29740 if test x$gtk_config_exec_prefix != x ; then
29741 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29742 if test x${GTK_CONFIG+set} != xset ; then
29743 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29744 fi
29745 fi
29746 if test x$gtk_config_prefix != x ; then
29747 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29748 if test x${GTK_CONFIG+set} != xset ; then
29749 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29750 fi
29751 fi
29752
29753 # Extract the first word of "gtk-config", so it can be a program name with args.
29754 set dummy gtk-config; ac_word=$2
29755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29757 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 else
29760 case $GTK_CONFIG in
29761 [\\/]* | ?:[\\/]*)
29762 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29763 ;;
29764 *)
29765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29766 for as_dir in $PATH
29767 do
29768 IFS=$as_save_IFS
29769 test -z "$as_dir" && as_dir=.
29770 for ac_exec_ext in '' $ac_executable_extensions; do
29771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29772 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29774 break 2
29775 fi
29776 done
29777 done
29778 IFS=$as_save_IFS
29779
29780 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29781 ;;
29782 esac
29783 fi
29784 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29785 if test -n "$GTK_CONFIG"; then
29786 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29787 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29788 else
29789 { echo "$as_me:$LINENO: result: no" >&5
29790 echo "${ECHO_T}no" >&6; }
29791 fi
29792
29793
29794 min_gtk_version=1.2.7
29795 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29796 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29797 no_gtk=""
29798 if test "$GTK_CONFIG" = "no" ; then
29799 no_gtk=yes
29800 else
29801 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29802 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29803 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29805 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29807 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29809 if test "x$enable_gtktest" = "xyes" ; then
29810 ac_save_CFLAGS="$CFLAGS"
29811 ac_save_LIBS="$LIBS"
29812 CFLAGS="$CFLAGS $GTK_CFLAGS"
29813 LIBS="$GTK_LIBS $LIBS"
29814 rm -f conf.gtktest
29815 if test "$cross_compiling" = yes; then
29816 echo $ac_n "cross compiling; assumed OK... $ac_c"
29817 else
29818 cat >conftest.$ac_ext <<_ACEOF
29819 /* confdefs.h. */
29820 _ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824
29825 #include <gtk/gtk.h>
29826 #include <stdio.h>
29827 #include <stdlib.h>
29828
29829 int
29830 main ()
29831 {
29832 int major, minor, micro;
29833 char *tmp_version;
29834
29835 system ("touch conf.gtktest");
29836
29837 /* HP/UX 9 (%@#!) writes to sscanf strings */
29838 tmp_version = g_strdup("$min_gtk_version");
29839 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29840 printf("%s, bad version string\n", "$min_gtk_version");
29841 exit(1);
29842 }
29843
29844 if ((gtk_major_version != $gtk_config_major_version) ||
29845 (gtk_minor_version != $gtk_config_minor_version) ||
29846 (gtk_micro_version != $gtk_config_micro_version))
29847 {
29848 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29849 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29850 gtk_major_version, gtk_minor_version, gtk_micro_version);
29851 printf ("*** was found! If gtk-config was correct, then it is best\n");
29852 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29853 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29854 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29855 printf("*** required on your system.\n");
29856 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29857 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29858 printf("*** before re-running configure\n");
29859 }
29860 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29861 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29862 (gtk_minor_version != GTK_MINOR_VERSION) ||
29863 (gtk_micro_version != GTK_MICRO_VERSION))
29864 {
29865 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29866 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29867 printf("*** library (version %d.%d.%d)\n",
29868 gtk_major_version, gtk_minor_version, gtk_micro_version);
29869 }
29870 #endif /* defined (GTK_MAJOR_VERSION) ... */
29871 else
29872 {
29873 if ((gtk_major_version > major) ||
29874 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29875 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29876 {
29877 return 0;
29878 }
29879 else
29880 {
29881 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29882 gtk_major_version, gtk_minor_version, gtk_micro_version);
29883 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29884 major, minor, micro);
29885 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29886 printf("***\n");
29887 printf("*** If you have already installed a sufficiently new version, this error\n");
29888 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29889 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29890 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29891 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29892 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29893 printf("*** so that the correct libraries are found at run-time))\n");
29894 }
29895 }
29896 return 1;
29897 }
29898
29899 _ACEOF
29900 rm -f conftest$ac_exeext
29901 if { (ac_try="$ac_link"
29902 case "(($ac_try" in
29903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29904 *) ac_try_echo=$ac_try;;
29905 esac
29906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29907 (eval "$ac_link") 2>&5
29908 ac_status=$?
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29911 { (case "(($ac_try" in
29912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29913 *) ac_try_echo=$ac_try;;
29914 esac
29915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29916 (eval "$ac_try") 2>&5
29917 ac_status=$?
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); }; }; then
29920 :
29921 else
29922 echo "$as_me: program exited with status $ac_status" >&5
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29925
29926 ( exit $ac_status )
29927 no_gtk=yes
29928 fi
29929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29930 fi
29931
29932
29933 CFLAGS="$ac_save_CFLAGS"
29934 LIBS="$ac_save_LIBS"
29935 fi
29936 fi
29937 if test "x$no_gtk" = x ; then
29938 { echo "$as_me:$LINENO: result: yes" >&5
29939 echo "${ECHO_T}yes" >&6; }
29940 wx_cv_lib_gtk=1.2.7
29941 else
29942 { echo "$as_me:$LINENO: result: no" >&5
29943 echo "${ECHO_T}no" >&6; }
29944 if test "$GTK_CONFIG" = "no" ; then
29945 echo "*** The gtk-config script installed by GTK could not be found"
29946 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29947 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29948 echo "*** full path to gtk-config."
29949 else
29950 if test -f conf.gtktest ; then
29951 :
29952 else
29953 echo "*** Could not run GTK test program, checking why..."
29954 CFLAGS="$CFLAGS $GTK_CFLAGS"
29955 LIBS="$LIBS $GTK_LIBS"
29956 cat >conftest.$ac_ext <<_ACEOF
29957 /* confdefs.h. */
29958 _ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h. */
29962
29963 #include <gtk/gtk.h>
29964 #include <stdio.h>
29965
29966 int
29967 main ()
29968 {
29969 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29970 ;
29971 return 0;
29972 }
29973 _ACEOF
29974 rm -f conftest.$ac_objext conftest$ac_exeext
29975 if { (ac_try="$ac_link"
29976 case "(($ac_try" in
29977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29978 *) ac_try_echo=$ac_try;;
29979 esac
29980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29981 (eval "$ac_link") 2>conftest.er1
29982 ac_status=$?
29983 grep -v '^ *+' conftest.er1 >conftest.err
29984 rm -f conftest.er1
29985 cat conftest.err >&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } && {
29988 test -z "$ac_c_werror_flag" ||
29989 test ! -s conftest.err
29990 } && test -s conftest$ac_exeext &&
29991 $as_test_x conftest$ac_exeext; then
29992 echo "*** The test program compiled, but did not run. This usually means"
29993 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29994 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29995 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29996 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29997 echo "*** is required on your system"
29998 echo "***"
29999 echo "*** If you have an old version installed, it is best to remove it, although"
30000 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30001 echo "***"
30002 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30003 echo "*** came with the system with the command"
30004 echo "***"
30005 echo "*** rpm --erase --nodeps gtk gtk-devel"
30006 else
30007 echo "$as_me: failed program was:" >&5
30008 sed 's/^/| /' conftest.$ac_ext >&5
30009
30010 echo "*** The test program failed to compile or link. See the file config.log for the"
30011 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30012 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30013 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30014 fi
30015
30016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30017 conftest$ac_exeext conftest.$ac_ext
30018 CFLAGS="$ac_save_CFLAGS"
30019 LIBS="$ac_save_LIBS"
30020 fi
30021 fi
30022 GTK_CFLAGS=""
30023 GTK_LIBS=""
30024 :
30025 fi
30026
30027
30028 rm -f conf.gtktest
30029
30030
30031 if test -z "$wx_cv_lib_gtk"; then
30032
30033 # Check whether --with-gtk-prefix was given.
30034 if test "${with_gtk_prefix+set}" = set; then
30035 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30036 else
30037 gtk_config_prefix=""
30038 fi
30039
30040
30041 # Check whether --with-gtk-exec-prefix was given.
30042 if test "${with_gtk_exec_prefix+set}" = set; then
30043 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30044 else
30045 gtk_config_exec_prefix=""
30046 fi
30047
30048 # Check whether --enable-gtktest was given.
30049 if test "${enable_gtktest+set}" = set; then
30050 enableval=$enable_gtktest;
30051 else
30052 enable_gtktest=yes
30053 fi
30054
30055
30056 for module in . $GTK_MODULES
30057 do
30058 case "$module" in
30059 gthread)
30060 gtk_config_args="$gtk_config_args gthread"
30061 ;;
30062 esac
30063 done
30064
30065 if test x$gtk_config_exec_prefix != x ; then
30066 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30067 if test x${GTK_CONFIG+set} != xset ; then
30068 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30069 fi
30070 fi
30071 if test x$gtk_config_prefix != x ; then
30072 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30073 if test x${GTK_CONFIG+set} != xset ; then
30074 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30075 fi
30076 fi
30077
30078 # Extract the first word of "gtk-config", so it can be a program name with args.
30079 set dummy gtk-config; ac_word=$2
30080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30082 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 else
30085 case $GTK_CONFIG in
30086 [\\/]* | ?:[\\/]*)
30087 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30088 ;;
30089 *)
30090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30091 for as_dir in $PATH
30092 do
30093 IFS=$as_save_IFS
30094 test -z "$as_dir" && as_dir=.
30095 for ac_exec_ext in '' $ac_executable_extensions; do
30096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30097 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30099 break 2
30100 fi
30101 done
30102 done
30103 IFS=$as_save_IFS
30104
30105 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30106 ;;
30107 esac
30108 fi
30109 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30110 if test -n "$GTK_CONFIG"; then
30111 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30112 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30113 else
30114 { echo "$as_me:$LINENO: result: no" >&5
30115 echo "${ECHO_T}no" >&6; }
30116 fi
30117
30118
30119 min_gtk_version=1.2.3
30120 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30121 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30122 no_gtk=""
30123 if test "$GTK_CONFIG" = "no" ; then
30124 no_gtk=yes
30125 else
30126 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30127 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30128 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30130 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30132 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30134 if test "x$enable_gtktest" = "xyes" ; then
30135 ac_save_CFLAGS="$CFLAGS"
30136 ac_save_LIBS="$LIBS"
30137 CFLAGS="$CFLAGS $GTK_CFLAGS"
30138 LIBS="$GTK_LIBS $LIBS"
30139 rm -f conf.gtktest
30140 if test "$cross_compiling" = yes; then
30141 echo $ac_n "cross compiling; assumed OK... $ac_c"
30142 else
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149
30150 #include <gtk/gtk.h>
30151 #include <stdio.h>
30152 #include <stdlib.h>
30153
30154 int
30155 main ()
30156 {
30157 int major, minor, micro;
30158 char *tmp_version;
30159
30160 system ("touch conf.gtktest");
30161
30162 /* HP/UX 9 (%@#!) writes to sscanf strings */
30163 tmp_version = g_strdup("$min_gtk_version");
30164 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30165 printf("%s, bad version string\n", "$min_gtk_version");
30166 exit(1);
30167 }
30168
30169 if ((gtk_major_version != $gtk_config_major_version) ||
30170 (gtk_minor_version != $gtk_config_minor_version) ||
30171 (gtk_micro_version != $gtk_config_micro_version))
30172 {
30173 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30174 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30175 gtk_major_version, gtk_minor_version, gtk_micro_version);
30176 printf ("*** was found! If gtk-config was correct, then it is best\n");
30177 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30178 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30179 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30180 printf("*** required on your system.\n");
30181 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30182 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30183 printf("*** before re-running configure\n");
30184 }
30185 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30186 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30187 (gtk_minor_version != GTK_MINOR_VERSION) ||
30188 (gtk_micro_version != GTK_MICRO_VERSION))
30189 {
30190 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30191 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30192 printf("*** library (version %d.%d.%d)\n",
30193 gtk_major_version, gtk_minor_version, gtk_micro_version);
30194 }
30195 #endif /* defined (GTK_MAJOR_VERSION) ... */
30196 else
30197 {
30198 if ((gtk_major_version > major) ||
30199 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30200 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30201 {
30202 return 0;
30203 }
30204 else
30205 {
30206 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30207 gtk_major_version, gtk_minor_version, gtk_micro_version);
30208 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30209 major, minor, micro);
30210 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30211 printf("***\n");
30212 printf("*** If you have already installed a sufficiently new version, this error\n");
30213 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30214 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30215 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30216 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30217 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30218 printf("*** so that the correct libraries are found at run-time))\n");
30219 }
30220 }
30221 return 1;
30222 }
30223
30224 _ACEOF
30225 rm -f conftest$ac_exeext
30226 if { (ac_try="$ac_link"
30227 case "(($ac_try" in
30228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30229 *) ac_try_echo=$ac_try;;
30230 esac
30231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30232 (eval "$ac_link") 2>&5
30233 ac_status=$?
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30236 { (case "(($ac_try" in
30237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30238 *) ac_try_echo=$ac_try;;
30239 esac
30240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30241 (eval "$ac_try") 2>&5
30242 ac_status=$?
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); }; }; then
30245 :
30246 else
30247 echo "$as_me: program exited with status $ac_status" >&5
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.$ac_ext >&5
30250
30251 ( exit $ac_status )
30252 no_gtk=yes
30253 fi
30254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30255 fi
30256
30257
30258 CFLAGS="$ac_save_CFLAGS"
30259 LIBS="$ac_save_LIBS"
30260 fi
30261 fi
30262 if test "x$no_gtk" = x ; then
30263 { echo "$as_me:$LINENO: result: yes" >&5
30264 echo "${ECHO_T}yes" >&6; }
30265 wx_cv_lib_gtk=1.2.3
30266 else
30267 { echo "$as_me:$LINENO: result: no" >&5
30268 echo "${ECHO_T}no" >&6; }
30269 if test "$GTK_CONFIG" = "no" ; then
30270 echo "*** The gtk-config script installed by GTK could not be found"
30271 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30272 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30273 echo "*** full path to gtk-config."
30274 else
30275 if test -f conf.gtktest ; then
30276 :
30277 else
30278 echo "*** Could not run GTK test program, checking why..."
30279 CFLAGS="$CFLAGS $GTK_CFLAGS"
30280 LIBS="$LIBS $GTK_LIBS"
30281 cat >conftest.$ac_ext <<_ACEOF
30282 /* confdefs.h. */
30283 _ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h. */
30287
30288 #include <gtk/gtk.h>
30289 #include <stdio.h>
30290
30291 int
30292 main ()
30293 {
30294 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30295 ;
30296 return 0;
30297 }
30298 _ACEOF
30299 rm -f conftest.$ac_objext conftest$ac_exeext
30300 if { (ac_try="$ac_link"
30301 case "(($ac_try" in
30302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30303 *) ac_try_echo=$ac_try;;
30304 esac
30305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30306 (eval "$ac_link") 2>conftest.er1
30307 ac_status=$?
30308 grep -v '^ *+' conftest.er1 >conftest.err
30309 rm -f conftest.er1
30310 cat conftest.err >&5
30311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); } && {
30313 test -z "$ac_c_werror_flag" ||
30314 test ! -s conftest.err
30315 } && test -s conftest$ac_exeext &&
30316 $as_test_x conftest$ac_exeext; then
30317 echo "*** The test program compiled, but did not run. This usually means"
30318 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30319 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30320 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30321 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30322 echo "*** is required on your system"
30323 echo "***"
30324 echo "*** If you have an old version installed, it is best to remove it, although"
30325 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30326 echo "***"
30327 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30328 echo "*** came with the system with the command"
30329 echo "***"
30330 echo "*** rpm --erase --nodeps gtk gtk-devel"
30331 else
30332 echo "$as_me: failed program was:" >&5
30333 sed 's/^/| /' conftest.$ac_ext >&5
30334
30335 echo "*** The test program failed to compile or link. See the file config.log for the"
30336 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30337 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30338 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30339 fi
30340
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30343 CFLAGS="$ac_save_CFLAGS"
30344 LIBS="$ac_save_LIBS"
30345 fi
30346 fi
30347 GTK_CFLAGS=""
30348 GTK_LIBS=""
30349 :
30350 fi
30351
30352
30353 rm -f conf.gtktest
30354
30355 fi
30356 fi
30357 fi
30358
30359 if test -z "$wx_cv_lib_gtk"; then
30360 wx_cv_lib_gtk=none
30361 else
30362 wx_cv_cflags_gtk=$GTK_CFLAGS
30363 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30364 fi
30365
30366
30367 fi
30368
30369
30370 if test "$gtk_version_cached" = 1; then
30371 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30372 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30373 fi
30374
30375 case "$wx_cv_lib_gtk" in
30376 2.0) WXGTK2=1
30377 TOOLKIT_VERSION=2
30378 ;;
30379 1.2.7) WXGTK127=1
30380 WXGTK12=1
30381 ;;
30382 1.2.3) WXGTK12=1
30383 ;;
30384 *) { { echo "$as_me:$LINENO: error:
30385 The development files for GTK+ were not found. For GTK+ 2, please
30386 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30387 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30388 and that the version is 1.2.3 or above. Also check that the
30389 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30390 --libs' are in the LD_LIBRARY_PATH or equivalent.
30391 " >&5
30392 echo "$as_me: error:
30393 The development files for GTK+ were not found. For GTK+ 2, please
30394 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30395 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30396 and that the version is 1.2.3 or above. Also check that the
30397 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30398 --libs' are in the LD_LIBRARY_PATH or equivalent.
30399 " >&2;}
30400 { (exit 1); exit 1; }; }
30401 ;;
30402 esac
30403
30404 if test "$WXGTK2" = 1; then
30405 save_CFLAGS="$CFLAGS"
30406 save_LIBS="$LIBS"
30407 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30408 LIBS="$LIBS $wx_cv_libs_gtk"
30409
30410 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30411 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30412 cat >conftest.$ac_ext <<_ACEOF
30413 /* confdefs.h. */
30414 _ACEOF
30415 cat confdefs.h >>conftest.$ac_ext
30416 cat >>conftest.$ac_ext <<_ACEOF
30417 /* end confdefs.h. */
30418
30419 #include <gtk/gtk.h>
30420
30421 int
30422 main ()
30423 {
30424
30425 #if !GTK_CHECK_VERSION(2,18,0)
30426 Not GTK+ 2.18
30427 #endif
30428
30429 ;
30430 return 0;
30431 }
30432 _ACEOF
30433 rm -f conftest.$ac_objext
30434 if { (ac_try="$ac_compile"
30435 case "(($ac_try" in
30436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30437 *) ac_try_echo=$ac_try;;
30438 esac
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_compile") 2>conftest.er1
30441 ac_status=$?
30442 grep -v '^ *+' conftest.er1 >conftest.err
30443 rm -f conftest.er1
30444 cat conftest.err >&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } && {
30447 test -z "$ac_c_werror_flag" ||
30448 test ! -s conftest.err
30449 } && test -s conftest.$ac_objext; then
30450
30451 cat >>confdefs.h <<\_ACEOF
30452 #define __WXGTK218__ 1
30453 _ACEOF
30454
30455 cat >>confdefs.h <<\_ACEOF
30456 #define __WXGTK210__ 1
30457 _ACEOF
30458
30459 cat >>confdefs.h <<\_ACEOF
30460 #define __WXGTK26__ 1
30461 _ACEOF
30462
30463 { echo "$as_me:$LINENO: result: yes" >&5
30464 echo "${ECHO_T}yes" >&6; }
30465 ac_wxgtk218=1
30466
30467 else
30468 echo "$as_me: failed program was:" >&5
30469 sed 's/^/| /' conftest.$ac_ext >&5
30470
30471
30472 { echo "$as_me:$LINENO: result: no" >&5
30473 echo "${ECHO_T}no" >&6; }
30474 ac_wxgtk218=0
30475
30476 fi
30477
30478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30479
30480 if test "$ac_wxgtk218" = 0; then
30481 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30482 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489
30490 #include <gtk/gtk.h>
30491
30492 int
30493 main ()
30494 {
30495
30496 #if !GTK_CHECK_VERSION(2,10,0)
30497 Not GTK+ 2.10
30498 #endif
30499
30500 ;
30501 return 0;
30502 }
30503 _ACEOF
30504 rm -f conftest.$ac_objext
30505 if { (ac_try="$ac_compile"
30506 case "(($ac_try" in
30507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30508 *) ac_try_echo=$ac_try;;
30509 esac
30510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 (eval "$ac_compile") 2>conftest.er1
30512 ac_status=$?
30513 grep -v '^ *+' conftest.er1 >conftest.err
30514 rm -f conftest.er1
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } && {
30518 test -z "$ac_c_werror_flag" ||
30519 test ! -s conftest.err
30520 } && test -s conftest.$ac_objext; then
30521
30522 cat >>confdefs.h <<\_ACEOF
30523 #define __WXGTK210__ 1
30524 _ACEOF
30525
30526 cat >>confdefs.h <<\_ACEOF
30527 #define __WXGTK26__ 1
30528 _ACEOF
30529
30530 { echo "$as_me:$LINENO: result: yes" >&5
30531 echo "${ECHO_T}yes" >&6; }
30532 ac_wxgtk210=1
30533
30534 else
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30537
30538
30539 { echo "$as_me:$LINENO: result: no" >&5
30540 echo "${ECHO_T}no" >&6; }
30541 ac_wxgtk210=0
30542
30543 fi
30544
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30546
30547 if test "$ac_wxgtk210" = 0; then
30548 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30549 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30550 cat >conftest.$ac_ext <<_ACEOF
30551 /* confdefs.h. */
30552 _ACEOF
30553 cat confdefs.h >>conftest.$ac_ext
30554 cat >>conftest.$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30556
30557 #include <gtk/gtk.h>
30558
30559 int
30560 main ()
30561 {
30562
30563 #if !GTK_CHECK_VERSION(2,6,0)
30564 Not GTK+ 2.6
30565 #endif
30566
30567 ;
30568 return 0;
30569 }
30570 _ACEOF
30571 rm -f conftest.$ac_objext
30572 if { (ac_try="$ac_compile"
30573 case "(($ac_try" in
30574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30575 *) ac_try_echo=$ac_try;;
30576 esac
30577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30578 (eval "$ac_compile") 2>conftest.er1
30579 ac_status=$?
30580 grep -v '^ *+' conftest.er1 >conftest.err
30581 rm -f conftest.er1
30582 cat conftest.err >&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); } && {
30585 test -z "$ac_c_werror_flag" ||
30586 test ! -s conftest.err
30587 } && test -s conftest.$ac_objext; then
30588
30589 cat >>confdefs.h <<\_ACEOF
30590 #define __WXGTK26__ 1
30591 _ACEOF
30592
30593 { echo "$as_me:$LINENO: result: yes" >&5
30594 echo "${ECHO_T}yes" >&6; }
30595 ac_wxgtk26=1
30596
30597 else
30598 echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.$ac_ext >&5
30600
30601
30602 { echo "$as_me:$LINENO: result: no" >&5
30603 echo "${ECHO_T}no" >&6; }
30604 ac_wxgtk26=0
30605
30606 fi
30607
30608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30609 fi
30610 fi
30611
30612 CFLAGS="$save_CFLAGS"
30613 LIBS="$save_LIBS"
30614 else
30615 if test "$wxUSE_UNICODE" = "yes"; then
30616 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30617 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30618 wxUSE_UNICODE=no
30619 fi
30620
30621 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30622 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30623 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 else
30626 ac_check_lib_save_LIBS=$LIBS
30627 LIBS="-lgdk $LIBS"
30628 cat >conftest.$ac_ext <<_ACEOF
30629 /* confdefs.h. */
30630 _ACEOF
30631 cat confdefs.h >>conftest.$ac_ext
30632 cat >>conftest.$ac_ext <<_ACEOF
30633 /* end confdefs.h. */
30634
30635 /* Override any GCC internal prototype to avoid an error.
30636 Use char because int might match the return type of a GCC
30637 builtin and then its argument prototype would still apply. */
30638 #ifdef __cplusplus
30639 extern "C"
30640 #endif
30641 char gdk_im_open ();
30642 int
30643 main ()
30644 {
30645 return gdk_im_open ();
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 rm -f conftest.$ac_objext conftest$ac_exeext
30651 if { (ac_try="$ac_link"
30652 case "(($ac_try" in
30653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30654 *) ac_try_echo=$ac_try;;
30655 esac
30656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30657 (eval "$ac_link") 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } && {
30664 test -z "$ac_c_werror_flag" ||
30665 test ! -s conftest.err
30666 } && test -s conftest$ac_exeext &&
30667 $as_test_x conftest$ac_exeext; then
30668 ac_cv_lib_gdk_gdk_im_open=yes
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30672
30673 ac_cv_lib_gdk_gdk_im_open=no
30674 fi
30675
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 LIBS=$ac_check_lib_save_LIBS
30679 fi
30680 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30681 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30682 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30683 cat >>confdefs.h <<\_ACEOF
30684 #define HAVE_XIM 1
30685 _ACEOF
30686
30687 fi
30688
30689
30690 if test "$USE_DARWIN" != 1; then
30691
30692 for ac_func in poll
30693 do
30694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30697 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30698 echo $ECHO_N "(cached) $ECHO_C" >&6
30699 else
30700 cat >conftest.$ac_ext <<_ACEOF
30701 /* confdefs.h. */
30702 _ACEOF
30703 cat confdefs.h >>conftest.$ac_ext
30704 cat >>conftest.$ac_ext <<_ACEOF
30705 /* end confdefs.h. */
30706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30708 #define $ac_func innocuous_$ac_func
30709
30710 /* System header to define __stub macros and hopefully few prototypes,
30711 which can conflict with char $ac_func (); below.
30712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30713 <limits.h> exists even on freestanding compilers. */
30714
30715 #ifdef __STDC__
30716 # include <limits.h>
30717 #else
30718 # include <assert.h>
30719 #endif
30720
30721 #undef $ac_func
30722
30723 /* Override any GCC internal prototype to avoid an error.
30724 Use char because int might match the return type of a GCC
30725 builtin and then its argument prototype would still apply. */
30726 #ifdef __cplusplus
30727 extern "C"
30728 #endif
30729 char $ac_func ();
30730 /* The GNU C library defines this for functions which it implements
30731 to always fail with ENOSYS. Some functions are actually named
30732 something starting with __ and the normal name is an alias. */
30733 #if defined __stub_$ac_func || defined __stub___$ac_func
30734 choke me
30735 #endif
30736
30737 int
30738 main ()
30739 {
30740 return $ac_func ();
30741 ;
30742 return 0;
30743 }
30744 _ACEOF
30745 rm -f conftest.$ac_objext conftest$ac_exeext
30746 if { (ac_try="$ac_link"
30747 case "(($ac_try" in
30748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30749 *) ac_try_echo=$ac_try;;
30750 esac
30751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30752 (eval "$ac_link") 2>conftest.er1
30753 ac_status=$?
30754 grep -v '^ *+' conftest.er1 >conftest.err
30755 rm -f conftest.er1
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } && {
30759 test -z "$ac_c_werror_flag" ||
30760 test ! -s conftest.err
30761 } && test -s conftest$ac_exeext &&
30762 $as_test_x conftest$ac_exeext; then
30763 eval "$as_ac_var=yes"
30764 else
30765 echo "$as_me: failed program was:" >&5
30766 sed 's/^/| /' conftest.$ac_ext >&5
30767
30768 eval "$as_ac_var=no"
30769 fi
30770
30771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30772 conftest$ac_exeext conftest.$ac_ext
30773 fi
30774 ac_res=`eval echo '${'$as_ac_var'}'`
30775 { echo "$as_me:$LINENO: result: $ac_res" >&5
30776 echo "${ECHO_T}$ac_res" >&6; }
30777 if test `eval echo '${'$as_ac_var'}'` = yes; then
30778 cat >>confdefs.h <<_ACEOF
30779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30780 _ACEOF
30781
30782 fi
30783 done
30784
30785 fi
30786 fi
30787
30788 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30789 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30790
30791 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30792
30793 AFMINSTALL=afminstall
30794 TOOLKIT=GTK
30795 GUIDIST=GTK_DIST
30796
30797 if test "$wxUSE_GPE" = "yes"; then
30798 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30799 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30800
30801 ac_find_libraries=
30802 for ac_dir in $SEARCH_LIB;
30803 do
30804 for ac_extension in a so sl dylib dll.a; do
30805 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30806 ac_find_libraries=$ac_dir
30807 break 2
30808 fi
30809 done
30810 done
30811
30812 if test "$ac_find_libraries" != "" ; then
30813
30814 if test "$ac_find_libraries" = "default location"; then
30815 ac_path_to_link=""
30816 else
30817 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30818 result=$?
30819 if test $result = 0; then
30820 ac_path_to_link=""
30821 else
30822 ac_path_to_link=" -L$ac_find_libraries"
30823 fi
30824 fi
30825
30826 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30827 WXGPE=1
30828 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30829 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30830 else
30831 { echo "$as_me:$LINENO: result: not found" >&5
30832 echo "${ECHO_T}not found" >&6; }
30833 fi
30834
30835 fi
30836 fi
30837
30838 if test "$wxUSE_MGL" = 1; then
30839 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30840 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30841 if test "x$MGL_ROOT" = x ; then
30842 { echo "$as_me:$LINENO: result: not found" >&5
30843 echo "${ECHO_T}not found" >&6; }
30844 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30845 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30846 { (exit 1); exit 1; }; }
30847 else
30848 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30849 echo "${ECHO_T}$MGL_ROOT" >&6; }
30850 fi
30851
30852 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30853 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30854 case "${host}" in
30855 *-*-linux* )
30856 if test "x$wxUSE_SHARED" = xyes ; then
30857 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30858 else
30859 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30860 fi
30861 ;;
30862 *-pc-msdosdjgpp )
30863 mgl_os_candidates="dos32/dj2"
30864 ;;
30865 *)
30866 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30867 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30868 { (exit 1); exit 1; }; }
30869 esac
30870
30871 mgl_lib_type=""
30872 mgl_os=""
30873
30874 for mgl_os_i in $mgl_os_candidates ; do
30875 if test "x$mgl_os" = x ; then
30876 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30877 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30878 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30879 mgl_lib_type=debug
30880 mgl_os=$mgl_os_i
30881 fi
30882 fi
30883 if test "x$mgl_lib_type" = x ; then
30884 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30885 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30886 mgl_lib_type=release
30887 mgl_os=$mgl_os_i
30888 fi
30889 fi
30890 fi
30891 done
30892
30893 if test "x$mgl_os" = x ; then
30894 { echo "$as_me:$LINENO: result: not found" >&5
30895 echo "${ECHO_T}not found" >&6; }
30896 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30897 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30898 { (exit 1); exit 1; }; }
30899 fi
30900 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30901 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30902
30903 wxUSE_UNIVERSAL="yes"
30904
30905 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30906 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30907
30908 AFMINSTALL=afminstall
30909 TOOLKIT=MGL
30910 GUIDIST=MGL_DIST
30911 fi
30912
30913 if test "$wxUSE_DFB" = 1; then
30914
30915
30916 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30917 if test -n "$ac_tool_prefix"; then
30918 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30919 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30922 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30923 echo $ECHO_N "(cached) $ECHO_C" >&6
30924 else
30925 case $PKG_CONFIG in
30926 [\\/]* | ?:[\\/]*)
30927 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30928 ;;
30929 *)
30930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30931 for as_dir in $PATH
30932 do
30933 IFS=$as_save_IFS
30934 test -z "$as_dir" && as_dir=.
30935 for ac_exec_ext in '' $ac_executable_extensions; do
30936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30937 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30939 break 2
30940 fi
30941 done
30942 done
30943 IFS=$as_save_IFS
30944
30945 ;;
30946 esac
30947 fi
30948 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30949 if test -n "$PKG_CONFIG"; then
30950 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30951 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30952 else
30953 { echo "$as_me:$LINENO: result: no" >&5
30954 echo "${ECHO_T}no" >&6; }
30955 fi
30956
30957
30958 fi
30959 if test -z "$ac_cv_path_PKG_CONFIG"; then
30960 ac_pt_PKG_CONFIG=$PKG_CONFIG
30961 # Extract the first word of "pkg-config", so it can be a program name with args.
30962 set dummy pkg-config; ac_word=$2
30963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30965 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30966 echo $ECHO_N "(cached) $ECHO_C" >&6
30967 else
30968 case $ac_pt_PKG_CONFIG in
30969 [\\/]* | ?:[\\/]*)
30970 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30971 ;;
30972 *)
30973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30974 for as_dir in $PATH
30975 do
30976 IFS=$as_save_IFS
30977 test -z "$as_dir" && as_dir=.
30978 for ac_exec_ext in '' $ac_executable_extensions; do
30979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30980 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30982 break 2
30983 fi
30984 done
30985 done
30986 IFS=$as_save_IFS
30987
30988 ;;
30989 esac
30990 fi
30991 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30992 if test -n "$ac_pt_PKG_CONFIG"; then
30993 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30994 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30995 else
30996 { echo "$as_me:$LINENO: result: no" >&5
30997 echo "${ECHO_T}no" >&6; }
30998 fi
30999
31000 if test "x$ac_pt_PKG_CONFIG" = x; then
31001 PKG_CONFIG=""
31002 else
31003 case $cross_compiling:$ac_tool_warned in
31004 yes:)
31005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31006 whose name does not start with the host triplet. If you think this
31007 configuration is useful to you, please write to autoconf@gnu.org." >&5
31008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31009 whose name does not start with the host triplet. If you think this
31010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31011 ac_tool_warned=yes ;;
31012 esac
31013 PKG_CONFIG=$ac_pt_PKG_CONFIG
31014 fi
31015 else
31016 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31017 fi
31018
31019 fi
31020 if test -n "$PKG_CONFIG"; then
31021 _pkg_min_version=0.9.0
31022 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31023 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31024 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31025 { echo "$as_me:$LINENO: result: yes" >&5
31026 echo "${ECHO_T}yes" >&6; }
31027 else
31028 { echo "$as_me:$LINENO: result: no" >&5
31029 echo "${ECHO_T}no" >&6; }
31030 PKG_CONFIG=""
31031 fi
31032
31033 fi
31034
31035
31036 pkg_failed=no
31037 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31038 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31039
31040 if test -n "$PKG_CONFIG"; then
31041 if test -n "$DIRECTFB_CFLAGS"; then
31042 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31043 else
31044 if test -n "$PKG_CONFIG" && \
31045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31046 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31047 ac_status=$?
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; then
31050 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31051 else
31052 pkg_failed=yes
31053 fi
31054 fi
31055 else
31056 pkg_failed=untried
31057 fi
31058 if test -n "$PKG_CONFIG"; then
31059 if test -n "$DIRECTFB_LIBS"; then
31060 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31061 else
31062 if test -n "$PKG_CONFIG" && \
31063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31064 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31065 ac_status=$?
31066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31067 (exit $ac_status); }; then
31068 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31069 else
31070 pkg_failed=yes
31071 fi
31072 fi
31073 else
31074 pkg_failed=untried
31075 fi
31076
31077
31078
31079 if test $pkg_failed = yes; then
31080
31081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31082 _pkg_short_errors_supported=yes
31083 else
31084 _pkg_short_errors_supported=no
31085 fi
31086 if test $_pkg_short_errors_supported = yes; then
31087 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31088 else
31089 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31090 fi
31091 # Put the nasty error message in config.log where it belongs
31092 echo "$DIRECTFB_PKG_ERRORS" >&5
31093
31094
31095 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31096 echo "$as_me: error: DirectFB not found." >&2;}
31097 { (exit 1); exit 1; }; }
31098
31099
31100 elif test $pkg_failed = untried; then
31101
31102 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31103 echo "$as_me: error: DirectFB not found." >&2;}
31104 { (exit 1); exit 1; }; }
31105
31106
31107 else
31108 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31109 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31110 { echo "$as_me:$LINENO: result: yes" >&5
31111 echo "${ECHO_T}yes" >&6; }
31112
31113 wxUSE_UNIVERSAL="yes"
31114 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31115 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31116 TOOLKIT=DFB
31117 GUIDIST=DFB_DIST
31118
31119 fi
31120 fi
31121
31122 if test "$wxUSE_MICROWIN" = 1; then
31123 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31124 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31125 if test "x$MICROWINDOWS" = x ; then
31126 { echo "$as_me:$LINENO: result: not found" >&5
31127 echo "${ECHO_T}not found" >&6; }
31128 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31129 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31130 { (exit 1); exit 1; }; }
31131 else
31132 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31133 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31134 fi
31135
31136 if test -f $MICROWINDOWS/lib/libmwin.a; then
31137 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31138 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31139 else
31140 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31141 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31142 { (exit 1); exit 1; }; }
31143 fi
31144
31145 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31146 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31147
31148 wxUSE_UNIVERSAL="yes"
31149
31150 AFMINSTALL=afminstall
31151 TOOLKIT=MICROWIN
31152 GUIDIST=MICROWIN_DIST
31153
31154 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31155 fi
31156
31157 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31158 { echo "$as_me:$LINENO: checking for X" >&5
31159 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31160
31161
31162 # Check whether --with-x was given.
31163 if test "${with_x+set}" = set; then
31164 withval=$with_x;
31165 fi
31166
31167 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31168 if test "x$with_x" = xno; then
31169 # The user explicitly disabled X.
31170 have_x=disabled
31171 else
31172 case $x_includes,$x_libraries in #(
31173 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31174 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31175 { (exit 1); exit 1; }; };; #(
31176 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31177 echo $ECHO_N "(cached) $ECHO_C" >&6
31178 else
31179 # One or both of the vars are not set, and there is no cached value.
31180 ac_x_includes=no ac_x_libraries=no
31181 rm -f -r conftest.dir
31182 if mkdir conftest.dir; then
31183 cd conftest.dir
31184 cat >Imakefile <<'_ACEOF'
31185 incroot:
31186 @echo incroot='${INCROOT}'
31187 usrlibdir:
31188 @echo usrlibdir='${USRLIBDIR}'
31189 libdir:
31190 @echo libdir='${LIBDIR}'
31191 _ACEOF
31192 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31193 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31194 for ac_var in incroot usrlibdir libdir; do
31195 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31196 done
31197 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31198 for ac_extension in a so sl; do
31199 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31200 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31201 ac_im_usrlibdir=$ac_im_libdir; break
31202 fi
31203 done
31204 # Screen out bogus values from the imake configuration. They are
31205 # bogus both because they are the default anyway, and because
31206 # using them would break gcc on systems where it needs fixed includes.
31207 case $ac_im_incroot in
31208 /usr/include) ac_x_includes= ;;
31209 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31210 esac
31211 case $ac_im_usrlibdir in
31212 /usr/lib | /lib) ;;
31213 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31214 esac
31215 fi
31216 cd ..
31217 rm -f -r conftest.dir
31218 fi
31219
31220 # Standard set of common directories for X headers.
31221 # Check X11 before X11Rn because it is often a symlink to the current release.
31222 ac_x_header_dirs='
31223 /usr/X11/include
31224 /usr/X11R6/include
31225 /usr/X11R5/include
31226 /usr/X11R4/include
31227
31228 /usr/include/X11
31229 /usr/include/X11R6
31230 /usr/include/X11R5
31231 /usr/include/X11R4
31232
31233 /usr/local/X11/include
31234 /usr/local/X11R6/include
31235 /usr/local/X11R5/include
31236 /usr/local/X11R4/include
31237
31238 /usr/local/include/X11
31239 /usr/local/include/X11R6
31240 /usr/local/include/X11R5
31241 /usr/local/include/X11R4
31242
31243 /usr/X386/include
31244 /usr/x386/include
31245 /usr/XFree86/include/X11
31246
31247 /usr/include
31248 /usr/local/include
31249 /usr/unsupported/include
31250 /usr/athena/include
31251 /usr/local/x11r5/include
31252 /usr/lpp/Xamples/include
31253
31254 /usr/openwin/include
31255 /usr/openwin/share/include'
31256
31257 if test "$ac_x_includes" = no; then
31258 # Guess where to find include files, by looking for Xlib.h.
31259 # First, try using that file with no special directory specified.
31260 cat >conftest.$ac_ext <<_ACEOF
31261 /* confdefs.h. */
31262 _ACEOF
31263 cat confdefs.h >>conftest.$ac_ext
31264 cat >>conftest.$ac_ext <<_ACEOF
31265 /* end confdefs.h. */
31266 #include <X11/Xlib.h>
31267 _ACEOF
31268 if { (ac_try="$ac_cpp conftest.$ac_ext"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31272 esac
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31275 ac_status=$?
31276 grep -v '^ *+' conftest.er1 >conftest.err
31277 rm -f conftest.er1
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } >/dev/null && {
31281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 }; then
31284 # We can compile using X headers with no special include directory.
31285 ac_x_includes=
31286 else
31287 echo "$as_me: failed program was:" >&5
31288 sed 's/^/| /' conftest.$ac_ext >&5
31289
31290 for ac_dir in $ac_x_header_dirs; do
31291 if test -r "$ac_dir/X11/Xlib.h"; then
31292 ac_x_includes=$ac_dir
31293 break
31294 fi
31295 done
31296 fi
31297
31298 rm -f conftest.err conftest.$ac_ext
31299 fi # $ac_x_includes = no
31300
31301 if test "$ac_x_libraries" = no; then
31302 # Check for the libraries.
31303 # See if we find them without any special options.
31304 # Don't add to $LIBS permanently.
31305 ac_save_LIBS=$LIBS
31306 LIBS="-lX11 $LIBS"
31307 cat >conftest.$ac_ext <<_ACEOF
31308 /* confdefs.h. */
31309 _ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31313 #include <X11/Xlib.h>
31314 int
31315 main ()
31316 {
31317 XrmInitialize ()
31318 ;
31319 return 0;
31320 }
31321 _ACEOF
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (ac_try="$ac_link"
31324 case "(($ac_try" in
31325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31326 *) ac_try_echo=$ac_try;;
31327 esac
31328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31329 (eval "$ac_link") 2>conftest.er1
31330 ac_status=$?
31331 grep -v '^ *+' conftest.er1 >conftest.err
31332 rm -f conftest.er1
31333 cat conftest.err >&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); } && {
31336 test -z "$ac_c_werror_flag" ||
31337 test ! -s conftest.err
31338 } && test -s conftest$ac_exeext &&
31339 $as_test_x conftest$ac_exeext; then
31340 LIBS=$ac_save_LIBS
31341 # We can link X programs with no special library path.
31342 ac_x_libraries=
31343 else
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31346
31347 LIBS=$ac_save_LIBS
31348 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31349 do
31350 # Don't even attempt the hair of trying to link an X program!
31351 for ac_extension in a so sl; do
31352 if test -r "$ac_dir/libX11.$ac_extension"; then
31353 ac_x_libraries=$ac_dir
31354 break 2
31355 fi
31356 done
31357 done
31358 fi
31359
31360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31361 conftest$ac_exeext conftest.$ac_ext
31362 fi # $ac_x_libraries = no
31363
31364 case $ac_x_includes,$ac_x_libraries in #(
31365 no,* | *,no | *\'*)
31366 # Didn't find X, or a directory has "'" in its name.
31367 ac_cv_have_x="have_x=no";; #(
31368 *)
31369 # Record where we found X for the cache.
31370 ac_cv_have_x="have_x=yes\
31371 ac_x_includes='$ac_x_includes'\
31372 ac_x_libraries='$ac_x_libraries'"
31373 esac
31374 fi
31375 ;; #(
31376 *) have_x=yes;;
31377 esac
31378 eval "$ac_cv_have_x"
31379 fi # $with_x != no
31380
31381 if test "$have_x" != yes; then
31382 { echo "$as_me:$LINENO: result: $have_x" >&5
31383 echo "${ECHO_T}$have_x" >&6; }
31384 no_x=yes
31385 else
31386 # If each of the values was on the command line, it overrides each guess.
31387 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31388 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31389 # Update the cache value to reflect the command line values.
31390 ac_cv_have_x="have_x=yes\
31391 ac_x_includes='$x_includes'\
31392 ac_x_libraries='$x_libraries'"
31393 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31394 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31395 fi
31396
31397 if test "$no_x" = yes; then
31398 # Not all programs may use this symbol, but it does not hurt to define it.
31399
31400 cat >>confdefs.h <<\_ACEOF
31401 #define X_DISPLAY_MISSING 1
31402 _ACEOF
31403
31404 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31405 else
31406 if test -n "$x_includes"; then
31407 X_CFLAGS="$X_CFLAGS -I$x_includes"
31408 fi
31409
31410 # It would also be nice to do this for all -L options, not just this one.
31411 if test -n "$x_libraries"; then
31412 X_LIBS="$X_LIBS -L$x_libraries"
31413 # For Solaris; some versions of Sun CC require a space after -R and
31414 # others require no space. Words are not sufficient . . . .
31415 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31416 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31417 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31418 ac_xsave_c_werror_flag=$ac_c_werror_flag
31419 ac_c_werror_flag=yes
31420 cat >conftest.$ac_ext <<_ACEOF
31421 /* confdefs.h. */
31422 _ACEOF
31423 cat confdefs.h >>conftest.$ac_ext
31424 cat >>conftest.$ac_ext <<_ACEOF
31425 /* end confdefs.h. */
31426
31427 int
31428 main ()
31429 {
31430
31431 ;
31432 return 0;
31433 }
31434 _ACEOF
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (ac_try="$ac_link"
31437 case "(($ac_try" in
31438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31439 *) ac_try_echo=$ac_try;;
31440 esac
31441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31442 (eval "$ac_link") 2>conftest.er1
31443 ac_status=$?
31444 grep -v '^ *+' conftest.er1 >conftest.err
31445 rm -f conftest.er1
31446 cat conftest.err >&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); } && {
31449 test -z "$ac_c_werror_flag" ||
31450 test ! -s conftest.err
31451 } && test -s conftest$ac_exeext &&
31452 $as_test_x conftest$ac_exeext; then
31453 { echo "$as_me:$LINENO: result: no" >&5
31454 echo "${ECHO_T}no" >&6; }
31455 X_LIBS="$X_LIBS -R$x_libraries"
31456 else
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31459
31460 LIBS="$ac_xsave_LIBS -R $x_libraries"
31461 cat >conftest.$ac_ext <<_ACEOF
31462 /* confdefs.h. */
31463 _ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31467
31468 int
31469 main ()
31470 {
31471
31472 ;
31473 return 0;
31474 }
31475 _ACEOF
31476 rm -f conftest.$ac_objext conftest$ac_exeext
31477 if { (ac_try="$ac_link"
31478 case "(($ac_try" in
31479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31480 *) ac_try_echo=$ac_try;;
31481 esac
31482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31483 (eval "$ac_link") 2>conftest.er1
31484 ac_status=$?
31485 grep -v '^ *+' conftest.er1 >conftest.err
31486 rm -f conftest.er1
31487 cat conftest.err >&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } && {
31490 test -z "$ac_c_werror_flag" ||
31491 test ! -s conftest.err
31492 } && test -s conftest$ac_exeext &&
31493 $as_test_x conftest$ac_exeext; then
31494 { echo "$as_me:$LINENO: result: yes" >&5
31495 echo "${ECHO_T}yes" >&6; }
31496 X_LIBS="$X_LIBS -R $x_libraries"
31497 else
31498 echo "$as_me: failed program was:" >&5
31499 sed 's/^/| /' conftest.$ac_ext >&5
31500
31501 { echo "$as_me:$LINENO: result: neither works" >&5
31502 echo "${ECHO_T}neither works" >&6; }
31503 fi
31504
31505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31506 conftest$ac_exeext conftest.$ac_ext
31507 fi
31508
31509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31510 conftest$ac_exeext conftest.$ac_ext
31511 ac_c_werror_flag=$ac_xsave_c_werror_flag
31512 LIBS=$ac_xsave_LIBS
31513 fi
31514
31515 # Check for system-dependent libraries X programs must link with.
31516 # Do this before checking for the system-independent R6 libraries
31517 # (-lICE), since we may need -lsocket or whatever for X linking.
31518
31519 if test "$ISC" = yes; then
31520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31521 else
31522 # Martyn Johnson says this is needed for Ultrix, if the X
31523 # libraries were built with DECnet support. And Karl Berry says
31524 # the Alpha needs dnet_stub (dnet does not exist).
31525 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31526 cat >conftest.$ac_ext <<_ACEOF
31527 /* confdefs.h. */
31528 _ACEOF
31529 cat confdefs.h >>conftest.$ac_ext
31530 cat >>conftest.$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31532
31533 /* Override any GCC internal prototype to avoid an error.
31534 Use char because int might match the return type of a GCC
31535 builtin and then its argument prototype would still apply. */
31536 #ifdef __cplusplus
31537 extern "C"
31538 #endif
31539 char XOpenDisplay ();
31540 int
31541 main ()
31542 {
31543 return XOpenDisplay ();
31544 ;
31545 return 0;
31546 }
31547 _ACEOF
31548 rm -f conftest.$ac_objext conftest$ac_exeext
31549 if { (ac_try="$ac_link"
31550 case "(($ac_try" in
31551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31552 *) ac_try_echo=$ac_try;;
31553 esac
31554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31555 (eval "$ac_link") 2>conftest.er1
31556 ac_status=$?
31557 grep -v '^ *+' conftest.er1 >conftest.err
31558 rm -f conftest.er1
31559 cat conftest.err >&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } && {
31562 test -z "$ac_c_werror_flag" ||
31563 test ! -s conftest.err
31564 } && test -s conftest$ac_exeext &&
31565 $as_test_x conftest$ac_exeext; then
31566 :
31567 else
31568 echo "$as_me: failed program was:" >&5
31569 sed 's/^/| /' conftest.$ac_ext >&5
31570
31571 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31572 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31573 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31574 echo $ECHO_N "(cached) $ECHO_C" >&6
31575 else
31576 ac_check_lib_save_LIBS=$LIBS
31577 LIBS="-ldnet $LIBS"
31578 cat >conftest.$ac_ext <<_ACEOF
31579 /* confdefs.h. */
31580 _ACEOF
31581 cat confdefs.h >>conftest.$ac_ext
31582 cat >>conftest.$ac_ext <<_ACEOF
31583 /* end confdefs.h. */
31584
31585 /* Override any GCC internal prototype to avoid an error.
31586 Use char because int might match the return type of a GCC
31587 builtin and then its argument prototype would still apply. */
31588 #ifdef __cplusplus
31589 extern "C"
31590 #endif
31591 char dnet_ntoa ();
31592 int
31593 main ()
31594 {
31595 return dnet_ntoa ();
31596 ;
31597 return 0;
31598 }
31599 _ACEOF
31600 rm -f conftest.$ac_objext conftest$ac_exeext
31601 if { (ac_try="$ac_link"
31602 case "(($ac_try" in
31603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31604 *) ac_try_echo=$ac_try;;
31605 esac
31606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31607 (eval "$ac_link") 2>conftest.er1
31608 ac_status=$?
31609 grep -v '^ *+' conftest.er1 >conftest.err
31610 rm -f conftest.er1
31611 cat conftest.err >&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); } && {
31614 test -z "$ac_c_werror_flag" ||
31615 test ! -s conftest.err
31616 } && test -s conftest$ac_exeext &&
31617 $as_test_x conftest$ac_exeext; then
31618 ac_cv_lib_dnet_dnet_ntoa=yes
31619 else
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.$ac_ext >&5
31622
31623 ac_cv_lib_dnet_dnet_ntoa=no
31624 fi
31625
31626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31627 conftest$ac_exeext conftest.$ac_ext
31628 LIBS=$ac_check_lib_save_LIBS
31629 fi
31630 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31631 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31632 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31633 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31634 fi
31635
31636 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31637 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31638 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31639 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31640 echo $ECHO_N "(cached) $ECHO_C" >&6
31641 else
31642 ac_check_lib_save_LIBS=$LIBS
31643 LIBS="-ldnet_stub $LIBS"
31644 cat >conftest.$ac_ext <<_ACEOF
31645 /* confdefs.h. */
31646 _ACEOF
31647 cat confdefs.h >>conftest.$ac_ext
31648 cat >>conftest.$ac_ext <<_ACEOF
31649 /* end confdefs.h. */
31650
31651 /* Override any GCC internal prototype to avoid an error.
31652 Use char because int might match the return type of a GCC
31653 builtin and then its argument prototype would still apply. */
31654 #ifdef __cplusplus
31655 extern "C"
31656 #endif
31657 char dnet_ntoa ();
31658 int
31659 main ()
31660 {
31661 return dnet_ntoa ();
31662 ;
31663 return 0;
31664 }
31665 _ACEOF
31666 rm -f conftest.$ac_objext conftest$ac_exeext
31667 if { (ac_try="$ac_link"
31668 case "(($ac_try" in
31669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31670 *) ac_try_echo=$ac_try;;
31671 esac
31672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31673 (eval "$ac_link") 2>conftest.er1
31674 ac_status=$?
31675 grep -v '^ *+' conftest.er1 >conftest.err
31676 rm -f conftest.er1
31677 cat conftest.err >&5
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); } && {
31680 test -z "$ac_c_werror_flag" ||
31681 test ! -s conftest.err
31682 } && test -s conftest$ac_exeext &&
31683 $as_test_x conftest$ac_exeext; then
31684 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31685 else
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.$ac_ext >&5
31688
31689 ac_cv_lib_dnet_stub_dnet_ntoa=no
31690 fi
31691
31692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31693 conftest$ac_exeext conftest.$ac_ext
31694 LIBS=$ac_check_lib_save_LIBS
31695 fi
31696 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31697 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31698 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31699 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31700 fi
31701
31702 fi
31703 fi
31704
31705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31706 conftest$ac_exeext conftest.$ac_ext
31707 LIBS="$ac_xsave_LIBS"
31708
31709 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31710 # to get the SysV transport functions.
31711 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31712 # needs -lnsl.
31713 # The nsl library prevents programs from opening the X display
31714 # on Irix 5.2, according to T.E. Dickey.
31715 # The functions gethostbyname, getservbyname, and inet_addr are
31716 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31717 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31718 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31719 if test "${ac_cv_func_gethostbyname+set}" = set; then
31720 echo $ECHO_N "(cached) $ECHO_C" >&6
31721 else
31722 cat >conftest.$ac_ext <<_ACEOF
31723 /* confdefs.h. */
31724 _ACEOF
31725 cat confdefs.h >>conftest.$ac_ext
31726 cat >>conftest.$ac_ext <<_ACEOF
31727 /* end confdefs.h. */
31728 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31730 #define gethostbyname innocuous_gethostbyname
31731
31732 /* System header to define __stub macros and hopefully few prototypes,
31733 which can conflict with char gethostbyname (); below.
31734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31735 <limits.h> exists even on freestanding compilers. */
31736
31737 #ifdef __STDC__
31738 # include <limits.h>
31739 #else
31740 # include <assert.h>
31741 #endif
31742
31743 #undef gethostbyname
31744
31745 /* Override any GCC internal prototype to avoid an error.
31746 Use char because int might match the return type of a GCC
31747 builtin and then its argument prototype would still apply. */
31748 #ifdef __cplusplus
31749 extern "C"
31750 #endif
31751 char gethostbyname ();
31752 /* The GNU C library defines this for functions which it implements
31753 to always fail with ENOSYS. Some functions are actually named
31754 something starting with __ and the normal name is an alias. */
31755 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31756 choke me
31757 #endif
31758
31759 int
31760 main ()
31761 {
31762 return gethostbyname ();
31763 ;
31764 return 0;
31765 }
31766 _ACEOF
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (ac_try="$ac_link"
31769 case "(($ac_try" in
31770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31771 *) ac_try_echo=$ac_try;;
31772 esac
31773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31774 (eval "$ac_link") 2>conftest.er1
31775 ac_status=$?
31776 grep -v '^ *+' conftest.er1 >conftest.err
31777 rm -f conftest.er1
31778 cat conftest.err >&5
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); } && {
31781 test -z "$ac_c_werror_flag" ||
31782 test ! -s conftest.err
31783 } && test -s conftest$ac_exeext &&
31784 $as_test_x conftest$ac_exeext; then
31785 ac_cv_func_gethostbyname=yes
31786 else
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.$ac_ext >&5
31789
31790 ac_cv_func_gethostbyname=no
31791 fi
31792
31793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31794 conftest$ac_exeext conftest.$ac_ext
31795 fi
31796 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31797 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31798
31799 if test $ac_cv_func_gethostbyname = no; then
31800 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31801 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31802 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31803 echo $ECHO_N "(cached) $ECHO_C" >&6
31804 else
31805 ac_check_lib_save_LIBS=$LIBS
31806 LIBS="-lnsl $LIBS"
31807 cat >conftest.$ac_ext <<_ACEOF
31808 /* confdefs.h. */
31809 _ACEOF
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31813
31814 /* Override any GCC internal prototype to avoid an error.
31815 Use char because int might match the return type of a GCC
31816 builtin and then its argument prototype would still apply. */
31817 #ifdef __cplusplus
31818 extern "C"
31819 #endif
31820 char gethostbyname ();
31821 int
31822 main ()
31823 {
31824 return gethostbyname ();
31825 ;
31826 return 0;
31827 }
31828 _ACEOF
31829 rm -f conftest.$ac_objext conftest$ac_exeext
31830 if { (ac_try="$ac_link"
31831 case "(($ac_try" in
31832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31833 *) ac_try_echo=$ac_try;;
31834 esac
31835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31836 (eval "$ac_link") 2>conftest.er1
31837 ac_status=$?
31838 grep -v '^ *+' conftest.er1 >conftest.err
31839 rm -f conftest.er1
31840 cat conftest.err >&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); } && {
31843 test -z "$ac_c_werror_flag" ||
31844 test ! -s conftest.err
31845 } && test -s conftest$ac_exeext &&
31846 $as_test_x conftest$ac_exeext; then
31847 ac_cv_lib_nsl_gethostbyname=yes
31848 else
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.$ac_ext >&5
31851
31852 ac_cv_lib_nsl_gethostbyname=no
31853 fi
31854
31855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31856 conftest$ac_exeext conftest.$ac_ext
31857 LIBS=$ac_check_lib_save_LIBS
31858 fi
31859 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31860 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31861 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31862 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31863 fi
31864
31865 if test $ac_cv_lib_nsl_gethostbyname = no; then
31866 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31867 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31868 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31870 else
31871 ac_check_lib_save_LIBS=$LIBS
31872 LIBS="-lbsd $LIBS"
31873 cat >conftest.$ac_ext <<_ACEOF
31874 /* confdefs.h. */
31875 _ACEOF
31876 cat confdefs.h >>conftest.$ac_ext
31877 cat >>conftest.$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31879
31880 /* Override any GCC internal prototype to avoid an error.
31881 Use char because int might match the return type of a GCC
31882 builtin and then its argument prototype would still apply. */
31883 #ifdef __cplusplus
31884 extern "C"
31885 #endif
31886 char gethostbyname ();
31887 int
31888 main ()
31889 {
31890 return gethostbyname ();
31891 ;
31892 return 0;
31893 }
31894 _ACEOF
31895 rm -f conftest.$ac_objext conftest$ac_exeext
31896 if { (ac_try="$ac_link"
31897 case "(($ac_try" in
31898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31899 *) ac_try_echo=$ac_try;;
31900 esac
31901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31902 (eval "$ac_link") 2>conftest.er1
31903 ac_status=$?
31904 grep -v '^ *+' conftest.er1 >conftest.err
31905 rm -f conftest.er1
31906 cat conftest.err >&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); } && {
31909 test -z "$ac_c_werror_flag" ||
31910 test ! -s conftest.err
31911 } && test -s conftest$ac_exeext &&
31912 $as_test_x conftest$ac_exeext; then
31913 ac_cv_lib_bsd_gethostbyname=yes
31914 else
31915 echo "$as_me: failed program was:" >&5
31916 sed 's/^/| /' conftest.$ac_ext >&5
31917
31918 ac_cv_lib_bsd_gethostbyname=no
31919 fi
31920
31921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31922 conftest$ac_exeext conftest.$ac_ext
31923 LIBS=$ac_check_lib_save_LIBS
31924 fi
31925 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31926 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31927 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31929 fi
31930
31931 fi
31932 fi
31933
31934 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31935 # socket/setsockopt and other routines are undefined under SCO ODT
31936 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31937 # on later versions), says Simon Leinen: it contains gethostby*
31938 # variants that don't use the name server (or something). -lsocket
31939 # must be given before -lnsl if both are needed. We assume that
31940 # if connect needs -lnsl, so does gethostbyname.
31941 { echo "$as_me:$LINENO: checking for connect" >&5
31942 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31943 if test "${ac_cv_func_connect+set}" = set; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 else
31946 cat >conftest.$ac_ext <<_ACEOF
31947 /* confdefs.h. */
31948 _ACEOF
31949 cat confdefs.h >>conftest.$ac_ext
31950 cat >>conftest.$ac_ext <<_ACEOF
31951 /* end confdefs.h. */
31952 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31954 #define connect innocuous_connect
31955
31956 /* System header to define __stub macros and hopefully few prototypes,
31957 which can conflict with char connect (); below.
31958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31959 <limits.h> exists even on freestanding compilers. */
31960
31961 #ifdef __STDC__
31962 # include <limits.h>
31963 #else
31964 # include <assert.h>
31965 #endif
31966
31967 #undef connect
31968
31969 /* Override any GCC internal prototype to avoid an error.
31970 Use char because int might match the return type of a GCC
31971 builtin and then its argument prototype would still apply. */
31972 #ifdef __cplusplus
31973 extern "C"
31974 #endif
31975 char connect ();
31976 /* The GNU C library defines this for functions which it implements
31977 to always fail with ENOSYS. Some functions are actually named
31978 something starting with __ and the normal name is an alias. */
31979 #if defined __stub_connect || defined __stub___connect
31980 choke me
31981 #endif
31982
31983 int
31984 main ()
31985 {
31986 return connect ();
31987 ;
31988 return 0;
31989 }
31990 _ACEOF
31991 rm -f conftest.$ac_objext conftest$ac_exeext
31992 if { (ac_try="$ac_link"
31993 case "(($ac_try" in
31994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31995 *) ac_try_echo=$ac_try;;
31996 esac
31997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31998 (eval "$ac_link") 2>conftest.er1
31999 ac_status=$?
32000 grep -v '^ *+' conftest.er1 >conftest.err
32001 rm -f conftest.er1
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } && {
32005 test -z "$ac_c_werror_flag" ||
32006 test ! -s conftest.err
32007 } && test -s conftest$ac_exeext &&
32008 $as_test_x conftest$ac_exeext; then
32009 ac_cv_func_connect=yes
32010 else
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32013
32014 ac_cv_func_connect=no
32015 fi
32016
32017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32018 conftest$ac_exeext conftest.$ac_ext
32019 fi
32020 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32021 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32022
32023 if test $ac_cv_func_connect = no; then
32024 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32025 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32026 if test "${ac_cv_lib_socket_connect+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 else
32029 ac_check_lib_save_LIBS=$LIBS
32030 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32041 #ifdef __cplusplus
32042 extern "C"
32043 #endif
32044 char connect ();
32045 int
32046 main ()
32047 {
32048 return connect ();
32049 ;
32050 return 0;
32051 }
32052 _ACEOF
32053 rm -f conftest.$ac_objext conftest$ac_exeext
32054 if { (ac_try="$ac_link"
32055 case "(($ac_try" in
32056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32057 *) ac_try_echo=$ac_try;;
32058 esac
32059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32060 (eval "$ac_link") 2>conftest.er1
32061 ac_status=$?
32062 grep -v '^ *+' conftest.er1 >conftest.err
32063 rm -f conftest.er1
32064 cat conftest.err >&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } && {
32067 test -z "$ac_c_werror_flag" ||
32068 test ! -s conftest.err
32069 } && test -s conftest$ac_exeext &&
32070 $as_test_x conftest$ac_exeext; then
32071 ac_cv_lib_socket_connect=yes
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 ac_cv_lib_socket_connect=no
32077 fi
32078
32079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32080 conftest$ac_exeext conftest.$ac_ext
32081 LIBS=$ac_check_lib_save_LIBS
32082 fi
32083 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32084 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32085 if test $ac_cv_lib_socket_connect = yes; then
32086 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32087 fi
32088
32089 fi
32090
32091 # Guillermo Gomez says -lposix is necessary on A/UX.
32092 { echo "$as_me:$LINENO: checking for remove" >&5
32093 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32094 if test "${ac_cv_func_remove+set}" = set; then
32095 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 else
32097 cat >conftest.$ac_ext <<_ACEOF
32098 /* confdefs.h. */
32099 _ACEOF
32100 cat confdefs.h >>conftest.$ac_ext
32101 cat >>conftest.$ac_ext <<_ACEOF
32102 /* end confdefs.h. */
32103 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32105 #define remove innocuous_remove
32106
32107 /* System header to define __stub macros and hopefully few prototypes,
32108 which can conflict with char remove (); below.
32109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32110 <limits.h> exists even on freestanding compilers. */
32111
32112 #ifdef __STDC__
32113 # include <limits.h>
32114 #else
32115 # include <assert.h>
32116 #endif
32117
32118 #undef remove
32119
32120 /* Override any GCC internal prototype to avoid an error.
32121 Use char because int might match the return type of a GCC
32122 builtin and then its argument prototype would still apply. */
32123 #ifdef __cplusplus
32124 extern "C"
32125 #endif
32126 char remove ();
32127 /* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130 #if defined __stub_remove || defined __stub___remove
32131 choke me
32132 #endif
32133
32134 int
32135 main ()
32136 {
32137 return remove ();
32138 ;
32139 return 0;
32140 }
32141 _ACEOF
32142 rm -f conftest.$ac_objext conftest$ac_exeext
32143 if { (ac_try="$ac_link"
32144 case "(($ac_try" in
32145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32146 *) ac_try_echo=$ac_try;;
32147 esac
32148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32149 (eval "$ac_link") 2>conftest.er1
32150 ac_status=$?
32151 grep -v '^ *+' conftest.er1 >conftest.err
32152 rm -f conftest.er1
32153 cat conftest.err >&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); } && {
32156 test -z "$ac_c_werror_flag" ||
32157 test ! -s conftest.err
32158 } && test -s conftest$ac_exeext &&
32159 $as_test_x conftest$ac_exeext; then
32160 ac_cv_func_remove=yes
32161 else
32162 echo "$as_me: failed program was:" >&5
32163 sed 's/^/| /' conftest.$ac_ext >&5
32164
32165 ac_cv_func_remove=no
32166 fi
32167
32168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32169 conftest$ac_exeext conftest.$ac_ext
32170 fi
32171 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32172 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32173
32174 if test $ac_cv_func_remove = no; then
32175 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32176 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32177 if test "${ac_cv_lib_posix_remove+set}" = set; then
32178 echo $ECHO_N "(cached) $ECHO_C" >&6
32179 else
32180 ac_check_lib_save_LIBS=$LIBS
32181 LIBS="-lposix $LIBS"
32182 cat >conftest.$ac_ext <<_ACEOF
32183 /* confdefs.h. */
32184 _ACEOF
32185 cat confdefs.h >>conftest.$ac_ext
32186 cat >>conftest.$ac_ext <<_ACEOF
32187 /* end confdefs.h. */
32188
32189 /* Override any GCC internal prototype to avoid an error.
32190 Use char because int might match the return type of a GCC
32191 builtin and then its argument prototype would still apply. */
32192 #ifdef __cplusplus
32193 extern "C"
32194 #endif
32195 char remove ();
32196 int
32197 main ()
32198 {
32199 return remove ();
32200 ;
32201 return 0;
32202 }
32203 _ACEOF
32204 rm -f conftest.$ac_objext conftest$ac_exeext
32205 if { (ac_try="$ac_link"
32206 case "(($ac_try" in
32207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32208 *) ac_try_echo=$ac_try;;
32209 esac
32210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32211 (eval "$ac_link") 2>conftest.er1
32212 ac_status=$?
32213 grep -v '^ *+' conftest.er1 >conftest.err
32214 rm -f conftest.er1
32215 cat conftest.err >&5
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); } && {
32218 test -z "$ac_c_werror_flag" ||
32219 test ! -s conftest.err
32220 } && test -s conftest$ac_exeext &&
32221 $as_test_x conftest$ac_exeext; then
32222 ac_cv_lib_posix_remove=yes
32223 else
32224 echo "$as_me: failed program was:" >&5
32225 sed 's/^/| /' conftest.$ac_ext >&5
32226
32227 ac_cv_lib_posix_remove=no
32228 fi
32229
32230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32231 conftest$ac_exeext conftest.$ac_ext
32232 LIBS=$ac_check_lib_save_LIBS
32233 fi
32234 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32235 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32236 if test $ac_cv_lib_posix_remove = yes; then
32237 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32238 fi
32239
32240 fi
32241
32242 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32243 { echo "$as_me:$LINENO: checking for shmat" >&5
32244 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32245 if test "${ac_cv_func_shmat+set}" = set; then
32246 echo $ECHO_N "(cached) $ECHO_C" >&6
32247 else
32248 cat >conftest.$ac_ext <<_ACEOF
32249 /* confdefs.h. */
32250 _ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32256 #define shmat innocuous_shmat
32257
32258 /* System header to define __stub macros and hopefully few prototypes,
32259 which can conflict with char shmat (); below.
32260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32261 <limits.h> exists even on freestanding compilers. */
32262
32263 #ifdef __STDC__
32264 # include <limits.h>
32265 #else
32266 # include <assert.h>
32267 #endif
32268
32269 #undef shmat
32270
32271 /* Override any GCC internal prototype to avoid an error.
32272 Use char because int might match the return type of a GCC
32273 builtin and then its argument prototype would still apply. */
32274 #ifdef __cplusplus
32275 extern "C"
32276 #endif
32277 char shmat ();
32278 /* The GNU C library defines this for functions which it implements
32279 to always fail with ENOSYS. Some functions are actually named
32280 something starting with __ and the normal name is an alias. */
32281 #if defined __stub_shmat || defined __stub___shmat
32282 choke me
32283 #endif
32284
32285 int
32286 main ()
32287 {
32288 return shmat ();
32289 ;
32290 return 0;
32291 }
32292 _ACEOF
32293 rm -f conftest.$ac_objext conftest$ac_exeext
32294 if { (ac_try="$ac_link"
32295 case "(($ac_try" in
32296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32297 *) ac_try_echo=$ac_try;;
32298 esac
32299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32300 (eval "$ac_link") 2>conftest.er1
32301 ac_status=$?
32302 grep -v '^ *+' conftest.er1 >conftest.err
32303 rm -f conftest.er1
32304 cat conftest.err >&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } && {
32307 test -z "$ac_c_werror_flag" ||
32308 test ! -s conftest.err
32309 } && test -s conftest$ac_exeext &&
32310 $as_test_x conftest$ac_exeext; then
32311 ac_cv_func_shmat=yes
32312 else
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32315
32316 ac_cv_func_shmat=no
32317 fi
32318
32319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32320 conftest$ac_exeext conftest.$ac_ext
32321 fi
32322 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32323 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32324
32325 if test $ac_cv_func_shmat = no; then
32326 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32327 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32328 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32329 echo $ECHO_N "(cached) $ECHO_C" >&6
32330 else
32331 ac_check_lib_save_LIBS=$LIBS
32332 LIBS="-lipc $LIBS"
32333 cat >conftest.$ac_ext <<_ACEOF
32334 /* confdefs.h. */
32335 _ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32339
32340 /* Override any GCC internal prototype to avoid an error.
32341 Use char because int might match the return type of a GCC
32342 builtin and then its argument prototype would still apply. */
32343 #ifdef __cplusplus
32344 extern "C"
32345 #endif
32346 char shmat ();
32347 int
32348 main ()
32349 {
32350 return shmat ();
32351 ;
32352 return 0;
32353 }
32354 _ACEOF
32355 rm -f conftest.$ac_objext conftest$ac_exeext
32356 if { (ac_try="$ac_link"
32357 case "(($ac_try" in
32358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32359 *) ac_try_echo=$ac_try;;
32360 esac
32361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32362 (eval "$ac_link") 2>conftest.er1
32363 ac_status=$?
32364 grep -v '^ *+' conftest.er1 >conftest.err
32365 rm -f conftest.er1
32366 cat conftest.err >&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); } && {
32369 test -z "$ac_c_werror_flag" ||
32370 test ! -s conftest.err
32371 } && test -s conftest$ac_exeext &&
32372 $as_test_x conftest$ac_exeext; then
32373 ac_cv_lib_ipc_shmat=yes
32374 else
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32377
32378 ac_cv_lib_ipc_shmat=no
32379 fi
32380
32381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32382 conftest$ac_exeext conftest.$ac_ext
32383 LIBS=$ac_check_lib_save_LIBS
32384 fi
32385 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32386 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32387 if test $ac_cv_lib_ipc_shmat = yes; then
32388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32389 fi
32390
32391 fi
32392 fi
32393
32394 # Check for libraries that X11R6 Xt/Xaw programs need.
32395 ac_save_LDFLAGS=$LDFLAGS
32396 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32397 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32398 # check for ICE first), but we must link in the order -lSM -lICE or
32399 # we get undefined symbols. So assume we have SM if we have ICE.
32400 # These have to be linked with before -lX11, unlike the other
32401 # libraries we check for below, so use a different variable.
32402 # John Interrante, Karl Berry
32403 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32404 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32405 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32406 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 else
32408 ac_check_lib_save_LIBS=$LIBS
32409 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32410 cat >conftest.$ac_ext <<_ACEOF
32411 /* confdefs.h. */
32412 _ACEOF
32413 cat confdefs.h >>conftest.$ac_ext
32414 cat >>conftest.$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32416
32417 /* Override any GCC internal prototype to avoid an error.
32418 Use char because int might match the return type of a GCC
32419 builtin and then its argument prototype would still apply. */
32420 #ifdef __cplusplus
32421 extern "C"
32422 #endif
32423 char IceConnectionNumber ();
32424 int
32425 main ()
32426 {
32427 return IceConnectionNumber ();
32428 ;
32429 return 0;
32430 }
32431 _ACEOF
32432 rm -f conftest.$ac_objext conftest$ac_exeext
32433 if { (ac_try="$ac_link"
32434 case "(($ac_try" in
32435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32436 *) ac_try_echo=$ac_try;;
32437 esac
32438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32439 (eval "$ac_link") 2>conftest.er1
32440 ac_status=$?
32441 grep -v '^ *+' conftest.er1 >conftest.err
32442 rm -f conftest.er1
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } && {
32446 test -z "$ac_c_werror_flag" ||
32447 test ! -s conftest.err
32448 } && test -s conftest$ac_exeext &&
32449 $as_test_x conftest$ac_exeext; then
32450 ac_cv_lib_ICE_IceConnectionNumber=yes
32451 else
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.$ac_ext >&5
32454
32455 ac_cv_lib_ICE_IceConnectionNumber=no
32456 fi
32457
32458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32459 conftest$ac_exeext conftest.$ac_ext
32460 LIBS=$ac_check_lib_save_LIBS
32461 fi
32462 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32463 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32464 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32465 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32466 fi
32467
32468 LDFLAGS=$ac_save_LDFLAGS
32469
32470 fi
32471
32472
32473 if test "$no_x" = "yes"; then
32474 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32475 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32476 { (exit 1); exit 1; }; }
32477 fi
32478
32479 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32480 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32481 AFMINSTALL=afminstall
32482 COMPILED_X_PROGRAM=0
32483
32484 fi
32485
32486 if test "$wxUSE_X11" = 1; then
32487 if test "$wxUSE_NANOX" = "yes"; then
32488 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32489 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32490 if test "x$MICROWIN" = x ; then
32491 { echo "$as_me:$LINENO: result: not found" >&5
32492 echo "${ECHO_T}not found" >&6; }
32493 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32494 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32495 { (exit 1); exit 1; }; }
32496 else
32497 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32498 echo "${ECHO_T}$MICROWIN" >&6; }
32499 cat >>confdefs.h <<\_ACEOF
32500 #define wxUSE_NANOX 1
32501 _ACEOF
32502
32503 fi
32504 fi
32505
32506 if test "$wxUSE_UNICODE" = "yes"; then
32507
32508
32509 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32510 if test -n "$ac_tool_prefix"; then
32511 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32512 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32515 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32516 echo $ECHO_N "(cached) $ECHO_C" >&6
32517 else
32518 case $PKG_CONFIG in
32519 [\\/]* | ?:[\\/]*)
32520 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32521 ;;
32522 *)
32523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32524 for as_dir in $PATH
32525 do
32526 IFS=$as_save_IFS
32527 test -z "$as_dir" && as_dir=.
32528 for ac_exec_ext in '' $ac_executable_extensions; do
32529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32530 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32532 break 2
32533 fi
32534 done
32535 done
32536 IFS=$as_save_IFS
32537
32538 ;;
32539 esac
32540 fi
32541 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32542 if test -n "$PKG_CONFIG"; then
32543 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32544 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32545 else
32546 { echo "$as_me:$LINENO: result: no" >&5
32547 echo "${ECHO_T}no" >&6; }
32548 fi
32549
32550
32551 fi
32552 if test -z "$ac_cv_path_PKG_CONFIG"; then
32553 ac_pt_PKG_CONFIG=$PKG_CONFIG
32554 # Extract the first word of "pkg-config", so it can be a program name with args.
32555 set dummy pkg-config; ac_word=$2
32556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32558 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32559 echo $ECHO_N "(cached) $ECHO_C" >&6
32560 else
32561 case $ac_pt_PKG_CONFIG in
32562 [\\/]* | ?:[\\/]*)
32563 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32564 ;;
32565 *)
32566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32567 for as_dir in $PATH
32568 do
32569 IFS=$as_save_IFS
32570 test -z "$as_dir" && as_dir=.
32571 for ac_exec_ext in '' $ac_executable_extensions; do
32572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32573 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32575 break 2
32576 fi
32577 done
32578 done
32579 IFS=$as_save_IFS
32580
32581 ;;
32582 esac
32583 fi
32584 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32585 if test -n "$ac_pt_PKG_CONFIG"; then
32586 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32587 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32588 else
32589 { echo "$as_me:$LINENO: result: no" >&5
32590 echo "${ECHO_T}no" >&6; }
32591 fi
32592
32593 if test "x$ac_pt_PKG_CONFIG" = x; then
32594 PKG_CONFIG=""
32595 else
32596 case $cross_compiling:$ac_tool_warned in
32597 yes:)
32598 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32599 whose name does not start with the host triplet. If you think this
32600 configuration is useful to you, please write to autoconf@gnu.org." >&5
32601 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32602 whose name does not start with the host triplet. If you think this
32603 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32604 ac_tool_warned=yes ;;
32605 esac
32606 PKG_CONFIG=$ac_pt_PKG_CONFIG
32607 fi
32608 else
32609 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32610 fi
32611
32612 fi
32613 if test -n "$PKG_CONFIG"; then
32614 _pkg_min_version=0.9.0
32615 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32616 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32617 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32618 { echo "$as_me:$LINENO: result: yes" >&5
32619 echo "${ECHO_T}yes" >&6; }
32620 else
32621 { echo "$as_me:$LINENO: result: no" >&5
32622 echo "${ECHO_T}no" >&6; }
32623 PKG_CONFIG=""
32624 fi
32625
32626 fi
32627
32628
32629 pkg_failed=no
32630 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32631 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32632
32633 if test -n "$PKG_CONFIG"; then
32634 if test -n "$PANGOX_CFLAGS"; then
32635 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32636 else
32637 if test -n "$PKG_CONFIG" && \
32638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32639 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32640 ac_status=$?
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; then
32643 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32644 else
32645 pkg_failed=yes
32646 fi
32647 fi
32648 else
32649 pkg_failed=untried
32650 fi
32651 if test -n "$PKG_CONFIG"; then
32652 if test -n "$PANGOX_LIBS"; then
32653 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32654 else
32655 if test -n "$PKG_CONFIG" && \
32656 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32657 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32658 ac_status=$?
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); }; then
32661 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32662 else
32663 pkg_failed=yes
32664 fi
32665 fi
32666 else
32667 pkg_failed=untried
32668 fi
32669
32670
32671
32672 if test $pkg_failed = yes; then
32673
32674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32675 _pkg_short_errors_supported=yes
32676 else
32677 _pkg_short_errors_supported=no
32678 fi
32679 if test $_pkg_short_errors_supported = yes; then
32680 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32681 else
32682 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32683 fi
32684 # Put the nasty error message in config.log where it belongs
32685 echo "$PANGOX_PKG_ERRORS" >&5
32686
32687
32688 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32689 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32690 { (exit 1); exit 1; }; }
32691
32692
32693 elif test $pkg_failed = untried; then
32694
32695 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32696 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32697 { (exit 1); exit 1; }; }
32698
32699
32700 else
32701 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32702 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32703 { echo "$as_me:$LINENO: result: yes" >&5
32704 echo "${ECHO_T}yes" >&6; }
32705
32706 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32707 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32709
32710 fi
32711
32712 pkg_failed=no
32713 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32714 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32715
32716 if test -n "$PKG_CONFIG"; then
32717 if test -n "$PANGOFT2_CFLAGS"; then
32718 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32719 else
32720 if test -n "$PKG_CONFIG" && \
32721 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32722 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32723 ac_status=$?
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); }; then
32726 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32727 else
32728 pkg_failed=yes
32729 fi
32730 fi
32731 else
32732 pkg_failed=untried
32733 fi
32734 if test -n "$PKG_CONFIG"; then
32735 if test -n "$PANGOFT2_LIBS"; then
32736 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32737 else
32738 if test -n "$PKG_CONFIG" && \
32739 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32740 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32741 ac_status=$?
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); }; then
32744 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32745 else
32746 pkg_failed=yes
32747 fi
32748 fi
32749 else
32750 pkg_failed=untried
32751 fi
32752
32753
32754
32755 if test $pkg_failed = yes; then
32756
32757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32758 _pkg_short_errors_supported=yes
32759 else
32760 _pkg_short_errors_supported=no
32761 fi
32762 if test $_pkg_short_errors_supported = yes; then
32763 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32764 else
32765 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32766 fi
32767 # Put the nasty error message in config.log where it belongs
32768 echo "$PANGOFT2_PKG_ERRORS" >&5
32769
32770
32771 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32772 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32773 wxUSE_PRINTING_ARCHITECTURE="no"
32774
32775
32776 elif test $pkg_failed = untried; then
32777
32778 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32779 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32780 wxUSE_PRINTING_ARCHITECTURE="no"
32781
32782
32783 else
32784 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32785 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32786 { echo "$as_me:$LINENO: result: yes" >&5
32787 echo "${ECHO_T}yes" >&6; }
32788
32789 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32790 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32791 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32792
32793 fi
32794
32795 pkg_failed=no
32796 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32797 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32798
32799 if test -n "$PKG_CONFIG"; then
32800 if test -n "$PANGOXFT_CFLAGS"; then
32801 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32802 else
32803 if test -n "$PKG_CONFIG" && \
32804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32805 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32806 ac_status=$?
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); }; then
32809 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32810 else
32811 pkg_failed=yes
32812 fi
32813 fi
32814 else
32815 pkg_failed=untried
32816 fi
32817 if test -n "$PKG_CONFIG"; then
32818 if test -n "$PANGOXFT_LIBS"; then
32819 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32820 else
32821 if test -n "$PKG_CONFIG" && \
32822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32823 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32824 ac_status=$?
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); }; then
32827 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32828 else
32829 pkg_failed=yes
32830 fi
32831 fi
32832 else
32833 pkg_failed=untried
32834 fi
32835
32836
32837
32838 if test $pkg_failed = yes; then
32839
32840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32841 _pkg_short_errors_supported=yes
32842 else
32843 _pkg_short_errors_supported=no
32844 fi
32845 if test $_pkg_short_errors_supported = yes; then
32846 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32847 else
32848 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32849 fi
32850 # Put the nasty error message in config.log where it belongs
32851 echo "$PANGOXFT_PKG_ERRORS" >&5
32852
32853
32854 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32855 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32856
32857
32858 elif test $pkg_failed = untried; then
32859
32860 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32861 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32862
32863
32864 else
32865 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32866 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32867 { echo "$as_me:$LINENO: result: yes" >&5
32868 echo "${ECHO_T}yes" >&6; }
32869
32870 cat >>confdefs.h <<\_ACEOF
32871 #define HAVE_PANGO_XFT 1
32872 _ACEOF
32873
32874 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32875 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32876 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32877
32878 fi
32879 save_LIBS="$LIBS"
32880 LIBS="$LIBS $PANGOX_LIBS"
32881
32882 for ac_func in pango_font_family_is_monospace
32883 do
32884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32885 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32887 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32888 echo $ECHO_N "(cached) $ECHO_C" >&6
32889 else
32890 cat >conftest.$ac_ext <<_ACEOF
32891 /* confdefs.h. */
32892 _ACEOF
32893 cat confdefs.h >>conftest.$ac_ext
32894 cat >>conftest.$ac_ext <<_ACEOF
32895 /* end confdefs.h. */
32896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32898 #define $ac_func innocuous_$ac_func
32899
32900 /* System header to define __stub macros and hopefully few prototypes,
32901 which can conflict with char $ac_func (); below.
32902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32903 <limits.h> exists even on freestanding compilers. */
32904
32905 #ifdef __STDC__
32906 # include <limits.h>
32907 #else
32908 # include <assert.h>
32909 #endif
32910
32911 #undef $ac_func
32912
32913 /* Override any GCC internal prototype to avoid an error.
32914 Use char because int might match the return type of a GCC
32915 builtin and then its argument prototype would still apply. */
32916 #ifdef __cplusplus
32917 extern "C"
32918 #endif
32919 char $ac_func ();
32920 /* The GNU C library defines this for functions which it implements
32921 to always fail with ENOSYS. Some functions are actually named
32922 something starting with __ and the normal name is an alias. */
32923 #if defined __stub_$ac_func || defined __stub___$ac_func
32924 choke me
32925 #endif
32926
32927 int
32928 main ()
32929 {
32930 return $ac_func ();
32931 ;
32932 return 0;
32933 }
32934 _ACEOF
32935 rm -f conftest.$ac_objext conftest$ac_exeext
32936 if { (ac_try="$ac_link"
32937 case "(($ac_try" in
32938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32939 *) ac_try_echo=$ac_try;;
32940 esac
32941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32942 (eval "$ac_link") 2>conftest.er1
32943 ac_status=$?
32944 grep -v '^ *+' conftest.er1 >conftest.err
32945 rm -f conftest.er1
32946 cat conftest.err >&5
32947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948 (exit $ac_status); } && {
32949 test -z "$ac_c_werror_flag" ||
32950 test ! -s conftest.err
32951 } && test -s conftest$ac_exeext &&
32952 $as_test_x conftest$ac_exeext; then
32953 eval "$as_ac_var=yes"
32954 else
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.$ac_ext >&5
32957
32958 eval "$as_ac_var=no"
32959 fi
32960
32961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32962 conftest$ac_exeext conftest.$ac_ext
32963 fi
32964 ac_res=`eval echo '${'$as_ac_var'}'`
32965 { echo "$as_me:$LINENO: result: $ac_res" >&5
32966 echo "${ECHO_T}$ac_res" >&6; }
32967 if test `eval echo '${'$as_ac_var'}'` = yes; then
32968 cat >>confdefs.h <<_ACEOF
32969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32970 _ACEOF
32971
32972 fi
32973 done
32974
32975 LIBS="$save_LIBS"
32976 fi
32977
32978 wxUSE_UNIVERSAL="yes"
32979
32980 if test "$wxUSE_NANOX" = "yes"; then
32981 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32982 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"
32983 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32984 else
32985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32986 fi
32987
32988 TOOLKIT=X11
32989 GUIDIST=X11_DIST
32990 fi
32991
32992 if test "$wxUSE_MOTIF" = 1; then
32993 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32994 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32995
32996 ac_find_includes=
32997 for ac_dir in $SEARCH_INCLUDE /usr/include;
32998 do
32999 if test -f "$ac_dir/Xm/Xm.h"; then
33000 ac_find_includes=$ac_dir
33001 break
33002 fi
33003 done
33004
33005 if test "$ac_find_includes" != "" ; then
33006 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33007 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33008
33009 if test "x$ac_find_includes" = "x/usr/include"; then
33010 ac_path_to_include=""
33011 else
33012 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33013 result=$?
33014 if test $result = 0; then
33015 ac_path_to_include=""
33016 else
33017 ac_path_to_include=" -I$ac_find_includes"
33018 fi
33019 fi
33020
33021 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33022 else
33023 save_CFLAGS=$CFLAGS
33024 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33025
33026 cat >conftest.$ac_ext <<_ACEOF
33027 /* confdefs.h. */
33028 _ACEOF
33029 cat confdefs.h >>conftest.$ac_ext
33030 cat >>conftest.$ac_ext <<_ACEOF
33031 /* end confdefs.h. */
33032
33033 #include <Xm/Xm.h>
33034
33035 int
33036 main ()
33037 {
33038
33039 int version;
33040 version = xmUseVersion;
33041
33042 ;
33043 return 0;
33044 }
33045 _ACEOF
33046 rm -f conftest.$ac_objext
33047 if { (ac_try="$ac_compile"
33048 case "(($ac_try" in
33049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33050 *) ac_try_echo=$ac_try;;
33051 esac
33052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33053 (eval "$ac_compile") 2>conftest.er1
33054 ac_status=$?
33055 grep -v '^ *+' conftest.er1 >conftest.err
33056 rm -f conftest.er1
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } && {
33060 test -z "$ac_c_werror_flag" ||
33061 test ! -s conftest.err
33062 } && test -s conftest.$ac_objext; then
33063
33064 { echo "$as_me:$LINENO: result: found in default search path" >&5
33065 echo "${ECHO_T}found in default search path" >&6; }
33066 COMPILED_X_PROGRAM=1
33067
33068 else
33069 echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.$ac_ext >&5
33071
33072
33073 { echo "$as_me:$LINENO: result: no" >&5
33074 echo "${ECHO_T}no" >&6; }
33075 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33076 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33077 { (exit 1); exit 1; }; }
33078
33079
33080 fi
33081
33082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33083
33084 CFLAGS=$save_CFLAGS
33085 fi
33086
33087
33088 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33089 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33090
33091 ac_find_libraries=
33092 for ac_dir in $SEARCH_LIB;
33093 do
33094 for ac_extension in a so sl dylib dll.a; do
33095 if test -f "$ac_dir/libXm.$ac_extension"; then
33096 ac_find_libraries=$ac_dir
33097 break 2
33098 fi
33099 done
33100 done
33101
33102
33103 if test "x$ac_find_libraries" != "x" ; then
33104 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33105 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33106
33107
33108 if test "$ac_find_libraries" = "default location"; then
33109 ac_path_to_link=""
33110 else
33111 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33112 result=$?
33113 if test $result = 0; then
33114 ac_path_to_link=""
33115 else
33116 ac_path_to_link=" -L$ac_find_libraries"
33117 fi
33118 fi
33119
33120 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33121 else
33122 save_CFLAGS=$CFLAGS
33123 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33124 save_LIBS="$LIBS"
33125 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33126
33127 cat >conftest.$ac_ext <<_ACEOF
33128 /* confdefs.h. */
33129 _ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33133
33134 #include <Xm/Xm.h>
33135
33136 int
33137 main ()
33138 {
33139
33140 int version;
33141 version = xmUseVersion;
33142
33143 ;
33144 return 0;
33145 }
33146 _ACEOF
33147 rm -f conftest.$ac_objext conftest$ac_exeext
33148 if { (ac_try="$ac_link"
33149 case "(($ac_try" in
33150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33151 *) ac_try_echo=$ac_try;;
33152 esac
33153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33154 (eval "$ac_link") 2>conftest.er1
33155 ac_status=$?
33156 grep -v '^ *+' conftest.er1 >conftest.err
33157 rm -f conftest.er1
33158 cat conftest.err >&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); } && {
33161 test -z "$ac_c_werror_flag" ||
33162 test ! -s conftest.err
33163 } && test -s conftest$ac_exeext &&
33164 $as_test_x conftest$ac_exeext; then
33165
33166 { echo "$as_me:$LINENO: result: found in default search path" >&5
33167 echo "${ECHO_T}found in default search path" >&6; }
33168 COMPILED_X_PROGRAM=1
33169
33170 else
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33173
33174
33175 { echo "$as_me:$LINENO: result: no" >&5
33176 echo "${ECHO_T}no" >&6; }
33177 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33178 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33179 { (exit 1); exit 1; }; }
33180
33181
33182 fi
33183
33184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33185 conftest$ac_exeext conftest.$ac_ext
33186
33187 CFLAGS=$save_CFLAGS
33188 LIBS="$save_LIBS"
33189 fi
33190
33191 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33192 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33193 libp_link=""
33194 libsm_ice_link=""
33195 libs_found=0
33196 for libp in "" " -lXp"; do
33197 if test "$libs_found" = 0; then
33198 for libsm_ice in "" " -lSM -lICE"; do
33199 if test "$libs_found" = 0; then
33200 save_LIBS="$LIBS"
33201 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33202 save_CFLAGS=$CFLAGS
33203 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33204
33205 cat >conftest.$ac_ext <<_ACEOF
33206 /* confdefs.h. */
33207 _ACEOF
33208 cat confdefs.h >>conftest.$ac_ext
33209 cat >>conftest.$ac_ext <<_ACEOF
33210 /* end confdefs.h. */
33211
33212 #include <Xm/Xm.h>
33213 #include <Xm/List.h>
33214
33215 int
33216 main ()
33217 {
33218
33219 XmString string = NULL;
33220 Widget w = NULL;
33221 int position = 0;
33222 XmListAddItem(w, string, position);
33223
33224 ;
33225 return 0;
33226 }
33227 _ACEOF
33228 rm -f conftest.$ac_objext conftest$ac_exeext
33229 if { (ac_try="$ac_link"
33230 case "(($ac_try" in
33231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33232 *) ac_try_echo=$ac_try;;
33233 esac
33234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33235 (eval "$ac_link") 2>conftest.er1
33236 ac_status=$?
33237 grep -v '^ *+' conftest.er1 >conftest.err
33238 rm -f conftest.er1
33239 cat conftest.err >&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } && {
33242 test -z "$ac_c_werror_flag" ||
33243 test ! -s conftest.err
33244 } && test -s conftest$ac_exeext &&
33245 $as_test_x conftest$ac_exeext; then
33246
33247 libp_link="$libp"
33248 libsm_ice_link="$libsm_ice"
33249 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33250 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33251 libs_found=1
33252
33253 else
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33256
33257
33258
33259 fi
33260
33261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33262 conftest$ac_exeext conftest.$ac_ext
33263
33264 LIBS="$save_LIBS"
33265 CFLAGS=$save_CFLAGS
33266 fi
33267 done
33268 fi
33269 done
33270
33271 if test "$libs_found" = 0; then
33272 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33273 echo "${ECHO_T}can't find the right libraries" >&6; }
33274 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33275 echo "$as_me: error: can't link a simple motif program" >&2;}
33276 { (exit 1); exit 1; }; }
33277 fi
33278
33279 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33280 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33281 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33282 echo $ECHO_N "(cached) $ECHO_C" >&6
33283 else
33284 ac_check_lib_save_LIBS=$LIBS
33285 LIBS="-lSgm $LIBS"
33286 cat >conftest.$ac_ext <<_ACEOF
33287 /* confdefs.h. */
33288 _ACEOF
33289 cat confdefs.h >>conftest.$ac_ext
33290 cat >>conftest.$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33292
33293 /* Override any GCC internal prototype to avoid an error.
33294 Use char because int might match the return type of a GCC
33295 builtin and then its argument prototype would still apply. */
33296 #ifdef __cplusplus
33297 extern "C"
33298 #endif
33299 char SgCreateList ();
33300 int
33301 main ()
33302 {
33303 return SgCreateList ();
33304 ;
33305 return 0;
33306 }
33307 _ACEOF
33308 rm -f conftest.$ac_objext conftest$ac_exeext
33309 if { (ac_try="$ac_link"
33310 case "(($ac_try" in
33311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33312 *) ac_try_echo=$ac_try;;
33313 esac
33314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33315 (eval "$ac_link") 2>conftest.er1
33316 ac_status=$?
33317 grep -v '^ *+' conftest.er1 >conftest.err
33318 rm -f conftest.er1
33319 cat conftest.err >&5
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); } && {
33322 test -z "$ac_c_werror_flag" ||
33323 test ! -s conftest.err
33324 } && test -s conftest$ac_exeext &&
33325 $as_test_x conftest$ac_exeext; then
33326 ac_cv_lib_Sgm_SgCreateList=yes
33327 else
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.$ac_ext >&5
33330
33331 ac_cv_lib_Sgm_SgCreateList=no
33332 fi
33333
33334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33335 conftest$ac_exeext conftest.$ac_ext
33336 LIBS=$ac_check_lib_save_LIBS
33337 fi
33338 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33339 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33340 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33341 libsgm_link=" -lSgm"
33342 fi
33343
33344
33345 save_CFLAGS=$CFLAGS
33346 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33347
33348 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33349 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33350 if test "${wx_cv_lib_motif2+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33352 else
33353 cat >conftest.$ac_ext <<_ACEOF
33354 /* confdefs.h. */
33355 _ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h. */
33359
33360 #include <Xm/Xm.h>
33361
33362 int
33363 main ()
33364 {
33365
33366 #if XmVersion < 2000
33367 Not Motif 2
33368 #endif
33369
33370 ;
33371 return 0;
33372 }
33373 _ACEOF
33374 rm -f conftest.$ac_objext
33375 if { (ac_try="$ac_compile"
33376 case "(($ac_try" in
33377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33378 *) ac_try_echo=$ac_try;;
33379 esac
33380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33381 (eval "$ac_compile") 2>conftest.er1
33382 ac_status=$?
33383 grep -v '^ *+' conftest.er1 >conftest.err
33384 rm -f conftest.er1
33385 cat conftest.err >&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } && {
33388 test -z "$ac_c_werror_flag" ||
33389 test ! -s conftest.err
33390 } && test -s conftest.$ac_objext; then
33391 wx_cv_lib_motif2="yes"
33392 else
33393 echo "$as_me: failed program was:" >&5
33394 sed 's/^/| /' conftest.$ac_ext >&5
33395
33396 wx_cv_lib_motif2="no"
33397 fi
33398
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33400 fi
33401 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33402 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33403 if test "$wx_cv_lib_motif2" = "yes"; then
33404 cat >>confdefs.h <<\_ACEOF
33405 #define __WXMOTIF20__ 1
33406 _ACEOF
33407
33408 else
33409 cat >>confdefs.h <<\_ACEOF
33410 #define __WXMOTIF20__ 0
33411 _ACEOF
33412
33413 fi
33414
33415 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33416 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33417 if test "${wx_cv_lib_lesstif+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 else
33420 cat >conftest.$ac_ext <<_ACEOF
33421 /* confdefs.h. */
33422 _ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426
33427 #include <Xm/Xm.h>
33428
33429 int
33430 main ()
33431 {
33432
33433 #if !defined(LesstifVersion) || LesstifVersion <= 0
33434 Not Lesstif
33435 #endif
33436
33437 ;
33438 return 0;
33439 }
33440 _ACEOF
33441 rm -f conftest.$ac_objext
33442 if { (ac_try="$ac_compile"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33446 esac
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_compile") 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest.$ac_objext; then
33458 wx_cv_lib_lesstif="yes"
33459 else
33460 echo "$as_me: failed program was:" >&5
33461 sed 's/^/| /' conftest.$ac_ext >&5
33462
33463 wx_cv_lib_lesstif="no"
33464 fi
33465
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33467
33468 fi
33469 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33470 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33471 if test "$wx_cv_lib_lesstif" = "yes"; then
33472 cat >>confdefs.h <<\_ACEOF
33473 #define __WXLESSTIF__ 1
33474 _ACEOF
33475
33476 else
33477 cat >>confdefs.h <<\_ACEOF
33478 #define __WXLESSTIF__ 0
33479 _ACEOF
33480
33481 fi
33482
33483 CFLAGS=$save_CFLAGS
33484
33485 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33486 TOOLKIT=MOTIF
33487 GUIDIST=MOTIF_DIST
33488 fi
33489
33490 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33491 if test "$wxUSE_LIBXPM" = "sys"; then
33492 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33493 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33494
33495 ac_find_libraries=
33496 for ac_dir in $SEARCH_LIB;
33497 do
33498 for ac_extension in a so sl dylib dll.a; do
33499 if test -f "$ac_dir/libXpm.$ac_extension"; then
33500 ac_find_libraries=$ac_dir
33501 break 2
33502 fi
33503 done
33504 done
33505
33506 if test "$ac_find_libraries" != "" ; then
33507
33508 if test "$ac_find_libraries" = "default location"; then
33509 ac_path_to_link=""
33510 else
33511 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33512 result=$?
33513 if test $result = 0; then
33514 ac_path_to_link=""
33515 else
33516 ac_path_to_link=" -L$ac_find_libraries"
33517 fi
33518 fi
33519
33520 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33521 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33522 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33523
33524 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33525 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33526 if test "${wx_cv_x11_xpm_h+set}" = set; then
33527 echo $ECHO_N "(cached) $ECHO_C" >&6
33528 else
33529
33530 save_CFLAGS=$CFLAGS
33531 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33532
33533 cat >conftest.$ac_ext <<_ACEOF
33534 /* confdefs.h. */
33535 _ACEOF
33536 cat confdefs.h >>conftest.$ac_ext
33537 cat >>conftest.$ac_ext <<_ACEOF
33538 /* end confdefs.h. */
33539
33540 #include <X11/xpm.h>
33541
33542 int
33543 main ()
33544 {
33545
33546 int version;
33547 version = XpmLibraryVersion();
33548
33549 ;
33550 return 0;
33551 }
33552 _ACEOF
33553 rm -f conftest.$ac_objext
33554 if { (ac_try="$ac_compile"
33555 case "(($ac_try" in
33556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33557 *) ac_try_echo=$ac_try;;
33558 esac
33559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33560 (eval "$ac_compile") 2>conftest.er1
33561 ac_status=$?
33562 grep -v '^ *+' conftest.er1 >conftest.err
33563 rm -f conftest.er1
33564 cat conftest.err >&5
33565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33566 (exit $ac_status); } && {
33567 test -z "$ac_c_werror_flag" ||
33568 test ! -s conftest.err
33569 } && test -s conftest.$ac_objext; then
33570 wx_cv_x11_xpm_h=yes
33571 else
33572 echo "$as_me: failed program was:" >&5
33573 sed 's/^/| /' conftest.$ac_ext >&5
33574
33575 wx_cv_x11_xpm_h=no
33576
33577 fi
33578
33579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33580
33581 CFLAGS=$save_CFLAGS
33582
33583
33584 fi
33585 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33586 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33587
33588 if test $wx_cv_x11_xpm_h = "yes"; then
33589 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33590 cat >>confdefs.h <<\_ACEOF
33591 #define wxHAVE_LIB_XPM 1
33592 _ACEOF
33593
33594 else
33595 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33596 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33597 fi
33598 fi
33599
33600 fi
33601
33602 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33603 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33604 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33606 else
33607 ac_check_lib_save_LIBS=$LIBS
33608 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33609 cat >conftest.$ac_ext <<_ACEOF
33610 /* confdefs.h. */
33611 _ACEOF
33612 cat confdefs.h >>conftest.$ac_ext
33613 cat >>conftest.$ac_ext <<_ACEOF
33614 /* end confdefs.h. */
33615
33616 /* Override any GCC internal prototype to avoid an error.
33617 Use char because int might match the return type of a GCC
33618 builtin and then its argument prototype would still apply. */
33619 #ifdef __cplusplus
33620 extern "C"
33621 #endif
33622 char XShapeQueryExtension ();
33623 int
33624 main ()
33625 {
33626 return XShapeQueryExtension ();
33627 ;
33628 return 0;
33629 }
33630 _ACEOF
33631 rm -f conftest.$ac_objext conftest$ac_exeext
33632 if { (ac_try="$ac_link"
33633 case "(($ac_try" in
33634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33636 esac
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_link") 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_c_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest$ac_exeext &&
33648 $as_test_x conftest$ac_exeext; then
33649 ac_cv_lib_Xext_XShapeQueryExtension=yes
33650 else
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33653
33654 ac_cv_lib_Xext_XShapeQueryExtension=no
33655 fi
33656
33657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33658 conftest$ac_exeext conftest.$ac_ext
33659 LIBS=$ac_check_lib_save_LIBS
33660 fi
33661 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33662 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33663 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33664
33665 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33666 wxHAVE_XEXT_LIB=1
33667
33668 fi
33669
33670
33671 if test "$wxHAVE_XEXT_LIB" = 1; then
33672 save_CFLAGS="$CFLAGS"
33673 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33674
33675 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33676 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33677 cat >conftest.$ac_ext <<_ACEOF
33678 /* confdefs.h. */
33679 _ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683
33684 #include <X11/Xlib.h>
33685 #include <X11/extensions/shape.h>
33686
33687 int
33688 main ()
33689 {
33690
33691 int dummy1, dummy2;
33692 XShapeQueryExtension((Display*)NULL,
33693 (int*)NULL, (int*)NULL);
33694
33695 ;
33696 return 0;
33697 }
33698 _ACEOF
33699 rm -f conftest.$ac_objext
33700 if { (ac_try="$ac_compile"
33701 case "(($ac_try" in
33702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33703 *) ac_try_echo=$ac_try;;
33704 esac
33705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33706 (eval "$ac_compile") 2>conftest.er1
33707 ac_status=$?
33708 grep -v '^ *+' conftest.er1 >conftest.err
33709 rm -f conftest.er1
33710 cat conftest.err >&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } && {
33713 test -z "$ac_c_werror_flag" ||
33714 test ! -s conftest.err
33715 } && test -s conftest.$ac_objext; then
33716
33717 cat >>confdefs.h <<\_ACEOF
33718 #define HAVE_XSHAPE 1
33719 _ACEOF
33720
33721 { echo "$as_me:$LINENO: result: found" >&5
33722 echo "${ECHO_T}found" >&6; }
33723
33724 else
33725 echo "$as_me: failed program was:" >&5
33726 sed 's/^/| /' conftest.$ac_ext >&5
33727
33728
33729 { echo "$as_me:$LINENO: result: not found" >&5
33730 echo "${ECHO_T}not found" >&6; }
33731
33732 fi
33733
33734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33735 CFLAGS="$save_CFLAGS"
33736
33737 fi
33738 fi
33739
33740 if test "$wxUSE_OSX_CARBON" = 1; then
33741 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33742 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33743 if test "$GCC" = yes; then
33744 { echo "$as_me:$LINENO: result: gcc" >&5
33745 echo "${ECHO_T}gcc" >&6; }
33746 CPPFLAGS_PASCAL="-fpascal-strings"
33747 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33748 { echo "$as_me:$LINENO: result: xlc" >&5
33749 echo "${ECHO_T}xlc" >&6; }
33750 CPPFLAGS_PASCAL="-qmacpstr"
33751 else
33752 { echo "$as_me:$LINENO: result: none" >&5
33753 echo "${ECHO_T}none" >&6; }
33754 fi
33755
33756 if test "x$wxUSE_UNIX" = "xyes"; then
33757 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33758 else
33759 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33760 fi
33761
33762 TOOLKIT=OSX_CARBON
33763 GUIDIST=OSX_CARBON_DIST
33764 WXBASEPORT="_carbon"
33765
33766 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33767 fi
33768
33769 if test "$wxUSE_OSX_COCOA" = 1; then
33770 TOOLKIT=OSX_COCOA
33771 GUIDIST=OSX_COCOA_DIST
33772
33773 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33774 fi
33775
33776 if test "$wxUSE_OSX_IPHONE" = 1; then
33777 TOOLKIT=OSX_IPHONE
33778 fi
33779
33780 if test "$wxUSE_OLD_COCOA" = 1; then
33781 TOOLKIT=COCOA
33782 GUIDIST=COCOA_DIST
33783 fi
33784
33785 if test "$wxUSE_PM" = 1; then
33786 TOOLKIT=PM
33787 GUIDIST=PM_DIST
33788 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33789 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33790 if test "${wx_cv_spbcdata+set}" = set; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33792 else
33793
33794 cat >conftest.$ac_ext <<_ACEOF
33795 /* confdefs.h. */
33796 _ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33800
33801 #define INCL_PM
33802 #include <os2.h>
33803
33804 int
33805 main ()
33806 {
33807
33808 SPBCDATA test;
33809
33810 ;
33811 return 0;
33812 }
33813 _ACEOF
33814 rm -f conftest.$ac_objext
33815 if { (ac_try="$ac_compile"
33816 case "(($ac_try" in
33817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33818 *) ac_try_echo=$ac_try;;
33819 esac
33820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33821 (eval "$ac_compile") 2>conftest.er1
33822 ac_status=$?
33823 grep -v '^ *+' conftest.er1 >conftest.err
33824 rm -f conftest.er1
33825 cat conftest.err >&5
33826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827 (exit $ac_status); } && {
33828 test -z "$ac_c_werror_flag" ||
33829 test ! -s conftest.err
33830 } && test -s conftest.$ac_objext; then
33831 wx_cv_spbcdata=yes
33832 else
33833 echo "$as_me: failed program was:" >&5
33834 sed 's/^/| /' conftest.$ac_ext >&5
33835
33836 wx_cv_spbcdata=no
33837
33838 fi
33839
33840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33841
33842
33843 fi
33844 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33845 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33846
33847 if test $wx_cv_spbcdata = "yes"; then
33848 cat >>confdefs.h <<\_ACEOF
33849 #define HAVE_SPBCDATA 1
33850 _ACEOF
33851
33852 fi
33853 fi
33854
33855 if test "$TOOLKIT" = "PM" ; then
33856 TOOLKIT_DIR="os2"
33857 else
33858 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33859 fi
33860
33861 if test "$wxUSE_UNIVERSAL" = "yes"; then
33862 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33863 WIDGET_SET=univ
33864 fi
33865
33866 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33867 DISTDIR="wx\$(TOOLKIT)"
33868 else
33869 USE_GUI=0
33870
33871 TOOLKIT_DIR="base"
33872
33873 if test "$USE_WIN32" = 1 ; then
33874 TOOLKIT="MSW"
33875 fi
33876
33877 GUIDIST="BASE_DIST"
33878 DISTDIR="wxBase"
33879 fi
33880
33881
33882
33883 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33884 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33885 wxUSE_UNICODE_UTF8=yes
33886 elif test "$USE_OS2" = 1 ; then
33887 wxUSE_UNICODE_UTF8=yes
33888 else
33889 wxUSE_UNICODE_UTF8=no
33890 fi
33891 fi
33892
33893
33894 if test "$wxUSE_GUI" = "yes"; then
33895 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33896
33897 for ac_header in X11/Xlib.h
33898 do
33899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33900 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33904 else
33905 cat >conftest.$ac_ext <<_ACEOF
33906 /* confdefs.h. */
33907 _ACEOF
33908 cat confdefs.h >>conftest.$ac_ext
33909 cat >>conftest.$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33911
33912
33913 #include <$ac_header>
33914 _ACEOF
33915 rm -f conftest.$ac_objext
33916 if { (ac_try="$ac_compile"
33917 case "(($ac_try" in
33918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33919 *) ac_try_echo=$ac_try;;
33920 esac
33921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33922 (eval "$ac_compile") 2>conftest.er1
33923 ac_status=$?
33924 grep -v '^ *+' conftest.er1 >conftest.err
33925 rm -f conftest.er1
33926 cat conftest.err >&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } && {
33929 test -z "$ac_c_werror_flag" ||
33930 test ! -s conftest.err
33931 } && test -s conftest.$ac_objext; then
33932 eval "$as_ac_Header=yes"
33933 else
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33936
33937 eval "$as_ac_Header=no"
33938 fi
33939
33940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33941 fi
33942 ac_res=`eval echo '${'$as_ac_Header'}'`
33943 { echo "$as_me:$LINENO: result: $ac_res" >&5
33944 echo "${ECHO_T}$ac_res" >&6; }
33945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33946 cat >>confdefs.h <<_ACEOF
33947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33948 _ACEOF
33949
33950 fi
33951
33952 done
33953
33954
33955 for ac_header in X11/XKBlib.h
33956 do
33957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963 cat >conftest.$ac_ext <<_ACEOF
33964 /* confdefs.h. */
33965 _ACEOF
33966 cat confdefs.h >>conftest.$ac_ext
33967 cat >>conftest.$ac_ext <<_ACEOF
33968 /* end confdefs.h. */
33969
33970 #if HAVE_X11_XLIB_H
33971 #include <X11/Xlib.h>
33972 #endif
33973
33974
33975 #include <$ac_header>
33976 _ACEOF
33977 rm -f conftest.$ac_objext
33978 if { (ac_try="$ac_compile"
33979 case "(($ac_try" in
33980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33981 *) ac_try_echo=$ac_try;;
33982 esac
33983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33984 (eval "$ac_compile") 2>conftest.er1
33985 ac_status=$?
33986 grep -v '^ *+' conftest.er1 >conftest.err
33987 rm -f conftest.er1
33988 cat conftest.err >&5
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); } && {
33991 test -z "$ac_c_werror_flag" ||
33992 test ! -s conftest.err
33993 } && test -s conftest.$ac_objext; then
33994 eval "$as_ac_Header=yes"
33995 else
33996 echo "$as_me: failed program was:" >&5
33997 sed 's/^/| /' conftest.$ac_ext >&5
33998
33999 eval "$as_ac_Header=no"
34000 fi
34001
34002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34003 fi
34004 ac_res=`eval echo '${'$as_ac_Header'}'`
34005 { echo "$as_me:$LINENO: result: $ac_res" >&5
34006 echo "${ECHO_T}$ac_res" >&6; }
34007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34008 cat >>confdefs.h <<_ACEOF
34009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34010 _ACEOF
34011
34012 fi
34013
34014 done
34015
34016 fi
34017 fi
34018
34019
34020
34021 USE_XINERAMA=0
34022 if test "$wxUSE_DISPLAY" = "yes"; then
34023 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34024 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34025 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34026
34027 ac_find_libraries=
34028 for ac_dir in $SEARCH_LIB;
34029 do
34030 for ac_extension in a so sl dylib dll.a; do
34031 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34032 ac_find_libraries=$ac_dir
34033 break 2
34034 fi
34035 done
34036 done
34037
34038 if test "$ac_find_libraries" != "" ; then
34039
34040 if test "$ac_find_libraries" = "default location"; then
34041 ac_path_to_link=""
34042 else
34043 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34044 result=$?
34045 if test $result = 0; then
34046 ac_path_to_link=""
34047 else
34048 ac_path_to_link=" -L$ac_find_libraries"
34049 fi
34050 fi
34051
34052 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34053 LDFLAGS="$LDFLAGS $ac_path_to_link"
34054 fi
34055 USE_XINERAMA=1
34056 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34057 { echo "$as_me:$LINENO: result: yes" >&5
34058 echo "${ECHO_T}yes" >&6; }
34059 else
34060 { echo "$as_me:$LINENO: result: no" >&5
34061 echo "${ECHO_T}no" >&6; }
34062 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34063 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34064 wxUSE_DISPLAY="no"
34065 fi
34066 elif test "$wxUSE_MSW" = 1; then
34067 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34068 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34069 if test "${ac_cv_header_ddraw_h+set}" = set; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 else
34072 cat >conftest.$ac_ext <<_ACEOF
34073 /* confdefs.h. */
34074 _ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34078 #include <windows.h>
34079
34080 #include <ddraw.h>
34081 _ACEOF
34082 rm -f conftest.$ac_objext
34083 if { (ac_try="$ac_compile"
34084 case "(($ac_try" in
34085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34086 *) ac_try_echo=$ac_try;;
34087 esac
34088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34089 (eval "$ac_compile") 2>conftest.er1
34090 ac_status=$?
34091 grep -v '^ *+' conftest.er1 >conftest.err
34092 rm -f conftest.er1
34093 cat conftest.err >&5
34094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34095 (exit $ac_status); } && {
34096 test -z "$ac_c_werror_flag" ||
34097 test ! -s conftest.err
34098 } && test -s conftest.$ac_objext; then
34099 ac_cv_header_ddraw_h=yes
34100 else
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.$ac_ext >&5
34103
34104 ac_cv_header_ddraw_h=no
34105 fi
34106
34107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34108 fi
34109 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34110 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34111
34112
34113 fi
34114 fi
34115
34116 if test "$wxUSE_DISPLAY" = "yes"; then
34117 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34118 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34119 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34120
34121 ac_find_libraries=
34122 for ac_dir in $SEARCH_LIB;
34123 do
34124 for ac_extension in a so sl dylib dll.a; do
34125 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34126 ac_find_libraries=$ac_dir
34127 break 2
34128 fi
34129 done
34130 done
34131
34132 if test "$ac_find_libraries" != "" ; then
34133 { echo "$as_me:$LINENO: result: yes" >&5
34134 echo "${ECHO_T}yes" >&6; }
34135
34136 for ac_header in X11/extensions/xf86vmode.h
34137 do
34138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34139 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34142 echo $ECHO_N "(cached) $ECHO_C" >&6
34143 else
34144 cat >conftest.$ac_ext <<_ACEOF
34145 /* confdefs.h. */
34146 _ACEOF
34147 cat confdefs.h >>conftest.$ac_ext
34148 cat >>conftest.$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34150
34151 #if HAVE_X11_XLIB_H
34152 #include <X11/Xlib.h>
34153 #endif
34154
34155
34156 #include <$ac_header>
34157 _ACEOF
34158 rm -f conftest.$ac_objext
34159 if { (ac_try="$ac_compile"
34160 case "(($ac_try" in
34161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34162 *) ac_try_echo=$ac_try;;
34163 esac
34164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34165 (eval "$ac_compile") 2>conftest.er1
34166 ac_status=$?
34167 grep -v '^ *+' conftest.er1 >conftest.err
34168 rm -f conftest.er1
34169 cat conftest.err >&5
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); } && {
34172 test -z "$ac_c_werror_flag" ||
34173 test ! -s conftest.err
34174 } && test -s conftest.$ac_objext; then
34175 eval "$as_ac_Header=yes"
34176 else
34177 echo "$as_me: failed program was:" >&5
34178 sed 's/^/| /' conftest.$ac_ext >&5
34179
34180 eval "$as_ac_Header=no"
34181 fi
34182
34183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34184 fi
34185 ac_res=`eval echo '${'$as_ac_Header'}'`
34186 { echo "$as_me:$LINENO: result: $ac_res" >&5
34187 echo "${ECHO_T}$ac_res" >&6; }
34188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34189 cat >>confdefs.h <<_ACEOF
34190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34191 _ACEOF
34192
34193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34194
34195 fi
34196
34197 done
34198
34199 else
34200 { echo "$as_me:$LINENO: result: no" >&5
34201 echo "${ECHO_T}no" >&6; }
34202 fi
34203 fi
34204 fi
34205
34206 if test "$wxUSE_DETECT_SM" = "yes"; then
34207 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34208 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34209 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34210
34211 ac_find_libraries=
34212 for ac_dir in $SEARCH_LIB;
34213 do
34214 for ac_extension in a so sl dylib dll.a; do
34215 if test -f "$ac_dir/libSM.$ac_extension"; then
34216 ac_find_libraries=$ac_dir
34217 break 2
34218 fi
34219 done
34220 done
34221
34222 if test "$ac_find_libraries" != "" ; then
34223
34224 if test "$ac_find_libraries" = "default location"; then
34225 ac_path_to_link=""
34226 else
34227 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34228 result=$?
34229 if test $result = 0; then
34230 ac_path_to_link=""
34231 else
34232 ac_path_to_link=" -L$ac_find_libraries"
34233 fi
34234 fi
34235
34236 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34237 LDFLAGS="$LDFLAGS $ac_path_to_link"
34238 fi
34239 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34240 { echo "$as_me:$LINENO: result: yes" >&5
34241 echo "${ECHO_T}yes" >&6; }
34242 else
34243 { echo "$as_me:$LINENO: result: no" >&5
34244 echo "${ECHO_T}no" >&6; }
34245 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34246 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34247 wxUSE_DETECT_SM="no"
34248 fi
34249 else
34250 wxUSE_DETECT_SM="no"
34251 fi
34252 fi
34253
34254
34255
34256 USE_OPENGL=0
34257 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34258
34259
34260 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34261 OPENGL_LIBS="-framework OpenGL -framework AGL"
34262 elif test "$wxUSE_MSW" = 1; then
34263 OPENGL_LIBS="-lopengl32 -lglu32"
34264 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34265
34266 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34267 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34268
34269 ac_find_includes=
34270 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34271 do
34272 if test -f "$ac_dir/GL/gl.h"; then
34273 ac_find_includes=$ac_dir
34274 break
34275 fi
34276 done
34277
34278 if test "$ac_find_includes" != "" ; then
34279 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34280 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34281
34282 if test "x$ac_find_includes" = "x/usr/include"; then
34283 ac_path_to_include=""
34284 else
34285 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34286 result=$?
34287 if test $result = 0; then
34288 ac_path_to_include=""
34289 else
34290 ac_path_to_include=" -I$ac_find_includes"
34291 fi
34292 fi
34293
34294 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34295 else
34296 { echo "$as_me:$LINENO: result: not found" >&5
34297 echo "${ECHO_T}not found" >&6; }
34298 fi
34299
34300 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34301 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34302 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34303 echo $ECHO_N "(cached) $ECHO_C" >&6
34304 else
34305 cat >conftest.$ac_ext <<_ACEOF
34306 /* confdefs.h. */
34307 _ACEOF
34308 cat confdefs.h >>conftest.$ac_ext
34309 cat >>conftest.$ac_ext <<_ACEOF
34310 /* end confdefs.h. */
34311
34312
34313 #include <GL/gl.h>
34314 _ACEOF
34315 rm -f conftest.$ac_objext
34316 if { (ac_try="$ac_compile"
34317 case "(($ac_try" in
34318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34319 *) ac_try_echo=$ac_try;;
34320 esac
34321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34322 (eval "$ac_compile") 2>conftest.er1
34323 ac_status=$?
34324 grep -v '^ *+' conftest.er1 >conftest.err
34325 rm -f conftest.er1
34326 cat conftest.err >&5
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); } && {
34329 test -z "$ac_c_werror_flag" ||
34330 test ! -s conftest.err
34331 } && test -s conftest.$ac_objext; then
34332 ac_cv_header_GL_gl_h=yes
34333 else
34334 echo "$as_me: failed program was:" >&5
34335 sed 's/^/| /' conftest.$ac_ext >&5
34336
34337 ac_cv_header_GL_gl_h=no
34338 fi
34339
34340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34341 fi
34342 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34343 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34344 if test $ac_cv_header_GL_gl_h = yes; then
34345
34346 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34347 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34348 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 else
34351 cat >conftest.$ac_ext <<_ACEOF
34352 /* confdefs.h. */
34353 _ACEOF
34354 cat confdefs.h >>conftest.$ac_ext
34355 cat >>conftest.$ac_ext <<_ACEOF
34356 /* end confdefs.h. */
34357
34358
34359 #include <GL/glu.h>
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34365 *) ac_try_echo=$ac_try;;
34366 esac
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34369 ac_status=$?
34370 grep -v '^ *+' conftest.er1 >conftest.err
34371 rm -f conftest.er1
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.$ac_objext; then
34378 ac_cv_header_GL_glu_h=yes
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 ac_cv_header_GL_glu_h=no
34384 fi
34385
34386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34387 fi
34388 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34389 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34390 if test $ac_cv_header_GL_glu_h = yes; then
34391
34392 found_gl=0
34393
34394 { echo "$as_me:$LINENO: checking for -lGL" >&5
34395 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34396
34397 ac_find_libraries=
34398 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34399 do
34400 for ac_extension in a so sl dylib dll.a; do
34401 if test -f "$ac_dir/libGL.$ac_extension"; then
34402 ac_find_libraries=$ac_dir
34403 break 2
34404 fi
34405 done
34406 done
34407
34408 if test "$ac_find_libraries" != "" ; then
34409 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34410 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34411
34412
34413 if test "$ac_find_libraries" = "default location"; then
34414 ac_path_to_link=""
34415 else
34416 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34417 result=$?
34418 if test $result = 0; then
34419 ac_path_to_link=""
34420 else
34421 ac_path_to_link=" -L$ac_find_libraries"
34422 fi
34423 fi
34424
34425 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34426 LDFLAGS_GL="$ac_path_to_link"
34427 fi
34428
34429 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34430 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34431
34432 ac_find_libraries=
34433 for ac_dir in $SEARCH_LIB;
34434 do
34435 for ac_extension in a so sl dylib dll.a; do
34436 if test -f "$ac_dir/libGLU.$ac_extension"; then
34437 ac_find_libraries=$ac_dir
34438 break 2
34439 fi
34440 done
34441 done
34442
34443 if test "$ac_find_libraries" != "" ; then
34444
34445 if test "$ac_find_libraries" = "default location"; then
34446 ac_path_to_link=""
34447 else
34448 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34449 result=$?
34450 if test $result = 0; then
34451 ac_path_to_link=""
34452 else
34453 ac_path_to_link=" -L$ac_find_libraries"
34454 fi
34455 fi
34456
34457 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34458 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34459 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34460 fi
34461
34462 found_gl=1
34463 OPENGL_LIBS="-lGL -lGLU"
34464 { echo "$as_me:$LINENO: result: yes" >&5
34465 echo "${ECHO_T}yes" >&6; }
34466 else
34467 { echo "$as_me:$LINENO: result: no" >&5
34468 echo "${ECHO_T}no" >&6; }
34469 fi
34470 else
34471 { echo "$as_me:$LINENO: result: no" >&5
34472 echo "${ECHO_T}no" >&6; }
34473 fi
34474
34475 if test "$found_gl" != 1; then
34476 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34477 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34478
34479 ac_find_libraries=
34480 for ac_dir in $SEARCH_LIB;
34481 do
34482 for ac_extension in a so sl dylib dll.a; do
34483 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34484 ac_find_libraries=$ac_dir
34485 break 2
34486 fi
34487 done
34488 done
34489
34490 if test "$ac_find_libraries" != "" ; then
34491
34492 if test "$ac_find_libraries" = "default location"; then
34493 ac_path_to_link=""
34494 else
34495 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34496 result=$?
34497 if test $result = 0; then
34498 ac_path_to_link=""
34499 else
34500 ac_path_to_link=" -L$ac_find_libraries"
34501 fi
34502 fi
34503
34504 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34505 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34506 { echo "$as_me:$LINENO: result: yes" >&5
34507 echo "${ECHO_T}yes" >&6; }
34508 else
34509 { echo "$as_me:$LINENO: result: no" >&5
34510 echo "${ECHO_T}no" >&6; }
34511 fi
34512 fi
34513
34514 fi
34515
34516
34517
34518 fi
34519
34520
34521
34522 if test "x$OPENGL_LIBS" = "x"; then
34523 if test "$wxUSE_OPENGL" = "yes"; then
34524 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34525 echo "$as_me: error: OpenGL libraries not available" >&2;}
34526 { (exit 1); exit 1; }; }
34527 else
34528 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34529 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34530 wxUSE_OPENGL=no
34531 USE_OPENGL=0
34532 fi
34533 fi
34534 else
34535 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34536 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34537 wxUSE_OPENGL="no"
34538 fi
34539
34540 if test "$wxUSE_OPENGL" = "auto"; then
34541 wxUSE_OPENGL=yes
34542 fi
34543
34544 if test "$wxUSE_OPENGL" = "yes"; then
34545 USE_OPENGL=1
34546 cat >>confdefs.h <<\_ACEOF
34547 #define wxUSE_OPENGL 1
34548 _ACEOF
34549
34550 cat >>confdefs.h <<\_ACEOF
34551 #define wxUSE_GLCANVAS 1
34552 _ACEOF
34553
34554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34555 fi
34556 fi
34557
34558
34559 if test -n "$TOOLKIT" ; then
34560 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34561 fi
34562
34563
34564
34565 if test "$wxUSE_SHARED" = "yes"; then
34566 case "${host}" in
34567 *-pc-msdosdjgpp )
34568 wxUSE_SHARED=no
34569 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34570 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34571 ;;
34572 esac
34573 fi
34574
34575 if test "$wxUSE_SHARED" = "yes"; then
34576
34577
34578 case "${host}" in
34579 *-*-cygwin* | *-*-mingw* )
34580 wx_cv_version_script=no
34581 ;;
34582
34583 *)
34584 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34585 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34586 if test "${wx_cv_version_script+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589
34590 echo "VER_1 { *; };" >conftest.sym
34591 echo "int main() { return 0; }" >conftest.cpp
34592
34593 if { ac_try='
34594 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34595 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34598 ac_status=$?
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; } ; then
34601 if test -s conftest.stderr ; then
34602 wx_cv_version_script=no
34603 else
34604 wx_cv_version_script=yes
34605 fi
34606 else
34607 wx_cv_version_script=no
34608 fi
34609
34610 if test $wx_cv_version_script = yes
34611 then
34612 echo "struct B { virtual ~B() { } }; \
34613 struct D : public B { }; \
34614 void F() { D d; }" > conftest.cpp
34615
34616 if { ac_try='
34617 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34618 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34621 ac_status=$?
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; } &&
34624 { ac_try='
34625 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34626 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34629 ac_status=$?
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }
34632 then
34633 if { ac_try='
34634 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34635 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34638 ac_status=$?
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; }
34641 then
34642 wx_cv_version_script=yes
34643 else
34644 wx_cv_version_script=no
34645 fi
34646 fi
34647 fi
34648
34649 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34650 rm -f conftest1.output conftest2.output conftest3.output
34651
34652 fi
34653 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34654 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34655
34656 if test $wx_cv_version_script = yes ; then
34657 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34658 fi
34659 ;;
34660 esac
34661
34662
34663 if test "$wxUSE_VISIBILITY" != "no"; then
34664
34665
34666 if test -n "$GCC"; then
34667 CFLAGS_VISIBILITY="-fvisibility=hidden"
34668 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34669 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34670 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34671 if test "${wx_cv_cc_visibility+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 else
34674
34675 wx_save_CXXFLAGS="$CXXFLAGS"
34676 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34677 ac_ext=cpp
34678 ac_cpp='$CXXCPP $CPPFLAGS'
34679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34682
34683 cat >conftest.$ac_ext <<_ACEOF
34684 /* confdefs.h. */
34685 _ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34689
34690 /* we need gcc >= 4.0, older versions with visibility support
34691 didn't have class visibility: */
34692 #if defined(__GNUC__) && __GNUC__ < 4
34693 error this gcc is too old;
34694 #endif
34695
34696 /* visibility only makes sense for ELF shared libs: */
34697 #if !defined(__ELF__) && !defined(__APPLE__)
34698 error this platform has no visibility;
34699 #endif
34700
34701 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34702 extern __attribute__((__visibility__("default"))) int exportedvar;
34703 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34704 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34705 class __attribute__((__visibility__("default"))) Foo {
34706 Foo() {}
34707 };
34708
34709 int
34710 main ()
34711 {
34712
34713 ;
34714 return 0;
34715 }
34716 _ACEOF
34717 rm -f conftest.$ac_objext
34718 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
34732 test ! -s conftest.err
34733 } && test -s conftest.$ac_objext; then
34734 wx_cv_cc_visibility=yes
34735 else
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.$ac_ext >&5
34738
34739 wx_cv_cc_visibility=no
34740 fi
34741
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34743 ac_ext=c
34744 ac_cpp='$CPP $CPPFLAGS'
34745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34748
34749 CXXFLAGS="$wx_save_CXXFLAGS"
34750 fi
34751
34752 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34753 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34754 if test $wx_cv_cc_visibility = yes; then
34755 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34756 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34757 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34758 echo $ECHO_N "(cached) $ECHO_C" >&6
34759 else
34760
34761 wx_save_CXXFLAGS="$CXXFLAGS"
34762 wx_save_LDFLAGS="$LDFLAGS"
34763 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34764 LDFLAGS="$LDFLAGS -shared -fPIC"
34765 ac_ext=cpp
34766 ac_cpp='$CXXCPP $CPPFLAGS'
34767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34770
34771 cat >conftest.$ac_ext <<_ACEOF
34772 /* confdefs.h. */
34773 _ACEOF
34774 cat confdefs.h >>conftest.$ac_ext
34775 cat >>conftest.$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34777
34778 #include <string>
34779
34780 int
34781 main ()
34782 {
34783
34784 std::string s("hello");
34785 return s.length();
34786
34787 ;
34788 return 0;
34789 }
34790 _ACEOF
34791 rm -f conftest.$ac_objext conftest$ac_exeext
34792 if { (ac_try="$ac_link"
34793 case "(($ac_try" in
34794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34795 *) ac_try_echo=$ac_try;;
34796 esac
34797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34798 (eval "$ac_link") 2>conftest.er1
34799 ac_status=$?
34800 grep -v '^ *+' conftest.er1 >conftest.err
34801 rm -f conftest.er1
34802 cat conftest.err >&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); } && {
34805 test -z "$ac_cxx_werror_flag" ||
34806 test ! -s conftest.err
34807 } && test -s conftest$ac_exeext &&
34808 $as_test_x conftest$ac_exeext; then
34809 wx_cv_cc_broken_libstdcxx_visibility=no
34810 else
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.$ac_ext >&5
34813
34814 wx_cv_cc_broken_libstdcxx_visibility=yes
34815 fi
34816
34817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34818 conftest$ac_exeext conftest.$ac_ext
34819 ac_ext=c
34820 ac_cpp='$CPP $CPPFLAGS'
34821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34824
34825 CXXFLAGS="$wx_save_CXXFLAGS"
34826 LDFLAGS="$wx_save_LDFLAGS"
34827 fi
34828
34829 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34830 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34831
34832 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34833 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34834 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34835 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34836 echo $ECHO_N "(cached) $ECHO_C" >&6
34837 else
34838
34839 ac_ext=cpp
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34844
34845 cat >conftest.$ac_ext <<_ACEOF
34846 /* confdefs.h. */
34847 _ACEOF
34848 cat confdefs.h >>conftest.$ac_ext
34849 cat >>conftest.$ac_ext <<_ACEOF
34850 /* end confdefs.h. */
34851
34852 #pragma GCC visibility push(default)
34853 #include <string>
34854 #pragma GCC visibility pop
34855
34856 int
34857 main ()
34858 {
34859
34860 std::string s("hello");
34861 return s.length();
34862
34863 ;
34864 return 0;
34865 }
34866 _ACEOF
34867 rm -f conftest.$ac_objext conftest$ac_exeext
34868 if { (ac_try="$ac_link"
34869 case "(($ac_try" in
34870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34871 *) ac_try_echo=$ac_try;;
34872 esac
34873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34874 (eval "$ac_link") 2>conftest.er1
34875 ac_status=$?
34876 grep -v '^ *+' conftest.er1 >conftest.err
34877 rm -f conftest.er1
34878 cat conftest.err >&5
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); } && {
34881 test -z "$ac_cxx_werror_flag" ||
34882 test ! -s conftest.err
34883 } && test -s conftest$ac_exeext &&
34884 $as_test_x conftest$ac_exeext; then
34885 wx_cv_cc_visibility_workaround=no
34886 else
34887 echo "$as_me: failed program was:" >&5
34888 sed 's/^/| /' conftest.$ac_ext >&5
34889
34890 wx_cv_cc_visibility_workaround=yes
34891 fi
34892
34893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34894 conftest$ac_exeext conftest.$ac_ext
34895 ac_ext=c
34896 ac_cpp='$CPP $CPPFLAGS'
34897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900
34901
34902 fi
34903
34904 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34905 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34906
34907 if test $wx_cv_cc_visibility_workaround = no; then
34908 wx_cv_cc_visibility=no
34909 fi
34910 fi
34911 fi
34912
34913 if test $wx_cv_cc_visibility = yes; then
34914 cat >>confdefs.h <<\_ACEOF
34915 #define HAVE_VISIBILITY 1
34916 _ACEOF
34917
34918 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34919 cat >>confdefs.h <<\_ACEOF
34920 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34921 _ACEOF
34922
34923 fi
34924 else
34925 CFLAGS_VISIBILITY=""
34926 CXXFLAGS_VISIBILITY=""
34927 fi
34928
34929
34930 fi
34931
34932 fi
34933
34934 if test "x$SUNCXX" = xyes; then
34935 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34936 WXCONFIG_RPATH="-R\$libdir"
34937 else
34938 case "${host}" in
34939 *-*-linux* | *-*-gnu* )
34940 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34941 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34942 ;;
34943
34944 *-*-solaris2* )
34945
34946 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34947
34948 saveLdflags="$LDFLAGS"
34949 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34950 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34951 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34952 cat >conftest.$ac_ext <<_ACEOF
34953 /* confdefs.h. */
34954 _ACEOF
34955 cat confdefs.h >>conftest.$ac_ext
34956 cat >>conftest.$ac_ext <<_ACEOF
34957 /* end confdefs.h. */
34958
34959 int
34960 main ()
34961 {
34962
34963 ;
34964 return 0;
34965 }
34966 _ACEOF
34967 rm -f conftest.$ac_objext conftest$ac_exeext
34968 if { (ac_try="$ac_link"
34969 case "(($ac_try" in
34970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34971 *) ac_try_echo=$ac_try;;
34972 esac
34973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34974 (eval "$ac_link") 2>conftest.er1
34975 ac_status=$?
34976 grep -v '^ *+' conftest.er1 >conftest.err
34977 rm -f conftest.er1
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } && {
34981 test -z "$ac_c_werror_flag" ||
34982 test ! -s conftest.err
34983 } && test -s conftest$ac_exeext &&
34984 $as_test_x conftest$ac_exeext; then
34985
34986 { echo "$as_me:$LINENO: result: yes" >&5
34987 echo "${ECHO_T}yes" >&6; }
34988 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34989 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34990
34991 else
34992 echo "$as_me: failed program was:" >&5
34993 sed 's/^/| /' conftest.$ac_ext >&5
34994
34995
34996 { echo "$as_me:$LINENO: result: no" >&5
34997 echo "${ECHO_T}no" >&6; }
34998 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34999 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35000 LDFLAGS="$saveLdflags -Wl,-R,/"
35001 cat >conftest.$ac_ext <<_ACEOF
35002 /* confdefs.h. */
35003 _ACEOF
35004 cat confdefs.h >>conftest.$ac_ext
35005 cat >>conftest.$ac_ext <<_ACEOF
35006 /* end confdefs.h. */
35007
35008 int
35009 main ()
35010 {
35011
35012 ;
35013 return 0;
35014 }
35015 _ACEOF
35016 rm -f conftest.$ac_objext conftest$ac_exeext
35017 if { (ac_try="$ac_link"
35018 case "(($ac_try" in
35019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35020 *) ac_try_echo=$ac_try;;
35021 esac
35022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35023 (eval "$ac_link") 2>conftest.er1
35024 ac_status=$?
35025 grep -v '^ *+' conftest.er1 >conftest.err
35026 rm -f conftest.er1
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } && {
35030 test -z "$ac_c_werror_flag" ||
35031 test ! -s conftest.err
35032 } && test -s conftest$ac_exeext &&
35033 $as_test_x conftest$ac_exeext; then
35034
35035 { echo "$as_me:$LINENO: result: yes" >&5
35036 echo "${ECHO_T}yes" >&6; }
35037 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35038 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35039
35040 else
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.$ac_ext >&5
35043
35044
35045 { echo "$as_me:$LINENO: result: no" >&5
35046 echo "${ECHO_T}no" >&6; }
35047
35048 fi
35049
35050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35051 conftest$ac_exeext conftest.$ac_ext
35052
35053 fi
35054
35055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35056 conftest$ac_exeext conftest.$ac_ext
35057 LDFLAGS="$saveLdflags"
35058 ;;
35059
35060 *-*-darwin* )
35061 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35062 if test "$install_name_tool" -a -x "$install_name_tool"; then
35063 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35064 cat <<EOF >change-install-names
35065 #!/bin/sh
35066 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35067 for i in \${libnames} ; do
35068 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35069 for dep in \${libnames} ; do
35070 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35071 done
35072 done
35073 EOF
35074 chmod +x change-install-names
35075 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35076 fi
35077
35078 HEADER_PAD_OPTION="-headerpad_max_install_names"
35079 ;;
35080
35081 *-*-cygwin* | *-*-mingw32* )
35082 ;;
35083
35084 *-*-hpux* )
35085 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35086 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35087 ;;
35088
35089 esac
35090 fi
35091
35092 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35093
35094 if test $wxUSE_RPATH = "no"; then
35095 SAMPLES_RPATH_FLAG=''
35096 DYLIB_PATH_POSTLINK=''
35097 WXCONFIG_RPATH=''
35098 fi
35099
35100 SHARED=1
35101
35102 else
35103
35104 config_linkage_component="-static"
35105 SHARED=0
35106
35107 fi
35108
35109
35110 UNICODE=0
35111 lib_unicode_suffix=
35112 WX_CHARTYPE="ansi"
35113 if test "$wxUSE_UNICODE" = "yes"; then
35114 lib_unicode_suffix=u
35115 WX_CHARTYPE="unicode"
35116 UNICODE=1
35117 fi
35118
35119 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35120 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35121
35122 DEBUG_INFO=0
35123 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35124 DEBUG_INFO=1
35125 fi
35126
35127 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35128
35129 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35130
35131 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35132
35133
35134 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35135 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35136 else
35137 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35138 fi
35139 if test "${TOOLKIT_DIR}" = "os2"; then
35140 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35141 else
35142 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35143 fi
35144
35145
35146
35147 if test "$wxUSE_OLD_COCOA" = 1; then
35148
35149 ac_ext=c
35150 ac_cpp='$CPP $CPPFLAGS'
35151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35154
35155 ac_ext=m
35156
35157 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35158 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35159 cat >conftest.$ac_ext <<_ACEOF
35160 /* confdefs.h. */
35161 _ACEOF
35162 cat confdefs.h >>conftest.$ac_ext
35163 cat >>conftest.$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35165 #include <AppKit/NSEvent.h>
35166 #include <CoreFoundation/CoreFoundation.h>
35167
35168 int
35169 main ()
35170 {
35171
35172 ;
35173 return 0;
35174 }
35175 _ACEOF
35176 rm -f conftest.$ac_objext
35177 if { (ac_try="$ac_compile"
35178 case "(($ac_try" in
35179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35180 *) ac_try_echo=$ac_try;;
35181 esac
35182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35183 (eval "$ac_compile") 2>conftest.er1
35184 ac_status=$?
35185 grep -v '^ *+' conftest.er1 >conftest.err
35186 rm -f conftest.er1
35187 cat conftest.err >&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } && {
35190 test -z "$ac_c_werror_flag" ||
35191 test ! -s conftest.err
35192 } && test -s conftest.$ac_objext; then
35193 { echo "$as_me:$LINENO: result: no" >&5
35194 echo "${ECHO_T}no" >&6; }
35195 else
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.$ac_ext >&5
35198
35199 { echo "$as_me:$LINENO: result: yes" >&5
35200 echo "${ECHO_T}yes" >&6; }
35201 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35202 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35203 cat >conftest.$ac_ext <<_ACEOF
35204 /* confdefs.h. */
35205 _ACEOF
35206 cat confdefs.h >>conftest.$ac_ext
35207 cat >>conftest.$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209 #define __Point__ 1
35210 #include <AppKit/NSEvent.h>
35211 #include <CoreFoundation/CoreFoundation.h>
35212
35213 int
35214 main ()
35215 {
35216
35217 ;
35218 return 0;
35219 }
35220 _ACEOF
35221 rm -f conftest.$ac_objext
35222 if { (ac_try="$ac_compile"
35223 case "(($ac_try" in
35224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35225 *) ac_try_echo=$ac_try;;
35226 esac
35227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35228 (eval "$ac_compile") 2>conftest.er1
35229 ac_status=$?
35230 grep -v '^ *+' conftest.er1 >conftest.err
35231 rm -f conftest.er1
35232 cat conftest.err >&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } && {
35235 test -z "$ac_c_werror_flag" ||
35236 test ! -s conftest.err
35237 } && test -s conftest.$ac_objext; then
35238 { echo "$as_me:$LINENO: result: yes" >&5
35239 echo "${ECHO_T}yes" >&6; }
35240 cat >>confdefs.h <<\_ACEOF
35241 #define __Point__ 1
35242 _ACEOF
35243
35244
35245 else
35246 echo "$as_me: failed program was:" >&5
35247 sed 's/^/| /' conftest.$ac_ext >&5
35248
35249 { { echo "$as_me:$LINENO: error: no
35250 See \`config.log' for more details." >&5
35251 echo "$as_me: error: no
35252 See \`config.log' for more details." >&2;}
35253 { (exit 1); exit 1; }; }
35254
35255 fi
35256
35257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35258
35259 fi
35260
35261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35262 ac_ext=c
35263 ac_cpp='$CPP $CPPFLAGS'
35264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35267
35268 fi
35269
35270
35271 { echo "$as_me:$LINENO: checking for mode_t" >&5
35272 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35273 if test "${ac_cv_type_mode_t+set}" = set; then
35274 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 else
35276 cat >conftest.$ac_ext <<_ACEOF
35277 /* confdefs.h. */
35278 _ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35282 $ac_includes_default
35283 typedef mode_t ac__type_new_;
35284 int
35285 main ()
35286 {
35287 if ((ac__type_new_ *) 0)
35288 return 0;
35289 if (sizeof (ac__type_new_))
35290 return 0;
35291 ;
35292 return 0;
35293 }
35294 _ACEOF
35295 rm -f conftest.$ac_objext
35296 if { (ac_try="$ac_compile"
35297 case "(($ac_try" in
35298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35299 *) ac_try_echo=$ac_try;;
35300 esac
35301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35302 (eval "$ac_compile") 2>conftest.er1
35303 ac_status=$?
35304 grep -v '^ *+' conftest.er1 >conftest.err
35305 rm -f conftest.er1
35306 cat conftest.err >&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } && {
35309 test -z "$ac_c_werror_flag" ||
35310 test ! -s conftest.err
35311 } && test -s conftest.$ac_objext; then
35312 ac_cv_type_mode_t=yes
35313 else
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.$ac_ext >&5
35316
35317 ac_cv_type_mode_t=no
35318 fi
35319
35320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35321 fi
35322 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35323 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35324 if test $ac_cv_type_mode_t = yes; then
35325 :
35326 else
35327
35328 cat >>confdefs.h <<_ACEOF
35329 #define mode_t int
35330 _ACEOF
35331
35332 fi
35333
35334 { echo "$as_me:$LINENO: checking for off_t" >&5
35335 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35336 if test "${ac_cv_type_off_t+set}" = set; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 else
35339 cat >conftest.$ac_ext <<_ACEOF
35340 /* confdefs.h. */
35341 _ACEOF
35342 cat confdefs.h >>conftest.$ac_ext
35343 cat >>conftest.$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35345 $ac_includes_default
35346 typedef off_t ac__type_new_;
35347 int
35348 main ()
35349 {
35350 if ((ac__type_new_ *) 0)
35351 return 0;
35352 if (sizeof (ac__type_new_))
35353 return 0;
35354 ;
35355 return 0;
35356 }
35357 _ACEOF
35358 rm -f conftest.$ac_objext
35359 if { (ac_try="$ac_compile"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35362 *) ac_try_echo=$ac_try;;
35363 esac
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_compile") 2>conftest.er1
35366 ac_status=$?
35367 grep -v '^ *+' conftest.er1 >conftest.err
35368 rm -f conftest.er1
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } && {
35372 test -z "$ac_c_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.$ac_objext; then
35375 ac_cv_type_off_t=yes
35376 else
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 ac_cv_type_off_t=no
35381 fi
35382
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384 fi
35385 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35386 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35387 if test $ac_cv_type_off_t = yes; then
35388 :
35389 else
35390
35391 cat >>confdefs.h <<_ACEOF
35392 #define off_t long int
35393 _ACEOF
35394
35395 fi
35396
35397 { echo "$as_me:$LINENO: checking for pid_t" >&5
35398 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35399 if test "${ac_cv_type_pid_t+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 else
35402 cat >conftest.$ac_ext <<_ACEOF
35403 /* confdefs.h. */
35404 _ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35408 $ac_includes_default
35409 typedef pid_t ac__type_new_;
35410 int
35411 main ()
35412 {
35413 if ((ac__type_new_ *) 0)
35414 return 0;
35415 if (sizeof (ac__type_new_))
35416 return 0;
35417 ;
35418 return 0;
35419 }
35420 _ACEOF
35421 rm -f conftest.$ac_objext
35422 if { (ac_try="$ac_compile"
35423 case "(($ac_try" in
35424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35425 *) ac_try_echo=$ac_try;;
35426 esac
35427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35428 (eval "$ac_compile") 2>conftest.er1
35429 ac_status=$?
35430 grep -v '^ *+' conftest.er1 >conftest.err
35431 rm -f conftest.er1
35432 cat conftest.err >&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } && {
35435 test -z "$ac_c_werror_flag" ||
35436 test ! -s conftest.err
35437 } && test -s conftest.$ac_objext; then
35438 ac_cv_type_pid_t=yes
35439 else
35440 echo "$as_me: failed program was:" >&5
35441 sed 's/^/| /' conftest.$ac_ext >&5
35442
35443 ac_cv_type_pid_t=no
35444 fi
35445
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 fi
35448 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35449 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35450 if test $ac_cv_type_pid_t = yes; then
35451 :
35452 else
35453
35454 cat >>confdefs.h <<_ACEOF
35455 #define pid_t int
35456 _ACEOF
35457
35458 fi
35459
35460 { echo "$as_me:$LINENO: checking for size_t" >&5
35461 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35462 if test "${ac_cv_type_size_t+set}" = set; then
35463 echo $ECHO_N "(cached) $ECHO_C" >&6
35464 else
35465 cat >conftest.$ac_ext <<_ACEOF
35466 /* confdefs.h. */
35467 _ACEOF
35468 cat confdefs.h >>conftest.$ac_ext
35469 cat >>conftest.$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35471 $ac_includes_default
35472 typedef size_t ac__type_new_;
35473 int
35474 main ()
35475 {
35476 if ((ac__type_new_ *) 0)
35477 return 0;
35478 if (sizeof (ac__type_new_))
35479 return 0;
35480 ;
35481 return 0;
35482 }
35483 _ACEOF
35484 rm -f conftest.$ac_objext
35485 if { (ac_try="$ac_compile"
35486 case "(($ac_try" in
35487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35488 *) ac_try_echo=$ac_try;;
35489 esac
35490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35491 (eval "$ac_compile") 2>conftest.er1
35492 ac_status=$?
35493 grep -v '^ *+' conftest.er1 >conftest.err
35494 rm -f conftest.er1
35495 cat conftest.err >&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } && {
35498 test -z "$ac_c_werror_flag" ||
35499 test ! -s conftest.err
35500 } && test -s conftest.$ac_objext; then
35501 ac_cv_type_size_t=yes
35502 else
35503 echo "$as_me: failed program was:" >&5
35504 sed 's/^/| /' conftest.$ac_ext >&5
35505
35506 ac_cv_type_size_t=no
35507 fi
35508
35509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35510 fi
35511 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35512 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35513 if test $ac_cv_type_size_t = yes; then
35514 :
35515 else
35516
35517 cat >>confdefs.h <<_ACEOF
35518 #define size_t unsigned int
35519 _ACEOF
35520
35521 fi
35522
35523
35524 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35525 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35526 if test "${ac_cv_type_ssize_t+set}" = set; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35528 else
35529 cat >conftest.$ac_ext <<_ACEOF
35530 /* confdefs.h. */
35531 _ACEOF
35532 cat confdefs.h >>conftest.$ac_ext
35533 cat >>conftest.$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535 $ac_includes_default
35536 typedef ssize_t ac__type_new_;
35537 int
35538 main ()
35539 {
35540 if ((ac__type_new_ *) 0)
35541 return 0;
35542 if (sizeof (ac__type_new_))
35543 return 0;
35544 ;
35545 return 0;
35546 }
35547 _ACEOF
35548 rm -f conftest.$ac_objext
35549 if { (ac_try="$ac_compile"
35550 case "(($ac_try" in
35551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35552 *) ac_try_echo=$ac_try;;
35553 esac
35554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35555 (eval "$ac_compile") 2>conftest.er1
35556 ac_status=$?
35557 grep -v '^ *+' conftest.er1 >conftest.err
35558 rm -f conftest.er1
35559 cat conftest.err >&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); } && {
35562 test -z "$ac_c_werror_flag" ||
35563 test ! -s conftest.err
35564 } && test -s conftest.$ac_objext; then
35565 ac_cv_type_ssize_t=yes
35566 else
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35569
35570 ac_cv_type_ssize_t=no
35571 fi
35572
35573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35574 fi
35575 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35576 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35577 if test $ac_cv_type_ssize_t = yes; then
35578
35579 cat >>confdefs.h <<_ACEOF
35580 #define HAVE_SSIZE_T 1
35581 _ACEOF
35582
35583
35584 fi
35585
35586
35587 ac_ext=cpp
35588 ac_cpp='$CXXCPP $CPPFLAGS'
35589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35592 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35593 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35594 if test "${wx_cv_size_t_is_uint+set}" = set; then
35595 echo $ECHO_N "(cached) $ECHO_C" >&6
35596 else
35597
35598 cat >conftest.$ac_ext <<_ACEOF
35599 /* confdefs.h. */
35600 _ACEOF
35601 cat confdefs.h >>conftest.$ac_ext
35602 cat >>conftest.$ac_ext <<_ACEOF
35603 /* end confdefs.h. */
35604 #include <stddef.h>
35605 int
35606 main ()
35607 {
35608
35609 return 0; }
35610
35611 struct Foo { void foo(size_t); void foo(unsigned int); };
35612
35613 int bar() {
35614
35615 ;
35616 return 0;
35617 }
35618 _ACEOF
35619 rm -f conftest.$ac_objext
35620 if { (ac_try="$ac_compile"
35621 case "(($ac_try" in
35622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35623 *) ac_try_echo=$ac_try;;
35624 esac
35625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35626 (eval "$ac_compile") 2>conftest.er1
35627 ac_status=$?
35628 grep -v '^ *+' conftest.er1 >conftest.err
35629 rm -f conftest.er1
35630 cat conftest.err >&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); } && {
35633 test -z "$ac_cxx_werror_flag" ||
35634 test ! -s conftest.err
35635 } && test -s conftest.$ac_objext; then
35636 wx_cv_size_t_is_uint=no
35637 else
35638 echo "$as_me: failed program was:" >&5
35639 sed 's/^/| /' conftest.$ac_ext >&5
35640
35641 wx_cv_size_t_is_uint=yes
35642
35643 fi
35644
35645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35646
35647
35648 fi
35649 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35650 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35651
35652 if test "$wx_cv_size_t_is_uint" = "yes"; then
35653 cat >>confdefs.h <<\_ACEOF
35654 #define wxSIZE_T_IS_UINT 1
35655 _ACEOF
35656
35657 else
35658 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35659 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35660 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35661 echo $ECHO_N "(cached) $ECHO_C" >&6
35662 else
35663 cat >conftest.$ac_ext <<_ACEOF
35664 /* confdefs.h. */
35665 _ACEOF
35666 cat confdefs.h >>conftest.$ac_ext
35667 cat >>conftest.$ac_ext <<_ACEOF
35668 /* end confdefs.h. */
35669 #include <stddef.h>
35670 int
35671 main ()
35672 {
35673
35674 return 0; }
35675
35676 struct Foo { void foo(size_t); void foo(unsigned long); };
35677
35678 int bar() {
35679
35680 ;
35681 return 0;
35682 }
35683 _ACEOF
35684 rm -f conftest.$ac_objext
35685 if { (ac_try="$ac_compile"
35686 case "(($ac_try" in
35687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35688 *) ac_try_echo=$ac_try;;
35689 esac
35690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35691 (eval "$ac_compile") 2>conftest.er1
35692 ac_status=$?
35693 grep -v '^ *+' conftest.er1 >conftest.err
35694 rm -f conftest.er1
35695 cat conftest.err >&5
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); } && {
35698 test -z "$ac_cxx_werror_flag" ||
35699 test ! -s conftest.err
35700 } && test -s conftest.$ac_objext; then
35701 wx_cv_size_t_is_ulong=no
35702 else
35703 echo "$as_me: failed program was:" >&5
35704 sed 's/^/| /' conftest.$ac_ext >&5
35705
35706 wx_cv_size_t_is_ulong=yes
35707
35708 fi
35709
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711
35712 fi
35713 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35714 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35715
35716 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35717 cat >>confdefs.h <<\_ACEOF
35718 #define wxSIZE_T_IS_ULONG 1
35719 _ACEOF
35720
35721 fi
35722 fi
35723
35724 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35725 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35726 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 else
35729 cat >conftest.$ac_ext <<_ACEOF
35730 /* confdefs.h. */
35731 _ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 #include <wchar.h>
35736 int
35737 main ()
35738 {
35739
35740 return 0; }
35741
35742 struct Foo { void foo(wchar_t);
35743 void foo(unsigned short);
35744 void foo(unsigned int);
35745 void foo(unsigned long); };
35746
35747 int bar() {
35748
35749 ;
35750 return 0;
35751 }
35752 _ACEOF
35753 rm -f conftest.$ac_objext
35754 if { (ac_try="$ac_compile"
35755 case "(($ac_try" in
35756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35757 *) ac_try_echo=$ac_try;;
35758 esac
35759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35760 (eval "$ac_compile") 2>conftest.er1
35761 ac_status=$?
35762 grep -v '^ *+' conftest.er1 >conftest.err
35763 rm -f conftest.er1
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } && {
35767 test -z "$ac_cxx_werror_flag" ||
35768 test ! -s conftest.err
35769 } && test -s conftest.$ac_objext; then
35770 wx_cv_wchar_t_is_separate_type=yes
35771 else
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35774
35775 wx_cv_wchar_t_is_separate_type=no
35776
35777 fi
35778
35779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35780
35781 fi
35782 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35783 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35784
35785 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35786 cat >>confdefs.h <<\_ACEOF
35787 #define wxWCHAR_T_IS_REAL_TYPE 1
35788 _ACEOF
35789
35790 else
35791 cat >>confdefs.h <<\_ACEOF
35792 #define wxWCHAR_T_IS_REAL_TYPE 0
35793 _ACEOF
35794
35795 fi
35796
35797 ac_ext=c
35798 ac_cpp='$CPP $CPPFLAGS'
35799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35802
35803
35804 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35805 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35806 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35808 else
35809
35810 cat >conftest.$ac_ext <<_ACEOF
35811 /* confdefs.h. */
35812 _ACEOF
35813 cat confdefs.h >>conftest.$ac_ext
35814 cat >>conftest.$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35816 #include <pwd.h>
35817 int
35818 main ()
35819 {
35820
35821 char *p;
35822 struct passwd *pw;
35823 p = pw->pw_gecos;
35824
35825 ;
35826 return 0;
35827 }
35828 _ACEOF
35829 rm -f conftest.$ac_objext
35830 if { (ac_try="$ac_compile"
35831 case "(($ac_try" in
35832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35833 *) ac_try_echo=$ac_try;;
35834 esac
35835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35836 (eval "$ac_compile") 2>conftest.er1
35837 ac_status=$?
35838 grep -v '^ *+' conftest.er1 >conftest.err
35839 rm -f conftest.er1
35840 cat conftest.err >&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } && {
35843 test -z "$ac_c_werror_flag" ||
35844 test ! -s conftest.err
35845 } && test -s conftest.$ac_objext; then
35846
35847 wx_cv_struct_pw_gecos=yes
35848
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853
35854 wx_cv_struct_pw_gecos=no
35855
35856
35857 fi
35858
35859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35860
35861
35862 fi
35863 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35864 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35865
35866 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35867 cat >>confdefs.h <<\_ACEOF
35868 #define HAVE_PW_GECOS 1
35869 _ACEOF
35870
35871 fi
35872
35873
35874 if test "$wxUSE_WCHAR_T" = "yes"; then
35875 cat >>confdefs.h <<\_ACEOF
35876 #define wxUSE_WCHAR_T 1
35877 _ACEOF
35878
35879
35880 WCSLEN_FOUND=0
35881 WCHAR_LINK=
35882
35883 for ac_func in wcslen
35884 do
35885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35889 echo $ECHO_N "(cached) $ECHO_C" >&6
35890 else
35891 cat >conftest.$ac_ext <<_ACEOF
35892 /* confdefs.h. */
35893 _ACEOF
35894 cat confdefs.h >>conftest.$ac_ext
35895 cat >>conftest.$ac_ext <<_ACEOF
35896 /* end confdefs.h. */
35897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35899 #define $ac_func innocuous_$ac_func
35900
35901 /* System header to define __stub macros and hopefully few prototypes,
35902 which can conflict with char $ac_func (); below.
35903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35904 <limits.h> exists even on freestanding compilers. */
35905
35906 #ifdef __STDC__
35907 # include <limits.h>
35908 #else
35909 # include <assert.h>
35910 #endif
35911
35912 #undef $ac_func
35913
35914 /* Override any GCC internal prototype to avoid an error.
35915 Use char because int might match the return type of a GCC
35916 builtin and then its argument prototype would still apply. */
35917 #ifdef __cplusplus
35918 extern "C"
35919 #endif
35920 char $ac_func ();
35921 /* The GNU C library defines this for functions which it implements
35922 to always fail with ENOSYS. Some functions are actually named
35923 something starting with __ and the normal name is an alias. */
35924 #if defined __stub_$ac_func || defined __stub___$ac_func
35925 choke me
35926 #endif
35927
35928 int
35929 main ()
35930 {
35931 return $ac_func ();
35932 ;
35933 return 0;
35934 }
35935 _ACEOF
35936 rm -f conftest.$ac_objext conftest$ac_exeext
35937 if { (ac_try="$ac_link"
35938 case "(($ac_try" in
35939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35940 *) ac_try_echo=$ac_try;;
35941 esac
35942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35943 (eval "$ac_link") 2>conftest.er1
35944 ac_status=$?
35945 grep -v '^ *+' conftest.er1 >conftest.err
35946 rm -f conftest.er1
35947 cat conftest.err >&5
35948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949 (exit $ac_status); } && {
35950 test -z "$ac_c_werror_flag" ||
35951 test ! -s conftest.err
35952 } && test -s conftest$ac_exeext &&
35953 $as_test_x conftest$ac_exeext; then
35954 eval "$as_ac_var=yes"
35955 else
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.$ac_ext >&5
35958
35959 eval "$as_ac_var=no"
35960 fi
35961
35962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35963 conftest$ac_exeext conftest.$ac_ext
35964 fi
35965 ac_res=`eval echo '${'$as_ac_var'}'`
35966 { echo "$as_me:$LINENO: result: $ac_res" >&5
35967 echo "${ECHO_T}$ac_res" >&6; }
35968 if test `eval echo '${'$as_ac_var'}'` = yes; then
35969 cat >>confdefs.h <<_ACEOF
35970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35971 _ACEOF
35972 WCSLEN_FOUND=1
35973 fi
35974 done
35975
35976
35977 if test "$WCSLEN_FOUND" = 0; then
35978 if test "$TOOLKIT" = "MSW"; then
35979 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35980 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35981 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35983 else
35984 ac_check_lib_save_LIBS=$LIBS
35985 LIBS="-lmsvcrt $LIBS"
35986 cat >conftest.$ac_ext <<_ACEOF
35987 /* confdefs.h. */
35988 _ACEOF
35989 cat confdefs.h >>conftest.$ac_ext
35990 cat >>conftest.$ac_ext <<_ACEOF
35991 /* end confdefs.h. */
35992
35993 /* Override any GCC internal prototype to avoid an error.
35994 Use char because int might match the return type of a GCC
35995 builtin and then its argument prototype would still apply. */
35996 #ifdef __cplusplus
35997 extern "C"
35998 #endif
35999 char wcslen ();
36000 int
36001 main ()
36002 {
36003 return wcslen ();
36004 ;
36005 return 0;
36006 }
36007 _ACEOF
36008 rm -f conftest.$ac_objext conftest$ac_exeext
36009 if { (ac_try="$ac_link"
36010 case "(($ac_try" in
36011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36012 *) ac_try_echo=$ac_try;;
36013 esac
36014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36015 (eval "$ac_link") 2>conftest.er1
36016 ac_status=$?
36017 grep -v '^ *+' conftest.er1 >conftest.err
36018 rm -f conftest.er1
36019 cat conftest.err >&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); } && {
36022 test -z "$ac_c_werror_flag" ||
36023 test ! -s conftest.err
36024 } && test -s conftest$ac_exeext &&
36025 $as_test_x conftest$ac_exeext; then
36026 ac_cv_lib_msvcrt_wcslen=yes
36027 else
36028 echo "$as_me: failed program was:" >&5
36029 sed 's/^/| /' conftest.$ac_ext >&5
36030
36031 ac_cv_lib_msvcrt_wcslen=no
36032 fi
36033
36034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36035 conftest$ac_exeext conftest.$ac_ext
36036 LIBS=$ac_check_lib_save_LIBS
36037 fi
36038 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36039 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36040 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36041 WCHAR_OK=1
36042 fi
36043
36044 else
36045 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36046 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36047 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 else
36050 ac_check_lib_save_LIBS=$LIBS
36051 LIBS="-lw $LIBS"
36052 cat >conftest.$ac_ext <<_ACEOF
36053 /* confdefs.h. */
36054 _ACEOF
36055 cat confdefs.h >>conftest.$ac_ext
36056 cat >>conftest.$ac_ext <<_ACEOF
36057 /* end confdefs.h. */
36058
36059 /* Override any GCC internal prototype to avoid an error.
36060 Use char because int might match the return type of a GCC
36061 builtin and then its argument prototype would still apply. */
36062 #ifdef __cplusplus
36063 extern "C"
36064 #endif
36065 char wcslen ();
36066 int
36067 main ()
36068 {
36069 return wcslen ();
36070 ;
36071 return 0;
36072 }
36073 _ACEOF
36074 rm -f conftest.$ac_objext conftest$ac_exeext
36075 if { (ac_try="$ac_link"
36076 case "(($ac_try" in
36077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36079 esac
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_link") 2>conftest.er1
36082 ac_status=$?
36083 grep -v '^ *+' conftest.er1 >conftest.err
36084 rm -f conftest.er1
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } && {
36088 test -z "$ac_c_werror_flag" ||
36089 test ! -s conftest.err
36090 } && test -s conftest$ac_exeext &&
36091 $as_test_x conftest$ac_exeext; then
36092 ac_cv_lib_w_wcslen=yes
36093 else
36094 echo "$as_me: failed program was:" >&5
36095 sed 's/^/| /' conftest.$ac_ext >&5
36096
36097 ac_cv_lib_w_wcslen=no
36098 fi
36099
36100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36101 conftest$ac_exeext conftest.$ac_ext
36102 LIBS=$ac_check_lib_save_LIBS
36103 fi
36104 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36105 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36106 if test $ac_cv_lib_w_wcslen = yes; then
36107
36108 WCHAR_LINK=" -lw"
36109 WCSLEN_FOUND=1
36110
36111 fi
36112
36113 fi
36114 fi
36115
36116 if test "$WCSLEN_FOUND" = 1; then
36117 cat >>confdefs.h <<\_ACEOF
36118 #define HAVE_WCSLEN 1
36119 _ACEOF
36120
36121 fi
36122
36123
36124
36125
36126
36127
36128 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36129 do
36130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 else
36136 cat >conftest.$ac_ext <<_ACEOF
36137 /* confdefs.h. */
36138 _ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36144 #define $ac_func innocuous_$ac_func
36145
36146 /* System header to define __stub macros and hopefully few prototypes,
36147 which can conflict with char $ac_func (); below.
36148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36149 <limits.h> exists even on freestanding compilers. */
36150
36151 #ifdef __STDC__
36152 # include <limits.h>
36153 #else
36154 # include <assert.h>
36155 #endif
36156
36157 #undef $ac_func
36158
36159 /* Override any GCC internal prototype to avoid an error.
36160 Use char because int might match the return type of a GCC
36161 builtin and then its argument prototype would still apply. */
36162 #ifdef __cplusplus
36163 extern "C"
36164 #endif
36165 char $ac_func ();
36166 /* The GNU C library defines this for functions which it implements
36167 to always fail with ENOSYS. Some functions are actually named
36168 something starting with __ and the normal name is an alias. */
36169 #if defined __stub_$ac_func || defined __stub___$ac_func
36170 choke me
36171 #endif
36172
36173 int
36174 main ()
36175 {
36176 return $ac_func ();
36177 ;
36178 return 0;
36179 }
36180 _ACEOF
36181 rm -f conftest.$ac_objext conftest$ac_exeext
36182 if { (ac_try="$ac_link"
36183 case "(($ac_try" in
36184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36185 *) ac_try_echo=$ac_try;;
36186 esac
36187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36188 (eval "$ac_link") 2>conftest.er1
36189 ac_status=$?
36190 grep -v '^ *+' conftest.er1 >conftest.err
36191 rm -f conftest.er1
36192 cat conftest.err >&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); } && {
36195 test -z "$ac_c_werror_flag" ||
36196 test ! -s conftest.err
36197 } && test -s conftest$ac_exeext &&
36198 $as_test_x conftest$ac_exeext; then
36199 eval "$as_ac_var=yes"
36200 else
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.$ac_ext >&5
36203
36204 eval "$as_ac_var=no"
36205 fi
36206
36207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36208 conftest$ac_exeext conftest.$ac_ext
36209 fi
36210 ac_res=`eval echo '${'$as_ac_var'}'`
36211 { echo "$as_me:$LINENO: result: $ac_res" >&5
36212 echo "${ECHO_T}$ac_res" >&6; }
36213 if test `eval echo '${'$as_ac_var'}'` = yes; then
36214 cat >>confdefs.h <<_ACEOF
36215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36216 _ACEOF
36217
36218 fi
36219 done
36220
36221
36222 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36223 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36224 fi
36225
36226 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36227 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36228 if test "${ac_cv_type_mbstate_t+set}" = set; then
36229 echo $ECHO_N "(cached) $ECHO_C" >&6
36230 else
36231 cat >conftest.$ac_ext <<_ACEOF
36232 /* confdefs.h. */
36233 _ACEOF
36234 cat confdefs.h >>conftest.$ac_ext
36235 cat >>conftest.$ac_ext <<_ACEOF
36236 /* end confdefs.h. */
36237 #include <wchar.h>
36238
36239 typedef mbstate_t ac__type_new_;
36240 int
36241 main ()
36242 {
36243 if ((ac__type_new_ *) 0)
36244 return 0;
36245 if (sizeof (ac__type_new_))
36246 return 0;
36247 ;
36248 return 0;
36249 }
36250 _ACEOF
36251 rm -f conftest.$ac_objext
36252 if { (ac_try="$ac_compile"
36253 case "(($ac_try" in
36254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36255 *) ac_try_echo=$ac_try;;
36256 esac
36257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36258 (eval "$ac_compile") 2>conftest.er1
36259 ac_status=$?
36260 grep -v '^ *+' conftest.er1 >conftest.err
36261 rm -f conftest.er1
36262 cat conftest.err >&5
36263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264 (exit $ac_status); } && {
36265 test -z "$ac_c_werror_flag" ||
36266 test ! -s conftest.err
36267 } && test -s conftest.$ac_objext; then
36268 ac_cv_type_mbstate_t=yes
36269 else
36270 echo "$as_me: failed program was:" >&5
36271 sed 's/^/| /' conftest.$ac_ext >&5
36272
36273 ac_cv_type_mbstate_t=no
36274 fi
36275
36276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36277 fi
36278 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36279 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36280 if test $ac_cv_type_mbstate_t = yes; then
36281
36282 cat >>confdefs.h <<_ACEOF
36283 #define HAVE_MBSTATE_T 1
36284 _ACEOF
36285
36286
36287 for ac_func in wcsrtombs
36288 do
36289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36294 else
36295 cat >conftest.$ac_ext <<_ACEOF
36296 /* confdefs.h. */
36297 _ACEOF
36298 cat confdefs.h >>conftest.$ac_ext
36299 cat >>conftest.$ac_ext <<_ACEOF
36300 /* end confdefs.h. */
36301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36303 #define $ac_func innocuous_$ac_func
36304
36305 /* System header to define __stub macros and hopefully few prototypes,
36306 which can conflict with char $ac_func (); below.
36307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36308 <limits.h> exists even on freestanding compilers. */
36309
36310 #ifdef __STDC__
36311 # include <limits.h>
36312 #else
36313 # include <assert.h>
36314 #endif
36315
36316 #undef $ac_func
36317
36318 /* Override any GCC internal prototype to avoid an error.
36319 Use char because int might match the return type of a GCC
36320 builtin and then its argument prototype would still apply. */
36321 #ifdef __cplusplus
36322 extern "C"
36323 #endif
36324 char $ac_func ();
36325 /* The GNU C library defines this for functions which it implements
36326 to always fail with ENOSYS. Some functions are actually named
36327 something starting with __ and the normal name is an alias. */
36328 #if defined __stub_$ac_func || defined __stub___$ac_func
36329 choke me
36330 #endif
36331
36332 int
36333 main ()
36334 {
36335 return $ac_func ();
36336 ;
36337 return 0;
36338 }
36339 _ACEOF
36340 rm -f conftest.$ac_objext conftest$ac_exeext
36341 if { (ac_try="$ac_link"
36342 case "(($ac_try" in
36343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36344 *) ac_try_echo=$ac_try;;
36345 esac
36346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36347 (eval "$ac_link") 2>conftest.er1
36348 ac_status=$?
36349 grep -v '^ *+' conftest.er1 >conftest.err
36350 rm -f conftest.er1
36351 cat conftest.err >&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); } && {
36354 test -z "$ac_c_werror_flag" ||
36355 test ! -s conftest.err
36356 } && test -s conftest$ac_exeext &&
36357 $as_test_x conftest$ac_exeext; then
36358 eval "$as_ac_var=yes"
36359 else
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36362
36363 eval "$as_ac_var=no"
36364 fi
36365
36366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36367 conftest$ac_exeext conftest.$ac_ext
36368 fi
36369 ac_res=`eval echo '${'$as_ac_var'}'`
36370 { echo "$as_me:$LINENO: result: $ac_res" >&5
36371 echo "${ECHO_T}$ac_res" >&6; }
36372 if test `eval echo '${'$as_ac_var'}'` = yes; then
36373 cat >>confdefs.h <<_ACEOF
36374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36375 _ACEOF
36376
36377 fi
36378 done
36379
36380 fi
36381
36382 else
36383 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36384 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36385 fi
36386
36387
36388
36389
36390 for ac_func in snprintf vsnprintf vsscanf
36391 do
36392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398 cat >conftest.$ac_ext <<_ACEOF
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36406 #define $ac_func innocuous_$ac_func
36407
36408 /* System header to define __stub macros and hopefully few prototypes,
36409 which can conflict with char $ac_func (); below.
36410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36411 <limits.h> exists even on freestanding compilers. */
36412
36413 #ifdef __STDC__
36414 # include <limits.h>
36415 #else
36416 # include <assert.h>
36417 #endif
36418
36419 #undef $ac_func
36420
36421 /* Override any GCC internal prototype to avoid an error.
36422 Use char because int might match the return type of a GCC
36423 builtin and then its argument prototype would still apply. */
36424 #ifdef __cplusplus
36425 extern "C"
36426 #endif
36427 char $ac_func ();
36428 /* The GNU C library defines this for functions which it implements
36429 to always fail with ENOSYS. Some functions are actually named
36430 something starting with __ and the normal name is an alias. */
36431 #if defined __stub_$ac_func || defined __stub___$ac_func
36432 choke me
36433 #endif
36434
36435 int
36436 main ()
36437 {
36438 return $ac_func ();
36439 ;
36440 return 0;
36441 }
36442 _ACEOF
36443 rm -f conftest.$ac_objext conftest$ac_exeext
36444 if { (ac_try="$ac_link"
36445 case "(($ac_try" in
36446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36447 *) ac_try_echo=$ac_try;;
36448 esac
36449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36450 (eval "$ac_link") 2>conftest.er1
36451 ac_status=$?
36452 grep -v '^ *+' conftest.er1 >conftest.err
36453 rm -f conftest.er1
36454 cat conftest.err >&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); } && {
36457 test -z "$ac_c_werror_flag" ||
36458 test ! -s conftest.err
36459 } && test -s conftest$ac_exeext &&
36460 $as_test_x conftest$ac_exeext; then
36461 eval "$as_ac_var=yes"
36462 else
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.$ac_ext >&5
36465
36466 eval "$as_ac_var=no"
36467 fi
36468
36469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36470 conftest$ac_exeext conftest.$ac_ext
36471 fi
36472 ac_res=`eval echo '${'$as_ac_var'}'`
36473 { echo "$as_me:$LINENO: result: $ac_res" >&5
36474 echo "${ECHO_T}$ac_res" >&6; }
36475 if test `eval echo '${'$as_ac_var'}'` = yes; then
36476 cat >>confdefs.h <<_ACEOF
36477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36478 _ACEOF
36479
36480 fi
36481 done
36482
36483
36484 ac_ext=cpp
36485 ac_cpp='$CXXCPP $CPPFLAGS'
36486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36489
36490 if test "$ac_cv_func_vsnprintf" = "yes"; then
36491 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36492 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36493 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36494 echo $ECHO_N "(cached) $ECHO_C" >&6
36495 else
36496
36497 cat >conftest.$ac_ext <<_ACEOF
36498 /* confdefs.h. */
36499 _ACEOF
36500 cat confdefs.h >>conftest.$ac_ext
36501 cat >>conftest.$ac_ext <<_ACEOF
36502 /* end confdefs.h. */
36503
36504 #include <stdio.h>
36505 #include <stdarg.h>
36506 #ifdef __MSL__
36507 #if __MSL__ >= 0x6000
36508 namespace std {}
36509 using namespace std;
36510 #endif
36511 #endif
36512
36513 int
36514 main ()
36515 {
36516
36517 char *buf;
36518 va_list ap;
36519 vsnprintf(buf, 10u, "%s", ap);
36520
36521 ;
36522 return 0;
36523 }
36524 _ACEOF
36525 rm -f conftest.$ac_objext
36526 if { (ac_try="$ac_compile"
36527 case "(($ac_try" in
36528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36529 *) ac_try_echo=$ac_try;;
36530 esac
36531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36532 (eval "$ac_compile") 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } && {
36539 test -z "$ac_cxx_werror_flag" ||
36540 test ! -s conftest.err
36541 } && test -s conftest.$ac_objext; then
36542 wx_cv_func_vsnprintf_decl=yes
36543 else
36544 echo "$as_me: failed program was:" >&5
36545 sed 's/^/| /' conftest.$ac_ext >&5
36546
36547 wx_cv_func_vsnprintf_decl=no
36548
36549 fi
36550
36551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36552
36553
36554 fi
36555 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36556 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36557
36558 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36559 cat >>confdefs.h <<\_ACEOF
36560 #define HAVE_VSNPRINTF_DECL 1
36561 _ACEOF
36562
36563
36564 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36565 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36566 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36568 else
36569
36570 cat >conftest.$ac_ext <<_ACEOF
36571 /* confdefs.h. */
36572 _ACEOF
36573 cat confdefs.h >>conftest.$ac_ext
36574 cat >>conftest.$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36576
36577 #include <stdio.h>
36578 #include <stdarg.h>
36579 #ifdef __MSL__
36580 #if __MSL__ >= 0x6000
36581 namespace std {}
36582 using namespace std;
36583 #endif
36584 #endif
36585
36586 int
36587 main ()
36588 {
36589
36590 char *buf;
36591 va_list ap;
36592 const char *fmt = "%s";
36593 vsnprintf(buf, 10u, fmt, ap);
36594
36595 ;
36596 return 0;
36597 }
36598 _ACEOF
36599 rm -f conftest.$ac_objext
36600 if { (ac_try="$ac_compile"
36601 case "(($ac_try" in
36602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36603 *) ac_try_echo=$ac_try;;
36604 esac
36605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36606 (eval "$ac_compile") 2>conftest.er1
36607 ac_status=$?
36608 grep -v '^ *+' conftest.er1 >conftest.err
36609 rm -f conftest.er1
36610 cat conftest.err >&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); } && {
36613 test -z "$ac_cxx_werror_flag" ||
36614 test ! -s conftest.err
36615 } && test -s conftest.$ac_objext; then
36616 wx_cv_func_broken_vsnprintf_decl=no
36617 else
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36620
36621 wx_cv_func_broken_vsnprintf_decl=yes
36622
36623 fi
36624
36625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36626
36627
36628 fi
36629 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36630 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36631
36632 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36633 cat >>confdefs.h <<\_ACEOF
36634 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36635 _ACEOF
36636
36637 fi
36638 fi
36639 fi
36640
36641 if test "$ac_cv_func_snprintf" = "yes"; then
36642 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36643 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36644 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36646 else
36647
36648 cat >conftest.$ac_ext <<_ACEOF
36649 /* confdefs.h. */
36650 _ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654
36655 #include <stdio.h>
36656 #include <stdarg.h>
36657 #ifdef __MSL__
36658 #if __MSL__ >= 0x6000
36659 namespace std {}
36660 using namespace std;
36661 #endif
36662 #endif
36663
36664 int
36665 main ()
36666 {
36667
36668 char *buf;
36669 snprintf(buf, 10u, "%s", "wx");
36670
36671 ;
36672 return 0;
36673 }
36674 _ACEOF
36675 rm -f conftest.$ac_objext
36676 if { (ac_try="$ac_compile"
36677 case "(($ac_try" in
36678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36679 *) ac_try_echo=$ac_try;;
36680 esac
36681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36682 (eval "$ac_compile") 2>conftest.er1
36683 ac_status=$?
36684 grep -v '^ *+' conftest.er1 >conftest.err
36685 rm -f conftest.er1
36686 cat conftest.err >&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); } && {
36689 test -z "$ac_cxx_werror_flag" ||
36690 test ! -s conftest.err
36691 } && test -s conftest.$ac_objext; then
36692 wx_cv_func_snprintf_decl=yes
36693 else
36694 echo "$as_me: failed program was:" >&5
36695 sed 's/^/| /' conftest.$ac_ext >&5
36696
36697 wx_cv_func_snprintf_decl=no
36698
36699 fi
36700
36701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36702
36703
36704 fi
36705 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36706 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36707
36708 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36709 cat >>confdefs.h <<\_ACEOF
36710 #define HAVE_SNPRINTF_DECL 1
36711 _ACEOF
36712
36713 fi
36714
36715 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36716
36717 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36718 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36719 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36720 echo $ECHO_N "(cached) $ECHO_C" >&6
36721 else
36722
36723 if test "$cross_compiling" = yes; then
36724
36725 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36726 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36727 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36728 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36729 wx_cv_func_snprintf_pos_params=no
36730
36731
36732 else
36733 cat >conftest.$ac_ext <<_ACEOF
36734 /* confdefs.h. */
36735 _ACEOF
36736 cat confdefs.h >>conftest.$ac_ext
36737 cat >>conftest.$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36739
36740 #include <stdio.h>
36741
36742 int main (void)
36743 {
36744 char buffer[128];
36745 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36746 if (strcmp ("2 3 1", buffer) == 0)
36747 exit (0);
36748 exit (1);
36749 }
36750
36751 _ACEOF
36752 rm -f conftest$ac_exeext
36753 if { (ac_try="$ac_link"
36754 case "(($ac_try" in
36755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36756 *) ac_try_echo=$ac_try;;
36757 esac
36758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36759 (eval "$ac_link") 2>&5
36760 ac_status=$?
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36763 { (case "(($ac_try" in
36764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36766 esac
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_try") 2>&5
36769 ac_status=$?
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; }; then
36772 wx_cv_func_snprintf_pos_params=no
36773 else
36774 echo "$as_me: program exited with status $ac_status" >&5
36775 echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.$ac_ext >&5
36777
36778 ( exit $ac_status )
36779 wx_cv_func_snprintf_pos_params=yes
36780 fi
36781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36782 fi
36783
36784
36785
36786
36787 fi
36788 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36789 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36790
36791 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36792 cat >>confdefs.h <<\_ACEOF
36793 #define HAVE_UNIX98_PRINTF 1
36794 _ACEOF
36795
36796 fi
36797 fi
36798 fi
36799
36800 if test "$ac_cv_func_vsscanf" = "yes"; then
36801 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36802 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36803 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36804 echo $ECHO_N "(cached) $ECHO_C" >&6
36805 else
36806
36807 cat >conftest.$ac_ext <<_ACEOF
36808 /* confdefs.h. */
36809 _ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36813
36814 #include <stdio.h>
36815 #include <stdarg.h>
36816 #ifdef __MSL__
36817 #if __MSL__ >= 0x6000
36818 namespace std {}
36819 using namespace std;
36820 #endif
36821 #endif
36822
36823 int
36824 main ()
36825 {
36826
36827 char *buf;
36828 va_list args;
36829 vsscanf(buf, "%s", args);
36830
36831 ;
36832 return 0;
36833 }
36834 _ACEOF
36835 rm -f conftest.$ac_objext
36836 if { (ac_try="$ac_compile"
36837 case "(($ac_try" in
36838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36839 *) ac_try_echo=$ac_try;;
36840 esac
36841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36842 (eval "$ac_compile") 2>conftest.er1
36843 ac_status=$?
36844 grep -v '^ *+' conftest.er1 >conftest.err
36845 rm -f conftest.er1
36846 cat conftest.err >&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } && {
36849 test -z "$ac_cxx_werror_flag" ||
36850 test ! -s conftest.err
36851 } && test -s conftest.$ac_objext; then
36852 wx_cv_func_vsscanf_decl=yes
36853 else
36854 echo "$as_me: failed program was:" >&5
36855 sed 's/^/| /' conftest.$ac_ext >&5
36856
36857 wx_cv_func_vsscanf_decl=no
36858
36859 fi
36860
36861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36862
36863
36864 fi
36865 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36866 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36867
36868 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36869 cat >>confdefs.h <<\_ACEOF
36870 #define HAVE_VSSCANF_DECL 1
36871 _ACEOF
36872
36873 fi
36874 fi
36875 ac_ext=c
36876 ac_cpp='$CPP $CPPFLAGS'
36877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36880
36881
36882 if test "$wxUSE_UNICODE" = yes; then
36883
36884 wchar_headers="#include <stdio.h>
36885 #include <wchar.h>"
36886 case "${host}" in
36887 *-*-solaris2* )
36888
36889 for ac_header in widec.h
36890 do
36891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36892 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36895 echo $ECHO_N "(cached) $ECHO_C" >&6
36896 else
36897 cat >conftest.$ac_ext <<_ACEOF
36898 /* confdefs.h. */
36899 _ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36903 $ac_includes_default
36904
36905 #include <$ac_header>
36906 _ACEOF
36907 rm -f conftest.$ac_objext
36908 if { (ac_try="$ac_compile"
36909 case "(($ac_try" in
36910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36911 *) ac_try_echo=$ac_try;;
36912 esac
36913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36914 (eval "$ac_compile") 2>conftest.er1
36915 ac_status=$?
36916 grep -v '^ *+' conftest.er1 >conftest.err
36917 rm -f conftest.er1
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } && {
36921 test -z "$ac_c_werror_flag" ||
36922 test ! -s conftest.err
36923 } && test -s conftest.$ac_objext; then
36924 eval "$as_ac_Header=yes"
36925 else
36926 echo "$as_me: failed program was:" >&5
36927 sed 's/^/| /' conftest.$ac_ext >&5
36928
36929 eval "$as_ac_Header=no"
36930 fi
36931
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933 fi
36934 ac_res=`eval echo '${'$as_ac_Header'}'`
36935 { echo "$as_me:$LINENO: result: $ac_res" >&5
36936 echo "${ECHO_T}$ac_res" >&6; }
36937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36938 cat >>confdefs.h <<_ACEOF
36939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36940 _ACEOF
36941
36942 fi
36943
36944 done
36945
36946 if test "$ac_cv_header_widec_h" = "yes"; then
36947 wchar_headers="$wchar_headers
36948 #include <widec.h>"
36949 fi
36950 esac
36951
36952
36953 for wx_func in putws fputws wprintf vswprintf vswscanf
36954 do
36955 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36956 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36957 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36959 else
36960
36961 cat >conftest.$ac_ext <<_ACEOF
36962
36963 /* confdefs.h. */
36964 _ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968
36969 $wchar_headers
36970 $ac_includes_default
36971
36972 int
36973 main ()
36974 {
36975
36976 #ifndef $wx_func
36977 &$wx_func;
36978 #endif
36979
36980
36981 ;
36982 return 0;
36983 }
36984
36985 _ACEOF
36986 rm -f conftest.$ac_objext conftest$ac_exeext
36987 if { (ac_try="$ac_link"
36988 case "(($ac_try" in
36989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36990 *) ac_try_echo=$ac_try;;
36991 esac
36992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36993 (eval "$ac_link") 2>conftest.er1
36994 ac_status=$?
36995 grep -v '^ *+' conftest.er1 >conftest.err
36996 rm -f conftest.er1
36997 cat conftest.err >&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); } && {
37000 test -z "$ac_c_werror_flag" ||
37001 test ! -s conftest.err
37002 } && test -s conftest$ac_exeext &&
37003 $as_test_x conftest$ac_exeext; then
37004 eval wx_cv_func_$wx_func=yes
37005 else
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37008
37009 eval wx_cv_func_$wx_func=no
37010 fi
37011
37012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37013 conftest$ac_exeext conftest.$ac_ext
37014
37015 fi
37016 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37017 { echo "$as_me:$LINENO: result: $ac_res" >&5
37018 echo "${ECHO_T}$ac_res" >&6; }
37019
37020 if eval test \$wx_cv_func_$wx_func = yes
37021 then
37022 cat >>confdefs.h <<_ACEOF
37023 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37024 _ACEOF
37025
37026
37027 else
37028 :
37029
37030 fi
37031 done
37032
37033
37034 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37035 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37036 cat >conftest.$ac_ext <<_ACEOF
37037 /* confdefs.h. */
37038 _ACEOF
37039 cat confdefs.h >>conftest.$ac_ext
37040 cat >>conftest.$ac_ext <<_ACEOF
37041 /* end confdefs.h. */
37042 #include <wchar.h>
37043 int
37044 main ()
37045 {
37046 &_vsnwprintf;
37047 ;
37048 return 0;
37049 }
37050 _ACEOF
37051 rm -f conftest.$ac_objext
37052 if { (ac_try="$ac_compile"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37056 esac
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_compile") 2>conftest.er1
37059 ac_status=$?
37060 grep -v '^ *+' conftest.er1 >conftest.err
37061 rm -f conftest.er1
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_c_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest.$ac_objext; then
37068 { echo "$as_me:$LINENO: result: yes" >&5
37069 echo "${ECHO_T}yes" >&6; }
37070 cat >>confdefs.h <<\_ACEOF
37071 #define HAVE__VSNWPRINTF 1
37072 _ACEOF
37073
37074 else
37075 echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.$ac_ext >&5
37077
37078 { echo "$as_me:$LINENO: result: no" >&5
37079 echo "${ECHO_T}no" >&6; }
37080 fi
37081
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37083 fi
37084
37085 if test "$wxUSE_FILE" = "yes"; then
37086
37087 for wx_func in fsync
37088 do
37089 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37090 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37091 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37092 echo $ECHO_N "(cached) $ECHO_C" >&6
37093 else
37094
37095 cat >conftest.$ac_ext <<_ACEOF
37096
37097 /* confdefs.h. */
37098 _ACEOF
37099 cat confdefs.h >>conftest.$ac_ext
37100 cat >>conftest.$ac_ext <<_ACEOF
37101 /* end confdefs.h. */
37102
37103
37104 $ac_includes_default
37105
37106 int
37107 main ()
37108 {
37109
37110 #ifndef $wx_func
37111 &$wx_func;
37112 #endif
37113
37114
37115 ;
37116 return 0;
37117 }
37118
37119 _ACEOF
37120 rm -f conftest.$ac_objext conftest$ac_exeext
37121 if { (ac_try="$ac_link"
37122 case "(($ac_try" in
37123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37124 *) ac_try_echo=$ac_try;;
37125 esac
37126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37127 (eval "$ac_link") 2>conftest.er1
37128 ac_status=$?
37129 grep -v '^ *+' conftest.er1 >conftest.err
37130 rm -f conftest.er1
37131 cat conftest.err >&5
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); } && {
37134 test -z "$ac_c_werror_flag" ||
37135 test ! -s conftest.err
37136 } && test -s conftest$ac_exeext &&
37137 $as_test_x conftest$ac_exeext; then
37138 eval wx_cv_func_$wx_func=yes
37139 else
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37142
37143 eval wx_cv_func_$wx_func=no
37144 fi
37145
37146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37147 conftest$ac_exeext conftest.$ac_ext
37148
37149 fi
37150 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37151 { echo "$as_me:$LINENO: result: $ac_res" >&5
37152 echo "${ECHO_T}$ac_res" >&6; }
37153
37154 if eval test \$wx_cv_func_$wx_func = yes
37155 then
37156 cat >>confdefs.h <<_ACEOF
37157 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37158 _ACEOF
37159
37160
37161 else
37162 :
37163
37164 fi
37165 done
37166
37167 fi
37168
37169 ac_ext=cpp
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174
37175
37176 for wx_func in round
37177 do
37178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37181 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 else
37183
37184 cat >conftest.$ac_ext <<_ACEOF
37185
37186 /* confdefs.h. */
37187 _ACEOF
37188 cat confdefs.h >>conftest.$ac_ext
37189 cat >>conftest.$ac_ext <<_ACEOF
37190 /* end confdefs.h. */
37191
37192 #include <math.h>
37193 $ac_includes_default
37194
37195 int
37196 main ()
37197 {
37198
37199 #ifndef $wx_func
37200 &$wx_func;
37201 #endif
37202
37203
37204 ;
37205 return 0;
37206 }
37207
37208 _ACEOF
37209 rm -f conftest.$ac_objext conftest$ac_exeext
37210 if { (ac_try="$ac_link"
37211 case "(($ac_try" in
37212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37213 *) ac_try_echo=$ac_try;;
37214 esac
37215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37216 (eval "$ac_link") 2>conftest.er1
37217 ac_status=$?
37218 grep -v '^ *+' conftest.er1 >conftest.err
37219 rm -f conftest.er1
37220 cat conftest.err >&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } && {
37223 test -z "$ac_cxx_werror_flag" ||
37224 test ! -s conftest.err
37225 } && test -s conftest$ac_exeext &&
37226 $as_test_x conftest$ac_exeext; then
37227 eval wx_cv_func_$wx_func=yes
37228 else
37229 echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.$ac_ext >&5
37231
37232 eval wx_cv_func_$wx_func=no
37233 fi
37234
37235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37236 conftest$ac_exeext conftest.$ac_ext
37237
37238 fi
37239 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37240 { echo "$as_me:$LINENO: result: $ac_res" >&5
37241 echo "${ECHO_T}$ac_res" >&6; }
37242
37243 if eval test \$wx_cv_func_$wx_func = yes
37244 then
37245 cat >>confdefs.h <<_ACEOF
37246 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37247 _ACEOF
37248
37249
37250 else
37251 :
37252
37253 fi
37254 done
37255
37256 ac_ext=c
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37261
37262
37263 if test "$TOOLKIT" != "MSW"; then
37264
37265 if test "$wxUSE_LIBICONV" != "no" ; then
37266
37267
37268
37269 # Check whether --with-libiconv-prefix was given.
37270 if test "${with_libiconv_prefix+set}" = set; then
37271 withval=$with_libiconv_prefix;
37272 for dir in `echo "$withval" | tr : ' '`; do
37273 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37274 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37275 done
37276
37277 fi
37278
37279
37280 { echo "$as_me:$LINENO: checking for iconv" >&5
37281 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37282 if test "${am_cv_func_iconv+set}" = set; then
37283 echo $ECHO_N "(cached) $ECHO_C" >&6
37284 else
37285
37286 am_cv_func_iconv="no, consider installing GNU libiconv"
37287 am_cv_lib_iconv=no
37288 cat >conftest.$ac_ext <<_ACEOF
37289 /* confdefs.h. */
37290 _ACEOF
37291 cat confdefs.h >>conftest.$ac_ext
37292 cat >>conftest.$ac_ext <<_ACEOF
37293 /* end confdefs.h. */
37294 #include <stdlib.h>
37295 #include <iconv.h>
37296 int
37297 main ()
37298 {
37299 iconv_t cd = iconv_open("","");
37300 iconv(cd,NULL,NULL,NULL,NULL);
37301 iconv_close(cd);
37302 ;
37303 return 0;
37304 }
37305 _ACEOF
37306 rm -f conftest.$ac_objext conftest$ac_exeext
37307 if { (ac_try="$ac_link"
37308 case "(($ac_try" in
37309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37310 *) ac_try_echo=$ac_try;;
37311 esac
37312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37313 (eval "$ac_link") 2>conftest.er1
37314 ac_status=$?
37315 grep -v '^ *+' conftest.er1 >conftest.err
37316 rm -f conftest.er1
37317 cat conftest.err >&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); } && {
37320 test -z "$ac_c_werror_flag" ||
37321 test ! -s conftest.err
37322 } && test -s conftest$ac_exeext &&
37323 $as_test_x conftest$ac_exeext; then
37324 am_cv_func_iconv=yes
37325 else
37326 echo "$as_me: failed program was:" >&5
37327 sed 's/^/| /' conftest.$ac_ext >&5
37328
37329
37330 fi
37331
37332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37333 conftest$ac_exeext conftest.$ac_ext
37334 if test "$am_cv_func_iconv" != yes; then
37335 am_save_LIBS="$LIBS"
37336 LIBS="$LIBS -liconv"
37337 cat >conftest.$ac_ext <<_ACEOF
37338 /* confdefs.h. */
37339 _ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37343 #include <stdlib.h>
37344 #include <iconv.h>
37345 int
37346 main ()
37347 {
37348 iconv_t cd = iconv_open("","");
37349 iconv(cd,NULL,NULL,NULL,NULL);
37350 iconv_close(cd);
37351 ;
37352 return 0;
37353 }
37354 _ACEOF
37355 rm -f conftest.$ac_objext conftest$ac_exeext
37356 if { (ac_try="$ac_link"
37357 case "(($ac_try" in
37358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37359 *) ac_try_echo=$ac_try;;
37360 esac
37361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37362 (eval "$ac_link") 2>conftest.er1
37363 ac_status=$?
37364 grep -v '^ *+' conftest.er1 >conftest.err
37365 rm -f conftest.er1
37366 cat conftest.err >&5
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); } && {
37369 test -z "$ac_c_werror_flag" ||
37370 test ! -s conftest.err
37371 } && test -s conftest$ac_exeext &&
37372 $as_test_x conftest$ac_exeext; then
37373 am_cv_lib_iconv=yes
37374 am_cv_func_iconv=yes
37375 else
37376 echo "$as_me: failed program was:" >&5
37377 sed 's/^/| /' conftest.$ac_ext >&5
37378
37379
37380 fi
37381
37382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37383 conftest$ac_exeext conftest.$ac_ext
37384 LIBS="$am_save_LIBS"
37385 fi
37386
37387 fi
37388 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37389 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37390 if test "$am_cv_func_iconv" = yes; then
37391
37392 cat >>confdefs.h <<\_ACEOF
37393 #define HAVE_ICONV 1
37394 _ACEOF
37395
37396 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37397 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37398 if test "${wx_cv_func_iconv_const+set}" = set; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37400 else
37401 cat >conftest.$ac_ext <<_ACEOF
37402 /* confdefs.h. */
37403 _ACEOF
37404 cat confdefs.h >>conftest.$ac_ext
37405 cat >>conftest.$ac_ext <<_ACEOF
37406 /* end confdefs.h. */
37407
37408 #include <stdlib.h>
37409 #include <iconv.h>
37410 extern
37411 #ifdef __cplusplus
37412 "C"
37413 #endif
37414 #if defined(__STDC__) || defined(__cplusplus)
37415 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37416 #else
37417 size_t iconv();
37418 #endif
37419
37420 int
37421 main ()
37422 {
37423
37424 ;
37425 return 0;
37426 }
37427 _ACEOF
37428 rm -f conftest.$ac_objext
37429 if { (ac_try="$ac_compile"
37430 case "(($ac_try" in
37431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37432 *) ac_try_echo=$ac_try;;
37433 esac
37434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37435 (eval "$ac_compile") 2>conftest.er1
37436 ac_status=$?
37437 grep -v '^ *+' conftest.er1 >conftest.err
37438 rm -f conftest.er1
37439 cat conftest.err >&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } && {
37442 test -z "$ac_c_werror_flag" ||
37443 test ! -s conftest.err
37444 } && test -s conftest.$ac_objext; then
37445 wx_cv_func_iconv_const="no"
37446 else
37447 echo "$as_me: failed program was:" >&5
37448 sed 's/^/| /' conftest.$ac_ext >&5
37449
37450 wx_cv_func_iconv_const="yes"
37451
37452 fi
37453
37454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37455
37456 fi
37457 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37458 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37459
37460 iconv_const=
37461 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37462 iconv_const="const"
37463 fi
37464
37465
37466 cat >>confdefs.h <<_ACEOF
37467 #define ICONV_CONST $iconv_const
37468 _ACEOF
37469
37470 fi
37471 LIBICONV=
37472 if test "$am_cv_lib_iconv" = yes; then
37473 LIBICONV="-liconv"
37474 fi
37475
37476
37477 LIBS="$LIBICONV $LIBS"
37478 fi
37479
37480 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37481
37482 for ac_func in sigaction
37483 do
37484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37488 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 else
37490 cat >conftest.$ac_ext <<_ACEOF
37491 /* confdefs.h. */
37492 _ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37498 #define $ac_func innocuous_$ac_func
37499
37500 /* System header to define __stub macros and hopefully few prototypes,
37501 which can conflict with char $ac_func (); below.
37502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37503 <limits.h> exists even on freestanding compilers. */
37504
37505 #ifdef __STDC__
37506 # include <limits.h>
37507 #else
37508 # include <assert.h>
37509 #endif
37510
37511 #undef $ac_func
37512
37513 /* Override any GCC internal prototype to avoid an error.
37514 Use char because int might match the return type of a GCC
37515 builtin and then its argument prototype would still apply. */
37516 #ifdef __cplusplus
37517 extern "C"
37518 #endif
37519 char $ac_func ();
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined __stub_$ac_func || defined __stub___$ac_func
37524 choke me
37525 #endif
37526
37527 int
37528 main ()
37529 {
37530 return $ac_func ();
37531 ;
37532 return 0;
37533 }
37534 _ACEOF
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37539 *) ac_try_echo=$ac_try;;
37540 esac
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37543 ac_status=$?
37544 grep -v '^ *+' conftest.er1 >conftest.err
37545 rm -f conftest.er1
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest$ac_exeext &&
37552 $as_test_x conftest$ac_exeext; then
37553 eval "$as_ac_var=yes"
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 eval "$as_ac_var=no"
37559 fi
37560
37561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37562 conftest$ac_exeext conftest.$ac_ext
37563 fi
37564 ac_res=`eval echo '${'$as_ac_var'}'`
37565 { echo "$as_me:$LINENO: result: $ac_res" >&5
37566 echo "${ECHO_T}$ac_res" >&6; }
37567 if test `eval echo '${'$as_ac_var'}'` = yes; then
37568 cat >>confdefs.h <<_ACEOF
37569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37570 _ACEOF
37571
37572 fi
37573 done
37574
37575
37576 if test "$ac_cv_func_sigaction" = "no"; then
37577 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37578 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37579 wxUSE_ON_FATAL_EXCEPTION=no
37580 fi
37581
37582 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37583 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37584 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37585 if test "${wx_cv_type_sa_handler+set}" = set; then
37586 echo $ECHO_N "(cached) $ECHO_C" >&6
37587 else
37588
37589 ac_ext=cpp
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594
37595 cat >conftest.$ac_ext <<_ACEOF
37596 /* confdefs.h. */
37597 _ACEOF
37598 cat confdefs.h >>conftest.$ac_ext
37599 cat >>conftest.$ac_ext <<_ACEOF
37600 /* end confdefs.h. */
37601 #include <signal.h>
37602 int
37603 main ()
37604 {
37605
37606 extern void testSigHandler(int);
37607
37608 struct sigaction sa;
37609 sa.sa_handler = testSigHandler;
37610
37611 ;
37612 return 0;
37613 }
37614 _ACEOF
37615 rm -f conftest.$ac_objext
37616 if { (ac_try="$ac_compile"
37617 case "(($ac_try" in
37618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37619 *) ac_try_echo=$ac_try;;
37620 esac
37621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37622 (eval "$ac_compile") 2>conftest.er1
37623 ac_status=$?
37624 grep -v '^ *+' conftest.er1 >conftest.err
37625 rm -f conftest.er1
37626 cat conftest.err >&5
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); } && {
37629 test -z "$ac_cxx_werror_flag" ||
37630 test ! -s conftest.err
37631 } && test -s conftest.$ac_objext; then
37632
37633 wx_cv_type_sa_handler=int
37634
37635 else
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37638
37639
37640 wx_cv_type_sa_handler=void
37641
37642 fi
37643
37644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37645 ac_ext=c
37646 ac_cpp='$CPP $CPPFLAGS'
37647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37650
37651
37652 fi
37653 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37654 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37655
37656 cat >>confdefs.h <<_ACEOF
37657 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37658 _ACEOF
37659
37660 fi
37661 fi
37662
37663 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37664 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37665 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37666 if test "${wx_cv_func_backtrace+set}" = set; then
37667 echo $ECHO_N "(cached) $ECHO_C" >&6
37668 else
37669
37670 ac_ext=cpp
37671 ac_cpp='$CXXCPP $CPPFLAGS'
37672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37675
37676 cat >conftest.$ac_ext <<_ACEOF
37677 /* confdefs.h. */
37678 _ACEOF
37679 cat confdefs.h >>conftest.$ac_ext
37680 cat >>conftest.$ac_ext <<_ACEOF
37681 /* end confdefs.h. */
37682 #include <execinfo.h>
37683 int
37684 main ()
37685 {
37686
37687 void *trace[1];
37688 char **messages;
37689
37690 backtrace(trace, 1);
37691 messages = backtrace_symbols(trace, 1);
37692
37693 ;
37694 return 0;
37695 }
37696 _ACEOF
37697 rm -f conftest.$ac_objext
37698 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest.$ac_objext; then
37714 wx_cv_func_backtrace=yes
37715 else
37716 echo "$as_me: failed program was:" >&5
37717 sed 's/^/| /' conftest.$ac_ext >&5
37718
37719 wx_cv_func_backtrace=no
37720
37721 fi
37722
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37724 ac_ext=c
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37729
37730
37731
37732 fi
37733 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37734 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37735
37736
37737 if test "$wx_cv_func_backtrace" = "no"; then
37738 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37739 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37740 wxUSE_STACKWALKER=no
37741 else
37742 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37743 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37744 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37745 echo $ECHO_N "(cached) $ECHO_C" >&6
37746 else
37747
37748 ac_ext=cpp
37749 ac_cpp='$CXXCPP $CPPFLAGS'
37750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37753
37754 cat >conftest.$ac_ext <<_ACEOF
37755 /* confdefs.h. */
37756 _ACEOF
37757 cat confdefs.h >>conftest.$ac_ext
37758 cat >>conftest.$ac_ext <<_ACEOF
37759 /* end confdefs.h. */
37760 #include <cxxabi.h>
37761 int
37762 main ()
37763 {
37764
37765 int rc;
37766 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37767
37768 ;
37769 return 0;
37770 }
37771 _ACEOF
37772 rm -f conftest.$ac_objext conftest$ac_exeext
37773 if { (ac_try="$ac_link"
37774 case "(($ac_try" in
37775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37776 *) ac_try_echo=$ac_try;;
37777 esac
37778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37779 (eval "$ac_link") 2>conftest.er1
37780 ac_status=$?
37781 grep -v '^ *+' conftest.er1 >conftest.err
37782 rm -f conftest.er1
37783 cat conftest.err >&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); } && {
37786 test -z "$ac_cxx_werror_flag" ||
37787 test ! -s conftest.err
37788 } && test -s conftest$ac_exeext &&
37789 $as_test_x conftest$ac_exeext; then
37790 wx_cv_func_cxa_demangle=yes
37791 else
37792 echo "$as_me: failed program was:" >&5
37793 sed 's/^/| /' conftest.$ac_ext >&5
37794
37795 wx_cv_func_cxa_demangle=no
37796
37797 fi
37798
37799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37800 conftest$ac_exeext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806
37807
37808
37809 fi
37810 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37811 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37812
37813 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37814 cat >>confdefs.h <<\_ACEOF
37815 #define HAVE_CXA_DEMANGLE 1
37816 _ACEOF
37817
37818 fi
37819 fi
37820 fi
37821
37822 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37823 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37824 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37825 wxUSE_STACKWALKER=no
37826 fi
37827
37828
37829
37830
37831 for ac_func in mkstemp mktemp
37832 do
37833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37837 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 else
37839 cat >conftest.$ac_ext <<_ACEOF
37840 /* confdefs.h. */
37841 _ACEOF
37842 cat confdefs.h >>conftest.$ac_ext
37843 cat >>conftest.$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37847 #define $ac_func innocuous_$ac_func
37848
37849 /* System header to define __stub macros and hopefully few prototypes,
37850 which can conflict with char $ac_func (); below.
37851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37852 <limits.h> exists even on freestanding compilers. */
37853
37854 #ifdef __STDC__
37855 # include <limits.h>
37856 #else
37857 # include <assert.h>
37858 #endif
37859
37860 #undef $ac_func
37861
37862 /* Override any GCC internal prototype to avoid an error.
37863 Use char because int might match the return type of a GCC
37864 builtin and then its argument prototype would still apply. */
37865 #ifdef __cplusplus
37866 extern "C"
37867 #endif
37868 char $ac_func ();
37869 /* The GNU C library defines this for functions which it implements
37870 to always fail with ENOSYS. Some functions are actually named
37871 something starting with __ and the normal name is an alias. */
37872 #if defined __stub_$ac_func || defined __stub___$ac_func
37873 choke me
37874 #endif
37875
37876 int
37877 main ()
37878 {
37879 return $ac_func ();
37880 ;
37881 return 0;
37882 }
37883 _ACEOF
37884 rm -f conftest.$ac_objext conftest$ac_exeext
37885 if { (ac_try="$ac_link"
37886 case "(($ac_try" in
37887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37888 *) ac_try_echo=$ac_try;;
37889 esac
37890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37891 (eval "$ac_link") 2>conftest.er1
37892 ac_status=$?
37893 grep -v '^ *+' conftest.er1 >conftest.err
37894 rm -f conftest.er1
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } && {
37898 test -z "$ac_c_werror_flag" ||
37899 test ! -s conftest.err
37900 } && test -s conftest$ac_exeext &&
37901 $as_test_x conftest$ac_exeext; then
37902 eval "$as_ac_var=yes"
37903 else
37904 echo "$as_me: failed program was:" >&5
37905 sed 's/^/| /' conftest.$ac_ext >&5
37906
37907 eval "$as_ac_var=no"
37908 fi
37909
37910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37911 conftest$ac_exeext conftest.$ac_ext
37912 fi
37913 ac_res=`eval echo '${'$as_ac_var'}'`
37914 { echo "$as_me:$LINENO: result: $ac_res" >&5
37915 echo "${ECHO_T}$ac_res" >&6; }
37916 if test `eval echo '${'$as_ac_var'}'` = yes; then
37917 cat >>confdefs.h <<_ACEOF
37918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37919 _ACEOF
37920 break
37921 fi
37922 done
37923
37924
37925 { echo "$as_me:$LINENO: checking for statfs" >&5
37926 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37927 if test "${wx_cv_func_statfs+set}" = set; then
37928 echo $ECHO_N "(cached) $ECHO_C" >&6
37929 else
37930 cat >conftest.$ac_ext <<_ACEOF
37931 /* confdefs.h. */
37932 _ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37936
37937 #if defined(__BSD__)
37938 #include <sys/param.h>
37939 #include <sys/mount.h>
37940 #else
37941 #include <sys/vfs.h>
37942 #endif
37943
37944 int
37945 main ()
37946 {
37947
37948 long l;
37949 struct statfs fs;
37950 statfs("/", &fs);
37951 l = fs.f_bsize;
37952 l += fs.f_blocks;
37953 l += fs.f_bavail;
37954
37955 ;
37956 return 0;
37957 }
37958 _ACEOF
37959 rm -f conftest.$ac_objext
37960 if { (ac_try="$ac_compile"
37961 case "(($ac_try" in
37962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37963 *) ac_try_echo=$ac_try;;
37964 esac
37965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37966 (eval "$ac_compile") 2>conftest.er1
37967 ac_status=$?
37968 grep -v '^ *+' conftest.er1 >conftest.err
37969 rm -f conftest.er1
37970 cat conftest.err >&5
37971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37972 (exit $ac_status); } && {
37973 test -z "$ac_c_werror_flag" ||
37974 test ! -s conftest.err
37975 } && test -s conftest.$ac_objext; then
37976 wx_cv_func_statfs=yes
37977 else
37978 echo "$as_me: failed program was:" >&5
37979 sed 's/^/| /' conftest.$ac_ext >&5
37980
37981 wx_cv_func_statfs=no
37982
37983 fi
37984
37985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37986
37987 fi
37988 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37989 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37990
37991 if test "$wx_cv_func_statfs" = "yes"; then
37992 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37993 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37994 if test "${wx_cv_func_statfs_decl+set}" = set; then
37995 echo $ECHO_N "(cached) $ECHO_C" >&6
37996 else
37997 ac_ext=cpp
37998 ac_cpp='$CXXCPP $CPPFLAGS'
37999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38002
38003 cat >conftest.$ac_ext <<_ACEOF
38004 /* confdefs.h. */
38005 _ACEOF
38006 cat confdefs.h >>conftest.$ac_ext
38007 cat >>conftest.$ac_ext <<_ACEOF
38008 /* end confdefs.h. */
38009
38010 #if defined(__BSD__)
38011 #include <sys/param.h>
38012 #include <sys/mount.h>
38013 #else
38014 #include <sys/vfs.h>
38015 #endif
38016
38017 int
38018 main ()
38019 {
38020
38021 struct statfs fs;
38022 statfs("", &fs);
38023
38024 ;
38025 return 0;
38026 }
38027 _ACEOF
38028 rm -f conftest.$ac_objext
38029 if { (ac_try="$ac_compile"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38033 esac
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_compile") 2>conftest.er1
38036 ac_status=$?
38037 grep -v '^ *+' conftest.er1 >conftest.err
38038 rm -f conftest.er1
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } && {
38042 test -z "$ac_cxx_werror_flag" ||
38043 test ! -s conftest.err
38044 } && test -s conftest.$ac_objext; then
38045 wx_cv_func_statfs_decl=yes
38046 else
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38049
38050 wx_cv_func_statfs_decl=no
38051
38052 fi
38053
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060
38061
38062 fi
38063 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38064 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38065
38066 if test "$wx_cv_func_statfs_decl" = "yes"; then
38067 cat >>confdefs.h <<\_ACEOF
38068 #define HAVE_STATFS_DECL 1
38069 _ACEOF
38070
38071 fi
38072
38073 wx_cv_type_statvfs_t="struct statfs"
38074 cat >>confdefs.h <<\_ACEOF
38075 #define HAVE_STATFS 1
38076 _ACEOF
38077
38078 else
38079 { echo "$as_me:$LINENO: checking for statvfs" >&5
38080 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38081 if test "${wx_cv_func_statvfs+set}" = set; then
38082 echo $ECHO_N "(cached) $ECHO_C" >&6
38083 else
38084 cat >conftest.$ac_ext <<_ACEOF
38085 /* confdefs.h. */
38086 _ACEOF
38087 cat confdefs.h >>conftest.$ac_ext
38088 cat >>conftest.$ac_ext <<_ACEOF
38089 /* end confdefs.h. */
38090
38091 #include <stddef.h>
38092 #include <sys/statvfs.h>
38093
38094 int
38095 main ()
38096 {
38097
38098 statvfs("/", NULL);
38099
38100 ;
38101 return 0;
38102 }
38103 _ACEOF
38104 rm -f conftest.$ac_objext
38105 if { (ac_try="$ac_compile"
38106 case "(($ac_try" in
38107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38108 *) ac_try_echo=$ac_try;;
38109 esac
38110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38111 (eval "$ac_compile") 2>conftest.er1
38112 ac_status=$?
38113 grep -v '^ *+' conftest.er1 >conftest.err
38114 rm -f conftest.er1
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } && {
38118 test -z "$ac_c_werror_flag" ||
38119 test ! -s conftest.err
38120 } && test -s conftest.$ac_objext; then
38121 wx_cv_func_statvfs=yes
38122 else
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.$ac_ext >&5
38125
38126 wx_cv_func_statvfs=no
38127
38128 fi
38129
38130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38131
38132 fi
38133 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38134 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38135
38136 if test "$wx_cv_func_statvfs" = "yes"; then
38137 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38138 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38139 if test "${wx_cv_type_statvfs_t+set}" = set; then
38140 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 else
38142 ac_ext=cpp
38143 ac_cpp='$CXXCPP $CPPFLAGS'
38144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38147
38148 cat >conftest.$ac_ext <<_ACEOF
38149 /* confdefs.h. */
38150 _ACEOF
38151 cat confdefs.h >>conftest.$ac_ext
38152 cat >>conftest.$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38154
38155 #include <sys/statvfs.h>
38156
38157 int
38158 main ()
38159 {
38160
38161 long l;
38162 statvfs_t fs;
38163 statvfs("/", &fs);
38164 l = fs.f_bsize;
38165 l += fs.f_blocks;
38166 l += fs.f_bavail;
38167
38168 ;
38169 return 0;
38170 }
38171 _ACEOF
38172 rm -f conftest.$ac_objext
38173 if { (ac_try="$ac_compile"
38174 case "(($ac_try" in
38175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38176 *) ac_try_echo=$ac_try;;
38177 esac
38178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38179 (eval "$ac_compile") 2>conftest.er1
38180 ac_status=$?
38181 grep -v '^ *+' conftest.er1 >conftest.err
38182 rm -f conftest.er1
38183 cat conftest.err >&5
38184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38185 (exit $ac_status); } && {
38186 test -z "$ac_cxx_werror_flag" ||
38187 test ! -s conftest.err
38188 } && test -s conftest.$ac_objext; then
38189 wx_cv_type_statvfs_t=statvfs_t
38190 else
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38193
38194
38195 cat >conftest.$ac_ext <<_ACEOF
38196 /* confdefs.h. */
38197 _ACEOF
38198 cat confdefs.h >>conftest.$ac_ext
38199 cat >>conftest.$ac_ext <<_ACEOF
38200 /* end confdefs.h. */
38201
38202 #include <sys/statvfs.h>
38203
38204 int
38205 main ()
38206 {
38207
38208 long l;
38209 struct statvfs fs;
38210 statvfs("/", &fs);
38211 l = fs.f_bsize;
38212 l += fs.f_blocks;
38213 l += fs.f_bavail;
38214
38215 ;
38216 return 0;
38217 }
38218 _ACEOF
38219 rm -f conftest.$ac_objext
38220 if { (ac_try="$ac_compile"
38221 case "(($ac_try" in
38222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38223 *) ac_try_echo=$ac_try;;
38224 esac
38225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38226 (eval "$ac_compile") 2>conftest.er1
38227 ac_status=$?
38228 grep -v '^ *+' conftest.er1 >conftest.err
38229 rm -f conftest.er1
38230 cat conftest.err >&5
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); } && {
38233 test -z "$ac_cxx_werror_flag" ||
38234 test ! -s conftest.err
38235 } && test -s conftest.$ac_objext; then
38236 wx_cv_type_statvfs_t="struct statvfs"
38237 else
38238 echo "$as_me: failed program was:" >&5
38239 sed 's/^/| /' conftest.$ac_ext >&5
38240
38241 wx_cv_type_statvfs_t="unknown"
38242
38243 fi
38244
38245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38246
38247
38248 fi
38249
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251 ac_ext=c
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38256
38257
38258 fi
38259 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38260 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38261
38262 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38263 cat >>confdefs.h <<\_ACEOF
38264 #define HAVE_STATVFS 1
38265 _ACEOF
38266
38267 fi
38268 else
38269 wx_cv_type_statvfs_t="unknown"
38270 fi
38271 fi
38272
38273 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38274 cat >>confdefs.h <<_ACEOF
38275 #define WX_STATFS_T $wx_cv_type_statvfs_t
38276 _ACEOF
38277
38278 else
38279 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38280 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38281 fi
38282
38283 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38284
38285
38286 for ac_func in fcntl flock
38287 do
38288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38289 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38293 else
38294 cat >conftest.$ac_ext <<_ACEOF
38295 /* confdefs.h. */
38296 _ACEOF
38297 cat confdefs.h >>conftest.$ac_ext
38298 cat >>conftest.$ac_ext <<_ACEOF
38299 /* end confdefs.h. */
38300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38302 #define $ac_func innocuous_$ac_func
38303
38304 /* System header to define __stub macros and hopefully few prototypes,
38305 which can conflict with char $ac_func (); below.
38306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38307 <limits.h> exists even on freestanding compilers. */
38308
38309 #ifdef __STDC__
38310 # include <limits.h>
38311 #else
38312 # include <assert.h>
38313 #endif
38314
38315 #undef $ac_func
38316
38317 /* Override any GCC internal prototype to avoid an error.
38318 Use char because int might match the return type of a GCC
38319 builtin and then its argument prototype would still apply. */
38320 #ifdef __cplusplus
38321 extern "C"
38322 #endif
38323 char $ac_func ();
38324 /* The GNU C library defines this for functions which it implements
38325 to always fail with ENOSYS. Some functions are actually named
38326 something starting with __ and the normal name is an alias. */
38327 #if defined __stub_$ac_func || defined __stub___$ac_func
38328 choke me
38329 #endif
38330
38331 int
38332 main ()
38333 {
38334 return $ac_func ();
38335 ;
38336 return 0;
38337 }
38338 _ACEOF
38339 rm -f conftest.$ac_objext conftest$ac_exeext
38340 if { (ac_try="$ac_link"
38341 case "(($ac_try" in
38342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38343 *) ac_try_echo=$ac_try;;
38344 esac
38345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38346 (eval "$ac_link") 2>conftest.er1
38347 ac_status=$?
38348 grep -v '^ *+' conftest.er1 >conftest.err
38349 rm -f conftest.er1
38350 cat conftest.err >&5
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); } && {
38353 test -z "$ac_c_werror_flag" ||
38354 test ! -s conftest.err
38355 } && test -s conftest$ac_exeext &&
38356 $as_test_x conftest$ac_exeext; then
38357 eval "$as_ac_var=yes"
38358 else
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38361
38362 eval "$as_ac_var=no"
38363 fi
38364
38365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38366 conftest$ac_exeext conftest.$ac_ext
38367 fi
38368 ac_res=`eval echo '${'$as_ac_var'}'`
38369 { echo "$as_me:$LINENO: result: $ac_res" >&5
38370 echo "${ECHO_T}$ac_res" >&6; }
38371 if test `eval echo '${'$as_ac_var'}'` = yes; then
38372 cat >>confdefs.h <<_ACEOF
38373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38374 _ACEOF
38375 break
38376 fi
38377 done
38378
38379
38380 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38381 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38382 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38383 wxUSE_SNGLINST_CHECKER=no
38384 fi
38385 fi
38386
38387
38388
38389 for ac_func in setenv putenv
38390 do
38391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38394 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38395 echo $ECHO_N "(cached) $ECHO_C" >&6
38396 else
38397 cat >conftest.$ac_ext <<_ACEOF
38398 /* confdefs.h. */
38399 _ACEOF
38400 cat confdefs.h >>conftest.$ac_ext
38401 cat >>conftest.$ac_ext <<_ACEOF
38402 /* end confdefs.h. */
38403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38405 #define $ac_func innocuous_$ac_func
38406
38407 /* System header to define __stub macros and hopefully few prototypes,
38408 which can conflict with char $ac_func (); below.
38409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38410 <limits.h> exists even on freestanding compilers. */
38411
38412 #ifdef __STDC__
38413 # include <limits.h>
38414 #else
38415 # include <assert.h>
38416 #endif
38417
38418 #undef $ac_func
38419
38420 /* Override any GCC internal prototype to avoid an error.
38421 Use char because int might match the return type of a GCC
38422 builtin and then its argument prototype would still apply. */
38423 #ifdef __cplusplus
38424 extern "C"
38425 #endif
38426 char $ac_func ();
38427 /* The GNU C library defines this for functions which it implements
38428 to always fail with ENOSYS. Some functions are actually named
38429 something starting with __ and the normal name is an alias. */
38430 #if defined __stub_$ac_func || defined __stub___$ac_func
38431 choke me
38432 #endif
38433
38434 int
38435 main ()
38436 {
38437 return $ac_func ();
38438 ;
38439 return 0;
38440 }
38441 _ACEOF
38442 rm -f conftest.$ac_objext conftest$ac_exeext
38443 if { (ac_try="$ac_link"
38444 case "(($ac_try" in
38445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38446 *) ac_try_echo=$ac_try;;
38447 esac
38448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38449 (eval "$ac_link") 2>conftest.er1
38450 ac_status=$?
38451 grep -v '^ *+' conftest.er1 >conftest.err
38452 rm -f conftest.er1
38453 cat conftest.err >&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); } && {
38456 test -z "$ac_c_werror_flag" ||
38457 test ! -s conftest.err
38458 } && test -s conftest$ac_exeext &&
38459 $as_test_x conftest$ac_exeext; then
38460 eval "$as_ac_var=yes"
38461 else
38462 echo "$as_me: failed program was:" >&5
38463 sed 's/^/| /' conftest.$ac_ext >&5
38464
38465 eval "$as_ac_var=no"
38466 fi
38467
38468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38469 conftest$ac_exeext conftest.$ac_ext
38470 fi
38471 ac_res=`eval echo '${'$as_ac_var'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38474 if test `eval echo '${'$as_ac_var'}'` = yes; then
38475 cat >>confdefs.h <<_ACEOF
38476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38477 _ACEOF
38478 break
38479 fi
38480 done
38481
38482 if test "$ac_cv_func_setenv" = "yes"; then
38483
38484 for ac_func in unsetenv
38485 do
38486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38490 echo $ECHO_N "(cached) $ECHO_C" >&6
38491 else
38492 cat >conftest.$ac_ext <<_ACEOF
38493 /* confdefs.h. */
38494 _ACEOF
38495 cat confdefs.h >>conftest.$ac_ext
38496 cat >>conftest.$ac_ext <<_ACEOF
38497 /* end confdefs.h. */
38498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38500 #define $ac_func innocuous_$ac_func
38501
38502 /* System header to define __stub macros and hopefully few prototypes,
38503 which can conflict with char $ac_func (); below.
38504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38505 <limits.h> exists even on freestanding compilers. */
38506
38507 #ifdef __STDC__
38508 # include <limits.h>
38509 #else
38510 # include <assert.h>
38511 #endif
38512
38513 #undef $ac_func
38514
38515 /* Override any GCC internal prototype to avoid an error.
38516 Use char because int might match the return type of a GCC
38517 builtin and then its argument prototype would still apply. */
38518 #ifdef __cplusplus
38519 extern "C"
38520 #endif
38521 char $ac_func ();
38522 /* The GNU C library defines this for functions which it implements
38523 to always fail with ENOSYS. Some functions are actually named
38524 something starting with __ and the normal name is an alias. */
38525 #if defined __stub_$ac_func || defined __stub___$ac_func
38526 choke me
38527 #endif
38528
38529 int
38530 main ()
38531 {
38532 return $ac_func ();
38533 ;
38534 return 0;
38535 }
38536 _ACEOF
38537 rm -f conftest.$ac_objext conftest$ac_exeext
38538 if { (ac_try="$ac_link"
38539 case "(($ac_try" in
38540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38541 *) ac_try_echo=$ac_try;;
38542 esac
38543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38544 (eval "$ac_link") 2>conftest.er1
38545 ac_status=$?
38546 grep -v '^ *+' conftest.er1 >conftest.err
38547 rm -f conftest.er1
38548 cat conftest.err >&5
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); } && {
38551 test -z "$ac_c_werror_flag" ||
38552 test ! -s conftest.err
38553 } && test -s conftest$ac_exeext &&
38554 $as_test_x conftest$ac_exeext; then
38555 eval "$as_ac_var=yes"
38556 else
38557 echo "$as_me: failed program was:" >&5
38558 sed 's/^/| /' conftest.$ac_ext >&5
38559
38560 eval "$as_ac_var=no"
38561 fi
38562
38563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38564 conftest$ac_exeext conftest.$ac_ext
38565 fi
38566 ac_res=`eval echo '${'$as_ac_var'}'`
38567 { echo "$as_me:$LINENO: result: $ac_res" >&5
38568 echo "${ECHO_T}$ac_res" >&6; }
38569 if test `eval echo '${'$as_ac_var'}'` = yes; then
38570 cat >>confdefs.h <<_ACEOF
38571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38572 _ACEOF
38573
38574 fi
38575 done
38576
38577 fi
38578
38579 HAVE_SOME_SLEEP_FUNC=0
38580 if test "$USE_BEOS" = 1; then
38581 cat >>confdefs.h <<\_ACEOF
38582 #define HAVE_SLEEP 1
38583 _ACEOF
38584
38585 HAVE_SOME_SLEEP_FUNC=1
38586 fi
38587
38588 if test "$USE_DARWIN" = 1; then
38589 cat >>confdefs.h <<\_ACEOF
38590 #define HAVE_USLEEP 1
38591 _ACEOF
38592
38593 HAVE_SOME_SLEEP_FUNC=1
38594 fi
38595
38596 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38597 POSIX4_LINK=
38598
38599 for ac_func in nanosleep
38600 do
38601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38602 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38606 else
38607 cat >conftest.$ac_ext <<_ACEOF
38608 /* confdefs.h. */
38609 _ACEOF
38610 cat confdefs.h >>conftest.$ac_ext
38611 cat >>conftest.$ac_ext <<_ACEOF
38612 /* end confdefs.h. */
38613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38615 #define $ac_func innocuous_$ac_func
38616
38617 /* System header to define __stub macros and hopefully few prototypes,
38618 which can conflict with char $ac_func (); below.
38619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38620 <limits.h> exists even on freestanding compilers. */
38621
38622 #ifdef __STDC__
38623 # include <limits.h>
38624 #else
38625 # include <assert.h>
38626 #endif
38627
38628 #undef $ac_func
38629
38630 /* Override any GCC internal prototype to avoid an error.
38631 Use char because int might match the return type of a GCC
38632 builtin and then its argument prototype would still apply. */
38633 #ifdef __cplusplus
38634 extern "C"
38635 #endif
38636 char $ac_func ();
38637 /* The GNU C library defines this for functions which it implements
38638 to always fail with ENOSYS. Some functions are actually named
38639 something starting with __ and the normal name is an alias. */
38640 #if defined __stub_$ac_func || defined __stub___$ac_func
38641 choke me
38642 #endif
38643
38644 int
38645 main ()
38646 {
38647 return $ac_func ();
38648 ;
38649 return 0;
38650 }
38651 _ACEOF
38652 rm -f conftest.$ac_objext conftest$ac_exeext
38653 if { (ac_try="$ac_link"
38654 case "(($ac_try" in
38655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38656 *) ac_try_echo=$ac_try;;
38657 esac
38658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38659 (eval "$ac_link") 2>conftest.er1
38660 ac_status=$?
38661 grep -v '^ *+' conftest.er1 >conftest.err
38662 rm -f conftest.er1
38663 cat conftest.err >&5
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); } && {
38666 test -z "$ac_c_werror_flag" ||
38667 test ! -s conftest.err
38668 } && test -s conftest$ac_exeext &&
38669 $as_test_x conftest$ac_exeext; then
38670 eval "$as_ac_var=yes"
38671 else
38672 echo "$as_me: failed program was:" >&5
38673 sed 's/^/| /' conftest.$ac_ext >&5
38674
38675 eval "$as_ac_var=no"
38676 fi
38677
38678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38679 conftest$ac_exeext conftest.$ac_ext
38680 fi
38681 ac_res=`eval echo '${'$as_ac_var'}'`
38682 { echo "$as_me:$LINENO: result: $ac_res" >&5
38683 echo "${ECHO_T}$ac_res" >&6; }
38684 if test `eval echo '${'$as_ac_var'}'` = yes; then
38685 cat >>confdefs.h <<_ACEOF
38686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 _ACEOF
38688 cat >>confdefs.h <<\_ACEOF
38689 #define HAVE_NANOSLEEP 1
38690 _ACEOF
38691
38692 else
38693
38694 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38695 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38696 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38697 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 else
38699 ac_check_lib_save_LIBS=$LIBS
38700 LIBS="-lposix4 $LIBS"
38701 cat >conftest.$ac_ext <<_ACEOF
38702 /* confdefs.h. */
38703 _ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707
38708 /* Override any GCC internal prototype to avoid an error.
38709 Use char because int might match the return type of a GCC
38710 builtin and then its argument prototype would still apply. */
38711 #ifdef __cplusplus
38712 extern "C"
38713 #endif
38714 char nanosleep ();
38715 int
38716 main ()
38717 {
38718 return nanosleep ();
38719 ;
38720 return 0;
38721 }
38722 _ACEOF
38723 rm -f conftest.$ac_objext conftest$ac_exeext
38724 if { (ac_try="$ac_link"
38725 case "(($ac_try" in
38726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38727 *) ac_try_echo=$ac_try;;
38728 esac
38729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38730 (eval "$ac_link") 2>conftest.er1
38731 ac_status=$?
38732 grep -v '^ *+' conftest.er1 >conftest.err
38733 rm -f conftest.er1
38734 cat conftest.err >&5
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); } && {
38737 test -z "$ac_c_werror_flag" ||
38738 test ! -s conftest.err
38739 } && test -s conftest$ac_exeext &&
38740 $as_test_x conftest$ac_exeext; then
38741 ac_cv_lib_posix4_nanosleep=yes
38742 else
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38745
38746 ac_cv_lib_posix4_nanosleep=no
38747 fi
38748
38749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38750 conftest$ac_exeext conftest.$ac_ext
38751 LIBS=$ac_check_lib_save_LIBS
38752 fi
38753 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38754 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38755 if test $ac_cv_lib_posix4_nanosleep = yes; then
38756
38757 cat >>confdefs.h <<\_ACEOF
38758 #define HAVE_NANOSLEEP 1
38759 _ACEOF
38760
38761 POSIX4_LINK=" -lposix4"
38762
38763 else
38764
38765
38766 for wx_func in usleep
38767 do
38768 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38769 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38770 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 else
38773
38774 cat >conftest.$ac_ext <<_ACEOF
38775
38776 /* confdefs.h. */
38777 _ACEOF
38778 cat confdefs.h >>conftest.$ac_ext
38779 cat >>conftest.$ac_ext <<_ACEOF
38780 /* end confdefs.h. */
38781
38782
38783 $ac_includes_default
38784
38785 int
38786 main ()
38787 {
38788
38789 #ifndef $wx_func
38790 &$wx_func;
38791 #endif
38792
38793
38794 ;
38795 return 0;
38796 }
38797
38798 _ACEOF
38799 rm -f conftest.$ac_objext conftest$ac_exeext
38800 if { (ac_try="$ac_link"
38801 case "(($ac_try" in
38802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38803 *) ac_try_echo=$ac_try;;
38804 esac
38805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38806 (eval "$ac_link") 2>conftest.er1
38807 ac_status=$?
38808 grep -v '^ *+' conftest.er1 >conftest.err
38809 rm -f conftest.er1
38810 cat conftest.err >&5
38811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812 (exit $ac_status); } && {
38813 test -z "$ac_c_werror_flag" ||
38814 test ! -s conftest.err
38815 } && test -s conftest$ac_exeext &&
38816 $as_test_x conftest$ac_exeext; then
38817 eval wx_cv_func_$wx_func=yes
38818 else
38819 echo "$as_me: failed program was:" >&5
38820 sed 's/^/| /' conftest.$ac_ext >&5
38821
38822 eval wx_cv_func_$wx_func=no
38823 fi
38824
38825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38826 conftest$ac_exeext conftest.$ac_ext
38827
38828 fi
38829 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38830 { echo "$as_me:$LINENO: result: $ac_res" >&5
38831 echo "${ECHO_T}$ac_res" >&6; }
38832
38833 if eval test \$wx_cv_func_$wx_func = yes
38834 then
38835 cat >>confdefs.h <<_ACEOF
38836 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38837 _ACEOF
38838
38839
38840 else
38841 :
38842 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38843 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38844
38845 fi
38846 done
38847
38848
38849
38850 fi
38851
38852
38853
38854 fi
38855 done
38856
38857 fi
38858
38859
38860 for wx_func in uname
38861 do
38862 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38863 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38864 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38865 echo $ECHO_N "(cached) $ECHO_C" >&6
38866 else
38867
38868 cat >conftest.$ac_ext <<_ACEOF
38869
38870 /* confdefs.h. */
38871 _ACEOF
38872 cat confdefs.h >>conftest.$ac_ext
38873 cat >>conftest.$ac_ext <<_ACEOF
38874 /* end confdefs.h. */
38875
38876 #include <sys/utsname.h>
38877 $ac_includes_default
38878
38879 int
38880 main ()
38881 {
38882
38883 #ifndef $wx_func
38884 &$wx_func;
38885 #endif
38886
38887
38888 ;
38889 return 0;
38890 }
38891
38892 _ACEOF
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (ac_try="$ac_link"
38895 case "(($ac_try" in
38896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38897 *) ac_try_echo=$ac_try;;
38898 esac
38899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38900 (eval "$ac_link") 2>conftest.er1
38901 ac_status=$?
38902 grep -v '^ *+' conftest.er1 >conftest.err
38903 rm -f conftest.er1
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } && {
38907 test -z "$ac_c_werror_flag" ||
38908 test ! -s conftest.err
38909 } && test -s conftest$ac_exeext &&
38910 $as_test_x conftest$ac_exeext; then
38911 eval wx_cv_func_$wx_func=yes
38912 else
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38915
38916 eval wx_cv_func_$wx_func=no
38917 fi
38918
38919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38920 conftest$ac_exeext conftest.$ac_ext
38921
38922 fi
38923 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38924 { echo "$as_me:$LINENO: result: $ac_res" >&5
38925 echo "${ECHO_T}$ac_res" >&6; }
38926
38927 if eval test \$wx_cv_func_$wx_func = yes
38928 then
38929 cat >>confdefs.h <<_ACEOF
38930 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38931 _ACEOF
38932
38933
38934 else
38935 :
38936
38937 fi
38938 done
38939
38940 if test "$wx_cv_func_uname" != yes; then
38941
38942 for wx_func in gethostname
38943 do
38944 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38945 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38946 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38947 echo $ECHO_N "(cached) $ECHO_C" >&6
38948 else
38949
38950 cat >conftest.$ac_ext <<_ACEOF
38951
38952 /* confdefs.h. */
38953 _ACEOF
38954 cat confdefs.h >>conftest.$ac_ext
38955 cat >>conftest.$ac_ext <<_ACEOF
38956 /* end confdefs.h. */
38957
38958
38959 $ac_includes_default
38960
38961 int
38962 main ()
38963 {
38964
38965 #ifndef $wx_func
38966 &$wx_func;
38967 #endif
38968
38969
38970 ;
38971 return 0;
38972 }
38973
38974 _ACEOF
38975 rm -f conftest.$ac_objext conftest$ac_exeext
38976 if { (ac_try="$ac_link"
38977 case "(($ac_try" in
38978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38979 *) ac_try_echo=$ac_try;;
38980 esac
38981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38982 (eval "$ac_link") 2>conftest.er1
38983 ac_status=$?
38984 grep -v '^ *+' conftest.er1 >conftest.err
38985 rm -f conftest.er1
38986 cat conftest.err >&5
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); } && {
38989 test -z "$ac_c_werror_flag" ||
38990 test ! -s conftest.err
38991 } && test -s conftest$ac_exeext &&
38992 $as_test_x conftest$ac_exeext; then
38993 eval wx_cv_func_$wx_func=yes
38994 else
38995 echo "$as_me: failed program was:" >&5
38996 sed 's/^/| /' conftest.$ac_ext >&5
38997
38998 eval wx_cv_func_$wx_func=no
38999 fi
39000
39001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39002 conftest$ac_exeext conftest.$ac_ext
39003
39004 fi
39005 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39006 { echo "$as_me:$LINENO: result: $ac_res" >&5
39007 echo "${ECHO_T}$ac_res" >&6; }
39008
39009 if eval test \$wx_cv_func_$wx_func = yes
39010 then
39011 cat >>confdefs.h <<_ACEOF
39012 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39013 _ACEOF
39014
39015
39016 else
39017 :
39018
39019 fi
39020 done
39021
39022 fi
39023
39024
39025 for wx_func in strtok_r
39026 do
39027 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39028 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39029 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39030 echo $ECHO_N "(cached) $ECHO_C" >&6
39031 else
39032
39033 cat >conftest.$ac_ext <<_ACEOF
39034
39035 /* confdefs.h. */
39036 _ACEOF
39037 cat confdefs.h >>conftest.$ac_ext
39038 cat >>conftest.$ac_ext <<_ACEOF
39039 /* end confdefs.h. */
39040
39041 #define _REENTRANT
39042 $ac_includes_default
39043
39044 int
39045 main ()
39046 {
39047
39048 #ifndef $wx_func
39049 &$wx_func;
39050 #endif
39051
39052
39053 ;
39054 return 0;
39055 }
39056
39057 _ACEOF
39058 rm -f conftest.$ac_objext conftest$ac_exeext
39059 if { (ac_try="$ac_link"
39060 case "(($ac_try" in
39061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39062 *) ac_try_echo=$ac_try;;
39063 esac
39064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39065 (eval "$ac_link") 2>conftest.er1
39066 ac_status=$?
39067 grep -v '^ *+' conftest.er1 >conftest.err
39068 rm -f conftest.er1
39069 cat conftest.err >&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); } && {
39072 test -z "$ac_c_werror_flag" ||
39073 test ! -s conftest.err
39074 } && test -s conftest$ac_exeext &&
39075 $as_test_x conftest$ac_exeext; then
39076 eval wx_cv_func_$wx_func=yes
39077 else
39078 echo "$as_me: failed program was:" >&5
39079 sed 's/^/| /' conftest.$ac_ext >&5
39080
39081 eval wx_cv_func_$wx_func=no
39082 fi
39083
39084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39085 conftest$ac_exeext conftest.$ac_ext
39086
39087 fi
39088 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39089 { echo "$as_me:$LINENO: result: $ac_res" >&5
39090 echo "${ECHO_T}$ac_res" >&6; }
39091
39092 if eval test \$wx_cv_func_$wx_func = yes
39093 then
39094 cat >>confdefs.h <<_ACEOF
39095 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39096 _ACEOF
39097
39098
39099 else
39100 :
39101
39102 fi
39103 done
39104
39105
39106 INET_LINK=
39107
39108 for ac_func in inet_addr
39109 do
39110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 else
39116 cat >conftest.$ac_ext <<_ACEOF
39117 /* confdefs.h. */
39118 _ACEOF
39119 cat confdefs.h >>conftest.$ac_ext
39120 cat >>conftest.$ac_ext <<_ACEOF
39121 /* end confdefs.h. */
39122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39124 #define $ac_func innocuous_$ac_func
39125
39126 /* System header to define __stub macros and hopefully few prototypes,
39127 which can conflict with char $ac_func (); below.
39128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39129 <limits.h> exists even on freestanding compilers. */
39130
39131 #ifdef __STDC__
39132 # include <limits.h>
39133 #else
39134 # include <assert.h>
39135 #endif
39136
39137 #undef $ac_func
39138
39139 /* Override any GCC internal prototype to avoid an error.
39140 Use char because int might match the return type of a GCC
39141 builtin and then its argument prototype would still apply. */
39142 #ifdef __cplusplus
39143 extern "C"
39144 #endif
39145 char $ac_func ();
39146 /* The GNU C library defines this for functions which it implements
39147 to always fail with ENOSYS. Some functions are actually named
39148 something starting with __ and the normal name is an alias. */
39149 #if defined __stub_$ac_func || defined __stub___$ac_func
39150 choke me
39151 #endif
39152
39153 int
39154 main ()
39155 {
39156 return $ac_func ();
39157 ;
39158 return 0;
39159 }
39160 _ACEOF
39161 rm -f conftest.$ac_objext conftest$ac_exeext
39162 if { (ac_try="$ac_link"
39163 case "(($ac_try" in
39164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39165 *) ac_try_echo=$ac_try;;
39166 esac
39167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39168 (eval "$ac_link") 2>conftest.er1
39169 ac_status=$?
39170 grep -v '^ *+' conftest.er1 >conftest.err
39171 rm -f conftest.er1
39172 cat conftest.err >&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } && {
39175 test -z "$ac_c_werror_flag" ||
39176 test ! -s conftest.err
39177 } && test -s conftest$ac_exeext &&
39178 $as_test_x conftest$ac_exeext; then
39179 eval "$as_ac_var=yes"
39180 else
39181 echo "$as_me: failed program was:" >&5
39182 sed 's/^/| /' conftest.$ac_ext >&5
39183
39184 eval "$as_ac_var=no"
39185 fi
39186
39187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39188 conftest$ac_exeext conftest.$ac_ext
39189 fi
39190 ac_res=`eval echo '${'$as_ac_var'}'`
39191 { echo "$as_me:$LINENO: result: $ac_res" >&5
39192 echo "${ECHO_T}$ac_res" >&6; }
39193 if test `eval echo '${'$as_ac_var'}'` = yes; then
39194 cat >>confdefs.h <<_ACEOF
39195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39196 _ACEOF
39197 cat >>confdefs.h <<\_ACEOF
39198 #define HAVE_INET_ADDR 1
39199 _ACEOF
39200
39201 else
39202
39203 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39204 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39205 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 else
39208 ac_check_lib_save_LIBS=$LIBS
39209 LIBS="-lnsl $LIBS"
39210 cat >conftest.$ac_ext <<_ACEOF
39211 /* confdefs.h. */
39212 _ACEOF
39213 cat confdefs.h >>conftest.$ac_ext
39214 cat >>conftest.$ac_ext <<_ACEOF
39215 /* end confdefs.h. */
39216
39217 /* Override any GCC internal prototype to avoid an error.
39218 Use char because int might match the return type of a GCC
39219 builtin and then its argument prototype would still apply. */
39220 #ifdef __cplusplus
39221 extern "C"
39222 #endif
39223 char inet_addr ();
39224 int
39225 main ()
39226 {
39227 return inet_addr ();
39228 ;
39229 return 0;
39230 }
39231 _ACEOF
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (ac_try="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39237 esac
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest$ac_exeext &&
39249 $as_test_x conftest$ac_exeext; then
39250 ac_cv_lib_nsl_inet_addr=yes
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39254
39255 ac_cv_lib_nsl_inet_addr=no
39256 fi
39257
39258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39259 conftest$ac_exeext conftest.$ac_ext
39260 LIBS=$ac_check_lib_save_LIBS
39261 fi
39262 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39263 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39264 if test $ac_cv_lib_nsl_inet_addr = yes; then
39265 INET_LINK="nsl"
39266 else
39267
39268 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39269 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39270 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39272 else
39273 ac_check_lib_save_LIBS=$LIBS
39274 LIBS="-lresolv $LIBS"
39275 cat >conftest.$ac_ext <<_ACEOF
39276 /* confdefs.h. */
39277 _ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281
39282 /* Override any GCC internal prototype to avoid an error.
39283 Use char because int might match the return type of a GCC
39284 builtin and then its argument prototype would still apply. */
39285 #ifdef __cplusplus
39286 extern "C"
39287 #endif
39288 char inet_addr ();
39289 int
39290 main ()
39291 {
39292 return inet_addr ();
39293 ;
39294 return 0;
39295 }
39296 _ACEOF
39297 rm -f conftest.$ac_objext conftest$ac_exeext
39298 if { (ac_try="$ac_link"
39299 case "(($ac_try" in
39300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39301 *) ac_try_echo=$ac_try;;
39302 esac
39303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39304 (eval "$ac_link") 2>conftest.er1
39305 ac_status=$?
39306 grep -v '^ *+' conftest.er1 >conftest.err
39307 rm -f conftest.er1
39308 cat conftest.err >&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); } && {
39311 test -z "$ac_c_werror_flag" ||
39312 test ! -s conftest.err
39313 } && test -s conftest$ac_exeext &&
39314 $as_test_x conftest$ac_exeext; then
39315 ac_cv_lib_resolv_inet_addr=yes
39316 else
39317 echo "$as_me: failed program was:" >&5
39318 sed 's/^/| /' conftest.$ac_ext >&5
39319
39320 ac_cv_lib_resolv_inet_addr=no
39321 fi
39322
39323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39324 conftest$ac_exeext conftest.$ac_ext
39325 LIBS=$ac_check_lib_save_LIBS
39326 fi
39327 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39328 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39329 if test $ac_cv_lib_resolv_inet_addr = yes; then
39330 INET_LINK="resolv"
39331 else
39332
39333 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39334 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39335 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39336 echo $ECHO_N "(cached) $ECHO_C" >&6
39337 else
39338 ac_check_lib_save_LIBS=$LIBS
39339 LIBS="-lsocket $LIBS"
39340 cat >conftest.$ac_ext <<_ACEOF
39341 /* confdefs.h. */
39342 _ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39346
39347 /* Override any GCC internal prototype to avoid an error.
39348 Use char because int might match the return type of a GCC
39349 builtin and then its argument prototype would still apply. */
39350 #ifdef __cplusplus
39351 extern "C"
39352 #endif
39353 char inet_addr ();
39354 int
39355 main ()
39356 {
39357 return inet_addr ();
39358 ;
39359 return 0;
39360 }
39361 _ACEOF
39362 rm -f conftest.$ac_objext conftest$ac_exeext
39363 if { (ac_try="$ac_link"
39364 case "(($ac_try" in
39365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39366 *) ac_try_echo=$ac_try;;
39367 esac
39368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39369 (eval "$ac_link") 2>conftest.er1
39370 ac_status=$?
39371 grep -v '^ *+' conftest.er1 >conftest.err
39372 rm -f conftest.er1
39373 cat conftest.err >&5
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); } && {
39376 test -z "$ac_c_werror_flag" ||
39377 test ! -s conftest.err
39378 } && test -s conftest$ac_exeext &&
39379 $as_test_x conftest$ac_exeext; then
39380 ac_cv_lib_socket_inet_addr=yes
39381 else
39382 echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39384
39385 ac_cv_lib_socket_inet_addr=no
39386 fi
39387
39388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39389 conftest$ac_exeext conftest.$ac_ext
39390 LIBS=$ac_check_lib_save_LIBS
39391 fi
39392 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39393 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39394 if test $ac_cv_lib_socket_inet_addr = yes; then
39395 INET_LINK="socket"
39396
39397 fi
39398
39399
39400
39401 fi
39402
39403
39404
39405 fi
39406
39407
39408
39409 fi
39410 done
39411
39412
39413
39414 for ac_func in inet_aton
39415 do
39416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39420 echo $ECHO_N "(cached) $ECHO_C" >&6
39421 else
39422 cat >conftest.$ac_ext <<_ACEOF
39423 /* confdefs.h. */
39424 _ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39430 #define $ac_func innocuous_$ac_func
39431
39432 /* System header to define __stub macros and hopefully few prototypes,
39433 which can conflict with char $ac_func (); below.
39434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39435 <limits.h> exists even on freestanding compilers. */
39436
39437 #ifdef __STDC__
39438 # include <limits.h>
39439 #else
39440 # include <assert.h>
39441 #endif
39442
39443 #undef $ac_func
39444
39445 /* Override any GCC internal prototype to avoid an error.
39446 Use char because int might match the return type of a GCC
39447 builtin and then its argument prototype would still apply. */
39448 #ifdef __cplusplus
39449 extern "C"
39450 #endif
39451 char $ac_func ();
39452 /* The GNU C library defines this for functions which it implements
39453 to always fail with ENOSYS. Some functions are actually named
39454 something starting with __ and the normal name is an alias. */
39455 #if defined __stub_$ac_func || defined __stub___$ac_func
39456 choke me
39457 #endif
39458
39459 int
39460 main ()
39461 {
39462 return $ac_func ();
39463 ;
39464 return 0;
39465 }
39466 _ACEOF
39467 rm -f conftest.$ac_objext conftest$ac_exeext
39468 if { (ac_try="$ac_link"
39469 case "(($ac_try" in
39470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39471 *) ac_try_echo=$ac_try;;
39472 esac
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_link") 2>conftest.er1
39475 ac_status=$?
39476 grep -v '^ *+' conftest.er1 >conftest.err
39477 rm -f conftest.er1
39478 cat conftest.err >&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } && {
39481 test -z "$ac_c_werror_flag" ||
39482 test ! -s conftest.err
39483 } && test -s conftest$ac_exeext &&
39484 $as_test_x conftest$ac_exeext; then
39485 eval "$as_ac_var=yes"
39486 else
39487 echo "$as_me: failed program was:" >&5
39488 sed 's/^/| /' conftest.$ac_ext >&5
39489
39490 eval "$as_ac_var=no"
39491 fi
39492
39493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39494 conftest$ac_exeext conftest.$ac_ext
39495 fi
39496 ac_res=`eval echo '${'$as_ac_var'}'`
39497 { echo "$as_me:$LINENO: result: $ac_res" >&5
39498 echo "${ECHO_T}$ac_res" >&6; }
39499 if test `eval echo '${'$as_ac_var'}'` = yes; then
39500 cat >>confdefs.h <<_ACEOF
39501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39502 _ACEOF
39503 cat >>confdefs.h <<\_ACEOF
39504 #define HAVE_INET_ATON 1
39505 _ACEOF
39506
39507 else
39508
39509 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39510 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39511 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39512 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39513 echo $ECHO_N "(cached) $ECHO_C" >&6
39514 else
39515 ac_check_lib_save_LIBS=$LIBS
39516 LIBS="-l$INET_LINK $LIBS"
39517 cat >conftest.$ac_ext <<_ACEOF
39518 /* confdefs.h. */
39519 _ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39523
39524 /* Override any GCC internal prototype to avoid an error.
39525 Use char because int might match the return type of a GCC
39526 builtin and then its argument prototype would still apply. */
39527 #ifdef __cplusplus
39528 extern "C"
39529 #endif
39530 char inet_aton ();
39531 int
39532 main ()
39533 {
39534 return inet_aton ();
39535 ;
39536 return 0;
39537 }
39538 _ACEOF
39539 rm -f conftest.$ac_objext conftest$ac_exeext
39540 if { (ac_try="$ac_link"
39541 case "(($ac_try" in
39542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39543 *) ac_try_echo=$ac_try;;
39544 esac
39545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39546 (eval "$ac_link") 2>conftest.er1
39547 ac_status=$?
39548 grep -v '^ *+' conftest.er1 >conftest.err
39549 rm -f conftest.er1
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } && {
39553 test -z "$ac_c_werror_flag" ||
39554 test ! -s conftest.err
39555 } && test -s conftest$ac_exeext &&
39556 $as_test_x conftest$ac_exeext; then
39557 eval "$as_ac_Lib=yes"
39558 else
39559 echo "$as_me: failed program was:" >&5
39560 sed 's/^/| /' conftest.$ac_ext >&5
39561
39562 eval "$as_ac_Lib=no"
39563 fi
39564
39565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39566 conftest$ac_exeext conftest.$ac_ext
39567 LIBS=$ac_check_lib_save_LIBS
39568 fi
39569 ac_res=`eval echo '${'$as_ac_Lib'}'`
39570 { echo "$as_me:$LINENO: result: $ac_res" >&5
39571 echo "${ECHO_T}$ac_res" >&6; }
39572 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39573 cat >>confdefs.h <<\_ACEOF
39574 #define HAVE_INET_ATON 1
39575 _ACEOF
39576
39577 fi
39578
39579
39580 fi
39581 done
39582
39583
39584 if test "x$INET_LINK" != "x"; then
39585 cat >>confdefs.h <<\_ACEOF
39586 #define HAVE_INET_ADDR 1
39587 _ACEOF
39588
39589 INET_LINK=" -l$INET_LINK"
39590 fi
39591
39592
39593 for wx_func in fdopen
39594 do
39595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39597 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39598 echo $ECHO_N "(cached) $ECHO_C" >&6
39599 else
39600
39601 cat >conftest.$ac_ext <<_ACEOF
39602
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608
39609
39610 $ac_includes_default
39611
39612 int
39613 main ()
39614 {
39615
39616 #ifndef $wx_func
39617 &$wx_func;
39618 #endif
39619
39620
39621 ;
39622 return 0;
39623 }
39624
39625 _ACEOF
39626 rm -f conftest.$ac_objext conftest$ac_exeext
39627 if { (ac_try="$ac_link"
39628 case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39631 esac
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_link") 2>conftest.er1
39634 ac_status=$?
39635 grep -v '^ *+' conftest.er1 >conftest.err
39636 rm -f conftest.er1
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } && {
39640 test -z "$ac_c_werror_flag" ||
39641 test ! -s conftest.err
39642 } && test -s conftest$ac_exeext &&
39643 $as_test_x conftest$ac_exeext; then
39644 eval wx_cv_func_$wx_func=yes
39645 else
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39648
39649 eval wx_cv_func_$wx_func=no
39650 fi
39651
39652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39653 conftest$ac_exeext conftest.$ac_ext
39654
39655 fi
39656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39657 { echo "$as_me:$LINENO: result: $ac_res" >&5
39658 echo "${ECHO_T}$ac_res" >&6; }
39659
39660 if eval test \$wx_cv_func_$wx_func = yes
39661 then
39662 cat >>confdefs.h <<_ACEOF
39663 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39664 _ACEOF
39665
39666
39667 else
39668 :
39669
39670 fi
39671 done
39672
39673
39674 if test "$wxUSE_TARSTREAM" = "yes"; then
39675
39676 for wx_func in sysconf
39677 do
39678 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39679 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39680 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39682 else
39683
39684 cat >conftest.$ac_ext <<_ACEOF
39685
39686 /* confdefs.h. */
39687 _ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39691
39692
39693 $ac_includes_default
39694
39695 int
39696 main ()
39697 {
39698
39699 #ifndef $wx_func
39700 &$wx_func;
39701 #endif
39702
39703
39704 ;
39705 return 0;
39706 }
39707
39708 _ACEOF
39709 rm -f conftest.$ac_objext conftest$ac_exeext
39710 if { (ac_try="$ac_link"
39711 case "(($ac_try" in
39712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39713 *) ac_try_echo=$ac_try;;
39714 esac
39715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39716 (eval "$ac_link") 2>conftest.er1
39717 ac_status=$?
39718 grep -v '^ *+' conftest.er1 >conftest.err
39719 rm -f conftest.er1
39720 cat conftest.err >&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } && {
39723 test -z "$ac_c_werror_flag" ||
39724 test ! -s conftest.err
39725 } && test -s conftest$ac_exeext &&
39726 $as_test_x conftest$ac_exeext; then
39727 eval wx_cv_func_$wx_func=yes
39728 else
39729 echo "$as_me: failed program was:" >&5
39730 sed 's/^/| /' conftest.$ac_ext >&5
39731
39732 eval wx_cv_func_$wx_func=no
39733 fi
39734
39735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39736 conftest$ac_exeext conftest.$ac_ext
39737
39738 fi
39739 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39740 { echo "$as_me:$LINENO: result: $ac_res" >&5
39741 echo "${ECHO_T}$ac_res" >&6; }
39742
39743 if eval test \$wx_cv_func_$wx_func = yes
39744 then
39745 cat >>confdefs.h <<_ACEOF
39746 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39747 _ACEOF
39748
39749
39750 else
39751 :
39752
39753 fi
39754 done
39755
39756
39757
39758 for wx_func in getpwuid_r
39759 do
39760 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39762 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39764 else
39765
39766 cat >conftest.$ac_ext <<_ACEOF
39767
39768 /* confdefs.h. */
39769 _ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773
39774
39775 #define _REENTRANT
39776 #include <pwd.h>
39777
39778 $ac_includes_default
39779
39780 int
39781 main ()
39782 {
39783
39784 #ifndef $wx_func
39785 &$wx_func;
39786 #endif
39787
39788 struct passwd pw, *ppw;
39789 char buf[1024];
39790 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39791
39792
39793 ;
39794 return 0;
39795 }
39796
39797 _ACEOF
39798 rm -f conftest.$ac_objext conftest$ac_exeext
39799 if { (ac_try="$ac_link"
39800 case "(($ac_try" in
39801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39802 *) ac_try_echo=$ac_try;;
39803 esac
39804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39805 (eval "$ac_link") 2>conftest.er1
39806 ac_status=$?
39807 grep -v '^ *+' conftest.er1 >conftest.err
39808 rm -f conftest.er1
39809 cat conftest.err >&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } && {
39812 test -z "$ac_c_werror_flag" ||
39813 test ! -s conftest.err
39814 } && test -s conftest$ac_exeext &&
39815 $as_test_x conftest$ac_exeext; then
39816 eval wx_cv_func_$wx_func=yes
39817 else
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.$ac_ext >&5
39820
39821 eval wx_cv_func_$wx_func=no
39822 fi
39823
39824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39825 conftest$ac_exeext conftest.$ac_ext
39826
39827 fi
39828 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39829 { echo "$as_me:$LINENO: result: $ac_res" >&5
39830 echo "${ECHO_T}$ac_res" >&6; }
39831
39832 if eval test \$wx_cv_func_$wx_func = yes
39833 then
39834 cat >>confdefs.h <<_ACEOF
39835 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39836 _ACEOF
39837
39838
39839 else
39840 :
39841
39842 fi
39843 done
39844
39845
39846
39847 for wx_func in getgrgid_r
39848 do
39849 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39850 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39851 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39852 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 else
39854
39855 cat >conftest.$ac_ext <<_ACEOF
39856
39857 /* confdefs.h. */
39858 _ACEOF
39859 cat confdefs.h >>conftest.$ac_ext
39860 cat >>conftest.$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39862
39863
39864 #define _REENTRANT
39865 #include <grp.h>
39866
39867 $ac_includes_default
39868
39869 int
39870 main ()
39871 {
39872
39873 #ifndef $wx_func
39874 &$wx_func;
39875 #endif
39876
39877 struct group grp, *pgrp;
39878 char buf[1024];
39879 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39880
39881
39882 ;
39883 return 0;
39884 }
39885
39886 _ACEOF
39887 rm -f conftest.$ac_objext conftest$ac_exeext
39888 if { (ac_try="$ac_link"
39889 case "(($ac_try" in
39890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39891 *) ac_try_echo=$ac_try;;
39892 esac
39893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39894 (eval "$ac_link") 2>conftest.er1
39895 ac_status=$?
39896 grep -v '^ *+' conftest.er1 >conftest.err
39897 rm -f conftest.er1
39898 cat conftest.err >&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } && {
39901 test -z "$ac_c_werror_flag" ||
39902 test ! -s conftest.err
39903 } && test -s conftest$ac_exeext &&
39904 $as_test_x conftest$ac_exeext; then
39905 eval wx_cv_func_$wx_func=yes
39906 else
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.$ac_ext >&5
39909
39910 eval wx_cv_func_$wx_func=no
39911 fi
39912
39913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39914 conftest$ac_exeext conftest.$ac_ext
39915
39916 fi
39917 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39918 { echo "$as_me:$LINENO: result: $ac_res" >&5
39919 echo "${ECHO_T}$ac_res" >&6; }
39920
39921 if eval test \$wx_cv_func_$wx_func = yes
39922 then
39923 cat >>confdefs.h <<_ACEOF
39924 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39925 _ACEOF
39926
39927
39928 else
39929 :
39930
39931 fi
39932 done
39933
39934 fi
39935
39936 fi
39937
39938
39939
39940 cat >confcache <<\_ACEOF
39941 # This file is a shell script that caches the results of configure
39942 # tests run on this system so they can be shared between configure
39943 # scripts and configure runs, see configure's option --config-cache.
39944 # It is not useful on other systems. If it contains results you don't
39945 # want to keep, you may remove or edit it.
39946 #
39947 # config.status only pays attention to the cache file if you give it
39948 # the --recheck option to rerun configure.
39949 #
39950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39952 # following values.
39953
39954 _ACEOF
39955
39956 # The following way of writing the cache mishandles newlines in values,
39957 # but we know of no workaround that is simple, portable, and efficient.
39958 # So, we kill variables containing newlines.
39959 # Ultrix sh set writes to stderr and can't be redirected directly,
39960 # and sets the high bit in the cache file unless we assign to the vars.
39961 (
39962 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39963 eval ac_val=\$$ac_var
39964 case $ac_val in #(
39965 *${as_nl}*)
39966 case $ac_var in #(
39967 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39968 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39969 esac
39970 case $ac_var in #(
39971 _ | IFS | as_nl) ;; #(
39972 *) $as_unset $ac_var ;;
39973 esac ;;
39974 esac
39975 done
39976
39977 (set) 2>&1 |
39978 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39979 *${as_nl}ac_space=\ *)
39980 # `set' does not quote correctly, so add quotes (double-quote
39981 # substitution turns \\\\ into \\, and sed turns \\ into \).
39982 sed -n \
39983 "s/'/'\\\\''/g;
39984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39985 ;; #(
39986 *)
39987 # `set' quotes correctly as required by POSIX, so do not add quotes.
39988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39989 ;;
39990 esac |
39991 sort
39992 ) |
39993 sed '
39994 /^ac_cv_env_/b end
39995 t clear
39996 :clear
39997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39998 t end
39999 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40000 :end' >>confcache
40001 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40002 if test -w "$cache_file"; then
40003 test "x$cache_file" != "x/dev/null" &&
40004 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40005 echo "$as_me: updating cache $cache_file" >&6;}
40006 cat confcache >$cache_file
40007 else
40008 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40009 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40010 fi
40011 fi
40012 rm -f confcache
40013
40014
40015 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40016
40017
40018 THREADS_LINK=
40019 THREADS_CFLAGS=
40020
40021 if test "$wxUSE_THREADS" = "yes" ; then
40022 if test "$USE_BEOS" = 1; then
40023 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40024 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40025 wxUSE_THREADS="no"
40026 fi
40027 fi
40028
40029 if test "$wxUSE_THREADS" = "yes" ; then
40030
40031
40032 THREAD_OPTS="-pthread"
40033 if test "x$SUNCXX" = xyes; then
40034 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40035 fi
40036
40037 case "${host}" in
40038 *-*-solaris2* | *-*-sunos4* )
40039 if test "x$GCC" = "xyes"; then
40040 THREAD_OPTS="-pthreads $THREAD_OPTS"
40041 fi
40042 ;;
40043 *-*-freebsd*)
40044 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40045 ;;
40046 *-*-darwin* | *-*-cygwin* )
40047 THREAD_OPTS=""
40048 ;;
40049 *-*-aix*)
40050 THREAD_OPTS="pthreads"
40051 ;;
40052 *-hp-hpux* )
40053 if test "x$GCC" = "xyes"; then
40054 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40055 THREAD_OPTS=""
40056 else
40057 THREAD_OPTS="-mt"
40058 fi
40059 ;;
40060
40061 *-*-irix* )
40062 if test "x$GCC" = "xyes"; then
40063 THREAD_OPTS=""
40064 fi
40065 ;;
40066
40067 *-*-qnx*)
40068 THREAD_OPTS=""
40069 ;;
40070
40071 *-*-*UnixWare*)
40072 if test "x$GCC" != "xyes"; then
40073 THREAD_OPTS="-Ethread"
40074 fi
40075 ;;
40076 esac
40077
40078 case "${host}" in
40079 *-*-qnx*)
40080 THREAD_OPTS="none pthread"
40081 ;;
40082
40083 *)
40084 THREAD_OPTS="$THREAD_OPTS pthread none"
40085 ;;
40086 esac
40087
40088 THREADS_OK=no
40089 for flag in $THREAD_OPTS; do
40090 case $flag in
40091 none)
40092 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40093 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40094 ;;
40095
40096 -*)
40097 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40098 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40099 THREADS_CFLAGS="$flag"
40100 ;;
40101
40102 *)
40103 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40104 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40105 THREADS_LINK="-l$flag"
40106 ;;
40107 esac
40108
40109 save_LIBS="$LIBS"
40110 save_CFLAGS="$CFLAGS"
40111 LIBS="$THREADS_LINK $LIBS"
40112 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40113
40114 cat >conftest.$ac_ext <<_ACEOF
40115 /* confdefs.h. */
40116 _ACEOF
40117 cat confdefs.h >>conftest.$ac_ext
40118 cat >>conftest.$ac_ext <<_ACEOF
40119 /* end confdefs.h. */
40120 #include <pthread.h>
40121 int
40122 main ()
40123 {
40124 pthread_create(0,0,0,0);
40125 ;
40126 return 0;
40127 }
40128 _ACEOF
40129 rm -f conftest.$ac_objext conftest$ac_exeext
40130 if { (ac_try="$ac_link"
40131 case "(($ac_try" in
40132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40133 *) ac_try_echo=$ac_try;;
40134 esac
40135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40136 (eval "$ac_link") 2>conftest.er1
40137 ac_status=$?
40138 grep -v '^ *+' conftest.er1 >conftest.err
40139 rm -f conftest.er1
40140 cat conftest.err >&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } && {
40143 test -z "$ac_c_werror_flag" ||
40144 test ! -s conftest.err
40145 } && test -s conftest$ac_exeext &&
40146 $as_test_x conftest$ac_exeext; then
40147 THREADS_OK=yes
40148 else
40149 echo "$as_me: failed program was:" >&5
40150 sed 's/^/| /' conftest.$ac_ext >&5
40151
40152
40153 fi
40154
40155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40156 conftest$ac_exeext conftest.$ac_ext
40157
40158 LIBS="$save_LIBS"
40159 CFLAGS="$save_CFLAGS"
40160
40161 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40162 echo "${ECHO_T}$THREADS_OK" >&6; }
40163 if test "x$THREADS_OK" = "xyes"; then
40164 break;
40165 fi
40166
40167 THREADS_LINK=""
40168 THREADS_CFLAGS=""
40169 done
40170
40171 if test "x$THREADS_OK" != "xyes"; then
40172 wxUSE_THREADS=no
40173 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40174 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40175 else
40176 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40177 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40178 LIBS="$THREADS_LINK $LIBS"
40179
40180 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40181 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40182 flag=no
40183 case "${host}" in
40184 *-aix*)
40185 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40186 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40187 flag="-D_THREAD_SAFE"
40188 ;;
40189 *-freebsd*)
40190 flag="-D_THREAD_SAFE"
40191 ;;
40192 *-hp-hpux* )
40193 flag="-D_REENTRANT"
40194 if test "x$GCC" != "xyes"; then
40195 flag="$flag -D_RWSTD_MULTI_THREAD"
40196 fi
40197 ;;
40198 *solaris* | alpha*-osf*)
40199 flag="-D_REENTRANT"
40200 ;;
40201 esac
40202 { echo "$as_me:$LINENO: result: ${flag}" >&5
40203 echo "${ECHO_T}${flag}" >&6; }
40204 if test "x$flag" != xno; then
40205 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40206 fi
40207
40208 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40209 fi
40210 fi
40211
40212 if test "$wxUSE_THREADS" = "yes" ; then
40213
40214 for ac_func in thr_setconcurrency
40215 do
40216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40220 echo $ECHO_N "(cached) $ECHO_C" >&6
40221 else
40222 cat >conftest.$ac_ext <<_ACEOF
40223 /* confdefs.h. */
40224 _ACEOF
40225 cat confdefs.h >>conftest.$ac_ext
40226 cat >>conftest.$ac_ext <<_ACEOF
40227 /* end confdefs.h. */
40228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40230 #define $ac_func innocuous_$ac_func
40231
40232 /* System header to define __stub macros and hopefully few prototypes,
40233 which can conflict with char $ac_func (); below.
40234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40235 <limits.h> exists even on freestanding compilers. */
40236
40237 #ifdef __STDC__
40238 # include <limits.h>
40239 #else
40240 # include <assert.h>
40241 #endif
40242
40243 #undef $ac_func
40244
40245 /* Override any GCC internal prototype to avoid an error.
40246 Use char because int might match the return type of a GCC
40247 builtin and then its argument prototype would still apply. */
40248 #ifdef __cplusplus
40249 extern "C"
40250 #endif
40251 char $ac_func ();
40252 /* The GNU C library defines this for functions which it implements
40253 to always fail with ENOSYS. Some functions are actually named
40254 something starting with __ and the normal name is an alias. */
40255 #if defined __stub_$ac_func || defined __stub___$ac_func
40256 choke me
40257 #endif
40258
40259 int
40260 main ()
40261 {
40262 return $ac_func ();
40263 ;
40264 return 0;
40265 }
40266 _ACEOF
40267 rm -f conftest.$ac_objext conftest$ac_exeext
40268 if { (ac_try="$ac_link"
40269 case "(($ac_try" in
40270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40271 *) ac_try_echo=$ac_try;;
40272 esac
40273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40274 (eval "$ac_link") 2>conftest.er1
40275 ac_status=$?
40276 grep -v '^ *+' conftest.er1 >conftest.err
40277 rm -f conftest.er1
40278 cat conftest.err >&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } && {
40281 test -z "$ac_c_werror_flag" ||
40282 test ! -s conftest.err
40283 } && test -s conftest$ac_exeext &&
40284 $as_test_x conftest$ac_exeext; then
40285 eval "$as_ac_var=yes"
40286 else
40287 echo "$as_me: failed program was:" >&5
40288 sed 's/^/| /' conftest.$ac_ext >&5
40289
40290 eval "$as_ac_var=no"
40291 fi
40292
40293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40294 conftest$ac_exeext conftest.$ac_ext
40295 fi
40296 ac_res=`eval echo '${'$as_ac_var'}'`
40297 { echo "$as_me:$LINENO: result: $ac_res" >&5
40298 echo "${ECHO_T}$ac_res" >&6; }
40299 if test `eval echo '${'$as_ac_var'}'` = yes; then
40300 cat >>confdefs.h <<_ACEOF
40301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40302 _ACEOF
40303
40304 fi
40305 done
40306
40307
40308 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40309 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40310 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40311 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 else
40313
40314 ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319
40320 cat >conftest.$ac_ext <<_ACEOF
40321 /* confdefs.h. */
40322 _ACEOF
40323 cat confdefs.h >>conftest.$ac_ext
40324 cat >>conftest.$ac_ext <<_ACEOF
40325 /* end confdefs.h. */
40326 #include <pthread.h>
40327 void ThreadCleanupFunc(void *p);
40328
40329 int
40330 main ()
40331 {
40332
40333 void *p;
40334 pthread_cleanup_push(ThreadCleanupFunc, p);
40335 pthread_cleanup_pop(0);
40336
40337 ;
40338 return 0;
40339 }
40340 _ACEOF
40341 rm -f conftest.$ac_objext
40342 if { (ac_try="$ac_compile"
40343 case "(($ac_try" in
40344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40345 *) ac_try_echo=$ac_try;;
40346 esac
40347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40348 (eval "$ac_compile") 2>conftest.er1
40349 ac_status=$?
40350 grep -v '^ *+' conftest.er1 >conftest.err
40351 rm -f conftest.er1
40352 cat conftest.err >&5
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); } && {
40355 test -z "$ac_cxx_werror_flag" ||
40356 test ! -s conftest.err
40357 } && test -s conftest.$ac_objext; then
40358
40359 wx_cv_func_pthread_cleanup=yes
40360
40361 else
40362 echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40364
40365
40366 wx_cv_func_pthread_cleanup=no
40367
40368
40369 fi
40370
40371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40372 ac_ext=c
40373 ac_cpp='$CPP $CPPFLAGS'
40374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40377
40378
40379 fi
40380 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40381 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40382 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40383 cat >>confdefs.h <<\_ACEOF
40384 #define wxHAVE_PTHREAD_CLEANUP 1
40385 _ACEOF
40386
40387 fi
40388
40389
40390 for ac_header in sched.h
40391 do
40392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40393 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40396 echo $ECHO_N "(cached) $ECHO_C" >&6
40397 else
40398 cat >conftest.$ac_ext <<_ACEOF
40399 /* confdefs.h. */
40400 _ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40404 $ac_includes_default
40405
40406 #include <$ac_header>
40407 _ACEOF
40408 rm -f conftest.$ac_objext
40409 if { (ac_try="$ac_compile"
40410 case "(($ac_try" in
40411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40412 *) ac_try_echo=$ac_try;;
40413 esac
40414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40415 (eval "$ac_compile") 2>conftest.er1
40416 ac_status=$?
40417 grep -v '^ *+' conftest.er1 >conftest.err
40418 rm -f conftest.er1
40419 cat conftest.err >&5
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); } && {
40422 test -z "$ac_c_werror_flag" ||
40423 test ! -s conftest.err
40424 } && test -s conftest.$ac_objext; then
40425 eval "$as_ac_Header=yes"
40426 else
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.$ac_ext >&5
40429
40430 eval "$as_ac_Header=no"
40431 fi
40432
40433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40434 fi
40435 ac_res=`eval echo '${'$as_ac_Header'}'`
40436 { echo "$as_me:$LINENO: result: $ac_res" >&5
40437 echo "${ECHO_T}$ac_res" >&6; }
40438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40439 cat >>confdefs.h <<_ACEOF
40440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40441 _ACEOF
40442
40443 fi
40444
40445 done
40446
40447 if test "$ac_cv_header_sched_h" = "yes"; then
40448 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40449 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40450 if test "${ac_cv_func_sched_yield+set}" = set; then
40451 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 else
40453 cat >conftest.$ac_ext <<_ACEOF
40454 /* confdefs.h. */
40455 _ACEOF
40456 cat confdefs.h >>conftest.$ac_ext
40457 cat >>conftest.$ac_ext <<_ACEOF
40458 /* end confdefs.h. */
40459 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40461 #define sched_yield innocuous_sched_yield
40462
40463 /* System header to define __stub macros and hopefully few prototypes,
40464 which can conflict with char sched_yield (); below.
40465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40466 <limits.h> exists even on freestanding compilers. */
40467
40468 #ifdef __STDC__
40469 # include <limits.h>
40470 #else
40471 # include <assert.h>
40472 #endif
40473
40474 #undef sched_yield
40475
40476 /* Override any GCC internal prototype to avoid an error.
40477 Use char because int might match the return type of a GCC
40478 builtin and then its argument prototype would still apply. */
40479 #ifdef __cplusplus
40480 extern "C"
40481 #endif
40482 char sched_yield ();
40483 /* The GNU C library defines this for functions which it implements
40484 to always fail with ENOSYS. Some functions are actually named
40485 something starting with __ and the normal name is an alias. */
40486 #if defined __stub_sched_yield || defined __stub___sched_yield
40487 choke me
40488 #endif
40489
40490 int
40491 main ()
40492 {
40493 return sched_yield ();
40494 ;
40495 return 0;
40496 }
40497 _ACEOF
40498 rm -f conftest.$ac_objext conftest$ac_exeext
40499 if { (ac_try="$ac_link"
40500 case "(($ac_try" in
40501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40502 *) ac_try_echo=$ac_try;;
40503 esac
40504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40505 (eval "$ac_link") 2>conftest.er1
40506 ac_status=$?
40507 grep -v '^ *+' conftest.er1 >conftest.err
40508 rm -f conftest.er1
40509 cat conftest.err >&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); } && {
40512 test -z "$ac_c_werror_flag" ||
40513 test ! -s conftest.err
40514 } && test -s conftest$ac_exeext &&
40515 $as_test_x conftest$ac_exeext; then
40516 ac_cv_func_sched_yield=yes
40517 else
40518 echo "$as_me: failed program was:" >&5
40519 sed 's/^/| /' conftest.$ac_ext >&5
40520
40521 ac_cv_func_sched_yield=no
40522 fi
40523
40524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40525 conftest$ac_exeext conftest.$ac_ext
40526 fi
40527 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40528 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40529 if test $ac_cv_func_sched_yield = yes; then
40530 cat >>confdefs.h <<\_ACEOF
40531 #define HAVE_SCHED_YIELD 1
40532 _ACEOF
40533
40534 else
40535
40536 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40537 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40538 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40539 echo $ECHO_N "(cached) $ECHO_C" >&6
40540 else
40541 ac_check_lib_save_LIBS=$LIBS
40542 LIBS="-lposix4 $LIBS"
40543 cat >conftest.$ac_ext <<_ACEOF
40544 /* confdefs.h. */
40545 _ACEOF
40546 cat confdefs.h >>conftest.$ac_ext
40547 cat >>conftest.$ac_ext <<_ACEOF
40548 /* end confdefs.h. */
40549
40550 /* Override any GCC internal prototype to avoid an error.
40551 Use char because int might match the return type of a GCC
40552 builtin and then its argument prototype would still apply. */
40553 #ifdef __cplusplus
40554 extern "C"
40555 #endif
40556 char sched_yield ();
40557 int
40558 main ()
40559 {
40560 return sched_yield ();
40561 ;
40562 return 0;
40563 }
40564 _ACEOF
40565 rm -f conftest.$ac_objext conftest$ac_exeext
40566 if { (ac_try="$ac_link"
40567 case "(($ac_try" in
40568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40569 *) ac_try_echo=$ac_try;;
40570 esac
40571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40572 (eval "$ac_link") 2>conftest.er1
40573 ac_status=$?
40574 grep -v '^ *+' conftest.er1 >conftest.err
40575 rm -f conftest.er1
40576 cat conftest.err >&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); } && {
40579 test -z "$ac_c_werror_flag" ||
40580 test ! -s conftest.err
40581 } && test -s conftest$ac_exeext &&
40582 $as_test_x conftest$ac_exeext; then
40583 ac_cv_lib_posix4_sched_yield=yes
40584 else
40585 echo "$as_me: failed program was:" >&5
40586 sed 's/^/| /' conftest.$ac_ext >&5
40587
40588 ac_cv_lib_posix4_sched_yield=no
40589 fi
40590
40591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40592 conftest$ac_exeext conftest.$ac_ext
40593 LIBS=$ac_check_lib_save_LIBS
40594 fi
40595 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40596 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40597 if test $ac_cv_lib_posix4_sched_yield = yes; then
40598 cat >>confdefs.h <<\_ACEOF
40599 #define HAVE_SCHED_YIELD 1
40600 _ACEOF
40601 POSIX4_LINK=" -lposix4"
40602 else
40603 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40604 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40605
40606 fi
40607
40608
40609
40610 fi
40611
40612 fi
40613
40614 HAVE_PRIOR_FUNCS=0
40615 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40616 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40617 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40618 echo $ECHO_N "(cached) $ECHO_C" >&6
40619 else
40620 cat >conftest.$ac_ext <<_ACEOF
40621 /* confdefs.h. */
40622 _ACEOF
40623 cat confdefs.h >>conftest.$ac_ext
40624 cat >>conftest.$ac_ext <<_ACEOF
40625 /* end confdefs.h. */
40626 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40628 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40629
40630 /* System header to define __stub macros and hopefully few prototypes,
40631 which can conflict with char pthread_attr_getschedpolicy (); below.
40632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40633 <limits.h> exists even on freestanding compilers. */
40634
40635 #ifdef __STDC__
40636 # include <limits.h>
40637 #else
40638 # include <assert.h>
40639 #endif
40640
40641 #undef pthread_attr_getschedpolicy
40642
40643 /* Override any GCC internal prototype to avoid an error.
40644 Use char because int might match the return type of a GCC
40645 builtin and then its argument prototype would still apply. */
40646 #ifdef __cplusplus
40647 extern "C"
40648 #endif
40649 char pthread_attr_getschedpolicy ();
40650 /* The GNU C library defines this for functions which it implements
40651 to always fail with ENOSYS. Some functions are actually named
40652 something starting with __ and the normal name is an alias. */
40653 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40654 choke me
40655 #endif
40656
40657 int
40658 main ()
40659 {
40660 return pthread_attr_getschedpolicy ();
40661 ;
40662 return 0;
40663 }
40664 _ACEOF
40665 rm -f conftest.$ac_objext conftest$ac_exeext
40666 if { (ac_try="$ac_link"
40667 case "(($ac_try" in
40668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40669 *) ac_try_echo=$ac_try;;
40670 esac
40671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40672 (eval "$ac_link") 2>conftest.er1
40673 ac_status=$?
40674 grep -v '^ *+' conftest.er1 >conftest.err
40675 rm -f conftest.er1
40676 cat conftest.err >&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); } && {
40679 test -z "$ac_c_werror_flag" ||
40680 test ! -s conftest.err
40681 } && test -s conftest$ac_exeext &&
40682 $as_test_x conftest$ac_exeext; then
40683 ac_cv_func_pthread_attr_getschedpolicy=yes
40684 else
40685 echo "$as_me: failed program was:" >&5
40686 sed 's/^/| /' conftest.$ac_ext >&5
40687
40688 ac_cv_func_pthread_attr_getschedpolicy=no
40689 fi
40690
40691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40692 conftest$ac_exeext conftest.$ac_ext
40693 fi
40694 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40695 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40696 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40697 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40698 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40699 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40700 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 else
40702 cat >conftest.$ac_ext <<_ACEOF
40703 /* confdefs.h. */
40704 _ACEOF
40705 cat confdefs.h >>conftest.$ac_ext
40706 cat >>conftest.$ac_ext <<_ACEOF
40707 /* end confdefs.h. */
40708 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40710 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40711
40712 /* System header to define __stub macros and hopefully few prototypes,
40713 which can conflict with char pthread_attr_setschedparam (); below.
40714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40715 <limits.h> exists even on freestanding compilers. */
40716
40717 #ifdef __STDC__
40718 # include <limits.h>
40719 #else
40720 # include <assert.h>
40721 #endif
40722
40723 #undef pthread_attr_setschedparam
40724
40725 /* Override any GCC internal prototype to avoid an error.
40726 Use char because int might match the return type of a GCC
40727 builtin and then its argument prototype would still apply. */
40728 #ifdef __cplusplus
40729 extern "C"
40730 #endif
40731 char pthread_attr_setschedparam ();
40732 /* The GNU C library defines this for functions which it implements
40733 to always fail with ENOSYS. Some functions are actually named
40734 something starting with __ and the normal name is an alias. */
40735 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40736 choke me
40737 #endif
40738
40739 int
40740 main ()
40741 {
40742 return pthread_attr_setschedparam ();
40743 ;
40744 return 0;
40745 }
40746 _ACEOF
40747 rm -f conftest.$ac_objext conftest$ac_exeext
40748 if { (ac_try="$ac_link"
40749 case "(($ac_try" in
40750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40751 *) ac_try_echo=$ac_try;;
40752 esac
40753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40754 (eval "$ac_link") 2>conftest.er1
40755 ac_status=$?
40756 grep -v '^ *+' conftest.er1 >conftest.err
40757 rm -f conftest.er1
40758 cat conftest.err >&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); } && {
40761 test -z "$ac_c_werror_flag" ||
40762 test ! -s conftest.err
40763 } && test -s conftest$ac_exeext &&
40764 $as_test_x conftest$ac_exeext; then
40765 ac_cv_func_pthread_attr_setschedparam=yes
40766 else
40767 echo "$as_me: failed program was:" >&5
40768 sed 's/^/| /' conftest.$ac_ext >&5
40769
40770 ac_cv_func_pthread_attr_setschedparam=no
40771 fi
40772
40773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40774 conftest$ac_exeext conftest.$ac_ext
40775 fi
40776 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40777 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40778 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40779 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40780 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40781 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40782 echo $ECHO_N "(cached) $ECHO_C" >&6
40783 else
40784 cat >conftest.$ac_ext <<_ACEOF
40785 /* confdefs.h. */
40786 _ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40792 #define sched_get_priority_max innocuous_sched_get_priority_max
40793
40794 /* System header to define __stub macros and hopefully few prototypes,
40795 which can conflict with char sched_get_priority_max (); below.
40796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40797 <limits.h> exists even on freestanding compilers. */
40798
40799 #ifdef __STDC__
40800 # include <limits.h>
40801 #else
40802 # include <assert.h>
40803 #endif
40804
40805 #undef sched_get_priority_max
40806
40807 /* Override any GCC internal prototype to avoid an error.
40808 Use char because int might match the return type of a GCC
40809 builtin and then its argument prototype would still apply. */
40810 #ifdef __cplusplus
40811 extern "C"
40812 #endif
40813 char sched_get_priority_max ();
40814 /* The GNU C library defines this for functions which it implements
40815 to always fail with ENOSYS. Some functions are actually named
40816 something starting with __ and the normal name is an alias. */
40817 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40818 choke me
40819 #endif
40820
40821 int
40822 main ()
40823 {
40824 return sched_get_priority_max ();
40825 ;
40826 return 0;
40827 }
40828 _ACEOF
40829 rm -f conftest.$ac_objext conftest$ac_exeext
40830 if { (ac_try="$ac_link"
40831 case "(($ac_try" in
40832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40833 *) ac_try_echo=$ac_try;;
40834 esac
40835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40836 (eval "$ac_link") 2>conftest.er1
40837 ac_status=$?
40838 grep -v '^ *+' conftest.er1 >conftest.err
40839 rm -f conftest.er1
40840 cat conftest.err >&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); } && {
40843 test -z "$ac_c_werror_flag" ||
40844 test ! -s conftest.err
40845 } && test -s conftest$ac_exeext &&
40846 $as_test_x conftest$ac_exeext; then
40847 ac_cv_func_sched_get_priority_max=yes
40848 else
40849 echo "$as_me: failed program was:" >&5
40850 sed 's/^/| /' conftest.$ac_ext >&5
40851
40852 ac_cv_func_sched_get_priority_max=no
40853 fi
40854
40855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40856 conftest$ac_exeext conftest.$ac_ext
40857 fi
40858 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40859 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40860 if test $ac_cv_func_sched_get_priority_max = yes; then
40861 HAVE_PRIOR_FUNCS=1
40862 else
40863 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40864 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40865 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40866 echo $ECHO_N "(cached) $ECHO_C" >&6
40867 else
40868 ac_check_lib_save_LIBS=$LIBS
40869 LIBS="-lposix4 $LIBS"
40870 cat >conftest.$ac_ext <<_ACEOF
40871 /* confdefs.h. */
40872 _ACEOF
40873 cat confdefs.h >>conftest.$ac_ext
40874 cat >>conftest.$ac_ext <<_ACEOF
40875 /* end confdefs.h. */
40876
40877 /* Override any GCC internal prototype to avoid an error.
40878 Use char because int might match the return type of a GCC
40879 builtin and then its argument prototype would still apply. */
40880 #ifdef __cplusplus
40881 extern "C"
40882 #endif
40883 char sched_get_priority_max ();
40884 int
40885 main ()
40886 {
40887 return sched_get_priority_max ();
40888 ;
40889 return 0;
40890 }
40891 _ACEOF
40892 rm -f conftest.$ac_objext conftest$ac_exeext
40893 if { (ac_try="$ac_link"
40894 case "(($ac_try" in
40895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40896 *) ac_try_echo=$ac_try;;
40897 esac
40898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40899 (eval "$ac_link") 2>conftest.er1
40900 ac_status=$?
40901 grep -v '^ *+' conftest.er1 >conftest.err
40902 rm -f conftest.er1
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } && {
40906 test -z "$ac_c_werror_flag" ||
40907 test ! -s conftest.err
40908 } && test -s conftest$ac_exeext &&
40909 $as_test_x conftest$ac_exeext; then
40910 ac_cv_lib_posix4_sched_get_priority_max=yes
40911 else
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40914
40915 ac_cv_lib_posix4_sched_get_priority_max=no
40916 fi
40917
40918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40919 conftest$ac_exeext conftest.$ac_ext
40920 LIBS=$ac_check_lib_save_LIBS
40921 fi
40922 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40923 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40924 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40925
40926 HAVE_PRIOR_FUNCS=1
40927 POSIX4_LINK=" -lposix4"
40928
40929 fi
40930
40931
40932 fi
40933
40934
40935 fi
40936
40937
40938 fi
40939
40940
40941 if test "$HAVE_PRIOR_FUNCS" = 1; then
40942 cat >>confdefs.h <<\_ACEOF
40943 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40944 _ACEOF
40945
40946 else
40947 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40948 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40949 fi
40950
40951 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40952 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40953 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40955 else
40956 cat >conftest.$ac_ext <<_ACEOF
40957 /* confdefs.h. */
40958 _ACEOF
40959 cat confdefs.h >>conftest.$ac_ext
40960 cat >>conftest.$ac_ext <<_ACEOF
40961 /* end confdefs.h. */
40962 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40964 #define pthread_cancel innocuous_pthread_cancel
40965
40966 /* System header to define __stub macros and hopefully few prototypes,
40967 which can conflict with char pthread_cancel (); below.
40968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40969 <limits.h> exists even on freestanding compilers. */
40970
40971 #ifdef __STDC__
40972 # include <limits.h>
40973 #else
40974 # include <assert.h>
40975 #endif
40976
40977 #undef pthread_cancel
40978
40979 /* Override any GCC internal prototype to avoid an error.
40980 Use char because int might match the return type of a GCC
40981 builtin and then its argument prototype would still apply. */
40982 #ifdef __cplusplus
40983 extern "C"
40984 #endif
40985 char pthread_cancel ();
40986 /* The GNU C library defines this for functions which it implements
40987 to always fail with ENOSYS. Some functions are actually named
40988 something starting with __ and the normal name is an alias. */
40989 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40990 choke me
40991 #endif
40992
40993 int
40994 main ()
40995 {
40996 return pthread_cancel ();
40997 ;
40998 return 0;
40999 }
41000 _ACEOF
41001 rm -f conftest.$ac_objext conftest$ac_exeext
41002 if { (ac_try="$ac_link"
41003 case "(($ac_try" in
41004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41005 *) ac_try_echo=$ac_try;;
41006 esac
41007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41008 (eval "$ac_link") 2>conftest.er1
41009 ac_status=$?
41010 grep -v '^ *+' conftest.er1 >conftest.err
41011 rm -f conftest.er1
41012 cat conftest.err >&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } && {
41015 test -z "$ac_c_werror_flag" ||
41016 test ! -s conftest.err
41017 } && test -s conftest$ac_exeext &&
41018 $as_test_x conftest$ac_exeext; then
41019 ac_cv_func_pthread_cancel=yes
41020 else
41021 echo "$as_me: failed program was:" >&5
41022 sed 's/^/| /' conftest.$ac_ext >&5
41023
41024 ac_cv_func_pthread_cancel=no
41025 fi
41026
41027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41028 conftest$ac_exeext conftest.$ac_ext
41029 fi
41030 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41031 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41032 if test $ac_cv_func_pthread_cancel = yes; then
41033 cat >>confdefs.h <<\_ACEOF
41034 #define HAVE_PTHREAD_CANCEL 1
41035 _ACEOF
41036
41037 else
41038 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41039 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41040 fi
41041
41042
41043 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41044 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41045 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41046 echo $ECHO_N "(cached) $ECHO_C" >&6
41047 else
41048 cat >conftest.$ac_ext <<_ACEOF
41049 /* confdefs.h. */
41050 _ACEOF
41051 cat confdefs.h >>conftest.$ac_ext
41052 cat >>conftest.$ac_ext <<_ACEOF
41053 /* end confdefs.h. */
41054 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41056 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41057
41058 /* System header to define __stub macros and hopefully few prototypes,
41059 which can conflict with char pthread_mutex_timedlock (); below.
41060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41061 <limits.h> exists even on freestanding compilers. */
41062
41063 #ifdef __STDC__
41064 # include <limits.h>
41065 #else
41066 # include <assert.h>
41067 #endif
41068
41069 #undef pthread_mutex_timedlock
41070
41071 /* Override any GCC internal prototype to avoid an error.
41072 Use char because int might match the return type of a GCC
41073 builtin and then its argument prototype would still apply. */
41074 #ifdef __cplusplus
41075 extern "C"
41076 #endif
41077 char pthread_mutex_timedlock ();
41078 /* The GNU C library defines this for functions which it implements
41079 to always fail with ENOSYS. Some functions are actually named
41080 something starting with __ and the normal name is an alias. */
41081 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41082 choke me
41083 #endif
41084
41085 int
41086 main ()
41087 {
41088 return pthread_mutex_timedlock ();
41089 ;
41090 return 0;
41091 }
41092 _ACEOF
41093 rm -f conftest.$ac_objext conftest$ac_exeext
41094 if { (ac_try="$ac_link"
41095 case "(($ac_try" in
41096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41097 *) ac_try_echo=$ac_try;;
41098 esac
41099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41100 (eval "$ac_link") 2>conftest.er1
41101 ac_status=$?
41102 grep -v '^ *+' conftest.er1 >conftest.err
41103 rm -f conftest.er1
41104 cat conftest.err >&5
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); } && {
41107 test -z "$ac_c_werror_flag" ||
41108 test ! -s conftest.err
41109 } && test -s conftest$ac_exeext &&
41110 $as_test_x conftest$ac_exeext; then
41111 ac_cv_func_pthread_mutex_timedlock=yes
41112 else
41113 echo "$as_me: failed program was:" >&5
41114 sed 's/^/| /' conftest.$ac_ext >&5
41115
41116 ac_cv_func_pthread_mutex_timedlock=no
41117 fi
41118
41119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41120 conftest$ac_exeext conftest.$ac_ext
41121 fi
41122 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41123 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41124 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41125 cat >>confdefs.h <<\_ACEOF
41126 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41127 _ACEOF
41128
41129 else
41130 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41131 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41132 fi
41133
41134
41135 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41136 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41137 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41138 echo $ECHO_N "(cached) $ECHO_C" >&6
41139 else
41140 cat >conftest.$ac_ext <<_ACEOF
41141 /* confdefs.h. */
41142 _ACEOF
41143 cat confdefs.h >>conftest.$ac_ext
41144 cat >>conftest.$ac_ext <<_ACEOF
41145 /* end confdefs.h. */
41146 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41148 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41149
41150 /* System header to define __stub macros and hopefully few prototypes,
41151 which can conflict with char pthread_attr_setstacksize (); below.
41152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41153 <limits.h> exists even on freestanding compilers. */
41154
41155 #ifdef __STDC__
41156 # include <limits.h>
41157 #else
41158 # include <assert.h>
41159 #endif
41160
41161 #undef pthread_attr_setstacksize
41162
41163 /* Override any GCC internal prototype to avoid an error.
41164 Use char because int might match the return type of a GCC
41165 builtin and then its argument prototype would still apply. */
41166 #ifdef __cplusplus
41167 extern "C"
41168 #endif
41169 char pthread_attr_setstacksize ();
41170 /* The GNU C library defines this for functions which it implements
41171 to always fail with ENOSYS. Some functions are actually named
41172 something starting with __ and the normal name is an alias. */
41173 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41174 choke me
41175 #endif
41176
41177 int
41178 main ()
41179 {
41180 return pthread_attr_setstacksize ();
41181 ;
41182 return 0;
41183 }
41184 _ACEOF
41185 rm -f conftest.$ac_objext conftest$ac_exeext
41186 if { (ac_try="$ac_link"
41187 case "(($ac_try" in
41188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41189 *) ac_try_echo=$ac_try;;
41190 esac
41191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41192 (eval "$ac_link") 2>conftest.er1
41193 ac_status=$?
41194 grep -v '^ *+' conftest.er1 >conftest.err
41195 rm -f conftest.er1
41196 cat conftest.err >&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); } && {
41199 test -z "$ac_c_werror_flag" ||
41200 test ! -s conftest.err
41201 } && test -s conftest$ac_exeext &&
41202 $as_test_x conftest$ac_exeext; then
41203 ac_cv_func_pthread_attr_setstacksize=yes
41204 else
41205 echo "$as_me: failed program was:" >&5
41206 sed 's/^/| /' conftest.$ac_ext >&5
41207
41208 ac_cv_func_pthread_attr_setstacksize=no
41209 fi
41210
41211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41212 conftest$ac_exeext conftest.$ac_ext
41213 fi
41214 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41215 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41216 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41217 cat >>confdefs.h <<\_ACEOF
41218 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41219 _ACEOF
41220
41221 fi
41222
41223
41224
41225 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41226 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41227 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41228 echo $ECHO_N "(cached) $ECHO_C" >&6
41229 else
41230
41231 cat >conftest.$ac_ext <<_ACEOF
41232 /* confdefs.h. */
41233 _ACEOF
41234 cat confdefs.h >>conftest.$ac_ext
41235 cat >>conftest.$ac_ext <<_ACEOF
41236 /* end confdefs.h. */
41237 #include <pthread.h>
41238 int
41239 main ()
41240 {
41241
41242 pthread_mutexattr_t attr;
41243 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41244
41245 ;
41246 return 0;
41247 }
41248 _ACEOF
41249 rm -f conftest.$ac_objext
41250 if { (ac_try="$ac_compile"
41251 case "(($ac_try" in
41252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41253 *) ac_try_echo=$ac_try;;
41254 esac
41255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41256 (eval "$ac_compile") 2>conftest.er1
41257 ac_status=$?
41258 grep -v '^ *+' conftest.er1 >conftest.err
41259 rm -f conftest.er1
41260 cat conftest.err >&5
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); } && {
41263 test -z "$ac_c_werror_flag" ||
41264 test ! -s conftest.err
41265 } && test -s conftest.$ac_objext; then
41266 wx_cv_type_pthread_mutexattr_t=yes
41267 else
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41270
41271 wx_cv_type_pthread_mutexattr_t=no
41272
41273 fi
41274
41275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41276
41277 fi
41278 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41279 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41280
41281 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41282 cat >>confdefs.h <<\_ACEOF
41283 #define HAVE_PTHREAD_MUTEXATTR_T 1
41284 _ACEOF
41285
41286
41287 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41288 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41289 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41290 echo $ECHO_N "(cached) $ECHO_C" >&6
41291 else
41292
41293 cat >conftest.$ac_ext <<_ACEOF
41294 /* confdefs.h. */
41295 _ACEOF
41296 cat confdefs.h >>conftest.$ac_ext
41297 cat >>conftest.$ac_ext <<_ACEOF
41298 /* end confdefs.h. */
41299 #include <pthread.h>
41300 int
41301 main ()
41302 {
41303
41304 pthread_mutexattr_t attr;
41305 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41306
41307 ;
41308 return 0;
41309 }
41310 _ACEOF
41311 rm -f conftest.$ac_objext
41312 if { (ac_try="$ac_compile"
41313 case "(($ac_try" in
41314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41315 *) ac_try_echo=$ac_try;;
41316 esac
41317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41318 (eval "$ac_compile") 2>conftest.er1
41319 ac_status=$?
41320 grep -v '^ *+' conftest.er1 >conftest.err
41321 rm -f conftest.er1
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } && {
41325 test -z "$ac_c_werror_flag" ||
41326 test ! -s conftest.err
41327 } && test -s conftest.$ac_objext; then
41328 wx_cv_func_pthread_mutexattr_settype_decl=yes
41329 else
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41332
41333 wx_cv_func_pthread_mutexattr_settype_decl=no
41334
41335 fi
41336
41337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41338
41339 fi
41340 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41341 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41342 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41343 cat >>confdefs.h <<\_ACEOF
41344 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41345 _ACEOF
41346
41347 fi
41348 else
41349 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41350 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41351 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41352 echo $ECHO_N "(cached) $ECHO_C" >&6
41353 else
41354
41355 cat >conftest.$ac_ext <<_ACEOF
41356 /* confdefs.h. */
41357 _ACEOF
41358 cat confdefs.h >>conftest.$ac_ext
41359 cat >>conftest.$ac_ext <<_ACEOF
41360 /* end confdefs.h. */
41361 #include <pthread.h>
41362 int
41363 main ()
41364 {
41365
41366 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41367
41368 ;
41369 return 0;
41370 }
41371 _ACEOF
41372 rm -f conftest.$ac_objext
41373 if { (ac_try="$ac_compile"
41374 case "(($ac_try" in
41375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41376 *) ac_try_echo=$ac_try;;
41377 esac
41378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41379 (eval "$ac_compile") 2>conftest.er1
41380 ac_status=$?
41381 grep -v '^ *+' conftest.er1 >conftest.err
41382 rm -f conftest.er1
41383 cat conftest.err >&5
41384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385 (exit $ac_status); } && {
41386 test -z "$ac_c_werror_flag" ||
41387 test ! -s conftest.err
41388 } && test -s conftest.$ac_objext; then
41389
41390 wx_cv_type_pthread_rec_mutex_init=yes
41391
41392 else
41393 echo "$as_me: failed program was:" >&5
41394 sed 's/^/| /' conftest.$ac_ext >&5
41395
41396
41397 wx_cv_type_pthread_rec_mutex_init=no
41398
41399
41400 fi
41401
41402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41403
41404 fi
41405 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41406 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41407 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41410 _ACEOF
41411
41412 else
41413 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41414 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41415 fi
41416 fi
41417
41418 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41419 if test "$USE_NETBSD" = 1; then
41420 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41421 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41422 wxUSE_COMPILER_TLS=no
41423 else
41424 wxUSE_COMPILER_TLS=yes
41425 fi
41426 fi
41427
41428 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41429 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41430 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41431 if test "${wx_cv_cc___thread+set}" = set; then
41432 echo $ECHO_N "(cached) $ECHO_C" >&6
41433 else
41434
41435 cat >conftest.$ac_ext <<_ACEOF
41436 /* confdefs.h. */
41437 _ACEOF
41438 cat confdefs.h >>conftest.$ac_ext
41439 cat >>conftest.$ac_ext <<_ACEOF
41440 /* end confdefs.h. */
41441 #include <pthread.h>
41442 int
41443 main ()
41444 {
41445
41446 static __thread int n = 0;
41447 static __thread int *p = 0;
41448
41449 ;
41450 return 0;
41451 }
41452 _ACEOF
41453 rm -f conftest.$ac_objext
41454 if { (ac_try="$ac_compile"
41455 case "(($ac_try" in
41456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41457 *) ac_try_echo=$ac_try;;
41458 esac
41459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41460 (eval "$ac_compile") 2>conftest.er1
41461 ac_status=$?
41462 grep -v '^ *+' conftest.er1 >conftest.err
41463 rm -f conftest.er1
41464 cat conftest.err >&5
41465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466 (exit $ac_status); } && {
41467 test -z "$ac_c_werror_flag" ||
41468 test ! -s conftest.err
41469 } && test -s conftest.$ac_objext; then
41470 wx_cv_cc___thread=yes
41471 else
41472 echo "$as_me: failed program was:" >&5
41473 sed 's/^/| /' conftest.$ac_ext >&5
41474
41475 wx_cv_cc___thread=no
41476
41477 fi
41478
41479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41480
41481
41482 fi
41483 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41484 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41485
41486 if test "$wx_cv_cc___thread" = "yes"; then
41487
41488 GXX_VERSION=""
41489
41490
41491
41492 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41493 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41494
41495 if test "x$GCC" = "xyes" ; then
41496
41497 if test -z "" ; then
41498
41499 ax_gcc_option_test="int main()
41500 {
41501 return 0;
41502 }"
41503
41504 else
41505
41506 ax_gcc_option_test=""
41507
41508 fi
41509
41510
41511 # Dump the test program to file
41512 cat <<EOF > conftest.c
41513 $ax_gcc_option_test
41514 EOF
41515
41516 # Dump back the file to the log, useful for debugging purposes
41517 { ac_try='cat conftest.c 1>&5'
41518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41519 (eval $ac_try) 2>&5
41520 ac_status=$?
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; }
41523
41524 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41526 (eval $ac_try) 2>&5
41527 ac_status=$?
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); }; } ; then
41530
41531 { echo "$as_me:$LINENO: result: yes" >&5
41532 echo "${ECHO_T}yes" >&6; }
41533
41534 ax_gcc_version_option=yes
41535
41536
41537 else
41538
41539 { echo "$as_me:$LINENO: result: no" >&5
41540 echo "${ECHO_T}no" >&6; }
41541
41542 ax_gcc_version_option=no
41543
41544
41545 fi
41546
41547
41548 else
41549
41550 { echo "$as_me:$LINENO: result: no gcc available" >&5
41551 echo "${ECHO_T}no gcc available" >&6; }
41552
41553 fi
41554
41555
41556 if test "x$GXX" = "xyes"; then
41557
41558 if test "x$ax_gxx_version_option" != "no"; then
41559
41560 { echo "$as_me:$LINENO: checking gxx version" >&5
41561 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41562 if test "${ax_cv_gxx_version+set}" = set; then
41563 echo $ECHO_N "(cached) $ECHO_C" >&6
41564 else
41565
41566 ax_cv_gxx_version="`$CXX -dumpversion`"
41567 if test "x$ax_cv_gxx_version" = "x"; then
41568
41569 ax_cv_gxx_version=""
41570
41571 fi
41572
41573
41574 fi
41575 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41576 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41577 GXX_VERSION=$ax_cv_gxx_version
41578
41579 fi
41580
41581
41582 fi
41583
41584
41585
41586 if test -n "$ax_cv_gxx_version"; then
41587 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41588 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41589 case "$ax_cv_gxx_version" in
41590 1.* | 2.* | 3.* )
41591 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41592 echo "${ECHO_T}no, it's broken" >&6; }
41593 wx_cv_cc___thread=no
41594 ;;
41595 *)
41596 { echo "$as_me:$LINENO: result: yes, it works" >&5
41597 echo "${ECHO_T}yes, it works" >&6; }
41598 ;;
41599 esac
41600 fi
41601 fi
41602
41603 if test "$wx_cv_cc___thread" = "yes"; then
41604 cat >>confdefs.h <<\_ACEOF
41605 #define HAVE___THREAD_KEYWORD 1
41606 _ACEOF
41607
41608 fi
41609 fi
41610 fi
41611
41612 else
41613 if test "$wxUSE_THREADS" = "yes" ; then
41614 case "${host}" in
41615 x86_64-*-mingw32* )
41616 ;;
41617 *-*-mingw32* )
41618 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41619 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41620 if test "${wx_cv_cflags_mthread+set}" = set; then
41621 echo $ECHO_N "(cached) $ECHO_C" >&6
41622 else
41623
41624 CFLAGS_OLD="$CFLAGS"
41625 CFLAGS="-mthreads $CFLAGS"
41626 cat >conftest.$ac_ext <<_ACEOF
41627 /* confdefs.h. */
41628 _ACEOF
41629 cat confdefs.h >>conftest.$ac_ext
41630 cat >>conftest.$ac_ext <<_ACEOF
41631 /* end confdefs.h. */
41632
41633 int
41634 main ()
41635 {
41636
41637 ;
41638 return 0;
41639 }
41640 _ACEOF
41641 rm -f conftest.$ac_objext
41642 if { (ac_try="$ac_compile"
41643 case "(($ac_try" in
41644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41645 *) ac_try_echo=$ac_try;;
41646 esac
41647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41648 (eval "$ac_compile") 2>conftest.er1
41649 ac_status=$?
41650 grep -v '^ *+' conftest.er1 >conftest.err
41651 rm -f conftest.er1
41652 cat conftest.err >&5
41653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41654 (exit $ac_status); } && {
41655 test -z "$ac_c_werror_flag" ||
41656 test ! -s conftest.err
41657 } && test -s conftest.$ac_objext; then
41658 wx_cv_cflags_mthread=yes
41659 else
41660 echo "$as_me: failed program was:" >&5
41661 sed 's/^/| /' conftest.$ac_ext >&5
41662
41663 wx_cv_cflags_mthread=no
41664
41665 fi
41666
41667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41668
41669
41670 fi
41671 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41672 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41673
41674 if test "$wx_cv_cflags_mthread" = "yes"; then
41675 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41676 LDFLAGS="$LDFLAGS -mthreads"
41677 else
41678 CFLAGS="$CFLAGS_OLD"
41679 fi
41680 ;;
41681 *-pc-os2*emx )
41682 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41683 LDFLAGS="$LDFLAGS -Zmt"
41684 ;;
41685 esac
41686 fi
41687 fi
41688
41689 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41690 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41691 if test "${ac_cv_func_localtime_r+set}" = set; then
41692 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 else
41694 cat >conftest.$ac_ext <<_ACEOF
41695 /* confdefs.h. */
41696 _ACEOF
41697 cat confdefs.h >>conftest.$ac_ext
41698 cat >>conftest.$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41702 #define localtime_r innocuous_localtime_r
41703
41704 /* System header to define __stub macros and hopefully few prototypes,
41705 which can conflict with char localtime_r (); below.
41706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41707 <limits.h> exists even on freestanding compilers. */
41708
41709 #ifdef __STDC__
41710 # include <limits.h>
41711 #else
41712 # include <assert.h>
41713 #endif
41714
41715 #undef localtime_r
41716
41717 /* Override any GCC internal prototype to avoid an error.
41718 Use char because int might match the return type of a GCC
41719 builtin and then its argument prototype would still apply. */
41720 #ifdef __cplusplus
41721 extern "C"
41722 #endif
41723 char localtime_r ();
41724 /* The GNU C library defines this for functions which it implements
41725 to always fail with ENOSYS. Some functions are actually named
41726 something starting with __ and the normal name is an alias. */
41727 #if defined __stub_localtime_r || defined __stub___localtime_r
41728 choke me
41729 #endif
41730
41731 int
41732 main ()
41733 {
41734 return localtime_r ();
41735 ;
41736 return 0;
41737 }
41738 _ACEOF
41739 rm -f conftest.$ac_objext conftest$ac_exeext
41740 if { (ac_try="$ac_link"
41741 case "(($ac_try" in
41742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41743 *) ac_try_echo=$ac_try;;
41744 esac
41745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41746 (eval "$ac_link") 2>conftest.er1
41747 ac_status=$?
41748 grep -v '^ *+' conftest.er1 >conftest.err
41749 rm -f conftest.er1
41750 cat conftest.err >&5
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); } && {
41753 test -z "$ac_c_werror_flag" ||
41754 test ! -s conftest.err
41755 } && test -s conftest$ac_exeext &&
41756 $as_test_x conftest$ac_exeext; then
41757 ac_cv_func_localtime_r=yes
41758 else
41759 echo "$as_me: failed program was:" >&5
41760 sed 's/^/| /' conftest.$ac_ext >&5
41761
41762 ac_cv_func_localtime_r=no
41763 fi
41764
41765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41766 conftest$ac_exeext conftest.$ac_ext
41767 fi
41768 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41769 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41770 if test $ac_cv_func_localtime_r = yes; then
41771 cat >>confdefs.h <<\_ACEOF
41772 #define HAVE_LOCALTIME_R 1
41773 _ACEOF
41774
41775 fi
41776
41777 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41778 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41779 if test "${ac_cv_func_gmtime_r+set}" = set; then
41780 echo $ECHO_N "(cached) $ECHO_C" >&6
41781 else
41782 cat >conftest.$ac_ext <<_ACEOF
41783 /* confdefs.h. */
41784 _ACEOF
41785 cat confdefs.h >>conftest.$ac_ext
41786 cat >>conftest.$ac_ext <<_ACEOF
41787 /* end confdefs.h. */
41788 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41790 #define gmtime_r innocuous_gmtime_r
41791
41792 /* System header to define __stub macros and hopefully few prototypes,
41793 which can conflict with char gmtime_r (); below.
41794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41795 <limits.h> exists even on freestanding compilers. */
41796
41797 #ifdef __STDC__
41798 # include <limits.h>
41799 #else
41800 # include <assert.h>
41801 #endif
41802
41803 #undef gmtime_r
41804
41805 /* Override any GCC internal prototype to avoid an error.
41806 Use char because int might match the return type of a GCC
41807 builtin and then its argument prototype would still apply. */
41808 #ifdef __cplusplus
41809 extern "C"
41810 #endif
41811 char gmtime_r ();
41812 /* The GNU C library defines this for functions which it implements
41813 to always fail with ENOSYS. Some functions are actually named
41814 something starting with __ and the normal name is an alias. */
41815 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41816 choke me
41817 #endif
41818
41819 int
41820 main ()
41821 {
41822 return gmtime_r ();
41823 ;
41824 return 0;
41825 }
41826 _ACEOF
41827 rm -f conftest.$ac_objext conftest$ac_exeext
41828 if { (ac_try="$ac_link"
41829 case "(($ac_try" in
41830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41831 *) ac_try_echo=$ac_try;;
41832 esac
41833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41834 (eval "$ac_link") 2>conftest.er1
41835 ac_status=$?
41836 grep -v '^ *+' conftest.er1 >conftest.err
41837 rm -f conftest.er1
41838 cat conftest.err >&5
41839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840 (exit $ac_status); } && {
41841 test -z "$ac_c_werror_flag" ||
41842 test ! -s conftest.err
41843 } && test -s conftest$ac_exeext &&
41844 $as_test_x conftest$ac_exeext; then
41845 ac_cv_func_gmtime_r=yes
41846 else
41847 echo "$as_me: failed program was:" >&5
41848 sed 's/^/| /' conftest.$ac_ext >&5
41849
41850 ac_cv_func_gmtime_r=no
41851 fi
41852
41853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41854 conftest$ac_exeext conftest.$ac_ext
41855 fi
41856 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41857 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41858 if test $ac_cv_func_gmtime_r = yes; then
41859 cat >>confdefs.h <<\_ACEOF
41860 #define HAVE_GMTIME_R 1
41861 _ACEOF
41862
41863 fi
41864
41865
41866
41867
41868 ac_ext=c
41869 ac_cpp='$CPP $CPPFLAGS'
41870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41873
41874 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41875 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41876
41877 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41878 echo $ECHO_N "(cached) $ECHO_C" >&6
41879 else
41880
41881
41882 ################################################################
41883
41884 ac_cv_func_which_gethostbyname_r=unknown
41885
41886 #
41887 # ONE ARGUMENT (sanity check)
41888 #
41889
41890 # This should fail, as there is no variant of gethostbyname_r() that takes
41891 # a single argument. If it actually compiles, then we can assume that
41892 # netdb.h is not declaring the function, and the compiler is thereby
41893 # assuming an implicit prototype. In which case, we're out of luck.
41894 #
41895 cat >conftest.$ac_ext <<_ACEOF
41896 /* confdefs.h. */
41897 _ACEOF
41898 cat confdefs.h >>conftest.$ac_ext
41899 cat >>conftest.$ac_ext <<_ACEOF
41900 /* end confdefs.h. */
41901 #include <netdb.h>
41902 int
41903 main ()
41904 {
41905
41906 char *name = "www.gnu.org";
41907 (void)gethostbyname_r(name) /* ; */
41908
41909 ;
41910 return 0;
41911 }
41912 _ACEOF
41913 rm -f conftest.$ac_objext
41914 if { (ac_try="$ac_compile"
41915 case "(($ac_try" in
41916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41917 *) ac_try_echo=$ac_try;;
41918 esac
41919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41920 (eval "$ac_compile") 2>conftest.er1
41921 ac_status=$?
41922 grep -v '^ *+' conftest.er1 >conftest.err
41923 rm -f conftest.er1
41924 cat conftest.err >&5
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); } && {
41927 test -z "$ac_c_werror_flag" ||
41928 test ! -s conftest.err
41929 } && test -s conftest.$ac_objext; then
41930 ac_cv_func_which_gethostbyname_r=no
41931 else
41932 echo "$as_me: failed program was:" >&5
41933 sed 's/^/| /' conftest.$ac_ext >&5
41934
41935
41936 fi
41937
41938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41939
41940 #
41941 # SIX ARGUMENTS
41942 # (e.g. Linux)
41943 #
41944
41945 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41946
41947 cat >conftest.$ac_ext <<_ACEOF
41948 /* confdefs.h. */
41949 _ACEOF
41950 cat confdefs.h >>conftest.$ac_ext
41951 cat >>conftest.$ac_ext <<_ACEOF
41952 /* end confdefs.h. */
41953 #include <netdb.h>
41954 int
41955 main ()
41956 {
41957
41958 char *name = "www.gnu.org";
41959 struct hostent ret, *retp;
41960 char buf[1024];
41961 int buflen = 1024;
41962 int my_h_errno;
41963 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41964
41965 ;
41966 return 0;
41967 }
41968 _ACEOF
41969 rm -f conftest.$ac_objext
41970 if { (ac_try="$ac_compile"
41971 case "(($ac_try" in
41972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41973 *) ac_try_echo=$ac_try;;
41974 esac
41975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41976 (eval "$ac_compile") 2>conftest.er1
41977 ac_status=$?
41978 grep -v '^ *+' conftest.er1 >conftest.err
41979 rm -f conftest.er1
41980 cat conftest.err >&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); } && {
41983 test -z "$ac_c_werror_flag" ||
41984 test ! -s conftest.err
41985 } && test -s conftest.$ac_objext; then
41986 ac_cv_func_which_gethostbyname_r=six
41987 else
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.$ac_ext >&5
41990
41991
41992 fi
41993
41994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41995
41996 fi
41997
41998 #
41999 # FIVE ARGUMENTS
42000 # (e.g. Solaris)
42001 #
42002
42003 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42004
42005 cat >conftest.$ac_ext <<_ACEOF
42006 /* confdefs.h. */
42007 _ACEOF
42008 cat confdefs.h >>conftest.$ac_ext
42009 cat >>conftest.$ac_ext <<_ACEOF
42010 /* end confdefs.h. */
42011 #include <netdb.h>
42012 int
42013 main ()
42014 {
42015
42016 char *name = "www.gnu.org";
42017 struct hostent ret;
42018 char buf[1024];
42019 int buflen = 1024;
42020 int my_h_errno;
42021 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42022
42023 ;
42024 return 0;
42025 }
42026 _ACEOF
42027 rm -f conftest.$ac_objext
42028 if { (ac_try="$ac_compile"
42029 case "(($ac_try" in
42030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42031 *) ac_try_echo=$ac_try;;
42032 esac
42033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42034 (eval "$ac_compile") 2>conftest.er1
42035 ac_status=$?
42036 grep -v '^ *+' conftest.er1 >conftest.err
42037 rm -f conftest.er1
42038 cat conftest.err >&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } && {
42041 test -z "$ac_c_werror_flag" ||
42042 test ! -s conftest.err
42043 } && test -s conftest.$ac_objext; then
42044 ac_cv_func_which_gethostbyname_r=five
42045 else
42046 echo "$as_me: failed program was:" >&5
42047 sed 's/^/| /' conftest.$ac_ext >&5
42048
42049
42050 fi
42051
42052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42053
42054 fi
42055
42056 #
42057 # THREE ARGUMENTS
42058 # (e.g. AIX, HP-UX, Tru64)
42059 #
42060
42061 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42062
42063 cat >conftest.$ac_ext <<_ACEOF
42064 /* confdefs.h. */
42065 _ACEOF
42066 cat confdefs.h >>conftest.$ac_ext
42067 cat >>conftest.$ac_ext <<_ACEOF
42068 /* end confdefs.h. */
42069 #include <netdb.h>
42070 int
42071 main ()
42072 {
42073
42074 char *name = "www.gnu.org";
42075 struct hostent ret;
42076 struct hostent_data data;
42077 (void)gethostbyname_r(name, &ret, &data) /* ; */
42078
42079 ;
42080 return 0;
42081 }
42082 _ACEOF
42083 rm -f conftest.$ac_objext
42084 if { (ac_try="$ac_compile"
42085 case "(($ac_try" in
42086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42087 *) ac_try_echo=$ac_try;;
42088 esac
42089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42090 (eval "$ac_compile") 2>conftest.er1
42091 ac_status=$?
42092 grep -v '^ *+' conftest.er1 >conftest.err
42093 rm -f conftest.er1
42094 cat conftest.err >&5
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); } && {
42097 test -z "$ac_c_werror_flag" ||
42098 test ! -s conftest.err
42099 } && test -s conftest.$ac_objext; then
42100 ac_cv_func_which_gethostbyname_r=three
42101 else
42102 echo "$as_me: failed program was:" >&5
42103 sed 's/^/| /' conftest.$ac_ext >&5
42104
42105
42106 fi
42107
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42109
42110 fi
42111
42112 ################################################################
42113
42114
42115 fi
42116
42117 case "$ac_cv_func_which_gethostbyname_r" in
42118 three)
42119 { echo "$as_me:$LINENO: result: three" >&5
42120 echo "${ECHO_T}three" >&6; }
42121 cat >>confdefs.h <<\_ACEOF
42122 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42123 _ACEOF
42124
42125 ;;
42126
42127 five)
42128 { echo "$as_me:$LINENO: result: five" >&5
42129 echo "${ECHO_T}five" >&6; }
42130 cat >>confdefs.h <<\_ACEOF
42131 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42132 _ACEOF
42133
42134 ;;
42135
42136 six)
42137 { echo "$as_me:$LINENO: result: six" >&5
42138 echo "${ECHO_T}six" >&6; }
42139 cat >>confdefs.h <<\_ACEOF
42140 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42141 _ACEOF
42142
42143 ;;
42144
42145 no)
42146 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42147 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42148 ;;
42149
42150 unknown)
42151 { echo "$as_me:$LINENO: result: can't tell" >&5
42152 echo "${ECHO_T}can't tell" >&6; }
42153 ;;
42154
42155 *)
42156 { { echo "$as_me:$LINENO: error: internal error" >&5
42157 echo "$as_me: error: internal error" >&2;}
42158 { (exit 1); exit 1; }; }
42159 ;;
42160 esac
42161
42162 ac_ext=c
42163 ac_cpp='$CPP $CPPFLAGS'
42164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42167
42168
42169
42170 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42171 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42172 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42173 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42174 if test "${ac_cv_func_gethostbyname+set}" = set; then
42175 echo $ECHO_N "(cached) $ECHO_C" >&6
42176 else
42177 cat >conftest.$ac_ext <<_ACEOF
42178 /* confdefs.h. */
42179 _ACEOF
42180 cat confdefs.h >>conftest.$ac_ext
42181 cat >>conftest.$ac_ext <<_ACEOF
42182 /* end confdefs.h. */
42183 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42185 #define gethostbyname innocuous_gethostbyname
42186
42187 /* System header to define __stub macros and hopefully few prototypes,
42188 which can conflict with char gethostbyname (); below.
42189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42190 <limits.h> exists even on freestanding compilers. */
42191
42192 #ifdef __STDC__
42193 # include <limits.h>
42194 #else
42195 # include <assert.h>
42196 #endif
42197
42198 #undef gethostbyname
42199
42200 /* Override any GCC internal prototype to avoid an error.
42201 Use char because int might match the return type of a GCC
42202 builtin and then its argument prototype would still apply. */
42203 #ifdef __cplusplus
42204 extern "C"
42205 #endif
42206 char gethostbyname ();
42207 /* The GNU C library defines this for functions which it implements
42208 to always fail with ENOSYS. Some functions are actually named
42209 something starting with __ and the normal name is an alias. */
42210 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42211 choke me
42212 #endif
42213
42214 int
42215 main ()
42216 {
42217 return gethostbyname ();
42218 ;
42219 return 0;
42220 }
42221 _ACEOF
42222 rm -f conftest.$ac_objext conftest$ac_exeext
42223 if { (ac_try="$ac_link"
42224 case "(($ac_try" in
42225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42226 *) ac_try_echo=$ac_try;;
42227 esac
42228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42229 (eval "$ac_link") 2>conftest.er1
42230 ac_status=$?
42231 grep -v '^ *+' conftest.er1 >conftest.err
42232 rm -f conftest.er1
42233 cat conftest.err >&5
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); } && {
42236 test -z "$ac_c_werror_flag" ||
42237 test ! -s conftest.err
42238 } && test -s conftest$ac_exeext &&
42239 $as_test_x conftest$ac_exeext; then
42240 ac_cv_func_gethostbyname=yes
42241 else
42242 echo "$as_me: failed program was:" >&5
42243 sed 's/^/| /' conftest.$ac_ext >&5
42244
42245 ac_cv_func_gethostbyname=no
42246 fi
42247
42248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42249 conftest$ac_exeext conftest.$ac_ext
42250 fi
42251 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42252 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42253 if test $ac_cv_func_gethostbyname = yes; then
42254 cat >>confdefs.h <<\_ACEOF
42255 #define HAVE_GETHOSTBYNAME 1
42256 _ACEOF
42257
42258 fi
42259
42260 fi
42261
42262 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42263 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42264 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42265 echo $ECHO_N "(cached) $ECHO_C" >&6
42266 else
42267
42268 ac_ext=cpp
42269 ac_cpp='$CXXCPP $CPPFLAGS'
42270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42273
42274
42275 cat >conftest.$ac_ext <<_ACEOF
42276 /* confdefs.h. */
42277 _ACEOF
42278 cat confdefs.h >>conftest.$ac_ext
42279 cat >>conftest.$ac_ext <<_ACEOF
42280 /* end confdefs.h. */
42281 #include <netdb.h>
42282 int
42283 main ()
42284 {
42285
42286 char *name;
42287 char *proto;
42288 struct servent *se, *res;
42289 char buffer[2048];
42290 int buflen = 2048;
42291 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42292
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 rm -f conftest.$ac_objext
42298 if { (ac_try="$ac_compile"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42302 esac
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_compile") 2>conftest.er1
42305 ac_status=$?
42306 grep -v '^ *+' conftest.er1 >conftest.err
42307 rm -f conftest.er1
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_cxx_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest.$ac_objext; then
42314 ac_cv_func_which_getservbyname_r=six
42315 else
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42318
42319
42320 cat >conftest.$ac_ext <<_ACEOF
42321 /* confdefs.h. */
42322 _ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42326 #include <netdb.h>
42327 int
42328 main ()
42329 {
42330
42331 char *name;
42332 char *proto;
42333 struct servent *se;
42334 char buffer[2048];
42335 int buflen = 2048;
42336 (void) getservbyname_r(name, proto, se, buffer, buflen)
42337
42338 ;
42339 return 0;
42340 }
42341 _ACEOF
42342 rm -f conftest.$ac_objext
42343 if { (ac_try="$ac_compile"
42344 case "(($ac_try" in
42345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42346 *) ac_try_echo=$ac_try;;
42347 esac
42348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42349 (eval "$ac_compile") 2>conftest.er1
42350 ac_status=$?
42351 grep -v '^ *+' conftest.er1 >conftest.err
42352 rm -f conftest.er1
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } && {
42356 test -z "$ac_cxx_werror_flag" ||
42357 test ! -s conftest.err
42358 } && test -s conftest.$ac_objext; then
42359 ac_cv_func_which_getservbyname_r=five
42360 else
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42363
42364
42365 cat >conftest.$ac_ext <<_ACEOF
42366 /* confdefs.h. */
42367 _ACEOF
42368 cat confdefs.h >>conftest.$ac_ext
42369 cat >>conftest.$ac_ext <<_ACEOF
42370 /* end confdefs.h. */
42371 #include <netdb.h>
42372 int
42373 main ()
42374 {
42375
42376 char *name;
42377 char *proto;
42378 struct servent *se;
42379 struct servent_data data;
42380 (void) getservbyname_r(name, proto, se, &data);
42381
42382 ;
42383 return 0;
42384 }
42385 _ACEOF
42386 rm -f conftest.$ac_objext
42387 if { (ac_try="$ac_compile"
42388 case "(($ac_try" in
42389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42390 *) ac_try_echo=$ac_try;;
42391 esac
42392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42393 (eval "$ac_compile") 2>conftest.er1
42394 ac_status=$?
42395 grep -v '^ *+' conftest.er1 >conftest.err
42396 rm -f conftest.er1
42397 cat conftest.err >&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); } && {
42400 test -z "$ac_cxx_werror_flag" ||
42401 test ! -s conftest.err
42402 } && test -s conftest.$ac_objext; then
42403 ac_cv_func_which_getservbyname_r=four
42404 else
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42407
42408 ac_cv_func_which_getservbyname_r=no
42409
42410 fi
42411
42412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42413
42414
42415 fi
42416
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42418
42419
42420 fi
42421
42422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42423 ac_ext=c
42424 ac_cpp='$CPP $CPPFLAGS'
42425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42428
42429
42430
42431 fi
42432 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42433 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42434
42435 if test $ac_cv_func_which_getservbyname_r = six; then
42436 cat >>confdefs.h <<\_ACEOF
42437 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42438 _ACEOF
42439
42440 elif test $ac_cv_func_which_getservbyname_r = five; then
42441 cat >>confdefs.h <<\_ACEOF
42442 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42443 _ACEOF
42444
42445 elif test $ac_cv_func_which_getservbyname_r = four; then
42446 cat >>confdefs.h <<\_ACEOF
42447 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42448 _ACEOF
42449
42450 fi
42451
42452
42453 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42454 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42455
42456 for ac_func in getservbyname
42457 do
42458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42462 echo $ECHO_N "(cached) $ECHO_C" >&6
42463 else
42464 cat >conftest.$ac_ext <<_ACEOF
42465 /* confdefs.h. */
42466 _ACEOF
42467 cat confdefs.h >>conftest.$ac_ext
42468 cat >>conftest.$ac_ext <<_ACEOF
42469 /* end confdefs.h. */
42470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42472 #define $ac_func innocuous_$ac_func
42473
42474 /* System header to define __stub macros and hopefully few prototypes,
42475 which can conflict with char $ac_func (); below.
42476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42477 <limits.h> exists even on freestanding compilers. */
42478
42479 #ifdef __STDC__
42480 # include <limits.h>
42481 #else
42482 # include <assert.h>
42483 #endif
42484
42485 #undef $ac_func
42486
42487 /* Override any GCC internal prototype to avoid an error.
42488 Use char because int might match the return type of a GCC
42489 builtin and then its argument prototype would still apply. */
42490 #ifdef __cplusplus
42491 extern "C"
42492 #endif
42493 char $ac_func ();
42494 /* The GNU C library defines this for functions which it implements
42495 to always fail with ENOSYS. Some functions are actually named
42496 something starting with __ and the normal name is an alias. */
42497 #if defined __stub_$ac_func || defined __stub___$ac_func
42498 choke me
42499 #endif
42500
42501 int
42502 main ()
42503 {
42504 return $ac_func ();
42505 ;
42506 return 0;
42507 }
42508 _ACEOF
42509 rm -f conftest.$ac_objext conftest$ac_exeext
42510 if { (ac_try="$ac_link"
42511 case "(($ac_try" in
42512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42513 *) ac_try_echo=$ac_try;;
42514 esac
42515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42516 (eval "$ac_link") 2>conftest.er1
42517 ac_status=$?
42518 grep -v '^ *+' conftest.er1 >conftest.err
42519 rm -f conftest.er1
42520 cat conftest.err >&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } && {
42523 test -z "$ac_c_werror_flag" ||
42524 test ! -s conftest.err
42525 } && test -s conftest$ac_exeext &&
42526 $as_test_x conftest$ac_exeext; then
42527 eval "$as_ac_var=yes"
42528 else
42529 echo "$as_me: failed program was:" >&5
42530 sed 's/^/| /' conftest.$ac_ext >&5
42531
42532 eval "$as_ac_var=no"
42533 fi
42534
42535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42536 conftest$ac_exeext conftest.$ac_ext
42537 fi
42538 ac_res=`eval echo '${'$as_ac_var'}'`
42539 { echo "$as_me:$LINENO: result: $ac_res" >&5
42540 echo "${ECHO_T}$ac_res" >&6; }
42541 if test `eval echo '${'$as_ac_var'}'` = yes; then
42542 cat >>confdefs.h <<_ACEOF
42543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42544 _ACEOF
42545 cat >>confdefs.h <<\_ACEOF
42546 #define HAVE_GETSERVBYNAME 1
42547 _ACEOF
42548
42549 fi
42550 done
42551
42552 fi
42553
42554 if test "$wxUSE_THREADS" = "yes"; then
42555 cat >>confdefs.h <<\_ACEOF
42556 #define wxUSE_THREADS 1
42557 _ACEOF
42558
42559
42560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42561 else
42562 if test "$wx_cv_func_strtok_r" = "yes"; then
42563 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42564 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42565 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42566 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42567 { echo "$as_me:$LINENO: result: yes" >&5
42568 echo "${ECHO_T}yes" >&6; }
42569 else
42570 { echo "$as_me:$LINENO: result: no" >&5
42571 echo "${ECHO_T}no" >&6; }
42572 fi
42573 fi
42574 fi
42575
42576 if test "$WXGTK2" = 1 ; then
42577 cat >>confdefs.h <<_ACEOF
42578 #define __WXGTK20__ $WXGTK2
42579 _ACEOF
42580
42581 WXGTK12=1
42582 fi
42583
42584 if test "$WXGTK12" = 1 ; then
42585 cat >>confdefs.h <<_ACEOF
42586 #define __WXGTK12__ $WXGTK12
42587 _ACEOF
42588
42589 fi
42590
42591 if test "$WXGTK127" = 1 ; then
42592 cat >>confdefs.h <<_ACEOF
42593 #define __WXGTK127__ $WXGTK127
42594 _ACEOF
42595
42596 fi
42597
42598 if test "$WXGPE" = 1 ; then
42599 cat >>confdefs.h <<_ACEOF
42600 #define __WXGPE__ $WXGPE
42601 _ACEOF
42602
42603 fi
42604
42605 DEBUG_CFLAGS=
42606 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42607 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42608 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42609 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42610 DEBUG_CFLAGS="-g"
42611 fi
42612
42613 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42614 wxUSE_DEBUG_INFO=yes
42615 if test "$GCC" = yes; then
42616 DEBUG_CFLAGS="-ggdb"
42617 fi
42618 fi
42619
42620 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42621 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42622
42623 if test "$wxUSE_GTK" = 1 ; then
42624 if test "x$wxGTK_VERSION" = "x1" ; then
42625 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42626 fi
42627 fi
42628 fi
42629
42630 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_MEMORY_TRACING 1
42633 _ACEOF
42634
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42637 _ACEOF
42638
42639 cat >>confdefs.h <<\_ACEOF
42640 #define wxUSE_DEBUG_NEW_ALWAYS 1
42641 _ACEOF
42642
42643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42644 fi
42645
42646 if test "$wxUSE_DMALLOC" = "yes" ; then
42647 DMALLOC_LIBS="-ldmallocthcxx"
42648 fi
42649
42650 PROFILE_FLAGS=
42651 if test "$wxUSE_PROFILE" = "yes" ; then
42652 PROFILE_FLAGS=" -pg"
42653 fi
42654
42655 if test "$GCC" = "yes" ; then
42656 if test "$wxUSE_NO_RTTI" = "yes" ; then
42657 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42658 fi
42659 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42660 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42661 fi
42662 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42663 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42664 fi
42665
42666 case "${host}" in
42667 powerpc*-*-aix* )
42668 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42669 ;;
42670 *-hppa* )
42671 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42672 ;;
42673 esac
42674 fi
42675
42676 OPTIMISE_CFLAGS=
42677 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42678 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42679 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42680 else
42681 if test "$wxUSE_OPTIMISE" = "no" ; then
42682 if test "$GCC" = yes ; then
42683 OPTIMISE_CFLAGS="-O0"
42684 fi
42685 else
42686 if test "$GCC" = yes ; then
42687 case "${host}" in
42688 *-pc-os2_emx | *-pc-os2-emx )
42689 OPTIMISE_CFLAGS="-O2"
42690 ;;
42691 *)
42692 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42693 ;;
42694 esac
42695 else
42696 OPTIMISE_CFLAGS="-O"
42697 fi
42698 fi
42699 fi
42700
42701
42702 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define WXWIN_COMPATIBILITY_2_6 1
42705 _ACEOF
42706
42707
42708 WXWIN_COMPATIBILITY_2_8="yes"
42709 fi
42710
42711 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42712 cat >>confdefs.h <<\_ACEOF
42713 #define WXWIN_COMPATIBILITY_2_8 1
42714 _ACEOF
42715
42716 fi
42717
42718
42719 if test "$wxUSE_GUI" = "yes"; then
42720 cat >>confdefs.h <<\_ACEOF
42721 #define wxUSE_GUI 1
42722 _ACEOF
42723
42724
42725 fi
42726
42727
42728 if test "$wxUSE_UNIX" = "yes"; then
42729 cat >>confdefs.h <<\_ACEOF
42730 #define wxUSE_UNIX 1
42731 _ACEOF
42732
42733 fi
42734
42735
42736 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42737
42738 HAVE_DL_FUNCS=0
42739 HAVE_SHL_FUNCS=0
42740 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42741 if test "$USE_DOS" = 1; then
42742 HAVE_DL_FUNCS=0
42743 else
42744
42745 for ac_func in dlopen
42746 do
42747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42751 echo $ECHO_N "(cached) $ECHO_C" >&6
42752 else
42753 cat >conftest.$ac_ext <<_ACEOF
42754 /* confdefs.h. */
42755 _ACEOF
42756 cat confdefs.h >>conftest.$ac_ext
42757 cat >>conftest.$ac_ext <<_ACEOF
42758 /* end confdefs.h. */
42759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42761 #define $ac_func innocuous_$ac_func
42762
42763 /* System header to define __stub macros and hopefully few prototypes,
42764 which can conflict with char $ac_func (); below.
42765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42766 <limits.h> exists even on freestanding compilers. */
42767
42768 #ifdef __STDC__
42769 # include <limits.h>
42770 #else
42771 # include <assert.h>
42772 #endif
42773
42774 #undef $ac_func
42775
42776 /* Override any GCC internal prototype to avoid an error.
42777 Use char because int might match the return type of a GCC
42778 builtin and then its argument prototype would still apply. */
42779 #ifdef __cplusplus
42780 extern "C"
42781 #endif
42782 char $ac_func ();
42783 /* The GNU C library defines this for functions which it implements
42784 to always fail with ENOSYS. Some functions are actually named
42785 something starting with __ and the normal name is an alias. */
42786 #if defined __stub_$ac_func || defined __stub___$ac_func
42787 choke me
42788 #endif
42789
42790 int
42791 main ()
42792 {
42793 return $ac_func ();
42794 ;
42795 return 0;
42796 }
42797 _ACEOF
42798 rm -f conftest.$ac_objext conftest$ac_exeext
42799 if { (ac_try="$ac_link"
42800 case "(($ac_try" in
42801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42802 *) ac_try_echo=$ac_try;;
42803 esac
42804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42805 (eval "$ac_link") 2>conftest.er1
42806 ac_status=$?
42807 grep -v '^ *+' conftest.er1 >conftest.err
42808 rm -f conftest.er1
42809 cat conftest.err >&5
42810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42811 (exit $ac_status); } && {
42812 test -z "$ac_c_werror_flag" ||
42813 test ! -s conftest.err
42814 } && test -s conftest$ac_exeext &&
42815 $as_test_x conftest$ac_exeext; then
42816 eval "$as_ac_var=yes"
42817 else
42818 echo "$as_me: failed program was:" >&5
42819 sed 's/^/| /' conftest.$ac_ext >&5
42820
42821 eval "$as_ac_var=no"
42822 fi
42823
42824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42825 conftest$ac_exeext conftest.$ac_ext
42826 fi
42827 ac_res=`eval echo '${'$as_ac_var'}'`
42828 { echo "$as_me:$LINENO: result: $ac_res" >&5
42829 echo "${ECHO_T}$ac_res" >&6; }
42830 if test `eval echo '${'$as_ac_var'}'` = yes; then
42831 cat >>confdefs.h <<_ACEOF
42832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42833 _ACEOF
42834
42835 cat >>confdefs.h <<\_ACEOF
42836 #define HAVE_DLOPEN 1
42837 _ACEOF
42838
42839 HAVE_DL_FUNCS=1
42840
42841 else
42842
42843 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42844 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42845 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42846 echo $ECHO_N "(cached) $ECHO_C" >&6
42847 else
42848 ac_check_lib_save_LIBS=$LIBS
42849 LIBS="-ldl $LIBS"
42850 cat >conftest.$ac_ext <<_ACEOF
42851 /* confdefs.h. */
42852 _ACEOF
42853 cat confdefs.h >>conftest.$ac_ext
42854 cat >>conftest.$ac_ext <<_ACEOF
42855 /* end confdefs.h. */
42856
42857 /* Override any GCC internal prototype to avoid an error.
42858 Use char because int might match the return type of a GCC
42859 builtin and then its argument prototype would still apply. */
42860 #ifdef __cplusplus
42861 extern "C"
42862 #endif
42863 char dlopen ();
42864 int
42865 main ()
42866 {
42867 return dlopen ();
42868 ;
42869 return 0;
42870 }
42871 _ACEOF
42872 rm -f conftest.$ac_objext conftest$ac_exeext
42873 if { (ac_try="$ac_link"
42874 case "(($ac_try" in
42875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42876 *) ac_try_echo=$ac_try;;
42877 esac
42878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42879 (eval "$ac_link") 2>conftest.er1
42880 ac_status=$?
42881 grep -v '^ *+' conftest.er1 >conftest.err
42882 rm -f conftest.er1
42883 cat conftest.err >&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); } && {
42886 test -z "$ac_c_werror_flag" ||
42887 test ! -s conftest.err
42888 } && test -s conftest$ac_exeext &&
42889 $as_test_x conftest$ac_exeext; then
42890 ac_cv_lib_dl_dlopen=yes
42891 else
42892 echo "$as_me: failed program was:" >&5
42893 sed 's/^/| /' conftest.$ac_ext >&5
42894
42895 ac_cv_lib_dl_dlopen=no
42896 fi
42897
42898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42899 conftest$ac_exeext conftest.$ac_ext
42900 LIBS=$ac_check_lib_save_LIBS
42901 fi
42902 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42903 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42904 if test $ac_cv_lib_dl_dlopen = yes; then
42905
42906 cat >>confdefs.h <<\_ACEOF
42907 #define HAVE_DLOPEN 1
42908 _ACEOF
42909
42910 HAVE_DL_FUNCS=1
42911 DL_LINK=" -ldl$DL_LINK"
42912
42913 else
42914
42915
42916 for ac_func in shl_load
42917 do
42918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42922 echo $ECHO_N "(cached) $ECHO_C" >&6
42923 else
42924 cat >conftest.$ac_ext <<_ACEOF
42925 /* confdefs.h. */
42926 _ACEOF
42927 cat confdefs.h >>conftest.$ac_ext
42928 cat >>conftest.$ac_ext <<_ACEOF
42929 /* end confdefs.h. */
42930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42932 #define $ac_func innocuous_$ac_func
42933
42934 /* System header to define __stub macros and hopefully few prototypes,
42935 which can conflict with char $ac_func (); below.
42936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42937 <limits.h> exists even on freestanding compilers. */
42938
42939 #ifdef __STDC__
42940 # include <limits.h>
42941 #else
42942 # include <assert.h>
42943 #endif
42944
42945 #undef $ac_func
42946
42947 /* Override any GCC internal prototype to avoid an error.
42948 Use char because int might match the return type of a GCC
42949 builtin and then its argument prototype would still apply. */
42950 #ifdef __cplusplus
42951 extern "C"
42952 #endif
42953 char $ac_func ();
42954 /* The GNU C library defines this for functions which it implements
42955 to always fail with ENOSYS. Some functions are actually named
42956 something starting with __ and the normal name is an alias. */
42957 #if defined __stub_$ac_func || defined __stub___$ac_func
42958 choke me
42959 #endif
42960
42961 int
42962 main ()
42963 {
42964 return $ac_func ();
42965 ;
42966 return 0;
42967 }
42968 _ACEOF
42969 rm -f conftest.$ac_objext conftest$ac_exeext
42970 if { (ac_try="$ac_link"
42971 case "(($ac_try" in
42972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42973 *) ac_try_echo=$ac_try;;
42974 esac
42975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42976 (eval "$ac_link") 2>conftest.er1
42977 ac_status=$?
42978 grep -v '^ *+' conftest.er1 >conftest.err
42979 rm -f conftest.er1
42980 cat conftest.err >&5
42981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42982 (exit $ac_status); } && {
42983 test -z "$ac_c_werror_flag" ||
42984 test ! -s conftest.err
42985 } && test -s conftest$ac_exeext &&
42986 $as_test_x conftest$ac_exeext; then
42987 eval "$as_ac_var=yes"
42988 else
42989 echo "$as_me: failed program was:" >&5
42990 sed 's/^/| /' conftest.$ac_ext >&5
42991
42992 eval "$as_ac_var=no"
42993 fi
42994
42995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42996 conftest$ac_exeext conftest.$ac_ext
42997 fi
42998 ac_res=`eval echo '${'$as_ac_var'}'`
42999 { echo "$as_me:$LINENO: result: $ac_res" >&5
43000 echo "${ECHO_T}$ac_res" >&6; }
43001 if test `eval echo '${'$as_ac_var'}'` = yes; then
43002 cat >>confdefs.h <<_ACEOF
43003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43004 _ACEOF
43005
43006 cat >>confdefs.h <<\_ACEOF
43007 #define HAVE_SHL_LOAD 1
43008 _ACEOF
43009
43010 HAVE_SHL_FUNCS=1
43011
43012 else
43013
43014 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43015 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43016 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43017 echo $ECHO_N "(cached) $ECHO_C" >&6
43018 else
43019 ac_check_lib_save_LIBS=$LIBS
43020 LIBS="-lshl_load $LIBS"
43021 cat >conftest.$ac_ext <<_ACEOF
43022 /* confdefs.h. */
43023 _ACEOF
43024 cat confdefs.h >>conftest.$ac_ext
43025 cat >>conftest.$ac_ext <<_ACEOF
43026 /* end confdefs.h. */
43027
43028 /* Override any GCC internal prototype to avoid an error.
43029 Use char because int might match the return type of a GCC
43030 builtin and then its argument prototype would still apply. */
43031 #ifdef __cplusplus
43032 extern "C"
43033 #endif
43034 char dld ();
43035 int
43036 main ()
43037 {
43038 return dld ();
43039 ;
43040 return 0;
43041 }
43042 _ACEOF
43043 rm -f conftest.$ac_objext conftest$ac_exeext
43044 if { (ac_try="$ac_link"
43045 case "(($ac_try" in
43046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43047 *) ac_try_echo=$ac_try;;
43048 esac
43049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43050 (eval "$ac_link") 2>conftest.er1
43051 ac_status=$?
43052 grep -v '^ *+' conftest.er1 >conftest.err
43053 rm -f conftest.er1
43054 cat conftest.err >&5
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); } && {
43057 test -z "$ac_c_werror_flag" ||
43058 test ! -s conftest.err
43059 } && test -s conftest$ac_exeext &&
43060 $as_test_x conftest$ac_exeext; then
43061 ac_cv_lib_shl_load_dld=yes
43062 else
43063 echo "$as_me: failed program was:" >&5
43064 sed 's/^/| /' conftest.$ac_ext >&5
43065
43066 ac_cv_lib_shl_load_dld=no
43067 fi
43068
43069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43070 conftest$ac_exeext conftest.$ac_ext
43071 LIBS=$ac_check_lib_save_LIBS
43072 fi
43073 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43074 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43075 if test $ac_cv_lib_shl_load_dld = yes; then
43076
43077 HAVE_SHL_FUNCS=1
43078 DL_LINK=" -ldld$DL_LINK"
43079
43080 fi
43081
43082
43083 fi
43084 done
43085
43086
43087 fi
43088
43089
43090 fi
43091 done
43092
43093
43094 if test "$HAVE_DL_FUNCS" = 1; then
43095
43096 for ac_func in dlerror
43097 do
43098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43102 echo $ECHO_N "(cached) $ECHO_C" >&6
43103 else
43104 cat >conftest.$ac_ext <<_ACEOF
43105 /* confdefs.h. */
43106 _ACEOF
43107 cat confdefs.h >>conftest.$ac_ext
43108 cat >>conftest.$ac_ext <<_ACEOF
43109 /* end confdefs.h. */
43110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43112 #define $ac_func innocuous_$ac_func
43113
43114 /* System header to define __stub macros and hopefully few prototypes,
43115 which can conflict with char $ac_func (); below.
43116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43117 <limits.h> exists even on freestanding compilers. */
43118
43119 #ifdef __STDC__
43120 # include <limits.h>
43121 #else
43122 # include <assert.h>
43123 #endif
43124
43125 #undef $ac_func
43126
43127 /* Override any GCC internal prototype to avoid an error.
43128 Use char because int might match the return type of a GCC
43129 builtin and then its argument prototype would still apply. */
43130 #ifdef __cplusplus
43131 extern "C"
43132 #endif
43133 char $ac_func ();
43134 /* The GNU C library defines this for functions which it implements
43135 to always fail with ENOSYS. Some functions are actually named
43136 something starting with __ and the normal name is an alias. */
43137 #if defined __stub_$ac_func || defined __stub___$ac_func
43138 choke me
43139 #endif
43140
43141 int
43142 main ()
43143 {
43144 return $ac_func ();
43145 ;
43146 return 0;
43147 }
43148 _ACEOF
43149 rm -f conftest.$ac_objext conftest$ac_exeext
43150 if { (ac_try="$ac_link"
43151 case "(($ac_try" in
43152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43153 *) ac_try_echo=$ac_try;;
43154 esac
43155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43156 (eval "$ac_link") 2>conftest.er1
43157 ac_status=$?
43158 grep -v '^ *+' conftest.er1 >conftest.err
43159 rm -f conftest.er1
43160 cat conftest.err >&5
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); } && {
43163 test -z "$ac_c_werror_flag" ||
43164 test ! -s conftest.err
43165 } && test -s conftest$ac_exeext &&
43166 $as_test_x conftest$ac_exeext; then
43167 eval "$as_ac_var=yes"
43168 else
43169 echo "$as_me: failed program was:" >&5
43170 sed 's/^/| /' conftest.$ac_ext >&5
43171
43172 eval "$as_ac_var=no"
43173 fi
43174
43175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43176 conftest$ac_exeext conftest.$ac_ext
43177 fi
43178 ac_res=`eval echo '${'$as_ac_var'}'`
43179 { echo "$as_me:$LINENO: result: $ac_res" >&5
43180 echo "${ECHO_T}$ac_res" >&6; }
43181 if test `eval echo '${'$as_ac_var'}'` = yes; then
43182 cat >>confdefs.h <<_ACEOF
43183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43184 _ACEOF
43185 cat >>confdefs.h <<\_ACEOF
43186 #define HAVE_DLERROR 1
43187 _ACEOF
43188
43189 else
43190
43191 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43192 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43193 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43194 echo $ECHO_N "(cached) $ECHO_C" >&6
43195 else
43196 ac_check_lib_save_LIBS=$LIBS
43197 LIBS="-ldl $LIBS"
43198 cat >conftest.$ac_ext <<_ACEOF
43199 /* confdefs.h. */
43200 _ACEOF
43201 cat confdefs.h >>conftest.$ac_ext
43202 cat >>conftest.$ac_ext <<_ACEOF
43203 /* end confdefs.h. */
43204
43205 /* Override any GCC internal prototype to avoid an error.
43206 Use char because int might match the return type of a GCC
43207 builtin and then its argument prototype would still apply. */
43208 #ifdef __cplusplus
43209 extern "C"
43210 #endif
43211 char dlerror ();
43212 int
43213 main ()
43214 {
43215 return dlerror ();
43216 ;
43217 return 0;
43218 }
43219 _ACEOF
43220 rm -f conftest.$ac_objext conftest$ac_exeext
43221 if { (ac_try="$ac_link"
43222 case "(($ac_try" in
43223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43224 *) ac_try_echo=$ac_try;;
43225 esac
43226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43227 (eval "$ac_link") 2>conftest.er1
43228 ac_status=$?
43229 grep -v '^ *+' conftest.er1 >conftest.err
43230 rm -f conftest.er1
43231 cat conftest.err >&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } && {
43234 test -z "$ac_c_werror_flag" ||
43235 test ! -s conftest.err
43236 } && test -s conftest$ac_exeext &&
43237 $as_test_x conftest$ac_exeext; then
43238 ac_cv_lib_dl_dlerror=yes
43239 else
43240 echo "$as_me: failed program was:" >&5
43241 sed 's/^/| /' conftest.$ac_ext >&5
43242
43243 ac_cv_lib_dl_dlerror=no
43244 fi
43245
43246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43247 conftest$ac_exeext conftest.$ac_ext
43248 LIBS=$ac_check_lib_save_LIBS
43249 fi
43250 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43251 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43252 if test $ac_cv_lib_dl_dlerror = yes; then
43253 cat >>confdefs.h <<\_ACEOF
43254 #define HAVE_DLERROR 1
43255 _ACEOF
43256
43257 fi
43258
43259
43260
43261 fi
43262 done
43263
43264 fi
43265 fi
43266
43267 if test "$USE_DARWIN" = 1; then
43268 HAVE_DL_FUNCS=1
43269 fi
43270
43271 if test "$HAVE_DL_FUNCS" = 0; then
43272 if test "$HAVE_SHL_FUNCS" = 0; then
43273 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43274 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43275 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43276 wxUSE_DYNAMIC_LOADER=no
43277 wxUSE_DYNLIB_CLASS=no
43278 else
43279 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43280 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43281 fi
43282 fi
43283 fi
43284 fi
43285 fi
43286
43287 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxUSE_DYNAMIC_LOADER 1
43290 _ACEOF
43291
43292 fi
43293 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43294 cat >>confdefs.h <<\_ACEOF
43295 #define wxUSE_DYNLIB_CLASS 1
43296 _ACEOF
43297
43298 fi
43299
43300
43301
43302 if test "$wxUSE_PLUGINS" = "yes" ; then
43303 if test "$wxUSE_SHARED" = "no" ; then
43304 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43305 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43306 wxUSE_PLUGINS=no
43307 fi
43308 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43309 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43310 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43311 wxUSE_PLUGINS=no
43312 fi
43313 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43314 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43315 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43316 wxUSE_PLUGINS=no
43317 fi
43318 if test "$wxUSE_PLUGINS" = "yes" ; then
43319 cat >>confdefs.h <<\_ACEOF
43320 #define wxUSE_PLUGINS 1
43321 _ACEOF
43322
43323 fi
43324 fi
43325
43326
43327 if test "$wxUSE_FSWATCHER" = "yes"; then
43328 if test "$wxUSE_MSW" != "1"; then
43329 if test "$wxUSE_UNIX" = "yes"; then
43330
43331 for ac_header in sys/inotify.h
43332 do
43333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43338 else
43339 cat >conftest.$ac_ext <<_ACEOF
43340 /* confdefs.h. */
43341 _ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43345 $ac_includes_default
43346
43347 #include <$ac_header>
43348 _ACEOF
43349 rm -f conftest.$ac_objext
43350 if { (ac_try="$ac_compile"
43351 case "(($ac_try" in
43352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43353 *) ac_try_echo=$ac_try;;
43354 esac
43355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43356 (eval "$ac_compile") 2>conftest.er1
43357 ac_status=$?
43358 grep -v '^ *+' conftest.er1 >conftest.err
43359 rm -f conftest.er1
43360 cat conftest.err >&5
43361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43362 (exit $ac_status); } && {
43363 test -z "$ac_c_werror_flag" ||
43364 test ! -s conftest.err
43365 } && test -s conftest.$ac_objext; then
43366 eval "$as_ac_Header=yes"
43367 else
43368 echo "$as_me: failed program was:" >&5
43369 sed 's/^/| /' conftest.$ac_ext >&5
43370
43371 eval "$as_ac_Header=no"
43372 fi
43373
43374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43375 fi
43376 ac_res=`eval echo '${'$as_ac_Header'}'`
43377 { echo "$as_me:$LINENO: result: $ac_res" >&5
43378 echo "${ECHO_T}$ac_res" >&6; }
43379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43380 cat >>confdefs.h <<_ACEOF
43381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43382 _ACEOF
43383
43384 fi
43385
43386 done
43387
43388 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43389 cat >>confdefs.h <<\_ACEOF
43390 #define wxHAS_INOTIFY 1
43391 _ACEOF
43392
43393 else
43394
43395 for ac_header in sys/event.h
43396 do
43397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43398 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43401 echo $ECHO_N "(cached) $ECHO_C" >&6
43402 else
43403 cat >conftest.$ac_ext <<_ACEOF
43404 /* confdefs.h. */
43405 _ACEOF
43406 cat confdefs.h >>conftest.$ac_ext
43407 cat >>conftest.$ac_ext <<_ACEOF
43408 /* end confdefs.h. */
43409 $ac_includes_default
43410
43411 #include <$ac_header>
43412 _ACEOF
43413 rm -f conftest.$ac_objext
43414 if { (ac_try="$ac_compile"
43415 case "(($ac_try" in
43416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43417 *) ac_try_echo=$ac_try;;
43418 esac
43419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43420 (eval "$ac_compile") 2>conftest.er1
43421 ac_status=$?
43422 grep -v '^ *+' conftest.er1 >conftest.err
43423 rm -f conftest.er1
43424 cat conftest.err >&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } && {
43427 test -z "$ac_c_werror_flag" ||
43428 test ! -s conftest.err
43429 } && test -s conftest.$ac_objext; then
43430 eval "$as_ac_Header=yes"
43431 else
43432 echo "$as_me: failed program was:" >&5
43433 sed 's/^/| /' conftest.$ac_ext >&5
43434
43435 eval "$as_ac_Header=no"
43436 fi
43437
43438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43439 fi
43440 ac_res=`eval echo '${'$as_ac_Header'}'`
43441 { echo "$as_me:$LINENO: result: $ac_res" >&5
43442 echo "${ECHO_T}$ac_res" >&6; }
43443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43444 cat >>confdefs.h <<_ACEOF
43445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43446 _ACEOF
43447
43448 fi
43449
43450 done
43451
43452 if test "$ac_cv_header_sys_event_h" = "yes"; then
43453 cat >>confdefs.h <<\_ACEOF
43454 #define wxHAS_KQUEUE 1
43455 _ACEOF
43456
43457 else
43458 wxUSE_FSWATCHER=no
43459 fi
43460 fi
43461 else
43462 wxUSE_FSWATCHER=no
43463 fi
43464 fi
43465
43466 if test "$wxUSE_FSWATCHER" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_FSWATCHER 1
43469 _ACEOF
43470
43471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43472 else
43473 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43474 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43475 fi
43476 fi
43477
43478
43479 if test "$wxUSE_STL" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_STL 1
43482 _ACEOF
43483
43484 fi
43485
43486 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_EXTENDED_RTTI 1
43489 _ACEOF
43490
43491 fi
43492
43493 if test "$wxUSE_ANY" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_ANY 1
43496 _ACEOF
43497
43498 fi
43499
43500 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_APPLE_IEEE 1
43503 _ACEOF
43504
43505 fi
43506
43507 if test "$wxUSE_TIMER" = "yes"; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_TIMER 1
43510 _ACEOF
43511
43512 fi
43513
43514 if test "$USE_UNIX" = 1 ; then
43515 if test "$wxUSE_MGL" != 1; then
43516 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43517 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43518 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43519 echo $ECHO_N "(cached) $ECHO_C" >&6
43520 else
43521
43522 cat >conftest.$ac_ext <<_ACEOF
43523 /* confdefs.h. */
43524 _ACEOF
43525 cat confdefs.h >>conftest.$ac_ext
43526 cat >>conftest.$ac_ext <<_ACEOF
43527 /* end confdefs.h. */
43528
43529 #include <sys/ioctl.h>
43530 #include <sys/soundcard.h>
43531
43532 int
43533 main ()
43534 {
43535
43536 ioctl(0, SNDCTL_DSP_SPEED, 0);
43537
43538 ;
43539 return 0;
43540 }
43541 _ACEOF
43542 rm -f conftest.$ac_objext conftest$ac_exeext
43543 if { (ac_try="$ac_link"
43544 case "(($ac_try" in
43545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43546 *) ac_try_echo=$ac_try;;
43547 esac
43548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43549 (eval "$ac_link") 2>conftest.er1
43550 ac_status=$?
43551 grep -v '^ *+' conftest.er1 >conftest.err
43552 rm -f conftest.er1
43553 cat conftest.err >&5
43554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555 (exit $ac_status); } && {
43556 test -z "$ac_c_werror_flag" ||
43557 test ! -s conftest.err
43558 } && test -s conftest$ac_exeext &&
43559 $as_test_x conftest$ac_exeext; then
43560 ac_cv_header_sys_soundcard=yes
43561 else
43562 echo "$as_me: failed program was:" >&5
43563 sed 's/^/| /' conftest.$ac_ext >&5
43564
43565
43566 saveLibs="$LIBS"
43567 LIBS="$saveLibs -lossaudio"
43568 cat >conftest.$ac_ext <<_ACEOF
43569 /* confdefs.h. */
43570 _ACEOF
43571 cat confdefs.h >>conftest.$ac_ext
43572 cat >>conftest.$ac_ext <<_ACEOF
43573 /* end confdefs.h. */
43574
43575 #include <sys/ioctl.h>
43576 #include <sys/soundcard.h>
43577
43578 int
43579 main ()
43580 {
43581
43582 ioctl(0, SNDCTL_DSP_SPEED, 0);
43583
43584 ;
43585 return 0;
43586 }
43587 _ACEOF
43588 rm -f conftest.$ac_objext conftest$ac_exeext
43589 if { (ac_try="$ac_link"
43590 case "(($ac_try" in
43591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43592 *) ac_try_echo=$ac_try;;
43593 esac
43594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43595 (eval "$ac_link") 2>conftest.er1
43596 ac_status=$?
43597 grep -v '^ *+' conftest.er1 >conftest.err
43598 rm -f conftest.er1
43599 cat conftest.err >&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } && {
43602 test -z "$ac_c_werror_flag" ||
43603 test ! -s conftest.err
43604 } && test -s conftest$ac_exeext &&
43605 $as_test_x conftest$ac_exeext; then
43606 ac_cv_header_sys_soundcard=yes
43607 else
43608 echo "$as_me: failed program was:" >&5
43609 sed 's/^/| /' conftest.$ac_ext >&5
43610
43611
43612 LIBS="$saveLibs"
43613 ac_cv_header_sys_soundcard=no
43614
43615
43616 fi
43617
43618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43619 conftest$ac_exeext conftest.$ac_ext
43620
43621
43622 fi
43623
43624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43625 conftest$ac_exeext conftest.$ac_ext
43626
43627 fi
43628 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43629 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43630 fi
43631
43632 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define HAVE_SYS_SOUNDCARD_H 1
43635 _ACEOF
43636
43637 fi
43638 fi
43639
43640 WITH_PLUGIN_SDL=0
43641 if test "$wxUSE_SOUND" = "yes"; then
43642 if test "$USE_UNIX" = 1 ; then
43643 if test "$wxUSE_LIBSDL" != "no"; then
43644
43645 # Check whether --with-sdl-prefix was given.
43646 if test "${with_sdl_prefix+set}" = set; then
43647 withval=$with_sdl_prefix; sdl_prefix="$withval"
43648 else
43649 sdl_prefix=""
43650 fi
43651
43652
43653 # Check whether --with-sdl-exec-prefix was given.
43654 if test "${with_sdl_exec_prefix+set}" = set; then
43655 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43656 else
43657 sdl_exec_prefix=""
43658 fi
43659
43660 # Check whether --enable-sdltest was given.
43661 if test "${enable_sdltest+set}" = set; then
43662 enableval=$enable_sdltest;
43663 else
43664 enable_sdltest=yes
43665 fi
43666
43667
43668 if test x$sdl_exec_prefix != x ; then
43669 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43670 if test x${SDL_CONFIG+set} != xset ; then
43671 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43672 fi
43673 fi
43674 if test x$sdl_prefix != x ; then
43675 sdl_args="$sdl_args --prefix=$sdl_prefix"
43676 if test x${SDL_CONFIG+set} != xset ; then
43677 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43678 fi
43679 fi
43680
43681 if test "x$prefix" != xNONE; then
43682 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43683 fi
43684 # Extract the first word of "sdl-config", so it can be a program name with args.
43685 set dummy sdl-config; ac_word=$2
43686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43688 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43690 else
43691 case $SDL_CONFIG in
43692 [\\/]* | ?:[\\/]*)
43693 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43694 ;;
43695 *)
43696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43697 for as_dir in $PATH
43698 do
43699 IFS=$as_save_IFS
43700 test -z "$as_dir" && as_dir=.
43701 for ac_exec_ext in '' $ac_executable_extensions; do
43702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43703 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43705 break 2
43706 fi
43707 done
43708 done
43709 IFS=$as_save_IFS
43710
43711 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43712 ;;
43713 esac
43714 fi
43715 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43716 if test -n "$SDL_CONFIG"; then
43717 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43718 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43719 else
43720 { echo "$as_me:$LINENO: result: no" >&5
43721 echo "${ECHO_T}no" >&6; }
43722 fi
43723
43724
43725 min_sdl_version=1.2.0
43726 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43727 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43728 no_sdl=""
43729 if test "$SDL_CONFIG" = "no" ; then
43730 no_sdl=yes
43731 else
43732 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43733 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43734
43735 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43737 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43739 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43741 if test "x$enable_sdltest" = "xyes" ; then
43742 ac_save_CFLAGS="$CFLAGS"
43743 ac_save_CXXFLAGS="$CXXFLAGS"
43744 ac_save_LIBS="$LIBS"
43745 CFLAGS="$CFLAGS $SDL_CFLAGS"
43746 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43747 LIBS="$LIBS $SDL_LIBS"
43748 rm -f conf.sdltest
43749 if test "$cross_compiling" = yes; then
43750 echo $ac_n "cross compiling; assumed OK... $ac_c"
43751 else
43752 cat >conftest.$ac_ext <<_ACEOF
43753 /* confdefs.h. */
43754 _ACEOF
43755 cat confdefs.h >>conftest.$ac_ext
43756 cat >>conftest.$ac_ext <<_ACEOF
43757 /* end confdefs.h. */
43758
43759 #include <stdio.h>
43760 #include <stdlib.h>
43761 #include <string.h>
43762 #include "SDL.h"
43763
43764 char*
43765 my_strdup (char *str)
43766 {
43767 char *new_str;
43768
43769 if (str)
43770 {
43771 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43772 strcpy (new_str, str);
43773 }
43774 else
43775 new_str = NULL;
43776
43777 return new_str;
43778 }
43779
43780 int main (int argc, char *argv[])
43781 {
43782 int major, minor, micro;
43783 char *tmp_version;
43784
43785 /* This hangs on some systems (?)
43786 system ("touch conf.sdltest");
43787 */
43788 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43789
43790 /* HP/UX 9 (%@#!) writes to sscanf strings */
43791 tmp_version = my_strdup("$min_sdl_version");
43792 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43793 printf("%s, bad version string\n", "$min_sdl_version");
43794 exit(1);
43795 }
43796
43797 if (($sdl_major_version > major) ||
43798 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43799 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43800 {
43801 return 0;
43802 }
43803 else
43804 {
43805 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43806 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43807 printf("*** best to upgrade to the required version.\n");
43808 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43809 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43810 printf("*** config.cache before re-running configure\n");
43811 return 1;
43812 }
43813 }
43814
43815
43816 _ACEOF
43817 rm -f conftest$ac_exeext
43818 if { (ac_try="$ac_link"
43819 case "(($ac_try" in
43820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43821 *) ac_try_echo=$ac_try;;
43822 esac
43823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43824 (eval "$ac_link") 2>&5
43825 ac_status=$?
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43828 { (case "(($ac_try" in
43829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43830 *) ac_try_echo=$ac_try;;
43831 esac
43832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43833 (eval "$ac_try") 2>&5
43834 ac_status=$?
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; }; then
43837 :
43838 else
43839 echo "$as_me: program exited with status $ac_status" >&5
43840 echo "$as_me: failed program was:" >&5
43841 sed 's/^/| /' conftest.$ac_ext >&5
43842
43843 ( exit $ac_status )
43844 no_sdl=yes
43845 fi
43846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43847 fi
43848
43849
43850 CFLAGS="$ac_save_CFLAGS"
43851 CXXFLAGS="$ac_save_CXXFLAGS"
43852 LIBS="$ac_save_LIBS"
43853 fi
43854 fi
43855 if test "x$no_sdl" = x ; then
43856 { echo "$as_me:$LINENO: result: yes" >&5
43857 echo "${ECHO_T}yes" >&6; }
43858
43859 EXTRALIBS_SDL="$SDL_LIBS"
43860 CFLAGS="$SDL_CFLAGS $CFLAGS"
43861 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43862 cat >>confdefs.h <<\_ACEOF
43863 #define wxUSE_LIBSDL 1
43864 _ACEOF
43865
43866
43867 else
43868 { echo "$as_me:$LINENO: result: no" >&5
43869 echo "${ECHO_T}no" >&6; }
43870 if test "$SDL_CONFIG" = "no" ; then
43871 echo "*** The sdl-config script installed by SDL could not be found"
43872 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43873 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43874 echo "*** full path to sdl-config."
43875 else
43876 if test -f conf.sdltest ; then
43877 :
43878 else
43879 echo "*** Could not run SDL test program, checking why..."
43880 CFLAGS="$CFLAGS $SDL_CFLAGS"
43881 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43882 LIBS="$LIBS $SDL_LIBS"
43883 cat >conftest.$ac_ext <<_ACEOF
43884 /* confdefs.h. */
43885 _ACEOF
43886 cat confdefs.h >>conftest.$ac_ext
43887 cat >>conftest.$ac_ext <<_ACEOF
43888 /* end confdefs.h. */
43889
43890 #include <stdio.h>
43891 #include "SDL.h"
43892
43893 int main(int argc, char *argv[])
43894 { return 0; }
43895 #undef main
43896 #define main K_and_R_C_main
43897
43898 int
43899 main ()
43900 {
43901 return 0;
43902 ;
43903 return 0;
43904 }
43905 _ACEOF
43906 rm -f conftest.$ac_objext conftest$ac_exeext
43907 if { (ac_try="$ac_link"
43908 case "(($ac_try" in
43909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43911 esac
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_link") 2>conftest.er1
43914 ac_status=$?
43915 grep -v '^ *+' conftest.er1 >conftest.err
43916 rm -f conftest.er1
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_c_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest$ac_exeext &&
43923 $as_test_x conftest$ac_exeext; then
43924 echo "*** The test program compiled, but did not run. This usually means"
43925 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43926 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43927 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43928 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43929 echo "*** is required on your system"
43930 echo "***"
43931 echo "*** If you have an old version installed, it is best to remove it, although"
43932 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43933 else
43934 echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.$ac_ext >&5
43936
43937 echo "*** The test program failed to compile or link. See the file config.log for the"
43938 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43939 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43940 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43941 fi
43942
43943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43944 conftest$ac_exeext conftest.$ac_ext
43945 CFLAGS="$ac_save_CFLAGS"
43946 CXXFLAGS="$ac_save_CXXFLAGS"
43947 LIBS="$ac_save_LIBS"
43948 fi
43949 fi
43950 SDL_CFLAGS=""
43951 SDL_LIBS=""
43952 wxUSE_LIBSDL="no"
43953 fi
43954
43955
43956 rm -f conf.sdltest
43957
43958 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43959 WITH_PLUGIN_SDL=1
43960 fi
43961 fi
43962 else
43963 if test "$wxUSE_MGL" = 1; then
43964 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43965 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43966 wxUSE_SOUND="no"
43967 fi
43968 fi
43969 fi
43970
43971 if test "$wxUSE_SOUND" = "yes"; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_SOUND 1
43974 _ACEOF
43975
43976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43977 fi
43978
43979 if test "$WXGTK2" = 1; then
43980
43981
43982 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43983 if test -n "$ac_tool_prefix"; then
43984 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43985 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43988 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43989 echo $ECHO_N "(cached) $ECHO_C" >&6
43990 else
43991 case $PKG_CONFIG in
43992 [\\/]* | ?:[\\/]*)
43993 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43994 ;;
43995 *)
43996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43997 for as_dir in $PATH
43998 do
43999 IFS=$as_save_IFS
44000 test -z "$as_dir" && as_dir=.
44001 for ac_exec_ext in '' $ac_executable_extensions; do
44002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44003 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44005 break 2
44006 fi
44007 done
44008 done
44009 IFS=$as_save_IFS
44010
44011 ;;
44012 esac
44013 fi
44014 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44015 if test -n "$PKG_CONFIG"; then
44016 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44017 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44018 else
44019 { echo "$as_me:$LINENO: result: no" >&5
44020 echo "${ECHO_T}no" >&6; }
44021 fi
44022
44023
44024 fi
44025 if test -z "$ac_cv_path_PKG_CONFIG"; then
44026 ac_pt_PKG_CONFIG=$PKG_CONFIG
44027 # Extract the first word of "pkg-config", so it can be a program name with args.
44028 set dummy pkg-config; ac_word=$2
44029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44031 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44032 echo $ECHO_N "(cached) $ECHO_C" >&6
44033 else
44034 case $ac_pt_PKG_CONFIG in
44035 [\\/]* | ?:[\\/]*)
44036 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44037 ;;
44038 *)
44039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44040 for as_dir in $PATH
44041 do
44042 IFS=$as_save_IFS
44043 test -z "$as_dir" && as_dir=.
44044 for ac_exec_ext in '' $ac_executable_extensions; do
44045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44046 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44048 break 2
44049 fi
44050 done
44051 done
44052 IFS=$as_save_IFS
44053
44054 ;;
44055 esac
44056 fi
44057 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44058 if test -n "$ac_pt_PKG_CONFIG"; then
44059 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44060 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44061 else
44062 { echo "$as_me:$LINENO: result: no" >&5
44063 echo "${ECHO_T}no" >&6; }
44064 fi
44065
44066 if test "x$ac_pt_PKG_CONFIG" = x; then
44067 PKG_CONFIG=""
44068 else
44069 case $cross_compiling:$ac_tool_warned in
44070 yes:)
44071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44072 whose name does not start with the host triplet. If you think this
44073 configuration is useful to you, please write to autoconf@gnu.org." >&5
44074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44075 whose name does not start with the host triplet. If you think this
44076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44077 ac_tool_warned=yes ;;
44078 esac
44079 PKG_CONFIG=$ac_pt_PKG_CONFIG
44080 fi
44081 else
44082 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44083 fi
44084
44085 fi
44086 if test -n "$PKG_CONFIG"; then
44087 _pkg_min_version=0.9.0
44088 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44089 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44090 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44091 { echo "$as_me:$LINENO: result: yes" >&5
44092 echo "${ECHO_T}yes" >&6; }
44093 else
44094 { echo "$as_me:$LINENO: result: no" >&5
44095 echo "${ECHO_T}no" >&6; }
44096 PKG_CONFIG=""
44097 fi
44098
44099 fi
44100
44101 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44102
44103 if test "$wxUSE_GTKPRINT" = "yes" ; then
44104
44105
44106 pkg_failed=no
44107 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44108 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44109
44110 if test -n "$PKG_CONFIG"; then
44111 if test -n "$GTKPRINT_CFLAGS"; then
44112 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44113 else
44114 if test -n "$PKG_CONFIG" && \
44115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44116 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44117 ac_status=$?
44118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44119 (exit $ac_status); }; then
44120 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44121 else
44122 pkg_failed=yes
44123 fi
44124 fi
44125 else
44126 pkg_failed=untried
44127 fi
44128 if test -n "$PKG_CONFIG"; then
44129 if test -n "$GTKPRINT_LIBS"; then
44130 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44131 else
44132 if test -n "$PKG_CONFIG" && \
44133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44134 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44135 ac_status=$?
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); }; then
44138 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44139 else
44140 pkg_failed=yes
44141 fi
44142 fi
44143 else
44144 pkg_failed=untried
44145 fi
44146
44147
44148
44149 if test $pkg_failed = yes; then
44150
44151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44152 _pkg_short_errors_supported=yes
44153 else
44154 _pkg_short_errors_supported=no
44155 fi
44156 if test $_pkg_short_errors_supported = yes; then
44157 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44158 else
44159 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44160 fi
44161 # Put the nasty error message in config.log where it belongs
44162 echo "$GTKPRINT_PKG_ERRORS" >&5
44163
44164
44165 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44166 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44167 wxUSE_GTKPRINT="no"
44168
44169
44170 elif test $pkg_failed = untried; then
44171
44172 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44173 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44174 wxUSE_GTKPRINT="no"
44175
44176
44177 else
44178 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44179 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44180 { echo "$as_me:$LINENO: result: yes" >&5
44181 echo "${ECHO_T}yes" >&6; }
44182
44183 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44184 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44185 cat >>confdefs.h <<\_ACEOF
44186 #define wxUSE_GTKPRINT 1
44187 _ACEOF
44188
44189
44190 fi
44191 fi
44192
44193 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44194
44195
44196 pkg_failed=no
44197 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44198 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44199
44200 if test -n "$PKG_CONFIG"; then
44201 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44202 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44203 else
44204 if test -n "$PKG_CONFIG" && \
44205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44206 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44207 ac_status=$?
44208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44209 (exit $ac_status); }; then
44210 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44211 else
44212 pkg_failed=yes
44213 fi
44214 fi
44215 else
44216 pkg_failed=untried
44217 fi
44218 if test -n "$PKG_CONFIG"; then
44219 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44220 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44221 else
44222 if test -n "$PKG_CONFIG" && \
44223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44224 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44225 ac_status=$?
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; then
44228 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44229 else
44230 pkg_failed=yes
44231 fi
44232 fi
44233 else
44234 pkg_failed=untried
44235 fi
44236
44237
44238
44239 if test $pkg_failed = yes; then
44240
44241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44242 _pkg_short_errors_supported=yes
44243 else
44244 _pkg_short_errors_supported=no
44245 fi
44246 if test $_pkg_short_errors_supported = yes; then
44247 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44248 else
44249 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44250 fi
44251 # Put the nasty error message in config.log where it belongs
44252 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44253
44254
44255 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44256 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44257 wxUSE_LIBGNOMEPRINT="no"
44258
44259
44260 elif test $pkg_failed = untried; then
44261
44262 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44263 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44264 wxUSE_LIBGNOMEPRINT="no"
44265
44266
44267 else
44268 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44269 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44270 { echo "$as_me:$LINENO: result: yes" >&5
44271 echo "${ECHO_T}yes" >&6; }
44272
44273 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44274 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_LIBGNOMEPRINT 1
44277 _ACEOF
44278
44279
44280 fi
44281 fi
44282 fi
44283
44284 if test "$wxUSE_MIMETYPE" = "yes" ; then
44285 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44286
44287
44288 pkg_failed=no
44289 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44290 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44291
44292 if test -n "$PKG_CONFIG"; then
44293 if test -n "$GNOMEVFS_CFLAGS"; then
44294 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44295 else
44296 if test -n "$PKG_CONFIG" && \
44297 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44298 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44299 ac_status=$?
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); }; then
44302 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44303 else
44304 pkg_failed=yes
44305 fi
44306 fi
44307 else
44308 pkg_failed=untried
44309 fi
44310 if test -n "$PKG_CONFIG"; then
44311 if test -n "$GNOMEVFS_LIBS"; then
44312 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44313 else
44314 if test -n "$PKG_CONFIG" && \
44315 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44316 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44317 ac_status=$?
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); }; then
44320 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44321 else
44322 pkg_failed=yes
44323 fi
44324 fi
44325 else
44326 pkg_failed=untried
44327 fi
44328
44329
44330
44331 if test $pkg_failed = yes; then
44332
44333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44334 _pkg_short_errors_supported=yes
44335 else
44336 _pkg_short_errors_supported=no
44337 fi
44338 if test $_pkg_short_errors_supported = yes; then
44339 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44340 else
44341 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44342 fi
44343 # Put the nasty error message in config.log where it belongs
44344 echo "$GNOMEVFS_PKG_ERRORS" >&5
44345
44346
44347 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44348 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44349 wxUSE_LIBGNOMEVFS="no"
44350
44351
44352 elif test $pkg_failed = untried; then
44353
44354 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44355 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44356 wxUSE_LIBGNOMEVFS="no"
44357
44358
44359 else
44360 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44361 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44362 { echo "$as_me:$LINENO: result: yes" >&5
44363 echo "${ECHO_T}yes" >&6; }
44364
44365 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44366 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_LIBGNOMEVFS 1
44369 _ACEOF
44370
44371
44372 fi
44373 fi
44374 fi
44375
44376 if test "$wxUSE_LIBHILDON" = "yes" ; then
44377
44378 pkg_failed=no
44379 { echo "$as_me:$LINENO: checking for HILDON" >&5
44380 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44381
44382 if test -n "$PKG_CONFIG"; then
44383 if test -n "$HILDON_CFLAGS"; then
44384 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44385 else
44386 if test -n "$PKG_CONFIG" && \
44387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44388 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44389 ac_status=$?
44390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391 (exit $ac_status); }; then
44392 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44393 else
44394 pkg_failed=yes
44395 fi
44396 fi
44397 else
44398 pkg_failed=untried
44399 fi
44400 if test -n "$PKG_CONFIG"; then
44401 if test -n "$HILDON_LIBS"; then
44402 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44403 else
44404 if test -n "$PKG_CONFIG" && \
44405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44406 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44407 ac_status=$?
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); }; then
44410 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44411 else
44412 pkg_failed=yes
44413 fi
44414 fi
44415 else
44416 pkg_failed=untried
44417 fi
44418
44419
44420
44421 if test $pkg_failed = yes; then
44422
44423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44424 _pkg_short_errors_supported=yes
44425 else
44426 _pkg_short_errors_supported=no
44427 fi
44428 if test $_pkg_short_errors_supported = yes; then
44429 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44430 else
44431 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44432 fi
44433 # Put the nasty error message in config.log where it belongs
44434 echo "$HILDON_PKG_ERRORS" >&5
44435
44436
44437 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44438 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44439 wxUSE_LIBHILDON="no"
44440 ac_hildon_lgpl=0
44441
44442
44443 elif test $pkg_failed = untried; then
44444
44445 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44446 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44447 wxUSE_LIBHILDON="no"
44448 ac_hildon_lgpl=0
44449
44450
44451 else
44452 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44453 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44454 { echo "$as_me:$LINENO: result: yes" >&5
44455 echo "${ECHO_T}yes" >&6; }
44456
44457 EXTRALIBS_HILDON="$HILDON_LIBS"
44458 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44459 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44460 cat >>confdefs.h <<\_ACEOF
44461 #define wxUSE_LIBHILDON 1
44462 _ACEOF
44463
44464 ac_hildon_lgpl=1
44465
44466 fi
44467
44468 if test "$ac_hildon_lgpl" = 0 ; then
44469
44470 pkg_failed=no
44471 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44472 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44473
44474 if test -n "$PKG_CONFIG"; then
44475 if test -n "$HILDON2_CFLAGS"; then
44476 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44477 else
44478 if test -n "$PKG_CONFIG" && \
44479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44480 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44481 ac_status=$?
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); }; then
44484 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44485 else
44486 pkg_failed=yes
44487 fi
44488 fi
44489 else
44490 pkg_failed=untried
44491 fi
44492 if test -n "$PKG_CONFIG"; then
44493 if test -n "$HILDON2_LIBS"; then
44494 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44495 else
44496 if test -n "$PKG_CONFIG" && \
44497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44498 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44499 ac_status=$?
44500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501 (exit $ac_status); }; then
44502 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44503 else
44504 pkg_failed=yes
44505 fi
44506 fi
44507 else
44508 pkg_failed=untried
44509 fi
44510
44511
44512
44513 if test $pkg_failed = yes; then
44514
44515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44516 _pkg_short_errors_supported=yes
44517 else
44518 _pkg_short_errors_supported=no
44519 fi
44520 if test $_pkg_short_errors_supported = yes; then
44521 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44522 else
44523 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44524 fi
44525 # Put the nasty error message in config.log where it belongs
44526 echo "$HILDON2_PKG_ERRORS" >&5
44527
44528
44529 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44530 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44531 wxUSE_LIBHILDON2="no"
44532
44533
44534 elif test $pkg_failed = untried; then
44535
44536 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44537 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44538 wxUSE_LIBHILDON2="no"
44539
44540
44541 else
44542 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44543 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44544 { echo "$as_me:$LINENO: result: yes" >&5
44545 echo "${ECHO_T}yes" >&6; }
44546
44547 EXTRALIBS_HILDON="$HILDON2_LIBS"
44548 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44549 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_LIBHILDON2 1
44552 _ACEOF
44553
44554
44555 fi
44556 fi
44557 fi
44558 fi
44559
44560 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_CMDLINE_PARSER 1
44563 _ACEOF
44564
44565 fi
44566
44567 if test "$wxUSE_STOPWATCH" = "yes"; then
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_STOPWATCH 1
44570 _ACEOF
44571
44572 fi
44573
44574 if test "$wxUSE_DATETIME" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_DATETIME 1
44577 _ACEOF
44578
44579 fi
44580
44581 if test "$wxUSE_FILE" = "yes"; then
44582 cat >>confdefs.h <<\_ACEOF
44583 #define wxUSE_FILE 1
44584 _ACEOF
44585
44586 fi
44587
44588 if test "$wxUSE_FFILE" = "yes"; then
44589 cat >>confdefs.h <<\_ACEOF
44590 #define wxUSE_FFILE 1
44591 _ACEOF
44592
44593 fi
44594
44595 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44596 if test "$wxUSE_STREAMS" != yes; then
44597 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44598 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44599 wxUSE_ARCHIVE_STREAMS=no
44600 else
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_ARCHIVE_STREAMS 1
44603 _ACEOF
44604
44605 fi
44606 fi
44607
44608 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44610 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44611 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44612 elif test "$wxUSE_ZLIB" = "no"; then
44613 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44614 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44615 else
44616 cat >>confdefs.h <<\_ACEOF
44617 #define wxUSE_ZIPSTREAM 1
44618 _ACEOF
44619
44620 fi
44621 fi
44622
44623 if test "$wxUSE_TARSTREAM" = "yes"; then
44624 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44625 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44626 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44627 else
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_TARSTREAM 1
44630 _ACEOF
44631
44632 fi
44633 fi
44634
44635 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44636 cat >>confdefs.h <<\_ACEOF
44637 #define wxUSE_FILE_HISTORY 1
44638 _ACEOF
44639
44640 fi
44641
44642 if test "$wxUSE_FILESYSTEM" = "yes"; then
44643 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44644 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44645 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44646 wxUSE_FILESYSTEM=no
44647 else
44648 cat >>confdefs.h <<\_ACEOF
44649 #define wxUSE_FILESYSTEM 1
44650 _ACEOF
44651
44652 fi
44653 fi
44654
44655 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44656 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44657 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44658 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44659 else
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_FS_ARCHIVE 1
44662 _ACEOF
44663
44664 fi
44665 fi
44666
44667 if test "$wxUSE_FS_ZIP" = "yes"; then
44668 if test "$wxUSE_FS_ARCHIVE" != yes; then
44669 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44670 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44671 else
44672 cat >>confdefs.h <<\_ACEOF
44673 #define wxUSE_FS_ZIP 1
44674 _ACEOF
44675
44676 fi
44677 fi
44678
44679 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44680 if test "$USE_UNIX" != 1; then
44681 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44682 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44683 wxUSE_ON_FATAL_EXCEPTION=no
44684 else
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_ON_FATAL_EXCEPTION 1
44687 _ACEOF
44688
44689 fi
44690 fi
44691
44692 if test "$wxUSE_STACKWALKER" = "yes"; then
44693 cat >>confdefs.h <<\_ACEOF
44694 #define wxUSE_STACKWALKER 1
44695 _ACEOF
44696
44697 fi
44698
44699 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44700 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44701 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44702 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44703 wxUSE_DEBUGREPORT=no
44704 else
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_DEBUGREPORT 1
44707 _ACEOF
44708
44709 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44711 fi
44712 fi
44713 fi
44714
44715 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44716 cat >>confdefs.h <<\_ACEOF
44717 #define wxUSE_SNGLINST_CHECKER 1
44718 _ACEOF
44719
44720 fi
44721
44722 if test "$wxUSE_BUSYINFO" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_BUSYINFO 1
44725 _ACEOF
44726
44727 fi
44728
44729 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_STD_IOSTREAM 1
44732 _ACEOF
44733
44734 fi
44735
44736 if test "$wxUSE_STD_STRING" = "yes"; then
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_STD_STRING 1
44739 _ACEOF
44740
44741 fi
44742
44743 if test "$wxUSE_STDPATHS" = "yes"; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_STDPATHS 1
44746 _ACEOF
44747
44748 fi
44749
44750 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44751 cat >>confdefs.h <<\_ACEOF
44752 #define wxUSE_TEXTBUFFER 1
44753 _ACEOF
44754
44755 fi
44756
44757 if test "$wxUSE_TEXTFILE" = "yes"; then
44758 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44759 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44760 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44761 else
44762 cat >>confdefs.h <<\_ACEOF
44763 #define wxUSE_TEXTFILE 1
44764 _ACEOF
44765
44766 fi
44767 fi
44768
44769 if test "$wxUSE_CONFIG" = "yes" ; then
44770 if test "$wxUSE_TEXTFILE" != "yes"; then
44771 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44772 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44773 else
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_CONFIG 1
44776 _ACEOF
44777
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_CONFIG_NATIVE 1
44780 _ACEOF
44781
44782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44783 fi
44784 fi
44785
44786 if test "$wxUSE_INTL" = "yes" ; then
44787 if test "$wxUSE_FILE" != "yes"; then
44788 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44789 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44790 else
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_INTL 1
44793 _ACEOF
44794
44795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44796 GUIDIST="$GUIDIST INTL_DIST"
44797 fi
44798 fi
44799
44800 if test "$wxUSE_XLOCALE" = "yes" ; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_XLOCALE 1
44803 _ACEOF
44804
44805 { echo "$as_me:$LINENO: checking for locale_t" >&5
44806 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44807 if test "${ac_cv_type_locale_t+set}" = set; then
44808 echo $ECHO_N "(cached) $ECHO_C" >&6
44809 else
44810 cat >conftest.$ac_ext <<_ACEOF
44811 /* confdefs.h. */
44812 _ACEOF
44813 cat confdefs.h >>conftest.$ac_ext
44814 cat >>conftest.$ac_ext <<_ACEOF
44815 /* end confdefs.h. */
44816 #include <xlocale.h>
44817 #include <locale.h>
44818
44819 typedef locale_t ac__type_new_;
44820 int
44821 main ()
44822 {
44823 if ((ac__type_new_ *) 0)
44824 return 0;
44825 if (sizeof (ac__type_new_))
44826 return 0;
44827 ;
44828 return 0;
44829 }
44830 _ACEOF
44831 rm -f conftest.$ac_objext
44832 if { (ac_try="$ac_compile"
44833 case "(($ac_try" in
44834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44835 *) ac_try_echo=$ac_try;;
44836 esac
44837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44838 (eval "$ac_compile") 2>conftest.er1
44839 ac_status=$?
44840 grep -v '^ *+' conftest.er1 >conftest.err
44841 rm -f conftest.er1
44842 cat conftest.err >&5
44843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44844 (exit $ac_status); } && {
44845 test -z "$ac_c_werror_flag" ||
44846 test ! -s conftest.err
44847 } && test -s conftest.$ac_objext; then
44848 ac_cv_type_locale_t=yes
44849 else
44850 echo "$as_me: failed program was:" >&5
44851 sed 's/^/| /' conftest.$ac_ext >&5
44852
44853 ac_cv_type_locale_t=no
44854 fi
44855
44856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44857 fi
44858 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44859 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44860 if test $ac_cv_type_locale_t = yes; then
44861
44862 cat >>confdefs.h <<_ACEOF
44863 #define HAVE_LOCALE_T 1
44864 _ACEOF
44865
44866
44867 fi
44868
44869 fi
44870
44871 if test "$wxUSE_LOG" = "yes"; then
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_LOG 1
44874 _ACEOF
44875
44876
44877 if test "$wxUSE_LOGGUI" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_LOGGUI 1
44880 _ACEOF
44881
44882 fi
44883
44884 if test "$wxUSE_LOGWINDOW" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_LOGWINDOW 1
44887 _ACEOF
44888
44889 fi
44890
44891 if test "$wxUSE_LOGDIALOG" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_LOG_DIALOG 1
44894 _ACEOF
44895
44896 fi
44897
44898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44899 fi
44900
44901 if test "$wxUSE_LONGLONG" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_LONGLONG 1
44904 _ACEOF
44905
44906 fi
44907
44908 if test "$wxUSE_GEOMETRY" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_GEOMETRY 1
44911 _ACEOF
44912
44913 fi
44914
44915 if test "$wxUSE_BASE64" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_BASE64 1
44918 _ACEOF
44919
44920 fi
44921
44922 if test "$wxUSE_STREAMS" = "yes" ; then
44923 cat >>confdefs.h <<\_ACEOF
44924 #define wxUSE_STREAMS 1
44925 _ACEOF
44926
44927 fi
44928
44929 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44930 cat >>confdefs.h <<\_ACEOF
44931 #define wxUSE_PRINTF_POS_PARAMS 1
44932 _ACEOF
44933
44934 fi
44935
44936 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_OBJC_UNIQUIFYING 1
44939 _ACEOF
44940
44941 fi
44942
44943
44944 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44945 cat >>confdefs.h <<\_ACEOF
44946 #define wxUSE_CONSOLE_EVENTLOOP 1
44947 _ACEOF
44948
44949
44950 if test "$wxUSE_UNIX" = "yes"; then
44951 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_SELECT_DISPATCHER 1
44954 _ACEOF
44955
44956 fi
44957
44958 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44959
44960 for ac_header in sys/epoll.h
44961 do
44962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44966 echo $ECHO_N "(cached) $ECHO_C" >&6
44967 else
44968 cat >conftest.$ac_ext <<_ACEOF
44969 /* confdefs.h. */
44970 _ACEOF
44971 cat confdefs.h >>conftest.$ac_ext
44972 cat >>conftest.$ac_ext <<_ACEOF
44973 /* end confdefs.h. */
44974 $ac_includes_default
44975
44976 #include <$ac_header>
44977 _ACEOF
44978 rm -f conftest.$ac_objext
44979 if { (ac_try="$ac_compile"
44980 case "(($ac_try" in
44981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44982 *) ac_try_echo=$ac_try;;
44983 esac
44984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44985 (eval "$ac_compile") 2>conftest.er1
44986 ac_status=$?
44987 grep -v '^ *+' conftest.er1 >conftest.err
44988 rm -f conftest.er1
44989 cat conftest.err >&5
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); } && {
44992 test -z "$ac_c_werror_flag" ||
44993 test ! -s conftest.err
44994 } && test -s conftest.$ac_objext; then
44995 eval "$as_ac_Header=yes"
44996 else
44997 echo "$as_me: failed program was:" >&5
44998 sed 's/^/| /' conftest.$ac_ext >&5
44999
45000 eval "$as_ac_Header=no"
45001 fi
45002
45003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45004 fi
45005 ac_res=`eval echo '${'$as_ac_Header'}'`
45006 { echo "$as_me:$LINENO: result: $ac_res" >&5
45007 echo "${ECHO_T}$ac_res" >&6; }
45008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45009 cat >>confdefs.h <<_ACEOF
45010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45011 _ACEOF
45012
45013 fi
45014
45015 done
45016
45017 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_EPOLL_DISPATCHER 1
45020 _ACEOF
45021
45022 else
45023 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45024 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45025 fi
45026 fi
45027 fi
45028 fi
45029
45030
45031
45032
45033 for ac_func in gettimeofday ftime
45034 do
45035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45036 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45039 echo $ECHO_N "(cached) $ECHO_C" >&6
45040 else
45041 cat >conftest.$ac_ext <<_ACEOF
45042 /* confdefs.h. */
45043 _ACEOF
45044 cat confdefs.h >>conftest.$ac_ext
45045 cat >>conftest.$ac_ext <<_ACEOF
45046 /* end confdefs.h. */
45047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45049 #define $ac_func innocuous_$ac_func
45050
45051 /* System header to define __stub macros and hopefully few prototypes,
45052 which can conflict with char $ac_func (); below.
45053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45054 <limits.h> exists even on freestanding compilers. */
45055
45056 #ifdef __STDC__
45057 # include <limits.h>
45058 #else
45059 # include <assert.h>
45060 #endif
45061
45062 #undef $ac_func
45063
45064 /* Override any GCC internal prototype to avoid an error.
45065 Use char because int might match the return type of a GCC
45066 builtin and then its argument prototype would still apply. */
45067 #ifdef __cplusplus
45068 extern "C"
45069 #endif
45070 char $ac_func ();
45071 /* The GNU C library defines this for functions which it implements
45072 to always fail with ENOSYS. Some functions are actually named
45073 something starting with __ and the normal name is an alias. */
45074 #if defined __stub_$ac_func || defined __stub___$ac_func
45075 choke me
45076 #endif
45077
45078 int
45079 main ()
45080 {
45081 return $ac_func ();
45082 ;
45083 return 0;
45084 }
45085 _ACEOF
45086 rm -f conftest.$ac_objext conftest$ac_exeext
45087 if { (ac_try="$ac_link"
45088 case "(($ac_try" in
45089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45090 *) ac_try_echo=$ac_try;;
45091 esac
45092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45093 (eval "$ac_link") 2>conftest.er1
45094 ac_status=$?
45095 grep -v '^ *+' conftest.er1 >conftest.err
45096 rm -f conftest.er1
45097 cat conftest.err >&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); } && {
45100 test -z "$ac_c_werror_flag" ||
45101 test ! -s conftest.err
45102 } && test -s conftest$ac_exeext &&
45103 $as_test_x conftest$ac_exeext; then
45104 eval "$as_ac_var=yes"
45105 else
45106 echo "$as_me: failed program was:" >&5
45107 sed 's/^/| /' conftest.$ac_ext >&5
45108
45109 eval "$as_ac_var=no"
45110 fi
45111
45112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45113 conftest$ac_exeext conftest.$ac_ext
45114 fi
45115 ac_res=`eval echo '${'$as_ac_var'}'`
45116 { echo "$as_me:$LINENO: result: $ac_res" >&5
45117 echo "${ECHO_T}$ac_res" >&6; }
45118 if test `eval echo '${'$as_ac_var'}'` = yes; then
45119 cat >>confdefs.h <<_ACEOF
45120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45121 _ACEOF
45122 break
45123 fi
45124 done
45125
45126
45127 if test "$ac_cv_func_gettimeofday" = "yes"; then
45128 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45129 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45130 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45131 echo $ECHO_N "(cached) $ECHO_C" >&6
45132 else
45133
45134 cat >conftest.$ac_ext <<_ACEOF
45135 /* confdefs.h. */
45136 _ACEOF
45137 cat confdefs.h >>conftest.$ac_ext
45138 cat >>conftest.$ac_ext <<_ACEOF
45139 /* end confdefs.h. */
45140
45141 #include <sys/time.h>
45142 #include <unistd.h>
45143
45144 int
45145 main ()
45146 {
45147
45148 struct timeval tv;
45149 gettimeofday(&tv, NULL);
45150
45151 ;
45152 return 0;
45153 }
45154 _ACEOF
45155 rm -f conftest.$ac_objext
45156 if { (ac_try="$ac_compile"
45157 case "(($ac_try" in
45158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45159 *) ac_try_echo=$ac_try;;
45160 esac
45161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45162 (eval "$ac_compile") 2>conftest.er1
45163 ac_status=$?
45164 grep -v '^ *+' conftest.er1 >conftest.err
45165 rm -f conftest.er1
45166 cat conftest.err >&5
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); } && {
45169 test -z "$ac_c_werror_flag" ||
45170 test ! -s conftest.err
45171 } && test -s conftest.$ac_objext; then
45172 wx_cv_func_gettimeofday_has_2_args=yes
45173 else
45174 echo "$as_me: failed program was:" >&5
45175 sed 's/^/| /' conftest.$ac_ext >&5
45176
45177 cat >conftest.$ac_ext <<_ACEOF
45178 /* confdefs.h. */
45179 _ACEOF
45180 cat confdefs.h >>conftest.$ac_ext
45181 cat >>conftest.$ac_ext <<_ACEOF
45182 /* end confdefs.h. */
45183
45184 #include <sys/time.h>
45185 #include <unistd.h>
45186
45187 int
45188 main ()
45189 {
45190
45191 struct timeval tv;
45192 gettimeofday(&tv);
45193
45194 ;
45195 return 0;
45196 }
45197 _ACEOF
45198 rm -f conftest.$ac_objext
45199 if { (ac_try="$ac_compile"
45200 case "(($ac_try" in
45201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45202 *) ac_try_echo=$ac_try;;
45203 esac
45204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45205 (eval "$ac_compile") 2>conftest.er1
45206 ac_status=$?
45207 grep -v '^ *+' conftest.er1 >conftest.err
45208 rm -f conftest.er1
45209 cat conftest.err >&5
45210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211 (exit $ac_status); } && {
45212 test -z "$ac_c_werror_flag" ||
45213 test ! -s conftest.err
45214 } && test -s conftest.$ac_objext; then
45215 wx_cv_func_gettimeofday_has_2_args=no
45216 else
45217 echo "$as_me: failed program was:" >&5
45218 sed 's/^/| /' conftest.$ac_ext >&5
45219
45220
45221 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45222 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45223 wx_cv_func_gettimeofday_has_2_args=unknown
45224
45225
45226 fi
45227
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45229
45230 fi
45231
45232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45233
45234 fi
45235 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45236 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45237
45238 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45239 cat >>confdefs.h <<\_ACEOF
45240 #define WX_GETTIMEOFDAY_NO_TZ 1
45241 _ACEOF
45242
45243 fi
45244 fi
45245
45246 if test "$wxUSE_DATETIME" = "yes"; then
45247 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45248 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45249 if test "${wx_cv_var_timezone+set}" = set; then
45250 echo $ECHO_N "(cached) $ECHO_C" >&6
45251 else
45252
45253 ac_ext=cpp
45254 ac_cpp='$CXXCPP $CPPFLAGS'
45255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45258
45259 cat >conftest.$ac_ext <<_ACEOF
45260 /* confdefs.h. */
45261 _ACEOF
45262 cat confdefs.h >>conftest.$ac_ext
45263 cat >>conftest.$ac_ext <<_ACEOF
45264 /* end confdefs.h. */
45265
45266 #include <time.h>
45267
45268 int
45269 main ()
45270 {
45271
45272 int tz;
45273 tz = timezone;
45274
45275 ;
45276 return 0;
45277 }
45278 _ACEOF
45279 rm -f conftest.$ac_objext
45280 if { (ac_try="$ac_compile"
45281 case "(($ac_try" in
45282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45283 *) ac_try_echo=$ac_try;;
45284 esac
45285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45286 (eval "$ac_compile") 2>conftest.er1
45287 ac_status=$?
45288 grep -v '^ *+' conftest.er1 >conftest.err
45289 rm -f conftest.er1
45290 cat conftest.err >&5
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); } && {
45293 test -z "$ac_cxx_werror_flag" ||
45294 test ! -s conftest.err
45295 } && test -s conftest.$ac_objext; then
45296
45297 wx_cv_var_timezone=timezone
45298
45299 else
45300 echo "$as_me: failed program was:" >&5
45301 sed 's/^/| /' conftest.$ac_ext >&5
45302
45303
45304 cat >conftest.$ac_ext <<_ACEOF
45305 /* confdefs.h. */
45306 _ACEOF
45307 cat confdefs.h >>conftest.$ac_ext
45308 cat >>conftest.$ac_ext <<_ACEOF
45309 /* end confdefs.h. */
45310
45311 #include <time.h>
45312
45313 int
45314 main ()
45315 {
45316
45317 int tz;
45318 tz = _timezone;
45319
45320 ;
45321 return 0;
45322 }
45323 _ACEOF
45324 rm -f conftest.$ac_objext
45325 if { (ac_try="$ac_compile"
45326 case "(($ac_try" in
45327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45328 *) ac_try_echo=$ac_try;;
45329 esac
45330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45331 (eval "$ac_compile") 2>conftest.er1
45332 ac_status=$?
45333 grep -v '^ *+' conftest.er1 >conftest.err
45334 rm -f conftest.er1
45335 cat conftest.err >&5
45336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45337 (exit $ac_status); } && {
45338 test -z "$ac_cxx_werror_flag" ||
45339 test ! -s conftest.err
45340 } && test -s conftest.$ac_objext; then
45341
45342 wx_cv_var_timezone=_timezone
45343
45344 else
45345 echo "$as_me: failed program was:" >&5
45346 sed 's/^/| /' conftest.$ac_ext >&5
45347
45348
45349 cat >conftest.$ac_ext <<_ACEOF
45350 /* confdefs.h. */
45351 _ACEOF
45352 cat confdefs.h >>conftest.$ac_ext
45353 cat >>conftest.$ac_ext <<_ACEOF
45354 /* end confdefs.h. */
45355
45356 #include <time.h>
45357
45358 int
45359 main ()
45360 {
45361
45362 int tz;
45363 tz = __timezone;
45364
45365 ;
45366 return 0;
45367 }
45368 _ACEOF
45369 rm -f conftest.$ac_objext
45370 if { (ac_try="$ac_compile"
45371 case "(($ac_try" in
45372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45373 *) ac_try_echo=$ac_try;;
45374 esac
45375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45376 (eval "$ac_compile") 2>conftest.er1
45377 ac_status=$?
45378 grep -v '^ *+' conftest.er1 >conftest.err
45379 rm -f conftest.er1
45380 cat conftest.err >&5
45381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45382 (exit $ac_status); } && {
45383 test -z "$ac_cxx_werror_flag" ||
45384 test ! -s conftest.err
45385 } && test -s conftest.$ac_objext; then
45386
45387 wx_cv_var_timezone=__timezone
45388
45389 else
45390 echo "$as_me: failed program was:" >&5
45391 sed 's/^/| /' conftest.$ac_ext >&5
45392
45393
45394 if test "$USE_DOS" = 0 ; then
45395 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45396 echo "$as_me: WARNING: no timezone variable" >&2;}
45397 fi
45398
45399
45400 fi
45401
45402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45403
45404
45405 fi
45406
45407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45408
45409
45410 fi
45411
45412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45413 ac_ext=c
45414 ac_cpp='$CPP $CPPFLAGS'
45415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45418
45419
45420
45421 fi
45422 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45423 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45424
45425 if test "x$wx_cv_var_timezone" != x ; then
45426 cat >>confdefs.h <<_ACEOF
45427 #define WX_TIMEZONE $wx_cv_var_timezone
45428 _ACEOF
45429
45430 fi
45431
45432
45433 for ac_func in localtime
45434 do
45435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45439 echo $ECHO_N "(cached) $ECHO_C" >&6
45440 else
45441 cat >conftest.$ac_ext <<_ACEOF
45442 /* confdefs.h. */
45443 _ACEOF
45444 cat confdefs.h >>conftest.$ac_ext
45445 cat >>conftest.$ac_ext <<_ACEOF
45446 /* end confdefs.h. */
45447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45449 #define $ac_func innocuous_$ac_func
45450
45451 /* System header to define __stub macros and hopefully few prototypes,
45452 which can conflict with char $ac_func (); below.
45453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45454 <limits.h> exists even on freestanding compilers. */
45455
45456 #ifdef __STDC__
45457 # include <limits.h>
45458 #else
45459 # include <assert.h>
45460 #endif
45461
45462 #undef $ac_func
45463
45464 /* Override any GCC internal prototype to avoid an error.
45465 Use char because int might match the return type of a GCC
45466 builtin and then its argument prototype would still apply. */
45467 #ifdef __cplusplus
45468 extern "C"
45469 #endif
45470 char $ac_func ();
45471 /* The GNU C library defines this for functions which it implements
45472 to always fail with ENOSYS. Some functions are actually named
45473 something starting with __ and the normal name is an alias. */
45474 #if defined __stub_$ac_func || defined __stub___$ac_func
45475 choke me
45476 #endif
45477
45478 int
45479 main ()
45480 {
45481 return $ac_func ();
45482 ;
45483 return 0;
45484 }
45485 _ACEOF
45486 rm -f conftest.$ac_objext conftest$ac_exeext
45487 if { (ac_try="$ac_link"
45488 case "(($ac_try" in
45489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45490 *) ac_try_echo=$ac_try;;
45491 esac
45492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45493 (eval "$ac_link") 2>conftest.er1
45494 ac_status=$?
45495 grep -v '^ *+' conftest.er1 >conftest.err
45496 rm -f conftest.er1
45497 cat conftest.err >&5
45498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45499 (exit $ac_status); } && {
45500 test -z "$ac_c_werror_flag" ||
45501 test ! -s conftest.err
45502 } && test -s conftest$ac_exeext &&
45503 $as_test_x conftest$ac_exeext; then
45504 eval "$as_ac_var=yes"
45505 else
45506 echo "$as_me: failed program was:" >&5
45507 sed 's/^/| /' conftest.$ac_ext >&5
45508
45509 eval "$as_ac_var=no"
45510 fi
45511
45512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45513 conftest$ac_exeext conftest.$ac_ext
45514 fi
45515 ac_res=`eval echo '${'$as_ac_var'}'`
45516 { echo "$as_me:$LINENO: result: $ac_res" >&5
45517 echo "${ECHO_T}$ac_res" >&6; }
45518 if test `eval echo '${'$as_ac_var'}'` = yes; then
45519 cat >>confdefs.h <<_ACEOF
45520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45521 _ACEOF
45522
45523 fi
45524 done
45525
45526
45527 if test "$ac_cv_func_localtime" = "yes"; then
45528 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45529 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45530 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45531 echo $ECHO_N "(cached) $ECHO_C" >&6
45532 else
45533
45534 cat >conftest.$ac_ext <<_ACEOF
45535 /* confdefs.h. */
45536 _ACEOF
45537 cat confdefs.h >>conftest.$ac_ext
45538 cat >>conftest.$ac_ext <<_ACEOF
45539 /* end confdefs.h. */
45540
45541 #include <time.h>
45542
45543 int
45544 main ()
45545 {
45546
45547 struct tm tm;
45548 tm.tm_gmtoff++;
45549
45550 ;
45551 return 0;
45552 }
45553 _ACEOF
45554 rm -f conftest.$ac_objext
45555 if { (ac_try="$ac_compile"
45556 case "(($ac_try" in
45557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45558 *) ac_try_echo=$ac_try;;
45559 esac
45560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45561 (eval "$ac_compile") 2>conftest.er1
45562 ac_status=$?
45563 grep -v '^ *+' conftest.er1 >conftest.err
45564 rm -f conftest.er1
45565 cat conftest.err >&5
45566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45567 (exit $ac_status); } && {
45568 test -z "$ac_c_werror_flag" ||
45569 test ! -s conftest.err
45570 } && test -s conftest.$ac_objext; then
45571
45572 wx_cv_struct_tm_has_gmtoff=yes
45573
45574 else
45575 echo "$as_me: failed program was:" >&5
45576 sed 's/^/| /' conftest.$ac_ext >&5
45577
45578 wx_cv_struct_tm_has_gmtoff=no
45579
45580 fi
45581
45582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45583
45584 fi
45585 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45586 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45587 fi
45588
45589 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define WX_GMTOFF_IN_TM 1
45592 _ACEOF
45593
45594 fi
45595
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45597 fi
45598
45599
45600 if test "$wxUSE_SOCKETS" = "yes"; then
45601 if test "$wxUSE_MGL" = 1; then
45602 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45603 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45604 wxUSE_SOCKETS="no"
45605 fi
45606 fi
45607
45608 if test "$wxUSE_SOCKETS" = "yes"; then
45609 if test "$TOOLKIT" != "MSW"; then
45610 { echo "$as_me:$LINENO: checking for socket" >&5
45611 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45612 if test "${ac_cv_func_socket+set}" = set; then
45613 echo $ECHO_N "(cached) $ECHO_C" >&6
45614 else
45615 cat >conftest.$ac_ext <<_ACEOF
45616 /* confdefs.h. */
45617 _ACEOF
45618 cat confdefs.h >>conftest.$ac_ext
45619 cat >>conftest.$ac_ext <<_ACEOF
45620 /* end confdefs.h. */
45621 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45623 #define socket innocuous_socket
45624
45625 /* System header to define __stub macros and hopefully few prototypes,
45626 which can conflict with char socket (); below.
45627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45628 <limits.h> exists even on freestanding compilers. */
45629
45630 #ifdef __STDC__
45631 # include <limits.h>
45632 #else
45633 # include <assert.h>
45634 #endif
45635
45636 #undef socket
45637
45638 /* Override any GCC internal prototype to avoid an error.
45639 Use char because int might match the return type of a GCC
45640 builtin and then its argument prototype would still apply. */
45641 #ifdef __cplusplus
45642 extern "C"
45643 #endif
45644 char socket ();
45645 /* The GNU C library defines this for functions which it implements
45646 to always fail with ENOSYS. Some functions are actually named
45647 something starting with __ and the normal name is an alias. */
45648 #if defined __stub_socket || defined __stub___socket
45649 choke me
45650 #endif
45651
45652 int
45653 main ()
45654 {
45655 return socket ();
45656 ;
45657 return 0;
45658 }
45659 _ACEOF
45660 rm -f conftest.$ac_objext conftest$ac_exeext
45661 if { (ac_try="$ac_link"
45662 case "(($ac_try" in
45663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45664 *) ac_try_echo=$ac_try;;
45665 esac
45666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45667 (eval "$ac_link") 2>conftest.er1
45668 ac_status=$?
45669 grep -v '^ *+' conftest.er1 >conftest.err
45670 rm -f conftest.er1
45671 cat conftest.err >&5
45672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673 (exit $ac_status); } && {
45674 test -z "$ac_c_werror_flag" ||
45675 test ! -s conftest.err
45676 } && test -s conftest$ac_exeext &&
45677 $as_test_x conftest$ac_exeext; then
45678 ac_cv_func_socket=yes
45679 else
45680 echo "$as_me: failed program was:" >&5
45681 sed 's/^/| /' conftest.$ac_ext >&5
45682
45683 ac_cv_func_socket=no
45684 fi
45685
45686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45687 conftest$ac_exeext conftest.$ac_ext
45688 fi
45689 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45690 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45691 if test $ac_cv_func_socket = yes; then
45692 :
45693 else
45694
45695 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45696 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45697 if test "${ac_cv_lib_socket_socket+set}" = set; then
45698 echo $ECHO_N "(cached) $ECHO_C" >&6
45699 else
45700 ac_check_lib_save_LIBS=$LIBS
45701 LIBS="-lsocket $LIBS"
45702 cat >conftest.$ac_ext <<_ACEOF
45703 /* confdefs.h. */
45704 _ACEOF
45705 cat confdefs.h >>conftest.$ac_ext
45706 cat >>conftest.$ac_ext <<_ACEOF
45707 /* end confdefs.h. */
45708
45709 /* Override any GCC internal prototype to avoid an error.
45710 Use char because int might match the return type of a GCC
45711 builtin and then its argument prototype would still apply. */
45712 #ifdef __cplusplus
45713 extern "C"
45714 #endif
45715 char socket ();
45716 int
45717 main ()
45718 {
45719 return socket ();
45720 ;
45721 return 0;
45722 }
45723 _ACEOF
45724 rm -f conftest.$ac_objext conftest$ac_exeext
45725 if { (ac_try="$ac_link"
45726 case "(($ac_try" in
45727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45728 *) ac_try_echo=$ac_try;;
45729 esac
45730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45731 (eval "$ac_link") 2>conftest.er1
45732 ac_status=$?
45733 grep -v '^ *+' conftest.er1 >conftest.err
45734 rm -f conftest.er1
45735 cat conftest.err >&5
45736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737 (exit $ac_status); } && {
45738 test -z "$ac_c_werror_flag" ||
45739 test ! -s conftest.err
45740 } && test -s conftest$ac_exeext &&
45741 $as_test_x conftest$ac_exeext; then
45742 ac_cv_lib_socket_socket=yes
45743 else
45744 echo "$as_me: failed program was:" >&5
45745 sed 's/^/| /' conftest.$ac_ext >&5
45746
45747 ac_cv_lib_socket_socket=no
45748 fi
45749
45750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45751 conftest$ac_exeext conftest.$ac_ext
45752 LIBS=$ac_check_lib_save_LIBS
45753 fi
45754 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45755 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45756 if test $ac_cv_lib_socket_socket = yes; then
45757 if test "$INET_LINK" != " -lsocket"; then
45758 INET_LINK="$INET_LINK -lsocket"
45759 fi
45760 else
45761
45762 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45763 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45764 wxUSE_SOCKETS=no
45765
45766
45767 fi
45768
45769
45770
45771 fi
45772
45773 fi
45774 fi
45775
45776 if test "$wxUSE_SOCKETS" = "yes" ; then
45777 if test "$TOOLKIT" != "MSW"; then
45778 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45779 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45780 if test "${wx_cv_type_getsockname3+set}" = set; then
45781 echo $ECHO_N "(cached) $ECHO_C" >&6
45782 else
45783
45784 ac_ext=cpp
45785 ac_cpp='$CXXCPP $CPPFLAGS'
45786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45789
45790 cat >conftest.$ac_ext <<_ACEOF
45791 /* confdefs.h. */
45792 _ACEOF
45793 cat confdefs.h >>conftest.$ac_ext
45794 cat >>conftest.$ac_ext <<_ACEOF
45795 /* end confdefs.h. */
45796
45797 #include <sys/types.h>
45798 #include <sys/socket.h>
45799
45800 int
45801 main ()
45802 {
45803
45804 socklen_t len;
45805 getsockname(0, 0, &len);
45806
45807 ;
45808 return 0;
45809 }
45810 _ACEOF
45811 rm -f conftest.$ac_objext
45812 if { (ac_try="$ac_compile"
45813 case "(($ac_try" in
45814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45815 *) ac_try_echo=$ac_try;;
45816 esac
45817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45818 (eval "$ac_compile") 2>conftest.er1
45819 ac_status=$?
45820 grep -v '^ *+' conftest.er1 >conftest.err
45821 rm -f conftest.er1
45822 cat conftest.err >&5
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); } && {
45825 test -z "$ac_cxx_werror_flag" ||
45826 test ! -s conftest.err
45827 } && test -s conftest.$ac_objext; then
45828 wx_cv_type_getsockname3=socklen_t
45829 else
45830 echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45832
45833
45834 CFLAGS_OLD="$CFLAGS"
45835 if test "$GCC" = yes ; then
45836 CFLAGS="-Werror $CFLAGS"
45837 fi
45838
45839 cat >conftest.$ac_ext <<_ACEOF
45840 /* confdefs.h. */
45841 _ACEOF
45842 cat confdefs.h >>conftest.$ac_ext
45843 cat >>conftest.$ac_ext <<_ACEOF
45844 /* end confdefs.h. */
45845
45846 #include <sys/types.h>
45847 #include <sys/socket.h>
45848
45849 int
45850 main ()
45851 {
45852
45853 size_t len;
45854 getsockname(0, 0, &len);
45855
45856 ;
45857 return 0;
45858 }
45859 _ACEOF
45860 rm -f conftest.$ac_objext
45861 if { (ac_try="$ac_compile"
45862 case "(($ac_try" in
45863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45864 *) ac_try_echo=$ac_try;;
45865 esac
45866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45867 (eval "$ac_compile") 2>conftest.er1
45868 ac_status=$?
45869 grep -v '^ *+' conftest.er1 >conftest.err
45870 rm -f conftest.er1
45871 cat conftest.err >&5
45872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45873 (exit $ac_status); } && {
45874 test -z "$ac_cxx_werror_flag" ||
45875 test ! -s conftest.err
45876 } && test -s conftest.$ac_objext; then
45877 wx_cv_type_getsockname3=size_t
45878 else
45879 echo "$as_me: failed program was:" >&5
45880 sed 's/^/| /' conftest.$ac_ext >&5
45881
45882 cat >conftest.$ac_ext <<_ACEOF
45883 /* confdefs.h. */
45884 _ACEOF
45885 cat confdefs.h >>conftest.$ac_ext
45886 cat >>conftest.$ac_ext <<_ACEOF
45887 /* end confdefs.h. */
45888
45889 #include <sys/types.h>
45890 #include <sys/socket.h>
45891
45892 int
45893 main ()
45894 {
45895
45896 int len;
45897 getsockname(0, 0, &len);
45898
45899 ;
45900 return 0;
45901 }
45902 _ACEOF
45903 rm -f conftest.$ac_objext
45904 if { (ac_try="$ac_compile"
45905 case "(($ac_try" in
45906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45907 *) ac_try_echo=$ac_try;;
45908 esac
45909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45910 (eval "$ac_compile") 2>conftest.er1
45911 ac_status=$?
45912 grep -v '^ *+' conftest.er1 >conftest.err
45913 rm -f conftest.er1
45914 cat conftest.err >&5
45915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45916 (exit $ac_status); } && {
45917 test -z "$ac_cxx_werror_flag" ||
45918 test ! -s conftest.err
45919 } && test -s conftest.$ac_objext; then
45920 wx_cv_type_getsockname3=int
45921 else
45922 echo "$as_me: failed program was:" >&5
45923 sed 's/^/| /' conftest.$ac_ext >&5
45924
45925 wx_cv_type_getsockname3=unknown
45926
45927 fi
45928
45929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45930
45931 fi
45932
45933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45934
45935 CFLAGS="$CFLAGS_OLD"
45936
45937
45938 fi
45939
45940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45941 ac_ext=c
45942 ac_cpp='$CPP $CPPFLAGS'
45943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45946
45947
45948 fi
45949 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45950 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45951
45952 if test "$wx_cv_type_getsockname3" = "unknown"; then
45953 wxUSE_SOCKETS=no
45954 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45955 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45956 else
45957 cat >>confdefs.h <<_ACEOF
45958 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45959 _ACEOF
45960
45961 fi
45962 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45963 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45964 if test "${wx_cv_type_getsockopt5+set}" = set; then
45965 echo $ECHO_N "(cached) $ECHO_C" >&6
45966 else
45967
45968 ac_ext=cpp
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45973
45974 cat >conftest.$ac_ext <<_ACEOF
45975 /* confdefs.h. */
45976 _ACEOF
45977 cat confdefs.h >>conftest.$ac_ext
45978 cat >>conftest.$ac_ext <<_ACEOF
45979 /* end confdefs.h. */
45980
45981 #include <sys/types.h>
45982 #include <sys/socket.h>
45983
45984 int
45985 main ()
45986 {
45987
45988 socklen_t len;
45989 getsockopt(0, 0, 0, 0, &len);
45990
45991 ;
45992 return 0;
45993 }
45994 _ACEOF
45995 rm -f conftest.$ac_objext
45996 if { (ac_try="$ac_compile"
45997 case "(($ac_try" in
45998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45999 *) ac_try_echo=$ac_try;;
46000 esac
46001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46002 (eval "$ac_compile") 2>conftest.er1
46003 ac_status=$?
46004 grep -v '^ *+' conftest.er1 >conftest.err
46005 rm -f conftest.er1
46006 cat conftest.err >&5
46007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46008 (exit $ac_status); } && {
46009 test -z "$ac_cxx_werror_flag" ||
46010 test ! -s conftest.err
46011 } && test -s conftest.$ac_objext; then
46012 wx_cv_type_getsockopt5=socklen_t
46013 else
46014 echo "$as_me: failed program was:" >&5
46015 sed 's/^/| /' conftest.$ac_ext >&5
46016
46017
46018 cat >conftest.$ac_ext <<_ACEOF
46019 /* confdefs.h. */
46020 _ACEOF
46021 cat confdefs.h >>conftest.$ac_ext
46022 cat >>conftest.$ac_ext <<_ACEOF
46023 /* end confdefs.h. */
46024
46025 #include <sys/types.h>
46026 #include <sys/socket.h>
46027
46028 int
46029 main ()
46030 {
46031
46032 size_t len;
46033 getsockopt(0, 0, 0, 0, &len);
46034
46035 ;
46036 return 0;
46037 }
46038 _ACEOF
46039 rm -f conftest.$ac_objext
46040 if { (ac_try="$ac_compile"
46041 case "(($ac_try" in
46042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46043 *) ac_try_echo=$ac_try;;
46044 esac
46045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46046 (eval "$ac_compile") 2>conftest.er1
46047 ac_status=$?
46048 grep -v '^ *+' conftest.er1 >conftest.err
46049 rm -f conftest.er1
46050 cat conftest.err >&5
46051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46052 (exit $ac_status); } && {
46053 test -z "$ac_cxx_werror_flag" ||
46054 test ! -s conftest.err
46055 } && test -s conftest.$ac_objext; then
46056 wx_cv_type_getsockopt5=size_t
46057 else
46058 echo "$as_me: failed program was:" >&5
46059 sed 's/^/| /' conftest.$ac_ext >&5
46060
46061 cat >conftest.$ac_ext <<_ACEOF
46062 /* confdefs.h. */
46063 _ACEOF
46064 cat confdefs.h >>conftest.$ac_ext
46065 cat >>conftest.$ac_ext <<_ACEOF
46066 /* end confdefs.h. */
46067
46068 #include <sys/types.h>
46069 #include <sys/socket.h>
46070
46071 int
46072 main ()
46073 {
46074
46075 int len;
46076 getsockopt(0, 0, 0, 0, &len);
46077
46078 ;
46079 return 0;
46080 }
46081 _ACEOF
46082 rm -f conftest.$ac_objext
46083 if { (ac_try="$ac_compile"
46084 case "(($ac_try" in
46085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46086 *) ac_try_echo=$ac_try;;
46087 esac
46088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46089 (eval "$ac_compile") 2>conftest.er1
46090 ac_status=$?
46091 grep -v '^ *+' conftest.er1 >conftest.err
46092 rm -f conftest.er1
46093 cat conftest.err >&5
46094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095 (exit $ac_status); } && {
46096 test -z "$ac_cxx_werror_flag" ||
46097 test ! -s conftest.err
46098 } && test -s conftest.$ac_objext; then
46099 wx_cv_type_getsockopt5=int
46100 else
46101 echo "$as_me: failed program was:" >&5
46102 sed 's/^/| /' conftest.$ac_ext >&5
46103
46104 wx_cv_type_getsockopt5=unknown
46105
46106 fi
46107
46108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46109
46110 fi
46111
46112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46113
46114
46115 fi
46116
46117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46118 ac_ext=c
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46123
46124
46125 fi
46126 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46127 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46128
46129 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46130 wxUSE_SOCKETS=no
46131 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46132 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46133 else
46134 cat >>confdefs.h <<_ACEOF
46135 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46136 _ACEOF
46137
46138 fi
46139 fi
46140 fi
46141
46142 if test "$wxUSE_SOCKETS" = "yes" ; then
46143 if test "$wxUSE_IPV6" = "yes"; then
46144 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46145 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46146 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46147 echo $ECHO_N "(cached) $ECHO_C" >&6
46148 else
46149
46150 cat >conftest.$ac_ext <<_ACEOF
46151 /* confdefs.h. */
46152 _ACEOF
46153 cat confdefs.h >>conftest.$ac_ext
46154 cat >>conftest.$ac_ext <<_ACEOF
46155 /* end confdefs.h. */
46156
46157 #include <sys/types.h>
46158 #include <sys/socket.h>
46159 #include <netinet/in.h>
46160
46161 int
46162 main ()
46163 {
46164
46165 struct sockaddr_in6 sa6;
46166
46167 ;
46168 return 0;
46169 }
46170 _ACEOF
46171 rm -f conftest.$ac_objext
46172 if { (ac_try="$ac_compile"
46173 case "(($ac_try" in
46174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46175 *) ac_try_echo=$ac_try;;
46176 esac
46177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46178 (eval "$ac_compile") 2>conftest.er1
46179 ac_status=$?
46180 grep -v '^ *+' conftest.er1 >conftest.err
46181 rm -f conftest.er1
46182 cat conftest.err >&5
46183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184 (exit $ac_status); } && {
46185 test -z "$ac_c_werror_flag" ||
46186 test ! -s conftest.err
46187 } && test -s conftest.$ac_objext; then
46188 wx_cv_type_sockaddr_in6=yes
46189 else
46190 echo "$as_me: failed program was:" >&5
46191 sed 's/^/| /' conftest.$ac_ext >&5
46192
46193 wx_cv_type_sockaddr_in6=no
46194
46195 fi
46196
46197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46198
46199
46200 fi
46201 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46202 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46203
46204 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_IPV6 1
46207 _ACEOF
46208
46209 else
46210 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46211 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46212 fi
46213 fi
46214
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_SOCKETS 1
46217 _ACEOF
46218
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46220 fi
46221
46222 if test "$wxUSE_PROTOCOL" = "yes"; then
46223 if test "$wxUSE_SOCKETS" != "yes"; then
46224 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46225 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46226 wxUSE_PROTOCOL=no
46227 fi
46228 fi
46229
46230 if test "$wxUSE_PROTOCOL" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_PROTOCOL 1
46233 _ACEOF
46234
46235
46236 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_PROTOCOL_HTTP 1
46239 _ACEOF
46240
46241 fi
46242 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46243 cat >>confdefs.h <<\_ACEOF
46244 #define wxUSE_PROTOCOL_FTP 1
46245 _ACEOF
46246
46247 fi
46248 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_PROTOCOL_FILE 1
46251 _ACEOF
46252
46253 fi
46254 else
46255 if test "$wxUSE_FS_INET" = "yes"; then
46256 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46257 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46258 wxUSE_FS_INET="no"
46259 fi
46260 fi
46261
46262 if test "$wxUSE_URL" = "yes"; then
46263 if test "$wxUSE_PROTOCOL" != "yes"; then
46264 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46265 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46266 wxUSE_URL=no
46267 fi
46268 if test "$wxUSE_URL" = "yes"; then
46269 cat >>confdefs.h <<\_ACEOF
46270 #define wxUSE_URL 1
46271 _ACEOF
46272
46273 fi
46274 fi
46275
46276 if test "$wxUSE_VARIANT" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_VARIANT 1
46279 _ACEOF
46280
46281 fi
46282
46283 if test "$wxUSE_FS_INET" = "yes"; then
46284 cat >>confdefs.h <<\_ACEOF
46285 #define wxUSE_FS_INET 1
46286 _ACEOF
46287
46288 fi
46289
46290
46291 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46292 wxUSE_JOYSTICK=no
46293
46294 if test "$TOOLKIT" = "MSW"; then
46295 wxUSE_JOYSTICK=yes
46296
46297 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46298 if test "$USE_DARWIN" = 1; then
46299 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46300 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46301 ac_ext=cpp
46302 ac_cpp='$CXXCPP $CPPFLAGS'
46303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46306
46307 cat >conftest.$ac_ext <<_ACEOF
46308 /* confdefs.h. */
46309 _ACEOF
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46313 #include <IOKit/hid/IOHIDLib.h>
46314 int
46315 main ()
46316 {
46317 IOHIDQueueInterface *qi = NULL;
46318 IOHIDCallbackFunction cb = NULL;
46319 qi->setEventCallout(NULL, cb, NULL, NULL);
46320 ;
46321 return 0;
46322 }
46323 _ACEOF
46324 rm -f conftest.$ac_objext
46325 if { (ac_try="$ac_compile"
46326 case "(($ac_try" in
46327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46328 *) ac_try_echo=$ac_try;;
46329 esac
46330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46331 (eval "$ac_compile") 2>conftest.er1
46332 ac_status=$?
46333 grep -v '^ *+' conftest.er1 >conftest.err
46334 rm -f conftest.er1
46335 cat conftest.err >&5
46336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46337 (exit $ac_status); } && {
46338 test -z "$ac_cxx_werror_flag" ||
46339 test ! -s conftest.err
46340 } && test -s conftest.$ac_objext; then
46341 wxUSE_JOYSTICK=yes
46342
46343 else
46344 echo "$as_me: failed program was:" >&5
46345 sed 's/^/| /' conftest.$ac_ext >&5
46346
46347
46348 fi
46349
46350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46351 ac_ext=c
46352 ac_cpp='$CPP $CPPFLAGS'
46353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46356
46357 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46358 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46359 fi
46360
46361 else
46362 if test "$wxUSE_MGL" != 1; then
46363
46364 for ac_header in linux/joystick.h
46365 do
46366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46370 echo $ECHO_N "(cached) $ECHO_C" >&6
46371 else
46372 cat >conftest.$ac_ext <<_ACEOF
46373 /* confdefs.h. */
46374 _ACEOF
46375 cat confdefs.h >>conftest.$ac_ext
46376 cat >>conftest.$ac_ext <<_ACEOF
46377 /* end confdefs.h. */
46378 $ac_includes_default
46379
46380 #include <$ac_header>
46381 _ACEOF
46382 rm -f conftest.$ac_objext
46383 if { (ac_try="$ac_compile"
46384 case "(($ac_try" in
46385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46386 *) ac_try_echo=$ac_try;;
46387 esac
46388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46389 (eval "$ac_compile") 2>conftest.er1
46390 ac_status=$?
46391 grep -v '^ *+' conftest.er1 >conftest.err
46392 rm -f conftest.er1
46393 cat conftest.err >&5
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); } && {
46396 test -z "$ac_c_werror_flag" ||
46397 test ! -s conftest.err
46398 } && test -s conftest.$ac_objext; then
46399 eval "$as_ac_Header=yes"
46400 else
46401 echo "$as_me: failed program was:" >&5
46402 sed 's/^/| /' conftest.$ac_ext >&5
46403
46404 eval "$as_ac_Header=no"
46405 fi
46406
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 fi
46409 ac_res=`eval echo '${'$as_ac_Header'}'`
46410 { echo "$as_me:$LINENO: result: $ac_res" >&5
46411 echo "${ECHO_T}$ac_res" >&6; }
46412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46413 cat >>confdefs.h <<_ACEOF
46414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46415 _ACEOF
46416 wxUSE_JOYSTICK=yes
46417 fi
46418
46419 done
46420
46421 fi
46422 fi
46423
46424 if test "$wxUSE_JOYSTICK" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_JOYSTICK 1
46427 _ACEOF
46428
46429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46430 else
46431 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46432 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46433 fi
46434 fi
46435
46436
46437
46438 if test "$wxUSE_FONTENUM" = "yes" ; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_FONTENUM 1
46441 _ACEOF
46442
46443 fi
46444
46445 if test "$wxUSE_FONTMAP" = "yes" ; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_FONTMAP 1
46448 _ACEOF
46449
46450 fi
46451
46452 if test "$wxUSE_UNICODE" = "yes" ; then
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_UNICODE 1
46455 _ACEOF
46456
46457
46458 if test "$USE_WIN32" != 1; then
46459 wxUSE_UNICODE_MSLU=no
46460 fi
46461
46462 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46463 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46464 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46465 if test "${ac_cv_lib_unicows_main+set}" = set; then
46466 echo $ECHO_N "(cached) $ECHO_C" >&6
46467 else
46468 ac_check_lib_save_LIBS=$LIBS
46469 LIBS="-lunicows $LIBS"
46470 cat >conftest.$ac_ext <<_ACEOF
46471 /* confdefs.h. */
46472 _ACEOF
46473 cat confdefs.h >>conftest.$ac_ext
46474 cat >>conftest.$ac_ext <<_ACEOF
46475 /* end confdefs.h. */
46476
46477
46478 int
46479 main ()
46480 {
46481 return main ();
46482 ;
46483 return 0;
46484 }
46485 _ACEOF
46486 rm -f conftest.$ac_objext conftest$ac_exeext
46487 if { (ac_try="$ac_link"
46488 case "(($ac_try" in
46489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46490 *) ac_try_echo=$ac_try;;
46491 esac
46492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46493 (eval "$ac_link") 2>conftest.er1
46494 ac_status=$?
46495 grep -v '^ *+' conftest.er1 >conftest.err
46496 rm -f conftest.er1
46497 cat conftest.err >&5
46498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499 (exit $ac_status); } && {
46500 test -z "$ac_c_werror_flag" ||
46501 test ! -s conftest.err
46502 } && test -s conftest$ac_exeext &&
46503 $as_test_x conftest$ac_exeext; then
46504 ac_cv_lib_unicows_main=yes
46505 else
46506 echo "$as_me: failed program was:" >&5
46507 sed 's/^/| /' conftest.$ac_ext >&5
46508
46509 ac_cv_lib_unicows_main=no
46510 fi
46511
46512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46513 conftest$ac_exeext conftest.$ac_ext
46514 LIBS=$ac_check_lib_save_LIBS
46515 fi
46516 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46517 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46518 if test $ac_cv_lib_unicows_main = yes; then
46519
46520 cat >>confdefs.h <<\_ACEOF
46521 #define wxUSE_UNICODE_MSLU 1
46522 _ACEOF
46523
46524
46525 else
46526
46527 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46528 Applications will only run on Windows NT/2000/XP!" >&5
46529 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46530 Applications will only run on Windows NT/2000/XP!" >&2;}
46531 wxUSE_UNICODE_MSLU=no
46532
46533 fi
46534
46535 fi
46536 fi
46537
46538 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_UNICODE_UTF8 1
46541 _ACEOF
46542
46543
46544 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_UTF8_LOCALE_ONLY 1
46547 _ACEOF
46548
46549 fi
46550 fi
46551
46552
46553 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_CONSTRAINTS 1
46556 _ACEOF
46557
46558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46559 fi
46560
46561 if test "$wxUSE_MDI" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_MDI 1
46564 _ACEOF
46565
46566
46567 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_MDI_ARCHITECTURE 1
46570 _ACEOF
46571
46572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46573 fi
46574 fi
46575
46576 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46579 _ACEOF
46580
46581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46582 fi
46583
46584 if test "$wxUSE_HELP" = "yes"; then
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_HELP 1
46587 _ACEOF
46588
46589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46590
46591 if test "$wxUSE_MSW" = 1; then
46592 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_MS_HTML_HELP 1
46595 _ACEOF
46596
46597 fi
46598 fi
46599
46600 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46601 if test "$wxUSE_HTML" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_WXHTML_HELP 1
46604 _ACEOF
46605
46606 else
46607 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46608 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46609 wxUSE_WXHTML_HELP=no
46610 fi
46611 fi
46612 fi
46613
46614 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46615 cat >>confdefs.h <<\_ACEOF
46616 #define wxUSE_PRINTING_ARCHITECTURE 1
46617 _ACEOF
46618
46619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46620 fi
46621
46622 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_POSTSCRIPT 1
46625 _ACEOF
46626
46627 fi
46628
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46631 _ACEOF
46632
46633
46634 if test "$wxUSE_SVG" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_SVG 1
46637 _ACEOF
46638
46639 fi
46640
46641
46642 if test "$wxUSE_METAFILE" = "yes"; then
46643 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46644 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46645 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46646 wxUSE_METAFILE=no
46647 fi
46648 fi
46649
46650
46651 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46652 -o "$wxUSE_CLIPBOARD" = "yes" \
46653 -o "$wxUSE_OLE" = "yes" \
46654 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46655 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46656 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46657 if test "${ac_cv_header_ole2_h+set}" = set; then
46658 echo $ECHO_N "(cached) $ECHO_C" >&6
46659 else
46660 cat >conftest.$ac_ext <<_ACEOF
46661 /* confdefs.h. */
46662 _ACEOF
46663 cat confdefs.h >>conftest.$ac_ext
46664 cat >>conftest.$ac_ext <<_ACEOF
46665 /* end confdefs.h. */
46666
46667
46668 #include <ole2.h>
46669 _ACEOF
46670 rm -f conftest.$ac_objext
46671 if { (ac_try="$ac_compile"
46672 case "(($ac_try" in
46673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46674 *) ac_try_echo=$ac_try;;
46675 esac
46676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46677 (eval "$ac_compile") 2>conftest.er1
46678 ac_status=$?
46679 grep -v '^ *+' conftest.er1 >conftest.err
46680 rm -f conftest.er1
46681 cat conftest.err >&5
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); } && {
46684 test -z "$ac_c_werror_flag" ||
46685 test ! -s conftest.err
46686 } && test -s conftest.$ac_objext; then
46687 ac_cv_header_ole2_h=yes
46688 else
46689 echo "$as_me: failed program was:" >&5
46690 sed 's/^/| /' conftest.$ac_ext >&5
46691
46692 ac_cv_header_ole2_h=no
46693 fi
46694
46695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46696 fi
46697 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46698 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46699
46700
46701
46702 if test "$ac_cv_header_ole2_h" = "yes" ; then
46703 if test "$GCC" = yes ; then
46704 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46705 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46706 cat >conftest.$ac_ext <<_ACEOF
46707 /* confdefs.h. */
46708 _ACEOF
46709 cat confdefs.h >>conftest.$ac_ext
46710 cat >>conftest.$ac_ext <<_ACEOF
46711 /* end confdefs.h. */
46712 #include <windows.h>
46713 #include <ole2.h>
46714 int
46715 main ()
46716 {
46717
46718 ;
46719 return 0;
46720 }
46721 _ACEOF
46722 rm -f conftest.$ac_objext
46723 if { (ac_try="$ac_compile"
46724 case "(($ac_try" in
46725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46726 *) ac_try_echo=$ac_try;;
46727 esac
46728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46729 (eval "$ac_compile") 2>conftest.er1
46730 ac_status=$?
46731 grep -v '^ *+' conftest.er1 >conftest.err
46732 rm -f conftest.er1
46733 cat conftest.err >&5
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); } && {
46736 test -z "$ac_c_werror_flag" ||
46737 test ! -s conftest.err
46738 } && test -s conftest.$ac_objext; then
46739 { echo "$as_me:$LINENO: result: no" >&5
46740 echo "${ECHO_T}no" >&6; }
46741 else
46742 echo "$as_me: failed program was:" >&5
46743 sed 's/^/| /' conftest.$ac_ext >&5
46744
46745 { echo "$as_me:$LINENO: result: yes" >&5
46746 echo "${ECHO_T}yes" >&6; }
46747 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46748 fi
46749
46750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46751 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46752 if test "$wxUSE_OLE" = "yes" ; then
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_OLE 1
46755 _ACEOF
46756
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_OLE_AUTOMATION 1
46759 _ACEOF
46760
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_ACTIVEX 1
46763 _ACEOF
46764
46765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46766 fi
46767 fi
46768
46769 if test "$wxUSE_DATAOBJ" = "yes" ; then
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_DATAOBJ 1
46772 _ACEOF
46773
46774 fi
46775 else
46776 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46777 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46778
46779 wxUSE_CLIPBOARD=no
46780 wxUSE_DRAG_AND_DROP=no
46781 wxUSE_DATAOBJ=no
46782 wxUSE_OLE=no
46783 fi
46784
46785 if test "$wxUSE_METAFILE" = "yes"; then
46786 cat >>confdefs.h <<\_ACEOF
46787 #define wxUSE_METAFILE 1
46788 _ACEOF
46789
46790
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_ENH_METAFILE 1
46793 _ACEOF
46794
46795 fi
46796 fi
46797
46798 if test "$wxUSE_IPC" = "yes"; then
46799 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46800 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46801 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46802 wxUSE_IPC=no
46803 fi
46804
46805 if test "$wxUSE_IPC" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_IPC 1
46808 _ACEOF
46809
46810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46811 fi
46812 fi
46813
46814 if test "$wxUSE_DATAOBJ" = "yes"; then
46815 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46816 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46817 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46818 wxUSE_DATAOBJ=no
46819 else
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_DATAOBJ 1
46822 _ACEOF
46823
46824 fi
46825 else
46826 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46827 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46828 wxUSE_CLIPBOARD=no
46829 wxUSE_DRAG_AND_DROP=no
46830 fi
46831
46832 if test "$wxUSE_CLIPBOARD" = "yes"; then
46833 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46834 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46835 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46836 wxUSE_CLIPBOARD=no
46837 fi
46838
46839 if test "$wxUSE_CLIPBOARD" = "yes"; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_CLIPBOARD 1
46842 _ACEOF
46843
46844 fi
46845 fi
46846
46847 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46848 if test "$wxUSE_GTK" = 1; then
46849 if test "$WXGTK12" != 1; then
46850 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46851 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46852 wxUSE_DRAG_AND_DROP=no
46853 fi
46854 fi
46855
46856 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46857 "$wxUSE_DFB" = 1; then
46858 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46859 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46860 wxUSE_DRAG_AND_DROP=no
46861 fi
46862
46863 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_DRAG_AND_DROP 1
46866 _ACEOF
46867
46868 fi
46869
46870 fi
46871
46872 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46874 fi
46875
46876 if test "$wxUSE_CLIPBOARD" = "yes"; then
46877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46878 fi
46879
46880 if test "$wxUSE_SPLINES" = "yes" ; then
46881 cat >>confdefs.h <<\_ACEOF
46882 #define wxUSE_SPLINES 1
46883 _ACEOF
46884
46885 fi
46886
46887 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_MOUSEWHEEL 1
46890 _ACEOF
46891
46892 fi
46893
46894 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46895 cat >>confdefs.h <<\_ACEOF
46896 #define wxUSE_UIACTIONSIMULATOR 1
46897 _ACEOF
46898
46899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46900 fi
46901
46902
46903 USES_CONTROLS=0
46904 if test "$wxUSE_CONTROLS" = "yes"; then
46905 USES_CONTROLS=1
46906 fi
46907
46908 if test "$wxUSE_ACCEL" = "yes"; then
46909 cat >>confdefs.h <<\_ACEOF
46910 #define wxUSE_ACCEL 1
46911 _ACEOF
46912
46913 USES_CONTROLS=1
46914 fi
46915
46916 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_ANIMATIONCTRL 1
46919 _ACEOF
46920
46921 USES_CONTROLS=1
46922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46923 fi
46924
46925 if test "$wxUSE_BUTTON" = "yes"; then
46926 cat >>confdefs.h <<\_ACEOF
46927 #define wxUSE_BUTTON 1
46928 _ACEOF
46929
46930 USES_CONTROLS=1
46931 fi
46932
46933 if test "$wxUSE_BMPBUTTON" = "yes"; then
46934 cat >>confdefs.h <<\_ACEOF
46935 #define wxUSE_BMPBUTTON 1
46936 _ACEOF
46937
46938 USES_CONTROLS=1
46939 fi
46940
46941 if test "$wxUSE_CALCTRL" = "yes"; then
46942 cat >>confdefs.h <<\_ACEOF
46943 #define wxUSE_CALENDARCTRL 1
46944 _ACEOF
46945
46946 USES_CONTROLS=1
46947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46948 fi
46949
46950 if test "$wxUSE_CARET" = "yes"; then
46951 cat >>confdefs.h <<\_ACEOF
46952 #define wxUSE_CARET 1
46953 _ACEOF
46954
46955 USES_CONTROLS=1
46956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46957 fi
46958
46959 if test "$wxUSE_COLLPANE" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_COLLPANE 1
46962 _ACEOF
46963
46964 USES_CONTROLS=1
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46966 fi
46967
46968 if test "$wxUSE_COMBOBOX" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_COMBOBOX 1
46971 _ACEOF
46972
46973 USES_CONTROLS=1
46974 fi
46975
46976 if test "$wxUSE_COMBOCTRL" = "yes"; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_COMBOCTRL 1
46979 _ACEOF
46980
46981 USES_CONTROLS=1
46982 fi
46983
46984 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_COMMANDLINKBUTTON 1
46987 _ACEOF
46988
46989 USES_CONTROLS=1
46990 fi
46991
46992 if test "$wxUSE_CHOICE" = "yes"; then
46993 cat >>confdefs.h <<\_ACEOF
46994 #define wxUSE_CHOICE 1
46995 _ACEOF
46996
46997 USES_CONTROLS=1
46998 fi
46999
47000 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47001 cat >>confdefs.h <<\_ACEOF
47002 #define wxUSE_CHOICEBOOK 1
47003 _ACEOF
47004
47005 USES_CONTROLS=1
47006 fi
47007
47008 if test "$wxUSE_CHECKBOX" = "yes"; then
47009 cat >>confdefs.h <<\_ACEOF
47010 #define wxUSE_CHECKBOX 1
47011 _ACEOF
47012
47013 USES_CONTROLS=1
47014 fi
47015
47016 if test "$wxUSE_CHECKLST" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_CHECKLISTBOX 1
47019 _ACEOF
47020
47021 USES_CONTROLS=1
47022 fi
47023
47024 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_COLOURPICKERCTRL 1
47027 _ACEOF
47028
47029 USES_CONTROLS=1
47030 fi
47031
47032 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_DATEPICKCTRL 1
47035 _ACEOF
47036
47037 USES_CONTROLS=1
47038 fi
47039
47040 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_DIRPICKERCTRL 1
47043 _ACEOF
47044
47045 USES_CONTROLS=1
47046 fi
47047
47048 if test "$wxUSE_FILECTRL" = "yes"; then
47049 cat >>confdefs.h <<\_ACEOF
47050 #define wxUSE_FILECTRL 1
47051 _ACEOF
47052
47053 USES_CONTROLS=1
47054 fi
47055
47056 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_FILEPICKERCTRL 1
47059 _ACEOF
47060
47061 USES_CONTROLS=1
47062 fi
47063
47064 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47065 cat >>confdefs.h <<\_ACEOF
47066 #define wxUSE_FONTPICKERCTRL 1
47067 _ACEOF
47068
47069 USES_CONTROLS=1
47070 fi
47071
47072 if test "$wxUSE_DISPLAY" = "yes"; then
47073 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47074 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47075 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47076 wxUSE_DISPLAY=no
47077 else
47078 cat >>confdefs.h <<\_ACEOF
47079 #define wxUSE_DISPLAY 1
47080 _ACEOF
47081
47082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47083 fi
47084 fi
47085
47086 if test "$wxUSE_DETECT_SM" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_DETECT_SM 1
47089 _ACEOF
47090
47091 fi
47092
47093 if test "$wxUSE_GAUGE" = "yes"; then
47094 cat >>confdefs.h <<\_ACEOF
47095 #define wxUSE_GAUGE 1
47096 _ACEOF
47097
47098 USES_CONTROLS=1
47099 fi
47100
47101 if test "$wxUSE_GRID" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_GRID 1
47104 _ACEOF
47105
47106 USES_CONTROLS=1
47107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47108 fi
47109
47110 if test "$wxUSE_HEADERCTRL" = "yes"; then
47111 cat >>confdefs.h <<\_ACEOF
47112 #define wxUSE_HEADERCTRL 1
47113 _ACEOF
47114
47115 USES_CONTROLS=1
47116 fi
47117
47118 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_HYPERLINKCTRL 1
47121 _ACEOF
47122
47123 USES_CONTROLS=1
47124 fi
47125
47126 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47127 cat >>confdefs.h <<\_ACEOF
47128 #define wxUSE_BITMAPCOMBOBOX 1
47129 _ACEOF
47130
47131 USES_CONTROLS=1
47132 fi
47133
47134 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47135 cat >>confdefs.h <<\_ACEOF
47136 #define wxUSE_DATAVIEWCTRL 1
47137 _ACEOF
47138
47139 USES_CONTROLS=1
47140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47141 fi
47142
47143 if test "$wxUSE_IMAGLIST" = "yes"; then
47144 cat >>confdefs.h <<\_ACEOF
47145 #define wxUSE_IMAGLIST 1
47146 _ACEOF
47147
47148 fi
47149
47150 if test "$wxUSE_INFOBAR" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_INFOBAR 1
47153 _ACEOF
47154
47155 fi
47156
47157 if test "$wxUSE_LISTBOOK" = "yes"; then
47158 cat >>confdefs.h <<\_ACEOF
47159 #define wxUSE_LISTBOOK 1
47160 _ACEOF
47161
47162 USES_CONTROLS=1
47163 fi
47164
47165 if test "$wxUSE_LISTBOX" = "yes"; then
47166 cat >>confdefs.h <<\_ACEOF
47167 #define wxUSE_LISTBOX 1
47168 _ACEOF
47169
47170 USES_CONTROLS=1
47171 fi
47172
47173 if test "$wxUSE_LISTCTRL" = "yes"; then
47174 if test "$wxUSE_IMAGLIST" = "yes"; then
47175 cat >>confdefs.h <<\_ACEOF
47176 #define wxUSE_LISTCTRL 1
47177 _ACEOF
47178
47179 USES_CONTROLS=1
47180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47181 else
47182 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47183 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47184 fi
47185 fi
47186
47187 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_EDITABLELISTBOX 1
47190 _ACEOF
47191
47192 USES_CONTROLS=1
47193 fi
47194
47195 if test "$wxUSE_NOTEBOOK" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_NOTEBOOK 1
47198 _ACEOF
47199
47200 USES_CONTROLS=1
47201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47202 fi
47203
47204 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_NOTIFICATION_MESSAGE 1
47207 _ACEOF
47208
47209 fi
47210
47211 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47212 cat >>confdefs.h <<\_ACEOF
47213 #define wxUSE_ODCOMBOBOX 1
47214 _ACEOF
47215
47216 USES_CONTROLS=1
47217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47218 fi
47219
47220 if test "$wxUSE_RADIOBOX" = "yes"; then
47221 cat >>confdefs.h <<\_ACEOF
47222 #define wxUSE_RADIOBOX 1
47223 _ACEOF
47224
47225 USES_CONTROLS=1
47226 fi
47227
47228 if test "$wxUSE_RADIOBTN" = "yes"; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_RADIOBTN 1
47231 _ACEOF
47232
47233 USES_CONTROLS=1
47234 fi
47235
47236 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47237 cat >>confdefs.h <<\_ACEOF
47238 #define wxUSE_REARRANGECTRL 1
47239 _ACEOF
47240
47241 fi
47242
47243 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47244 cat >>confdefs.h <<\_ACEOF
47245 #define wxUSE_RICHMSGDLG 1
47246 _ACEOF
47247
47248 fi
47249
47250 if test "$wxUSE_SASH" = "yes"; then
47251 cat >>confdefs.h <<\_ACEOF
47252 #define wxUSE_SASH 1
47253 _ACEOF
47254
47255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47256 fi
47257
47258 if test "$wxUSE_SCROLLBAR" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_SCROLLBAR 1
47261 _ACEOF
47262
47263 USES_CONTROLS=1
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47265 fi
47266
47267 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_SEARCHCTRL 1
47270 _ACEOF
47271
47272 USES_CONTROLS=1
47273 fi
47274
47275 if test "$wxUSE_SLIDER" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_SLIDER 1
47278 _ACEOF
47279
47280 USES_CONTROLS=1
47281 fi
47282
47283 if test "$wxUSE_SPINBTN" = "yes"; then
47284 cat >>confdefs.h <<\_ACEOF
47285 #define wxUSE_SPINBTN 1
47286 _ACEOF
47287
47288 USES_CONTROLS=1
47289 fi
47290
47291 if test "$wxUSE_SPINCTRL" = "yes"; then
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_SPINCTRL 1
47294 _ACEOF
47295
47296 USES_CONTROLS=1
47297 fi
47298
47299 if test "$wxUSE_SPLITTER" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_SPLITTER 1
47302 _ACEOF
47303
47304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47305 fi
47306
47307 if test "$wxUSE_STATBMP" = "yes"; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_STATBMP 1
47310 _ACEOF
47311
47312 USES_CONTROLS=1
47313 fi
47314
47315 if test "$wxUSE_STATBOX" = "yes"; then
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_STATBOX 1
47318 _ACEOF
47319
47320 USES_CONTROLS=1
47321 fi
47322
47323 if test "$wxUSE_STATTEXT" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_STATTEXT 1
47326 _ACEOF
47327
47328 USES_CONTROLS=1
47329 fi
47330
47331 if test "$wxUSE_STATLINE" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_STATLINE 1
47334 _ACEOF
47335
47336 USES_CONTROLS=1
47337 fi
47338
47339 if test "$wxUSE_STATUSBAR" = "yes"; then
47340 cat >>confdefs.h <<\_ACEOF
47341 #define wxUSE_NATIVE_STATUSBAR 1
47342 _ACEOF
47343
47344 cat >>confdefs.h <<\_ACEOF
47345 #define wxUSE_STATUSBAR 1
47346 _ACEOF
47347
47348 USES_CONTROLS=1
47349
47350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47351 fi
47352
47353 if test "$wxUSE_TEXTCTRL" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_TEXTCTRL 1
47356 _ACEOF
47357
47358 USES_CONTROLS=1
47359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47360
47361 cat >>confdefs.h <<\_ACEOF
47362 #define wxUSE_RICHEDIT 1
47363 _ACEOF
47364
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_RICHEDIT2 1
47367 _ACEOF
47368
47369 fi
47370
47371 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47372 if test "$wxUSE_OLD_COCOA" = 1 ; then
47373 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47374 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47375 wxUSE_TOGGLEBTN=no
47376 fi
47377
47378 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_TOGGLEBTN 1
47381 _ACEOF
47382
47383 USES_CONTROLS=1
47384 fi
47385 fi
47386
47387 if test "$wxUSE_TOOLBAR" = "yes"; then
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_TOOLBAR 1
47390 _ACEOF
47391
47392 USES_CONTROLS=1
47393
47394 if test "$wxUSE_UNIVERSAL" = "yes"; then
47395 wxUSE_TOOLBAR_NATIVE="no"
47396 else
47397 wxUSE_TOOLBAR_NATIVE="yes"
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_TOOLBAR_NATIVE 1
47400 _ACEOF
47401
47402 fi
47403
47404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47405 fi
47406
47407 if test "$wxUSE_TOOLTIPS" = "yes"; then
47408 if test "$wxUSE_MOTIF" = 1; then
47409 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47410 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47411 else
47412 if test "$wxUSE_UNIVERSAL" = "yes"; then
47413 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47414 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47415 else
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_TOOLTIPS 1
47418 _ACEOF
47419
47420 fi
47421 fi
47422 fi
47423
47424 if test "$wxUSE_TREEBOOK" = "yes"; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_TREEBOOK 1
47427 _ACEOF
47428
47429 USES_CONTROLS=1
47430 fi
47431
47432 if test "$wxUSE_TOOLBOOK" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_TOOLBOOK 1
47435 _ACEOF
47436
47437 USES_CONTROLS=1
47438 fi
47439
47440 if test "$wxUSE_TREECTRL" = "yes"; then
47441 if test "$wxUSE_IMAGLIST" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_TREECTRL 1
47444 _ACEOF
47445
47446 USES_CONTROLS=1
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47448 else
47449 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47450 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47451 fi
47452 fi
47453
47454 if test "$wxUSE_POPUPWIN" = "yes"; then
47455 if test "$wxUSE_OLD_COCOA" = 1 ; then
47456 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47457 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47458 else
47459 if test "$wxUSE_PM" = 1; then
47460 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47461 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47462 else
47463 cat >>confdefs.h <<\_ACEOF
47464 #define wxUSE_POPUPWIN 1
47465 _ACEOF
47466
47467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47468
47469 USES_CONTROLS=1
47470 fi
47471 fi
47472 fi
47473
47474 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47475 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47476 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47477 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47478 else
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_DIALUP_MANAGER 1
47481 _ACEOF
47482
47483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47484 fi
47485 fi
47486
47487 if test "$wxUSE_TIPWINDOW" = "yes"; then
47488 if test "$wxUSE_PM" = 1; then
47489 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47490 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47491 else
47492 cat >>confdefs.h <<\_ACEOF
47493 #define wxUSE_TIPWINDOW 1
47494 _ACEOF
47495
47496 fi
47497 fi
47498
47499 if test "$USES_CONTROLS" = 1; then
47500 cat >>confdefs.h <<\_ACEOF
47501 #define wxUSE_CONTROLS 1
47502 _ACEOF
47503
47504 fi
47505
47506
47507 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47508 cat >>confdefs.h <<\_ACEOF
47509 #define wxUSE_ACCESSIBILITY 1
47510 _ACEOF
47511
47512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47513 fi
47514
47515 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_DRAGIMAGE 1
47518 _ACEOF
47519
47520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47521 fi
47522
47523 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47524 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47525 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47526 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47527 else
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_EXCEPTIONS 1
47530 _ACEOF
47531
47532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47533 fi
47534 fi
47535
47536 USE_HTML=0
47537 if test "$wxUSE_HTML" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_HTML 1
47540 _ACEOF
47541
47542 USE_HTML=1
47543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47544 fi
47545 if test "$wxUSE_WEBKIT" = "yes"; then
47546 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47547 old_CPPFLAGS="$CPPFLAGS"
47548 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47549 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47550 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47551 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47553 else
47554 cat >conftest.$ac_ext <<_ACEOF
47555 /* confdefs.h. */
47556 _ACEOF
47557 cat confdefs.h >>conftest.$ac_ext
47558 cat >>conftest.$ac_ext <<_ACEOF
47559 /* end confdefs.h. */
47560
47561 #include <Carbon/Carbon.h>
47562 #include <WebKit/WebKit.h>
47563
47564
47565 #include <WebKit/HIWebView.h>
47566 _ACEOF
47567 rm -f conftest.$ac_objext
47568 if { (ac_try="$ac_compile"
47569 case "(($ac_try" in
47570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47571 *) ac_try_echo=$ac_try;;
47572 esac
47573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47574 (eval "$ac_compile") 2>conftest.er1
47575 ac_status=$?
47576 grep -v '^ *+' conftest.er1 >conftest.err
47577 rm -f conftest.er1
47578 cat conftest.err >&5
47579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47580 (exit $ac_status); } && {
47581 test -z "$ac_c_werror_flag" ||
47582 test ! -s conftest.err
47583 } && test -s conftest.$ac_objext; then
47584 ac_cv_header_WebKit_HIWebView_h=yes
47585 else
47586 echo "$as_me: failed program was:" >&5
47587 sed 's/^/| /' conftest.$ac_ext >&5
47588
47589 ac_cv_header_WebKit_HIWebView_h=no
47590 fi
47591
47592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47593 fi
47594 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47595 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47596 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47597
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_WEBKIT 1
47600 _ACEOF
47601
47602 WEBKIT_LINK="-framework WebKit"
47603
47604 else
47605
47606 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47607 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47608 wxUSE_WEBKIT=no
47609
47610 fi
47611
47612
47613 CPPFLAGS="$old_CPPFLAGS"
47614 elif test "$wxUSE_OLD_COCOA" = 1; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_WEBKIT 1
47617 _ACEOF
47618
47619 else
47620 wxUSE_WEBKIT=no
47621 fi
47622 if test "$wxUSE_WEBKIT" = "yes"; then
47623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47624 fi
47625 fi
47626
47627 USE_XRC=0
47628 if test "$wxUSE_XRC" = "yes"; then
47629 if test "$wxUSE_XML" != "yes"; then
47630 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47631 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47632 wxUSE_XRC=no
47633 else
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_XRC 1
47636 _ACEOF
47637
47638 USE_XRC=1
47639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47640 fi
47641 fi
47642
47643 USE_AUI=0
47644 if test "$wxUSE_AUI" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_AUI 1
47647 _ACEOF
47648
47649 USE_AUI=1
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47651 fi
47652
47653 USE_PROPGRID=0
47654 if test "$wxUSE_PROPGRID" = "yes"; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_PROPGRID 1
47657 _ACEOF
47658
47659 USE_PROPGRID=1
47660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47661 fi
47662
47663 USE_RIBBON=0
47664 if test "$wxUSE_RIBBON" = "yes"; then
47665 cat >>confdefs.h <<\_ACEOF
47666 #define wxUSE_RIBBON 1
47667 _ACEOF
47668
47669 USE_RIBBON=1
47670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47671 fi
47672
47673 USE_STC=0
47674 if test "$wxUSE_STC" = "yes"; then
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_STC 1
47677 _ACEOF
47678
47679 USE_STC=1
47680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47681
47682 # Extract the first word of "python", so it can be a program name with args.
47683 set dummy python; ac_word=$2
47684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47686 if test "${ac_cv_path_PYTHON+set}" = set; then
47687 echo $ECHO_N "(cached) $ECHO_C" >&6
47688 else
47689 case $PYTHON in
47690 [\\/]* | ?:[\\/]*)
47691 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47692 ;;
47693 *)
47694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47695 for as_dir in $PATH
47696 do
47697 IFS=$as_save_IFS
47698 test -z "$as_dir" && as_dir=.
47699 for ac_exec_ext in '' $ac_executable_extensions; do
47700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47701 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47703 break 2
47704 fi
47705 done
47706 done
47707 IFS=$as_save_IFS
47708
47709 ;;
47710 esac
47711 fi
47712 PYTHON=$ac_cv_path_PYTHON
47713 if test -n "$PYTHON"; then
47714 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47715 echo "${ECHO_T}$PYTHON" >&6; }
47716 else
47717 { echo "$as_me:$LINENO: result: no" >&5
47718 echo "${ECHO_T}no" >&6; }
47719 fi
47720
47721
47722 if test "x$PYTHON" = "x"; then
47723 COND_PYTHON="#"
47724 fi
47725
47726 fi
47727
47728 if test "$wxUSE_MENUS" = "yes"; then
47729 cat >>confdefs.h <<\_ACEOF
47730 #define wxUSE_MENUS 1
47731 _ACEOF
47732
47733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47734 fi
47735
47736 if test "$wxUSE_METAFILE" = "yes"; then
47737 cat >>confdefs.h <<\_ACEOF
47738 #define wxUSE_METAFILE 1
47739 _ACEOF
47740
47741 fi
47742
47743 if test "$wxUSE_MIMETYPE" = "yes"; then
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_MIMETYPE 1
47746 _ACEOF
47747
47748 fi
47749
47750 if test "$wxUSE_MINIFRAME" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_MINIFRAME 1
47753 _ACEOF
47754
47755 fi
47756
47757 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_SYSTEM_OPTIONS 1
47760 _ACEOF
47761
47762 fi
47763
47764 if test "$wxUSE_TASKBARICON" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_TASKBARICON 1
47767 _ACEOF
47768
47769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47770 fi
47771
47772
47773 if test "$wxUSE_VALIDATORS" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_VALIDATORS 1
47776 _ACEOF
47777
47778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47779 fi
47780
47781 if test "$wxUSE_PALETTE" = "yes" ; then
47782 if test "$wxUSE_DFB" = 1; then
47783 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47784 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47785 wxUSE_PALETTE=no
47786 else
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_PALETTE 1
47789 _ACEOF
47790
47791 fi
47792 fi
47793
47794 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47795 LIBS=" -lunicows $LIBS"
47796 fi
47797
47798 USE_RICHTEXT=0
47799 if test "$wxUSE_RICHTEXT" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_RICHTEXT 1
47802 _ACEOF
47803
47804 USE_RICHTEXT=1
47805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47806 fi
47807
47808
47809 if test "$wxUSE_IMAGE" = "yes" ; then
47810 cat >>confdefs.h <<\_ACEOF
47811 #define wxUSE_IMAGE 1
47812 _ACEOF
47813
47814
47815 if test "$wxUSE_GIF" = "yes" ; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_GIF 1
47818 _ACEOF
47819
47820 fi
47821
47822 if test "$wxUSE_PCX" = "yes" ; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_PCX 1
47825 _ACEOF
47826
47827 fi
47828
47829 if test "$wxUSE_TGA" = "yes" ; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_TGA 1
47832 _ACEOF
47833
47834 fi
47835
47836 if test "$wxUSE_IFF" = "yes" ; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_IFF 1
47839 _ACEOF
47840
47841 fi
47842
47843 if test "$wxUSE_PNM" = "yes" ; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_PNM 1
47846 _ACEOF
47847
47848 fi
47849
47850 if test "$wxUSE_XPM" = "yes" ; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_XPM 1
47853 _ACEOF
47854
47855 fi
47856
47857 if test "$wxUSE_ICO_CUR" = "yes" ; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_ICO_CUR 1
47860 _ACEOF
47861
47862 fi
47863 fi
47864
47865
47866 if test "$wxUSE_ABOUTDLG" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_ABOUTDLG 1
47869 _ACEOF
47870
47871 fi
47872
47873 if test "$wxUSE_CHOICEDLG" = "yes"; then
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_CHOICEDLG 1
47876 _ACEOF
47877
47878 fi
47879
47880 if test "$wxUSE_COLOURDLG" = "yes"; then
47881 cat >>confdefs.h <<\_ACEOF
47882 #define wxUSE_COLOURDLG 1
47883 _ACEOF
47884
47885 fi
47886
47887 if test "$wxUSE_FILEDLG" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_FILEDLG 1
47890 _ACEOF
47891
47892 fi
47893
47894 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47895 cat >>confdefs.h <<\_ACEOF
47896 #define wxUSE_FINDREPLDLG 1
47897 _ACEOF
47898
47899 fi
47900
47901 if test "$wxUSE_FONTDLG" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_FONTDLG 1
47904 _ACEOF
47905
47906 fi
47907
47908 if test "$wxUSE_DIRDLG" = "yes"; then
47909 if test "$wxUSE_TREECTRL" != "yes"; then
47910 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47911 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47912 else
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_DIRDLG 1
47915 _ACEOF
47916
47917 fi
47918 fi
47919
47920 if test "$wxUSE_MSGDLG" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_MSGDLG 1
47923 _ACEOF
47924
47925 fi
47926
47927 if test "$wxUSE_NUMBERDLG" = "yes"; then
47928 cat >>confdefs.h <<\_ACEOF
47929 #define wxUSE_NUMBERDLG 1
47930 _ACEOF
47931
47932 fi
47933
47934 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47935 cat >>confdefs.h <<\_ACEOF
47936 #define wxUSE_PROGRESSDLG 1
47937 _ACEOF
47938
47939 fi
47940
47941 if test "$wxUSE_SPLASH" = "yes"; then
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_SPLASH 1
47944 _ACEOF
47945
47946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47947 fi
47948
47949 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_STARTUP_TIPS 1
47952 _ACEOF
47953
47954 fi
47955
47956 if test "$wxUSE_TEXTDLG" = "yes"; then
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_TEXTDLG 1
47959 _ACEOF
47960
47961 fi
47962
47963 if test "$wxUSE_WIZARDDLG" = "yes"; then
47964 cat >>confdefs.h <<\_ACEOF
47965 #define wxUSE_WIZARDDLG 1
47966 _ACEOF
47967
47968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47969 fi
47970
47971
47972 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47973 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_OWNER_DRAWN 1
47976 _ACEOF
47977
47978 fi
47979 fi
47980
47981
47982 if test "$wxUSE_MSW" = 1 ; then
47983
47984 if test "$wxUSE_DC_CACHEING" = "yes"; then
47985 cat >>confdefs.h <<\_ACEOF
47986 #define wxUSE_DC_CACHEING 1
47987 _ACEOF
47988
47989 fi
47990
47991 if test "$wxUSE_DIB" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_WXDIB 1
47994 _ACEOF
47995
47996 fi
47997
47998 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48001 _ACEOF
48002
48003 fi
48004
48005 if test "$wxUSE_UXTHEME" = "yes"; then
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_UXTHEME 1
48008 _ACEOF
48009
48010 fi
48011
48012 fi
48013
48014 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_AUTOID_MANAGEMENT 1
48017 _ACEOF
48018
48019 fi
48020
48021 if test "$USE_WIN32" = 1 ; then
48022 if test "$wxUSE_INICONF" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_INICONF 1
48025 _ACEOF
48026
48027 fi
48028
48029 if test "$wxUSE_REGKEY" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_REGKEY 1
48032 _ACEOF
48033
48034 fi
48035 fi
48036
48037
48038 if test "$wxUSE_MAC" = 1; then
48039 wxUSE_GRAPHICS_CONTEXT="yes"
48040 fi
48041
48042 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48043 wx_has_graphics=0
48044 if test "$wxUSE_MSW" = 1; then
48045 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48046 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48047 if test "${wx_cv_lib_gdiplus+set}" = set; then
48048 echo $ECHO_N "(cached) $ECHO_C" >&6
48049 else
48050
48051 ac_ext=cpp
48052 ac_cpp='$CXXCPP $CPPFLAGS'
48053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48056
48057 cat >conftest.$ac_ext <<_ACEOF
48058 /* confdefs.h. */
48059 _ACEOF
48060 cat confdefs.h >>conftest.$ac_ext
48061 cat >>conftest.$ac_ext <<_ACEOF
48062 /* end confdefs.h. */
48063 #include <windows.h>
48064 #include <gdiplus.h>
48065 int
48066 main ()
48067 {
48068
48069 using namespace Gdiplus;
48070
48071 ;
48072 return 0;
48073 }
48074 _ACEOF
48075 rm -f conftest.$ac_objext
48076 if { (ac_try="$ac_compile"
48077 case "(($ac_try" in
48078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48079 *) ac_try_echo=$ac_try;;
48080 esac
48081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48082 (eval "$ac_compile") 2>conftest.er1
48083 ac_status=$?
48084 grep -v '^ *+' conftest.er1 >conftest.err
48085 rm -f conftest.er1
48086 cat conftest.err >&5
48087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48088 (exit $ac_status); } && {
48089 test -z "$ac_cxx_werror_flag" ||
48090 test ! -s conftest.err
48091 } && test -s conftest.$ac_objext; then
48092 wx_cv_lib_gdiplus=yes
48093 else
48094 echo "$as_me: failed program was:" >&5
48095 sed 's/^/| /' conftest.$ac_ext >&5
48096
48097 wx_cv_lib_gdiplus=no
48098
48099 fi
48100
48101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48102 ac_ext=c
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48107
48108
48109
48110 fi
48111 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48112 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48113 if test "$wx_cv_lib_gdiplus" = "yes"; then
48114 wx_has_graphics=1
48115 fi
48116 elif test "$wxUSE_GTK" = 1; then
48117
48118 pkg_failed=no
48119 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48120 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48121
48122 if test -n "$PKG_CONFIG"; then
48123 if test -n "$CAIRO_CFLAGS"; then
48124 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48125 else
48126 if test -n "$PKG_CONFIG" && \
48127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48128 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48129 ac_status=$?
48130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48131 (exit $ac_status); }; then
48132 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48133 else
48134 pkg_failed=yes
48135 fi
48136 fi
48137 else
48138 pkg_failed=untried
48139 fi
48140 if test -n "$PKG_CONFIG"; then
48141 if test -n "$CAIRO_LIBS"; then
48142 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48143 else
48144 if test -n "$PKG_CONFIG" && \
48145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48146 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48147 ac_status=$?
48148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48149 (exit $ac_status); }; then
48150 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48151 else
48152 pkg_failed=yes
48153 fi
48154 fi
48155 else
48156 pkg_failed=untried
48157 fi
48158
48159
48160
48161 if test $pkg_failed = yes; then
48162
48163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48164 _pkg_short_errors_supported=yes
48165 else
48166 _pkg_short_errors_supported=no
48167 fi
48168 if test $_pkg_short_errors_supported = yes; then
48169 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48170 else
48171 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48172 fi
48173 # Put the nasty error message in config.log where it belongs
48174 echo "$CAIRO_PKG_ERRORS" >&5
48175
48176 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48177 echo "$as_me: WARNING: Cairo library not found" >&2;}
48178
48179 elif test $pkg_failed = untried; then
48180 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48181 echo "$as_me: WARNING: Cairo library not found" >&2;}
48182
48183 else
48184 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48185 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48186 { echo "$as_me:$LINENO: result: yes" >&5
48187 echo "${ECHO_T}yes" >&6; }
48188 wx_has_graphics=1
48189 fi
48190 else
48191 wx_has_graphics=1
48192 fi
48193
48194 if test "$wx_has_graphics" = 1; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_GRAPHICS_CONTEXT 1
48197 _ACEOF
48198
48199 else
48200 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48201 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48202 fi
48203 fi
48204
48205
48206 USE_MEDIA=0
48207
48208 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48209 USE_MEDIA=1
48210
48211 if test "$wxUSE_GTK" = 1; then
48212 wxUSE_GSTREAMER="no"
48213
48214 GST_VERSION_MAJOR=0
48215 GST_VERSION_MINOR=10
48216 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48217
48218 if test "$wxUSE_GSTREAMER8" = "no"; then
48219
48220 pkg_failed=no
48221 { echo "$as_me:$LINENO: checking for GST" >&5
48222 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48223
48224 if test -n "$PKG_CONFIG"; then
48225 if test -n "$GST_CFLAGS"; then
48226 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48227 else
48228 if test -n "$PKG_CONFIG" && \
48229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48230 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48231 ac_status=$?
48232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48233 (exit $ac_status); }; then
48234 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48235 else
48236 pkg_failed=yes
48237 fi
48238 fi
48239 else
48240 pkg_failed=untried
48241 fi
48242 if test -n "$PKG_CONFIG"; then
48243 if test -n "$GST_LIBS"; then
48244 pkg_cv_GST_LIBS="$GST_LIBS"
48245 else
48246 if test -n "$PKG_CONFIG" && \
48247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48248 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48249 ac_status=$?
48250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48251 (exit $ac_status); }; then
48252 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48253 else
48254 pkg_failed=yes
48255 fi
48256 fi
48257 else
48258 pkg_failed=untried
48259 fi
48260
48261
48262
48263 if test $pkg_failed = yes; then
48264
48265 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48266 _pkg_short_errors_supported=yes
48267 else
48268 _pkg_short_errors_supported=no
48269 fi
48270 if test $_pkg_short_errors_supported = yes; then
48271 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48272 else
48273 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48274 fi
48275 # Put the nasty error message in config.log where it belongs
48276 echo "$GST_PKG_ERRORS" >&5
48277
48278
48279 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48280 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48281 GST_VERSION_MINOR=8
48282
48283
48284 elif test $pkg_failed = untried; then
48285
48286 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48287 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48288 GST_VERSION_MINOR=8
48289
48290
48291 else
48292 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48293 GST_LIBS=$pkg_cv_GST_LIBS
48294 { echo "$as_me:$LINENO: result: yes" >&5
48295 echo "${ECHO_T}yes" >&6; }
48296
48297 wxUSE_GSTREAMER="yes"
48298 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48299
48300 fi
48301 else
48302 GST_VERSION_MINOR=8
48303 fi
48304
48305 if test $GST_VERSION_MINOR = "8"; then
48306 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48307
48308 pkg_failed=no
48309 { echo "$as_me:$LINENO: checking for GST" >&5
48310 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48311
48312 if test -n "$PKG_CONFIG"; then
48313 if test -n "$GST_CFLAGS"; then
48314 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48315 else
48316 if test -n "$PKG_CONFIG" && \
48317 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48318 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48319 ac_status=$?
48320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48321 (exit $ac_status); }; then
48322 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48323 else
48324 pkg_failed=yes
48325 fi
48326 fi
48327 else
48328 pkg_failed=untried
48329 fi
48330 if test -n "$PKG_CONFIG"; then
48331 if test -n "$GST_LIBS"; then
48332 pkg_cv_GST_LIBS="$GST_LIBS"
48333 else
48334 if test -n "$PKG_CONFIG" && \
48335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48336 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48337 ac_status=$?
48338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48339 (exit $ac_status); }; then
48340 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48341 else
48342 pkg_failed=yes
48343 fi
48344 fi
48345 else
48346 pkg_failed=untried
48347 fi
48348
48349
48350
48351 if test $pkg_failed = yes; then
48352
48353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48354 _pkg_short_errors_supported=yes
48355 else
48356 _pkg_short_errors_supported=no
48357 fi
48358 if test $_pkg_short_errors_supported = yes; then
48359 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48360 else
48361 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48362 fi
48363 # Put the nasty error message in config.log where it belongs
48364 echo "$GST_PKG_ERRORS" >&5
48365
48366
48367 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48368 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48369
48370 elif test $pkg_failed = untried; then
48371
48372 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48373 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48374
48375 else
48376 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48377 GST_LIBS=$pkg_cv_GST_LIBS
48378 { echo "$as_me:$LINENO: result: yes" >&5
48379 echo "${ECHO_T}yes" >&6; }
48380 wxUSE_GSTREAMER="yes"
48381 fi
48382 fi
48383
48384
48385 if test "$wxUSE_GSTREAMER" = "yes"; then
48386 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48387 EXTRALIBS_MEDIA="$GST_LIBS"
48388
48389 cat >>confdefs.h <<\_ACEOF
48390 #define wxUSE_GSTREAMER 1
48391 _ACEOF
48392
48393 else
48394 USE_MEDIA=0
48395 fi
48396 fi
48397
48398 if test $USE_MEDIA = 1; then
48399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_MEDIACTRL 1
48402 _ACEOF
48403
48404 else
48405 if test "$wxUSE_MEDIACTRL" = "yes"; then
48406 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48407 echo "$as_me: error: GStreamer not available" >&2;}
48408 { (exit 1); exit 1; }; }
48409 else
48410 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48411 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48412 fi
48413 fi
48414 fi
48415
48416
48417 if test "$cross_compiling" != "no"; then
48418 OSINFO="\"$host\""
48419 else
48420 OSINFO=`uname -s -r -m`
48421 OSINFO="\"$OSINFO\""
48422 fi
48423
48424 cat >>confdefs.h <<_ACEOF
48425 #define WXWIN_OS_DESCRIPTION $OSINFO
48426 _ACEOF
48427
48428
48429
48430 if test "x$prefix" != "xNONE"; then
48431 wxPREFIX=$prefix
48432 else
48433 wxPREFIX=$ac_default_prefix
48434 fi
48435
48436 cat >>confdefs.h <<_ACEOF
48437 #define wxINSTALL_PREFIX "$wxPREFIX"
48438 _ACEOF
48439
48440
48441
48442
48443 STD_BASE_LIBS="base"
48444 STD_GUI_LIBS=""
48445 BUILT_WX_LIBS="base"
48446 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48447
48448 if test "$wxUSE_SOCKETS" = "yes" ; then
48449 STD_BASE_LIBS="net $STD_BASE_LIBS"
48450 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48451 fi
48452 if test "$wxUSE_XML" = "yes" ; then
48453 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48454 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48455 fi
48456
48457 if test "$wxUSE_GUI" = "yes"; then
48458 STD_GUI_LIBS="adv core"
48459 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48460
48461 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48462 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48463 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48464 fi
48465 if test "$wxUSE_HTML" = "yes" ; then
48466 STD_GUI_LIBS="html $STD_GUI_LIBS"
48467 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48468 fi
48469 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48470 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48471 fi
48472 if test "$wxUSE_OPENGL" = "yes" ; then
48473 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48474 fi
48475 if test "$wxUSE_AUI" = "yes" ; then
48476 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48477 fi
48478 if test "$wxUSE_PROPGRID" = "yes" ; then
48479 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48480 fi
48481 if test "$wxUSE_RIBBON" = "yes" ; then
48482 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48483 fi
48484 if test "$wxUSE_RICHTEXT" = "yes" ; then
48485 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48486 fi
48487 if test "$wxUSE_STC" = "yes" ; then
48488 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48489 fi
48490 if test "$wxUSE_XRC" = "yes" ; then
48491 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48492 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48493 fi
48494 fi
48495
48496
48497
48498
48499
48500
48501
48502 EXTRA_FRAMEWORKS=
48503 if test "$wxUSE_MAC" = 1 ; then
48504 if test "$USE_DARWIN" = 1; then
48505 if test "$wxUSE_OSX_IPHONE" = 1; then
48506 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48507 else
48508 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48509 fi
48510 fi
48511 fi
48512 if test "$wxUSE_OLD_COCOA" = 1 ; then
48513 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48514 if test "$wxUSE_MEDIACTRL" = "yes"; then
48515 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48516 fi
48517 fi
48518 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48519 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48520 fi
48521
48522 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48523 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48524
48525 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48526
48527 if test "$wxUSE_GUI" = "yes"; then
48528
48529
48530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48531 erase event exec font image minimal render \
48532 shaped svg taborder vscroll widgets wrapsizer"
48533
48534 if test "$wxUSE_MONOLITHIC" != "yes"; then
48535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48536 fi
48537 if test "$TOOLKIT" = "MSW"; then
48538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48539 if test "$wxUSE_UNIVERSAL" != "yes"; then
48540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48541 fi
48542 fi
48543 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48545 fi
48546 else
48547 SAMPLES_SUBDIRS="console"
48548 if test "$wxUSE_SOCKETS" = "yes" ; then
48549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48550 fi
48551 if test "$wxUSE_IPC" = "yes" ; then
48552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48553 fi
48554 fi
48555
48556
48557 if test "x$INTELCC" = "xyes" ; then
48558 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48559 elif test "$GCC" = yes ; then
48560 CWARNINGS="-Wall -Wundef"
48561 fi
48562
48563 if test "x$INTELCXX" = "xyes" ; then
48564 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48565 elif test "$GXX" = yes ; then
48566 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48567 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48568 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48569 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48570 echo $ECHO_N "(cached) $ECHO_C" >&6
48571 else
48572 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48573
48574 ac_ext=cpp
48575 ac_cpp='$CXXCPP $CPPFLAGS'
48576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48579
48580 ac_save_CXXFLAGS="$CXXFLAGS"
48581 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48582 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48583 cat >conftest.$ac_ext <<_ACEOF
48584 /* confdefs.h. */
48585 _ACEOF
48586 cat confdefs.h >>conftest.$ac_ext
48587 cat >>conftest.$ac_ext <<_ACEOF
48588 /* end confdefs.h. */
48589
48590 int
48591 main ()
48592 {
48593 return 0;
48594 ;
48595 return 0;
48596 }
48597 _ACEOF
48598 rm -f conftest.$ac_objext
48599 if { (ac_try="$ac_compile"
48600 case "(($ac_try" in
48601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48602 *) ac_try_echo=$ac_try;;
48603 esac
48604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48605 (eval "$ac_compile") 2>conftest.er1
48606 ac_status=$?
48607 grep -v '^ *+' conftest.er1 >conftest.err
48608 rm -f conftest.er1
48609 cat conftest.err >&5
48610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48611 (exit $ac_status); } && {
48612 test -z "$ac_cxx_werror_flag" ||
48613 test ! -s conftest.err
48614 } && test -s conftest.$ac_objext; then
48615 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48616 else
48617 echo "$as_me: failed program was:" >&5
48618 sed 's/^/| /' conftest.$ac_ext >&5
48619
48620
48621 fi
48622
48623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48624 done
48625 CXXFLAGS="$ac_save_CXXFLAGS"
48626 ac_ext=c
48627 ac_cpp='$CPP $CPPFLAGS'
48628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48631
48632
48633 fi
48634 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48635 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48636 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48637 .ok|.ok,*) ;;
48638 .|.no|.no,*) ;;
48639 *)
48640 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48641 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48642 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48643 ac_status=$?
48644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48645 (exit $ac_status); }
48646 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48647 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48648 ac_status=$?
48649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48650 (exit $ac_status); }
48651 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48652 fi
48653 ;;
48654 esac
48655
48656
48657 if test "$wxUSE_MAC" = 1 ; then
48658 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48659 fi
48660 fi
48661
48662
48663 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48664 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48665
48666
48667 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48668 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48669 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48670 $CPPFLAGS `
48671
48672 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48673 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48674 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48675 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48676 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48677
48678 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48679
48680
48681 if test "x$MWCC" = "xyes"; then
48682
48683 CC="$CC -cwd source -I-"
48684 CXX="$CXX -cwd source -I-"
48685 fi
48686
48687
48688 LIBS=`echo $LIBS`
48689 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48690 EXTRALIBS_XML="$EXPAT_LINK"
48691 EXTRALIBS_HTML="$MSPACK_LINK"
48692 EXTRALIBS_MEDIA="$GST_LIBS"
48693 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48694 if test "$wxUSE_GUI" = "yes"; then
48695 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48696 fi
48697 if test "$wxUSE_OPENGL" = "yes"; then
48698 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48699 fi
48700
48701 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48702
48703 WXCONFIG_LIBS="$LIBS"
48704
48705 if test "$wxUSE_REGEX" = "builtin" ; then
48706 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48707 fi
48708 if test "$wxUSE_EXPAT" = "builtin" ; then
48709 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48710 fi
48711 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48712 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48713 fi
48714 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48715 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48716 fi
48717 if test "$wxUSE_LIBPNG" = "builtin" ; then
48718 wxconfig_3rdparty="png $wxconfig_3rdparty"
48719 fi
48720 if test "$wxUSE_ZLIB" = "builtin" ; then
48721 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48722 fi
48723
48724 for i in $wxconfig_3rdparty ; do
48725 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48726 done
48727
48728
48729 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48730 WXUNIV=1
48731
48732 case "$wxUNIV_THEMES" in
48733 ''|all)
48734 cat >>confdefs.h <<\_ACEOF
48735 #define wxUSE_ALL_THEMES 1
48736 _ACEOF
48737
48738 ;;
48739
48740 *)
48741 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48742 cat >>confdefs.h <<_ACEOF
48743 #define wxUSE_THEME_$t 1
48744 _ACEOF
48745
48746 done
48747 esac
48748 else
48749 WXUNIV=0
48750 fi
48751
48752
48753
48754
48755
48756
48757
48758
48759 if test $wxUSE_MONOLITHIC = "yes" ; then
48760 MONOLITHIC=1
48761 else
48762 MONOLITHIC=0
48763 fi
48764
48765 if test $wxUSE_PLUGINS = "yes" ; then
48766 USE_PLUGINS=1
48767 else
48768 USE_PLUGINS=0
48769 fi
48770
48771 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48772 USE_QA=1
48773 else
48774 USE_QA=0
48775 fi
48776
48777 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48778 OFFICIAL_BUILD=1
48779 else
48780 OFFICIAL_BUILD=0
48781 fi
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820 case "$TOOLKIT" in
48821 GTK)
48822 TOOLKIT_DESC="GTK+"
48823 if test "$WXGTK2" = 1; then
48824 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48825 if test "$wxUSE_GTKPRINT" = "yes" ; then
48826 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48827 fi
48828 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48829 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48830 fi
48831 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48832 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48833 fi
48834 if test "$wxUSE_LIBHILDON" = "yes"; then
48835 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48836 fi
48837 if test "$wxUSE_LIBHILDON2" = "yes"; then
48838 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48839 fi
48840
48841 if test "$TOOLKIT_EXTRA" != ""; then
48842 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48843 fi
48844 fi
48845 ;;
48846
48847 ?*)
48848 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48849 ;;
48850
48851 *)
48852 TOOLKIT_DESC="base only"
48853 ;;
48854 esac
48855
48856 if test "$wxUSE_WINE" = "yes"; then
48857 BAKEFILE_FORCE_PLATFORM=win32
48858 fi
48859
48860 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48861 then
48862 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48863 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48864 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48865 echo $ECHO_N "(cached) $ECHO_C" >&6
48866 else
48867
48868 echo '#include <stdio.h>
48869 const wchar_t test_var[] = L"awidetest";' > conftest.h
48870
48871 echo '#include "conftest.h"
48872 int main()
48873 {
48874 printf("%ls", test_var);
48875 return 0;
48876 }' > conftest.cpp
48877
48878 wx_cv_gcc_pch_bug="pch not supported"
48879
48880 if $CXX conftest.h >/dev/null 2>&1
48881 then
48882 wx_cv_gcc_pch_bug=
48883
48884 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48885 then
48886 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48887 grep awidetest >/dev/null
48888 then
48889 wx_cv_gcc_pch_bug=no
48890 else
48891 wx_cv_gcc_pch_bug=yes
48892 fi
48893 fi
48894 fi
48895
48896 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48897
48898 fi
48899 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48900 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48901
48902 if test "$wx_cv_gcc_pch_bug" = yes; then
48903 bk_use_pch=no
48904 fi
48905 fi
48906
48907
48908
48909
48910
48911
48912
48913 if test "x$BAKEFILE_HOST" = "x"; then
48914 if test "x${host}" = "x" ; then
48915 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48916 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48917 { (exit 1); exit 1; }; }
48918 fi
48919
48920 BAKEFILE_HOST="${host}"
48921 fi
48922
48923 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48924
48925 if test -n "$ac_tool_prefix"; then
48926 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48927 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48930 if test "${ac_cv_prog_RANLIB+set}" = set; then
48931 echo $ECHO_N "(cached) $ECHO_C" >&6
48932 else
48933 if test -n "$RANLIB"; then
48934 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48935 else
48936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48937 for as_dir in $PATH
48938 do
48939 IFS=$as_save_IFS
48940 test -z "$as_dir" && as_dir=.
48941 for ac_exec_ext in '' $ac_executable_extensions; do
48942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48943 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48945 break 2
48946 fi
48947 done
48948 done
48949 IFS=$as_save_IFS
48950
48951 fi
48952 fi
48953 RANLIB=$ac_cv_prog_RANLIB
48954 if test -n "$RANLIB"; then
48955 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48956 echo "${ECHO_T}$RANLIB" >&6; }
48957 else
48958 { echo "$as_me:$LINENO: result: no" >&5
48959 echo "${ECHO_T}no" >&6; }
48960 fi
48961
48962
48963 fi
48964 if test -z "$ac_cv_prog_RANLIB"; then
48965 ac_ct_RANLIB=$RANLIB
48966 # Extract the first word of "ranlib", so it can be a program name with args.
48967 set dummy ranlib; ac_word=$2
48968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48970 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48971 echo $ECHO_N "(cached) $ECHO_C" >&6
48972 else
48973 if test -n "$ac_ct_RANLIB"; then
48974 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48975 else
48976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48977 for as_dir in $PATH
48978 do
48979 IFS=$as_save_IFS
48980 test -z "$as_dir" && as_dir=.
48981 for ac_exec_ext in '' $ac_executable_extensions; do
48982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48983 ac_cv_prog_ac_ct_RANLIB="ranlib"
48984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48985 break 2
48986 fi
48987 done
48988 done
48989 IFS=$as_save_IFS
48990
48991 fi
48992 fi
48993 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48994 if test -n "$ac_ct_RANLIB"; then
48995 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48996 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48997 else
48998 { echo "$as_me:$LINENO: result: no" >&5
48999 echo "${ECHO_T}no" >&6; }
49000 fi
49001
49002 if test "x$ac_ct_RANLIB" = x; then
49003 RANLIB=":"
49004 else
49005 case $cross_compiling:$ac_tool_warned in
49006 yes:)
49007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49008 whose name does not start with the host triplet. If you think this
49009 configuration is useful to you, please write to autoconf@gnu.org." >&5
49010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49011 whose name does not start with the host triplet. If you think this
49012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49013 ac_tool_warned=yes ;;
49014 esac
49015 RANLIB=$ac_ct_RANLIB
49016 fi
49017 else
49018 RANLIB="$ac_cv_prog_RANLIB"
49019 fi
49020
49021 # Find a good install program. We prefer a C program (faster),
49022 # so one script is as good as another. But avoid the broken or
49023 # incompatible versions:
49024 # SysV /etc/install, /usr/sbin/install
49025 # SunOS /usr/etc/install
49026 # IRIX /sbin/install
49027 # AIX /bin/install
49028 # AmigaOS /C/install, which installs bootblocks on floppy discs
49029 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49030 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49031 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49032 # OS/2's system install, which has a completely different semantic
49033 # ./install, which can be erroneously created by make from ./install.sh.
49034 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49035 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49036 if test -z "$INSTALL"; then
49037 if test "${ac_cv_path_install+set}" = set; then
49038 echo $ECHO_N "(cached) $ECHO_C" >&6
49039 else
49040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49041 for as_dir in $PATH
49042 do
49043 IFS=$as_save_IFS
49044 test -z "$as_dir" && as_dir=.
49045 # Account for people who put trailing slashes in PATH elements.
49046 case $as_dir/ in
49047 ./ | .// | /cC/* | \
49048 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49049 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49050 /usr/ucb/* ) ;;
49051 *)
49052 # OSF1 and SCO ODT 3.0 have their own names for install.
49053 # Don't use installbsd from OSF since it installs stuff as root
49054 # by default.
49055 for ac_prog in ginstall scoinst install; do
49056 for ac_exec_ext in '' $ac_executable_extensions; do
49057 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49058 if test $ac_prog = install &&
49059 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49060 # AIX install. It has an incompatible calling convention.
49061 :
49062 elif test $ac_prog = install &&
49063 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49064 # program-specific install script used by HP pwplus--don't use.
49065 :
49066 else
49067 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49068 break 3
49069 fi
49070 fi
49071 done
49072 done
49073 ;;
49074 esac
49075 done
49076 IFS=$as_save_IFS
49077
49078
49079 fi
49080 if test "${ac_cv_path_install+set}" = set; then
49081 INSTALL=$ac_cv_path_install
49082 else
49083 # As a last resort, use the slow shell script. Don't cache a
49084 # value for INSTALL within a source directory, because that will
49085 # break other packages using the cache if that directory is
49086 # removed, or if the value is a relative name.
49087 INSTALL=$ac_install_sh
49088 fi
49089 fi
49090 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49091 echo "${ECHO_T}$INSTALL" >&6; }
49092
49093 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49094 # It thinks the first close brace ends the variable substitution.
49095 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49096
49097 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49098
49099 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49100
49101 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49102 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49103 LN_S=$as_ln_s
49104 if test "$LN_S" = "ln -s"; then
49105 { echo "$as_me:$LINENO: result: yes" >&5
49106 echo "${ECHO_T}yes" >&6; }
49107 else
49108 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49109 echo "${ECHO_T}no, using $LN_S" >&6; }
49110 fi
49111
49112
49113 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49114 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49115 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49116 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49117 echo $ECHO_N "(cached) $ECHO_C" >&6
49118 else
49119 cat >conftest.make <<\_ACEOF
49120 SHELL = /bin/sh
49121 all:
49122 @echo '@@@%%%=$(MAKE)=@@@%%%'
49123 _ACEOF
49124 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49125 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49126 *@@@%%%=?*=@@@%%%*)
49127 eval ac_cv_prog_make_${ac_make}_set=yes;;
49128 *)
49129 eval ac_cv_prog_make_${ac_make}_set=no;;
49130 esac
49131 rm -f conftest.make
49132 fi
49133 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49134 { echo "$as_me:$LINENO: result: yes" >&5
49135 echo "${ECHO_T}yes" >&6; }
49136 SET_MAKE=
49137 else
49138 { echo "$as_me:$LINENO: result: no" >&5
49139 echo "${ECHO_T}no" >&6; }
49140 SET_MAKE="MAKE=${MAKE-make}"
49141 fi
49142
49143
49144
49145 if test "x$SUNCXX" = "xyes"; then
49146 AR=$CXX
49147 AROPTIONS="-xar -o"
49148
49149 elif test "x$SGICC" = "xyes"; then
49150 AR=$CXX
49151 AROPTIONS="-ar -o"
49152
49153 else
49154 if test -n "$ac_tool_prefix"; then
49155 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49156 set dummy ${ac_tool_prefix}ar; ac_word=$2
49157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49159 if test "${ac_cv_prog_AR+set}" = set; then
49160 echo $ECHO_N "(cached) $ECHO_C" >&6
49161 else
49162 if test -n "$AR"; then
49163 ac_cv_prog_AR="$AR" # Let the user override the test.
49164 else
49165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49166 for as_dir in $PATH
49167 do
49168 IFS=$as_save_IFS
49169 test -z "$as_dir" && as_dir=.
49170 for ac_exec_ext in '' $ac_executable_extensions; do
49171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49172 ac_cv_prog_AR="${ac_tool_prefix}ar"
49173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49174 break 2
49175 fi
49176 done
49177 done
49178 IFS=$as_save_IFS
49179
49180 fi
49181 fi
49182 AR=$ac_cv_prog_AR
49183 if test -n "$AR"; then
49184 { echo "$as_me:$LINENO: result: $AR" >&5
49185 echo "${ECHO_T}$AR" >&6; }
49186 else
49187 { echo "$as_me:$LINENO: result: no" >&5
49188 echo "${ECHO_T}no" >&6; }
49189 fi
49190
49191
49192 fi
49193 if test -z "$ac_cv_prog_AR"; then
49194 ac_ct_AR=$AR
49195 # Extract the first word of "ar", so it can be a program name with args.
49196 set dummy ar; ac_word=$2
49197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49199 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49200 echo $ECHO_N "(cached) $ECHO_C" >&6
49201 else
49202 if test -n "$ac_ct_AR"; then
49203 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49204 else
49205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49206 for as_dir in $PATH
49207 do
49208 IFS=$as_save_IFS
49209 test -z "$as_dir" && as_dir=.
49210 for ac_exec_ext in '' $ac_executable_extensions; do
49211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49212 ac_cv_prog_ac_ct_AR="ar"
49213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49214 break 2
49215 fi
49216 done
49217 done
49218 IFS=$as_save_IFS
49219
49220 fi
49221 fi
49222 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49223 if test -n "$ac_ct_AR"; then
49224 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49225 echo "${ECHO_T}$ac_ct_AR" >&6; }
49226 else
49227 { echo "$as_me:$LINENO: result: no" >&5
49228 echo "${ECHO_T}no" >&6; }
49229 fi
49230
49231 if test "x$ac_ct_AR" = x; then
49232 AR="ar"
49233 else
49234 case $cross_compiling:$ac_tool_warned in
49235 yes:)
49236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49237 whose name does not start with the host triplet. If you think this
49238 configuration is useful to you, please write to autoconf@gnu.org." >&5
49239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49240 whose name does not start with the host triplet. If you think this
49241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49242 ac_tool_warned=yes ;;
49243 esac
49244 AR=$ac_ct_AR
49245 fi
49246 else
49247 AR="$ac_cv_prog_AR"
49248 fi
49249
49250 AROPTIONS=rcu
49251 fi
49252
49253
49254 if test -n "$ac_tool_prefix"; then
49255 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49256 set dummy ${ac_tool_prefix}strip; ac_word=$2
49257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49259 if test "${ac_cv_prog_STRIP+set}" = set; then
49260 echo $ECHO_N "(cached) $ECHO_C" >&6
49261 else
49262 if test -n "$STRIP"; then
49263 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49264 else
49265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49266 for as_dir in $PATH
49267 do
49268 IFS=$as_save_IFS
49269 test -z "$as_dir" && as_dir=.
49270 for ac_exec_ext in '' $ac_executable_extensions; do
49271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49272 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49274 break 2
49275 fi
49276 done
49277 done
49278 IFS=$as_save_IFS
49279
49280 fi
49281 fi
49282 STRIP=$ac_cv_prog_STRIP
49283 if test -n "$STRIP"; then
49284 { echo "$as_me:$LINENO: result: $STRIP" >&5
49285 echo "${ECHO_T}$STRIP" >&6; }
49286 else
49287 { echo "$as_me:$LINENO: result: no" >&5
49288 echo "${ECHO_T}no" >&6; }
49289 fi
49290
49291
49292 fi
49293 if test -z "$ac_cv_prog_STRIP"; then
49294 ac_ct_STRIP=$STRIP
49295 # Extract the first word of "strip", so it can be a program name with args.
49296 set dummy strip; ac_word=$2
49297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49299 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49300 echo $ECHO_N "(cached) $ECHO_C" >&6
49301 else
49302 if test -n "$ac_ct_STRIP"; then
49303 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49304 else
49305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49306 for as_dir in $PATH
49307 do
49308 IFS=$as_save_IFS
49309 test -z "$as_dir" && as_dir=.
49310 for ac_exec_ext in '' $ac_executable_extensions; do
49311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49312 ac_cv_prog_ac_ct_STRIP="strip"
49313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49314 break 2
49315 fi
49316 done
49317 done
49318 IFS=$as_save_IFS
49319
49320 fi
49321 fi
49322 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49323 if test -n "$ac_ct_STRIP"; then
49324 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49325 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49326 else
49327 { echo "$as_me:$LINENO: result: no" >&5
49328 echo "${ECHO_T}no" >&6; }
49329 fi
49330
49331 if test "x$ac_ct_STRIP" = x; then
49332 STRIP=":"
49333 else
49334 case $cross_compiling:$ac_tool_warned in
49335 yes:)
49336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49337 whose name does not start with the host triplet. If you think this
49338 configuration is useful to you, please write to autoconf@gnu.org." >&5
49339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49340 whose name does not start with the host triplet. If you think this
49341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49342 ac_tool_warned=yes ;;
49343 esac
49344 STRIP=$ac_ct_STRIP
49345 fi
49346 else
49347 STRIP="$ac_cv_prog_STRIP"
49348 fi
49349
49350 if test -n "$ac_tool_prefix"; then
49351 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49352 set dummy ${ac_tool_prefix}nm; ac_word=$2
49353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49355 if test "${ac_cv_prog_NM+set}" = set; then
49356 echo $ECHO_N "(cached) $ECHO_C" >&6
49357 else
49358 if test -n "$NM"; then
49359 ac_cv_prog_NM="$NM" # Let the user override the test.
49360 else
49361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49362 for as_dir in $PATH
49363 do
49364 IFS=$as_save_IFS
49365 test -z "$as_dir" && as_dir=.
49366 for ac_exec_ext in '' $ac_executable_extensions; do
49367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49368 ac_cv_prog_NM="${ac_tool_prefix}nm"
49369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49370 break 2
49371 fi
49372 done
49373 done
49374 IFS=$as_save_IFS
49375
49376 fi
49377 fi
49378 NM=$ac_cv_prog_NM
49379 if test -n "$NM"; then
49380 { echo "$as_me:$LINENO: result: $NM" >&5
49381 echo "${ECHO_T}$NM" >&6; }
49382 else
49383 { echo "$as_me:$LINENO: result: no" >&5
49384 echo "${ECHO_T}no" >&6; }
49385 fi
49386
49387
49388 fi
49389 if test -z "$ac_cv_prog_NM"; then
49390 ac_ct_NM=$NM
49391 # Extract the first word of "nm", so it can be a program name with args.
49392 set dummy nm; ac_word=$2
49393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49395 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49396 echo $ECHO_N "(cached) $ECHO_C" >&6
49397 else
49398 if test -n "$ac_ct_NM"; then
49399 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49400 else
49401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49402 for as_dir in $PATH
49403 do
49404 IFS=$as_save_IFS
49405 test -z "$as_dir" && as_dir=.
49406 for ac_exec_ext in '' $ac_executable_extensions; do
49407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49408 ac_cv_prog_ac_ct_NM="nm"
49409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49410 break 2
49411 fi
49412 done
49413 done
49414 IFS=$as_save_IFS
49415
49416 fi
49417 fi
49418 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49419 if test -n "$ac_ct_NM"; then
49420 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49421 echo "${ECHO_T}$ac_ct_NM" >&6; }
49422 else
49423 { echo "$as_me:$LINENO: result: no" >&5
49424 echo "${ECHO_T}no" >&6; }
49425 fi
49426
49427 if test "x$ac_ct_NM" = x; then
49428 NM=":"
49429 else
49430 case $cross_compiling:$ac_tool_warned in
49431 yes:)
49432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49433 whose name does not start with the host triplet. If you think this
49434 configuration is useful to you, please write to autoconf@gnu.org." >&5
49435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49436 whose name does not start with the host triplet. If you think this
49437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49438 ac_tool_warned=yes ;;
49439 esac
49440 NM=$ac_ct_NM
49441 fi
49442 else
49443 NM="$ac_cv_prog_NM"
49444 fi
49445
49446
49447 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49448 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49449 INSTALL_TEST_DIR=acbftest$$
49450 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49451 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49452 rmdir $INSTALL_TEST_DIR
49453 INSTALL_DIR='$(INSTALL) -d'
49454 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49455 echo "${ECHO_T}$INSTALL -d" >&6; }
49456 else
49457 INSTALL_DIR="mkdir -p"
49458 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49459 echo "${ECHO_T}mkdir -p" >&6; }
49460 fi
49461
49462
49463 LDFLAGS_GUI=
49464 case ${BAKEFILE_HOST} in
49465 *-*-cygwin* | *-*-mingw32* )
49466 LDFLAGS_GUI="-mwindows"
49467 esac
49468
49469
49470 fi
49471
49472 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49473 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49474 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49475 echo $ECHO_N "(cached) $ECHO_C" >&6
49476 else
49477
49478 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49479 egrep -s GNU > /dev/null); then
49480 bakefile_cv_prog_makeisgnu="yes"
49481 else
49482 bakefile_cv_prog_makeisgnu="no"
49483 fi
49484
49485 fi
49486 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49487 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49488
49489 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49490 IF_GNU_MAKE=""
49491 else
49492 IF_GNU_MAKE="#"
49493 fi
49494
49495
49496
49497 PLATFORM_UNIX=0
49498 PLATFORM_WIN32=0
49499 PLATFORM_MSDOS=0
49500 PLATFORM_MAC=0
49501 PLATFORM_MACOS=0
49502 PLATFORM_MACOSX=0
49503 PLATFORM_OS2=0
49504 PLATFORM_BEOS=0
49505
49506 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49507 case "${BAKEFILE_HOST}" in
49508 *-*-mingw32* )
49509 PLATFORM_WIN32=1
49510 ;;
49511 *-pc-msdosdjgpp )
49512 PLATFORM_MSDOS=1
49513 ;;
49514 *-pc-os2_emx | *-pc-os2-emx )
49515 PLATFORM_OS2=1
49516 ;;
49517 *-*-darwin* )
49518 PLATFORM_MAC=1
49519 PLATFORM_MACOSX=1
49520 ;;
49521 *-*-beos* )
49522 PLATFORM_BEOS=1
49523 ;;
49524 powerpc-apple-macos* )
49525 PLATFORM_MAC=1
49526 PLATFORM_MACOS=1
49527 ;;
49528 * )
49529 PLATFORM_UNIX=1
49530 ;;
49531 esac
49532 else
49533 case "$BAKEFILE_FORCE_PLATFORM" in
49534 win32 )
49535 PLATFORM_WIN32=1
49536 ;;
49537 msdos )
49538 PLATFORM_MSDOS=1
49539 ;;
49540 os2 )
49541 PLATFORM_OS2=1
49542 ;;
49543 darwin )
49544 PLATFORM_MAC=1
49545 PLATFORM_MACOSX=1
49546 ;;
49547 unix )
49548 PLATFORM_UNIX=1
49549 ;;
49550 beos )
49551 PLATFORM_BEOS=1
49552 ;;
49553 * )
49554 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49555 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49556 { (exit 1); exit 1; }; }
49557 ;;
49558 esac
49559 fi
49560
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571 # Check whether --enable-omf was given.
49572 if test "${enable_omf+set}" = set; then
49573 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49574 fi
49575
49576
49577 case "${BAKEFILE_HOST}" in
49578 *-*-darwin* )
49579 if test "x$GCC" = "xyes"; then
49580 CFLAGS="$CFLAGS -fno-common"
49581 CXXFLAGS="$CXXFLAGS -fno-common"
49582 fi
49583 if test "x$XLCC" = "xyes"; then
49584 CFLAGS="$CFLAGS -qnocommon"
49585 CXXFLAGS="$CXXFLAGS -qnocommon"
49586 fi
49587 ;;
49588
49589 *-pc-os2_emx | *-pc-os2-emx )
49590 if test "x$bk_os2_use_omf" = "xyes" ; then
49591 AR=emxomfar
49592 RANLIB=:
49593 LDFLAGS="-Zomf $LDFLAGS"
49594 CFLAGS="-Zomf $CFLAGS"
49595 CXXFLAGS="-Zomf $CXXFLAGS"
49596 OS2_LIBEXT="lib"
49597 else
49598 OS2_LIBEXT="a"
49599 fi
49600 ;;
49601
49602 i*86-*-beos* )
49603 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49604 ;;
49605 esac
49606
49607
49608 SO_SUFFIX="so"
49609 SO_SUFFIX_MODULE="so"
49610 EXEEXT=""
49611 LIBPREFIX="lib"
49612 LIBEXT=".a"
49613 DLLPREFIX="lib"
49614 DLLPREFIX_MODULE=""
49615 DLLIMP_SUFFIX=""
49616 dlldir="$libdir"
49617
49618 case "${BAKEFILE_HOST}" in
49619 ia64-hp-hpux* )
49620 ;;
49621 *-hp-hpux* )
49622 SO_SUFFIX="sl"
49623 SO_SUFFIX_MODULE="sl"
49624 ;;
49625 *-*-aix* )
49626 SO_SUFFIX="a"
49627 SO_SUFFIX_MODULE="a"
49628 ;;
49629 *-*-cygwin* )
49630 SO_SUFFIX="dll"
49631 SO_SUFFIX_MODULE="dll"
49632 DLLIMP_SUFFIX="dll.a"
49633 EXEEXT=".exe"
49634 DLLPREFIX="cyg"
49635 dlldir="$bindir"
49636 ;;
49637 *-*-mingw32* )
49638 SO_SUFFIX="dll"
49639 SO_SUFFIX_MODULE="dll"
49640 DLLIMP_SUFFIX="dll.a"
49641 EXEEXT=".exe"
49642 DLLPREFIX=""
49643 dlldir="$bindir"
49644 ;;
49645 *-pc-msdosdjgpp )
49646 EXEEXT=".exe"
49647 DLLPREFIX=""
49648 dlldir="$bindir"
49649 ;;
49650 *-pc-os2_emx | *-pc-os2-emx )
49651 SO_SUFFIX="dll"
49652 SO_SUFFIX_MODULE="dll"
49653 DLLIMP_SUFFIX=$OS2_LIBEXT
49654 EXEEXT=".exe"
49655 DLLPREFIX=""
49656 LIBPREFIX=""
49657 LIBEXT=".$OS2_LIBEXT"
49658 dlldir="$bindir"
49659 ;;
49660 *-*-darwin* )
49661 SO_SUFFIX="dylib"
49662 SO_SUFFIX_MODULE="bundle"
49663 ;;
49664 esac
49665
49666 if test "x$DLLIMP_SUFFIX" = "x" ; then
49667 DLLIMP_SUFFIX="$SO_SUFFIX"
49668 fi
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681 PIC_FLAG=""
49682 if test "x$GCC" = "xyes"; then
49683 PIC_FLAG="-fPIC"
49684 fi
49685
49686 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49687 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49688 WINDOWS_IMPLIB=0
49689
49690 case "${BAKEFILE_HOST}" in
49691 *-hp-hpux* )
49692 if test "x$GCC" != "xyes"; then
49693 LDFLAGS="$LDFLAGS -L/usr/lib"
49694
49695 SHARED_LD_CC="${CC} -b -o"
49696 SHARED_LD_CXX="${CXX} -b -o"
49697 PIC_FLAG="+Z"
49698 fi
49699 ;;
49700
49701 *-*-linux* )
49702 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49703 PIC_FLAG="-KPIC"
49704 elif test "x$SUNCXX" = "xyes"; then
49705 SHARED_LD_CC="${CC} -G -o"
49706 SHARED_LD_CXX="${CXX} -G -o"
49707 PIC_FLAG="-KPIC"
49708 fi
49709 ;;
49710
49711 *-*-solaris2* )
49712 if test "x$SUNCXX" = xyes ; then
49713 SHARED_LD_CC="${CC} -G -o"
49714 SHARED_LD_CXX="${CXX} -G -o"
49715 PIC_FLAG="-KPIC"
49716 fi
49717 ;;
49718
49719 *-*-darwin* )
49720
49721 D='$'
49722 cat <<EOF >shared-ld-sh
49723 #!/bin/sh
49724 #-----------------------------------------------------------------------------
49725 #-- Name: distrib/mac/shared-ld-sh
49726 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49727 #-- Author: Gilles Depeyrot
49728 #-- Copyright: (c) 2002 Gilles Depeyrot
49729 #-- Licence: any use permitted
49730 #-----------------------------------------------------------------------------
49731
49732 verbose=0
49733 args=""
49734 objects=""
49735 linking_flag="-dynamiclib"
49736 ldargs="-r -keep_private_externs -nostdlib"
49737
49738 if test "x${D}CXX" = "x"; then
49739 CXX="c++"
49740 fi
49741
49742 while test ${D}# -gt 0; do
49743 case ${D}1 in
49744
49745 -v)
49746 verbose=1
49747 ;;
49748
49749 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49750 # collect these options and values
49751 args="${D}{args} ${D}1 ${D}2"
49752 shift
49753 ;;
49754
49755 -arch|-isysroot)
49756 # collect these options and values
49757 ldargs="${D}{ldargs} ${D}1 ${D}2"
49758 shift
49759 ;;
49760
49761 -s|-Wl,*)
49762 # collect these load args
49763 ldargs="${D}{ldargs} ${D}1"
49764 ;;
49765
49766 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49767 # collect these options
49768 args="${D}{args} ${D}1"
49769 ;;
49770
49771 -dynamiclib|-bundle)
49772 linking_flag="${D}1"
49773 ;;
49774
49775 -*)
49776 echo "shared-ld: unhandled option '${D}1'"
49777 exit 1
49778 ;;
49779
49780 *.o | *.a | *.dylib)
49781 # collect object files
49782 objects="${D}{objects} ${D}1"
49783 ;;
49784
49785 *)
49786 echo "shared-ld: unhandled argument '${D}1'"
49787 exit 1
49788 ;;
49789
49790 esac
49791 shift
49792 done
49793
49794 status=0
49795
49796 #
49797 # Link one module containing all the others
49798 #
49799 if test ${D}{verbose} = 1; then
49800 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49801 fi
49802 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49803 status=${D}?
49804
49805 #
49806 # Link the shared library from the single module created, but only if the
49807 # previous command didn't fail:
49808 #
49809 if test ${D}{status} = 0; then
49810 if test ${D}{verbose} = 1; then
49811 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49812 fi
49813 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49814 status=${D}?
49815 fi
49816
49817 #
49818 # Remove intermediate module
49819 #
49820 rm -f master.${D}${D}.o
49821
49822 exit ${D}status
49823 EOF
49824
49825 chmod +x shared-ld-sh
49826
49827 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49828 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49829
49830
49831 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49832 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49833 if test "${bakefile_cv_gcc31+set}" = set; then
49834 echo $ECHO_N "(cached) $ECHO_C" >&6
49835 else
49836
49837 cat >conftest.$ac_ext <<_ACEOF
49838 /* confdefs.h. */
49839 _ACEOF
49840 cat confdefs.h >>conftest.$ac_ext
49841 cat >>conftest.$ac_ext <<_ACEOF
49842 /* end confdefs.h. */
49843
49844 int
49845 main ()
49846 {
49847
49848 #if (__GNUC__ < 3) || \
49849 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49850 This is old gcc
49851 #endif
49852
49853 ;
49854 return 0;
49855 }
49856 _ACEOF
49857 rm -f conftest.$ac_objext
49858 if { (ac_try="$ac_compile"
49859 case "(($ac_try" in
49860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49861 *) ac_try_echo=$ac_try;;
49862 esac
49863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49864 (eval "$ac_compile") 2>conftest.er1
49865 ac_status=$?
49866 grep -v '^ *+' conftest.er1 >conftest.err
49867 rm -f conftest.er1
49868 cat conftest.err >&5
49869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49870 (exit $ac_status); } && {
49871 test -z "$ac_c_werror_flag" ||
49872 test ! -s conftest.err
49873 } && test -s conftest.$ac_objext; then
49874
49875 bakefile_cv_gcc31=yes
49876
49877 else
49878 echo "$as_me: failed program was:" >&5
49879 sed 's/^/| /' conftest.$ac_ext >&5
49880
49881
49882 bakefile_cv_gcc31=no
49883
49884
49885 fi
49886
49887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49888
49889 fi
49890 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49891 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49892 if test "$bakefile_cv_gcc31" = "no"; then
49893 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49894 SHARED_LD_CXX="$SHARED_LD_CC"
49895 else
49896 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49897 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49898 fi
49899
49900 if test "x$GCC" == "xyes"; then
49901 PIC_FLAG="-dynamic -fPIC"
49902 fi
49903 if test "x$XLCC" = "xyes"; then
49904 PIC_FLAG="-dynamic -DPIC"
49905 fi
49906 ;;
49907
49908 *-*-aix* )
49909 if test "x$GCC" = "xyes"; then
49910 PIC_FLAG=""
49911
49912 case "${BAKEFILE_HOST}" in
49913 *-*-aix5* )
49914 LD_EXPFULL="-Wl,-bexpfull"
49915 ;;
49916 esac
49917
49918 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49919 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49920 else
49921 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49922 set dummy makeC++SharedLib; ac_word=$2
49923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49925 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49926 echo $ECHO_N "(cached) $ECHO_C" >&6
49927 else
49928 if test -n "$AIX_CXX_LD"; then
49929 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49930 else
49931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49932 for as_dir in $PATH
49933 do
49934 IFS=$as_save_IFS
49935 test -z "$as_dir" && as_dir=.
49936 for ac_exec_ext in '' $ac_executable_extensions; do
49937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49938 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49940 break 2
49941 fi
49942 done
49943 done
49944 IFS=$as_save_IFS
49945
49946 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49947 fi
49948 fi
49949 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49950 if test -n "$AIX_CXX_LD"; then
49951 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49952 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49953 else
49954 { echo "$as_me:$LINENO: result: no" >&5
49955 echo "${ECHO_T}no" >&6; }
49956 fi
49957
49958
49959 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49960 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49961 fi
49962 ;;
49963
49964 *-*-beos* )
49965 SHARED_LD_CC="${LD} -nostart -o"
49966 SHARED_LD_CXX="${LD} -nostart -o"
49967 ;;
49968
49969 *-*-irix* )
49970 if test "x$GCC" != "xyes"; then
49971 PIC_FLAG="-KPIC"
49972 fi
49973 ;;
49974
49975 *-*-cygwin* | *-*-mingw32* )
49976 PIC_FLAG=""
49977 SHARED_LD_CC="\$(CC) -shared -o"
49978 SHARED_LD_CXX="\$(CXX) -shared -o"
49979 WINDOWS_IMPLIB=1
49980 ;;
49981
49982 *-pc-os2_emx | *-pc-os2-emx )
49983 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49984 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49985 PIC_FLAG=""
49986
49987 D='$'
49988 cat <<EOF >dllar.sh
49989 #!/bin/sh
49990 #
49991 # dllar - a tool to build both a .dll and an .a file
49992 # from a set of object (.o) files for EMX/OS2.
49993 #
49994 # Written by Andrew Zabolotny, bit@freya.etu.ru
49995 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49996 #
49997 # This script will accept a set of files on the command line.
49998 # All the public symbols from the .o files will be exported into
49999 # a .DEF file, then linker will be run (through gcc) against them to
50000 # build a shared library consisting of all given .o files. All libraries
50001 # (.a) will be first decompressed into component .o files then act as
50002 # described above. You can optionally give a description (-d "description")
50003 # which will be put into .DLL. To see the list of accepted options (as well
50004 # as command-line format) simply run this program without options. The .DLL
50005 # is built to be imported by name (there is no guarantee that new versions
50006 # of the library you build will have same ordinals for same symbols).
50007 #
50008 # dllar is free software; you can redistribute it and/or modify
50009 # it under the terms of the GNU General Public License as published by
50010 # the Free Software Foundation; either version 2, or (at your option)
50011 # any later version.
50012 #
50013 # dllar is distributed in the hope that it will be useful,
50014 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50016 # GNU General Public License for more details.
50017 #
50018 # You should have received a copy of the GNU General Public License
50019 # along with dllar; see the file COPYING. If not, write to the Free
50020 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50021 # 02111-1307, USA.
50022
50023 # To successfuly run this program you will need:
50024 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50025 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50026 # - gcc
50027 # (used to build the .dll)
50028 # - emxexp
50029 # (used to create .def file from .o files)
50030 # - emximp
50031 # (used to create .a file from .def file)
50032 # - GNU text utilites (cat, sort, uniq)
50033 # used to process emxexp output
50034 # - GNU file utilities (mv, rm)
50035 # - GNU sed
50036 # - lxlite (optional, see flag below)
50037 # (used for general .dll cleanup)
50038 #
50039
50040 flag_USE_LXLITE=1;
50041
50042 #
50043 # helper functions
50044 # basnam, variant of basename, which does _not_ remove the path, _iff_
50045 # second argument (suffix to remove) is given
50046 basnam(){
50047 case ${D}# in
50048 1)
50049 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50050 ;;
50051 2)
50052 echo ${D}1 | sed 's/'${D}2'${D}//'
50053 ;;
50054 *)
50055 echo "error in basnam ${D}*"
50056 exit 8
50057 ;;
50058 esac
50059 }
50060
50061 # Cleanup temporary files and output
50062 CleanUp() {
50063 cd ${D}curDir
50064 for i in ${D}inputFiles ; do
50065 case ${D}i in
50066 *!)
50067 rm -rf \`basnam ${D}i !\`
50068 ;;
50069 *)
50070 ;;
50071 esac
50072 done
50073
50074 # Kill result in case of failure as there is just to many stupid make/nmake
50075 # things out there which doesn't do this.
50076 if [ ${D}# -eq 0 ]; then
50077 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50078 fi
50079 }
50080
50081 # Print usage and exit script with rc=1.
50082 PrintHelp() {
50083 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50084 echo ' [-name-mangler-script script.sh]'
50085 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50086 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50087 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50088 echo ' [*.o] [*.a]'
50089 echo '*> "output_file" should have no extension.'
50090 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50091 echo ' The import library name is derived from this and is set to "name".a,'
50092 echo ' unless overridden by -import'
50093 echo '*> "importlib_name" should have no extension.'
50094 echo ' If it has the .o, or .a extension, it is automatically removed.'
50095 echo ' This name is used as the import library name and may be longer and'
50096 echo ' more descriptive than the DLL name which has to follow the old '
50097 echo ' 8.3 convention of FAT.'
50098 echo '*> "script.sh may be given to override the output_file name by a'
50099 echo ' different name. It is mainly useful if the regular make process'
50100 echo ' of some package does not take into account OS/2 restriction of'
50101 echo ' DLL name lengths. It takes the importlib name as input and is'
50102 echo ' supposed to procude a shorter name as output. The script should'
50103 echo ' expect to get importlib_name without extension and should produce'
50104 echo ' a (max.) 8 letter name without extension.'
50105 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50106 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50107 echo ' These flags will be put at the start of GCC command line.'
50108 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50109 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50110 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50111 echo ' If the last character of a symbol is "*", all symbols beginning'
50112 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50113 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50114 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50115 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50116 echo ' C runtime DLLs.'
50117 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50118 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50119 echo ' unchanged to GCC at the end of command line.'
50120 echo '*> If you create a DLL from a library and you do not specify -o,'
50121 echo ' the basename for DLL and import library will be set to library name,'
50122 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50123 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50124 echo ' library will be renamed into gcc_s.a.'
50125 echo '--------'
50126 echo 'Example:'
50127 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50128 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50129 CleanUp
50130 exit 1
50131 }
50132
50133 # Execute a command.
50134 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50135 # @Uses Whatever CleanUp() uses.
50136 doCommand() {
50137 echo "${D}*"
50138 eval ${D}*
50139 rcCmd=${D}?
50140
50141 if [ ${D}rcCmd -ne 0 ]; then
50142 echo "command failed, exit code="${D}rcCmd
50143 CleanUp
50144 exit ${D}rcCmd
50145 fi
50146 }
50147
50148 # main routine
50149 # setup globals
50150 cmdLine=${D}*
50151 outFile=""
50152 outimpFile=""
50153 inputFiles=""
50154 renameScript=""
50155 description=""
50156 CC=gcc.exe
50157 CFLAGS="-s -Zcrtdll"
50158 EXTRA_CFLAGS=""
50159 EXPORT_BY_ORDINALS=0
50160 exclude_symbols=""
50161 library_flags=""
50162 curDir=\`pwd\`
50163 curDirS=curDir
50164 case ${D}curDirS in
50165 */)
50166 ;;
50167 *)
50168 curDirS=${D}{curDirS}"/"
50169 ;;
50170 esac
50171 # Parse commandline
50172 libsToLink=0
50173 omfLinking=0
50174 while [ ${D}1 ]; do
50175 case ${D}1 in
50176 -ord*)
50177 EXPORT_BY_ORDINALS=1;
50178 ;;
50179 -o*)
50180 shift
50181 outFile=${D}1
50182 ;;
50183 -i*)
50184 shift
50185 outimpFile=${D}1
50186 ;;
50187 -name-mangler-script)
50188 shift
50189 renameScript=${D}1
50190 ;;
50191 -d*)
50192 shift
50193 description=${D}1
50194 ;;
50195 -f*)
50196 shift
50197 CFLAGS=${D}1
50198 ;;
50199 -c*)
50200 shift
50201 CC=${D}1
50202 ;;
50203 -h*)
50204 PrintHelp
50205 ;;
50206 -ex*)
50207 shift
50208 exclude_symbols=${D}{exclude_symbols}${D}1" "
50209 ;;
50210 -libf*)
50211 shift
50212 library_flags=${D}{library_flags}${D}1" "
50213 ;;
50214 -nocrt*)
50215 CFLAGS="-s"
50216 ;;
50217 -nolxl*)
50218 flag_USE_LXLITE=0
50219 ;;
50220 -* | /*)
50221 case ${D}1 in
50222 -L* | -l*)
50223 libsToLink=1
50224 ;;
50225 -Zomf)
50226 omfLinking=1
50227 ;;
50228 *)
50229 ;;
50230 esac
50231 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50232 ;;
50233 *.dll)
50234 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50235 if [ ${D}omfLinking -eq 1 ]; then
50236 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50237 else
50238 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50239 fi
50240 ;;
50241 *)
50242 found=0;
50243 if [ ${D}libsToLink -ne 0 ]; then
50244 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50245 else
50246 for file in ${D}1 ; do
50247 if [ -f ${D}file ]; then
50248 inputFiles="${D}{inputFiles} ${D}file"
50249 found=1
50250 fi
50251 done
50252 if [ ${D}found -eq 0 ]; then
50253 echo "ERROR: No file(s) found: "${D}1
50254 exit 8
50255 fi
50256 fi
50257 ;;
50258 esac
50259 shift
50260 done # iterate cmdline words
50261
50262 #
50263 if [ -z "${D}inputFiles" ]; then
50264 echo "dllar: no input files"
50265 PrintHelp
50266 fi
50267
50268 # Now extract all .o files from .a files
50269 newInputFiles=""
50270 for file in ${D}inputFiles ; do
50271 case ${D}file in
50272 *.a | *.lib)
50273 case ${D}file in
50274 *.a)
50275 suffix=".a"
50276 AR="ar"
50277 ;;
50278 *.lib)
50279 suffix=".lib"
50280 AR="emxomfar"
50281 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50282 ;;
50283 *)
50284 ;;
50285 esac
50286 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50287 mkdir ${D}dirname
50288 if [ ${D}? -ne 0 ]; then
50289 echo "Failed to create subdirectory ./${D}dirname"
50290 CleanUp
50291 exit 8;
50292 fi
50293 # Append '!' to indicate archive
50294 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50295 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50296 cd ${D}curDir
50297 found=0;
50298 for subfile in ${D}dirname/*.o* ; do
50299 if [ -f ${D}subfile ]; then
50300 found=1
50301 if [ -s ${D}subfile ]; then
50302 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50303 newInputFiles="${D}newInputFiles ${D}subfile"
50304 fi
50305 fi
50306 done
50307 if [ ${D}found -eq 0 ]; then
50308 echo "WARNING: there are no files in archive \\'${D}file\\'"
50309 fi
50310 ;;
50311 *)
50312 newInputFiles="${D}{newInputFiles} ${D}file"
50313 ;;
50314 esac
50315 done
50316 inputFiles="${D}newInputFiles"
50317
50318 # Output filename(s).
50319 do_backup=0;
50320 if [ -z ${D}outFile ]; then
50321 do_backup=1;
50322 set outFile ${D}inputFiles; outFile=${D}2
50323 fi
50324
50325 # If it is an archive, remove the '!' and the '_%' suffixes
50326 case ${D}outFile in
50327 *_%!)
50328 outFile=\`basnam ${D}outFile _%!\`
50329 ;;
50330 *)
50331 ;;
50332 esac
50333 case ${D}outFile in
50334 *.dll)
50335 outFile=\`basnam ${D}outFile .dll\`
50336 ;;
50337 *.DLL)
50338 outFile=\`basnam ${D}outFile .DLL\`
50339 ;;
50340 *.o)
50341 outFile=\`basnam ${D}outFile .o\`
50342 ;;
50343 *.obj)
50344 outFile=\`basnam ${D}outFile .obj\`
50345 ;;
50346 *.a)
50347 outFile=\`basnam ${D}outFile .a\`
50348 ;;
50349 *.lib)
50350 outFile=\`basnam ${D}outFile .lib\`
50351 ;;
50352 *)
50353 ;;
50354 esac
50355 case ${D}outimpFile in
50356 *.a)
50357 outimpFile=\`basnam ${D}outimpFile .a\`
50358 ;;
50359 *.lib)
50360 outimpFile=\`basnam ${D}outimpFile .lib\`
50361 ;;
50362 *)
50363 ;;
50364 esac
50365 if [ -z ${D}outimpFile ]; then
50366 outimpFile=${D}outFile
50367 fi
50368 defFile="${D}{outFile}.def"
50369 arcFile="${D}{outimpFile}.a"
50370 arcFile2="${D}{outimpFile}.lib"
50371
50372 #create ${D}dllFile as something matching 8.3 restrictions,
50373 if [ -z ${D}renameScript ] ; then
50374 dllFile="${D}outFile"
50375 else
50376 dllFile=\`${D}renameScript ${D}outimpFile\`
50377 fi
50378
50379 if [ ${D}do_backup -ne 0 ] ; then
50380 if [ -f ${D}arcFile ] ; then
50381 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50382 fi
50383 if [ -f ${D}arcFile2 ] ; then
50384 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50385 fi
50386 fi
50387
50388 # Extract public symbols from all the object files.
50389 tmpdefFile=${D}{defFile}_%
50390 rm -f ${D}tmpdefFile
50391 for file in ${D}inputFiles ; do
50392 case ${D}file in
50393 *!)
50394 ;;
50395 *)
50396 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50397 ;;
50398 esac
50399 done
50400
50401 # Create the def file.
50402 rm -f ${D}defFile
50403 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50404 dllFile="${D}{dllFile}.dll"
50405 if [ ! -z ${D}description ]; then
50406 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50407 fi
50408 echo "EXPORTS" >> ${D}defFile
50409
50410 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50411 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50412
50413 # Checks if the export is ok or not.
50414 for word in ${D}exclude_symbols; do
50415 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50416 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50417 done
50418
50419
50420 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50421 sed "=" < ${D}tmpdefFile | \\
50422 sed '
50423 N
50424 : loop
50425 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50426 t loop
50427 ' > ${D}{tmpdefFile}%
50428 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50429 else
50430 rm -f ${D}{tmpdefFile}%
50431 fi
50432 cat ${D}tmpdefFile >> ${D}defFile
50433 rm -f ${D}tmpdefFile
50434
50435 # Do linking, create implib, and apply lxlite.
50436 gccCmdl="";
50437 for file in ${D}inputFiles ; do
50438 case ${D}file in
50439 *!)
50440 ;;
50441 *)
50442 gccCmdl="${D}gccCmdl ${D}file"
50443 ;;
50444 esac
50445 done
50446 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50447 touch "${D}{outFile}.dll"
50448
50449 doCommand "emximp -o ${D}arcFile ${D}defFile"
50450 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50451 add_flags="";
50452 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50453 add_flags="-ynd"
50454 fi
50455 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50456 fi
50457 doCommand "emxomf -s -l ${D}arcFile"
50458
50459 # Successful exit.
50460 CleanUp 1
50461 exit 0
50462 EOF
50463
50464 chmod +x dllar.sh
50465 ;;
50466
50467 powerpc-apple-macos* | \
50468 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50469 *-*-mirbsd* | \
50470 *-*-sunos4* | \
50471 *-*-osf* | \
50472 *-*-dgux5* | \
50473 *-*-sysv5* | \
50474 *-pc-msdosdjgpp )
50475 ;;
50476
50477 *)
50478 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50479 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50480 { (exit 1); exit 1; }; }
50481 esac
50482
50483 if test "x$PIC_FLAG" != "x" ; then
50484 PIC_FLAG="$PIC_FLAG -DPIC"
50485 fi
50486
50487 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50488 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50489 fi
50490 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50491 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50492 fi
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502 USE_SOVERSION=0
50503 USE_SOVERLINUX=0
50504 USE_SOVERSOLARIS=0
50505 USE_SOVERCYGWIN=0
50506 USE_SOTWOSYMLINKS=0
50507 USE_MACVERSION=0
50508 SONAME_FLAG=
50509
50510 case "${BAKEFILE_HOST}" in
50511 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50512 *-*-k*bsd*-gnu | *-*-mirbsd* )
50513 if test "x$SUNCXX" = "xyes"; then
50514 SONAME_FLAG="-h "
50515 else
50516 SONAME_FLAG="-Wl,-soname,"
50517 fi
50518 USE_SOVERSION=1
50519 USE_SOVERLINUX=1
50520 USE_SOTWOSYMLINKS=1
50521 ;;
50522
50523 *-*-solaris2* )
50524 SONAME_FLAG="-h "
50525 USE_SOVERSION=1
50526 USE_SOVERSOLARIS=1
50527 ;;
50528
50529 *-*-darwin* )
50530 USE_MACVERSION=1
50531 USE_SOVERSION=1
50532 USE_SOTWOSYMLINKS=1
50533 ;;
50534
50535 *-*-cygwin* )
50536 USE_SOVERSION=1
50537 USE_SOVERCYGWIN=1
50538 ;;
50539 esac
50540
50541
50542
50543
50544
50545
50546
50547
50548
50549
50550 # Check whether --enable-dependency-tracking was given.
50551 if test "${enable_dependency_tracking+set}" = set; then
50552 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50553 fi
50554
50555
50556 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50557 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50558
50559 BK_DEPS=""
50560 if test "x$bk_use_trackdeps" = "xno" ; then
50561 DEPS_TRACKING=0
50562 { echo "$as_me:$LINENO: result: disabled" >&5
50563 echo "${ECHO_T}disabled" >&6; }
50564 else
50565 DEPS_TRACKING=1
50566
50567 if test "x$GCC" = "xyes"; then
50568 DEPSMODE=gcc
50569 case "${BAKEFILE_HOST}" in
50570 *-*-darwin* )
50571 DEPSFLAG="-no-cpp-precomp -MMD"
50572 ;;
50573 * )
50574 DEPSFLAG="-MMD"
50575 ;;
50576 esac
50577 { echo "$as_me:$LINENO: result: gcc" >&5
50578 echo "${ECHO_T}gcc" >&6; }
50579 elif test "x$MWCC" = "xyes"; then
50580 DEPSMODE=mwcc
50581 DEPSFLAG="-MM"
50582 { echo "$as_me:$LINENO: result: mwcc" >&5
50583 echo "${ECHO_T}mwcc" >&6; }
50584 elif test "x$SUNCC" = "xyes"; then
50585 DEPSMODE=unixcc
50586 DEPSFLAG="-xM1"
50587 { echo "$as_me:$LINENO: result: Sun cc" >&5
50588 echo "${ECHO_T}Sun cc" >&6; }
50589 elif test "x$SGICC" = "xyes"; then
50590 DEPSMODE=unixcc
50591 DEPSFLAG="-M"
50592 { echo "$as_me:$LINENO: result: SGI cc" >&5
50593 echo "${ECHO_T}SGI cc" >&6; }
50594 elif test "x$HPCC" = "xyes"; then
50595 DEPSMODE=unixcc
50596 DEPSFLAG="+make"
50597 { echo "$as_me:$LINENO: result: HP cc" >&5
50598 echo "${ECHO_T}HP cc" >&6; }
50599 elif test "x$COMPAQCC" = "xyes"; then
50600 DEPSMODE=gcc
50601 DEPSFLAG="-MD"
50602 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50603 echo "${ECHO_T}Compaq cc" >&6; }
50604 else
50605 DEPS_TRACKING=0
50606 { echo "$as_me:$LINENO: result: none" >&5
50607 echo "${ECHO_T}none" >&6; }
50608 fi
50609
50610 if test $DEPS_TRACKING = 1 ; then
50611
50612 D='$'
50613 cat <<EOF >bk-deps
50614 #!/bin/sh
50615
50616 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50617 # script. It is used to track C/C++ files dependencies in portable way.
50618 #
50619 # Permission is given to use this file in any way.
50620
50621 DEPSMODE=${DEPSMODE}
50622 DEPSFLAG="${DEPSFLAG}"
50623 DEPSDIRBASE=.deps
50624
50625 if test ${D}DEPSMODE = gcc ; then
50626 ${D}* ${D}{DEPSFLAG}
50627 status=${D}?
50628
50629 # determine location of created files:
50630 while test ${D}# -gt 0; do
50631 case "${D}1" in
50632 -o )
50633 shift
50634 objfile=${D}1
50635 ;;
50636 -* )
50637 ;;
50638 * )
50639 srcfile=${D}1
50640 ;;
50641 esac
50642 shift
50643 done
50644 objfilebase=\`basename ${D}objfile\`
50645 builddir=\`dirname ${D}objfile\`
50646 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50647 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50648 depsdir=${D}builddir/${D}DEPSDIRBASE
50649 mkdir -p ${D}depsdir
50650
50651 # if the compiler failed, we're done:
50652 if test ${D}{status} != 0 ; then
50653 rm -f ${D}depfile
50654 exit ${D}{status}
50655 fi
50656
50657 # move created file to the location we want it in:
50658 if test -f ${D}depfile ; then
50659 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50660 rm -f ${D}depfile
50661 else
50662 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50663 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50664 if test ! -f ${D}depfile ; then
50665 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50666 depfile="${D}objfile.d"
50667 fi
50668 if test -f ${D}depfile ; then
50669 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50670 rm -f ${D}depfile
50671 fi
50672 fi
50673 exit 0
50674
50675 elif test ${D}DEPSMODE = mwcc ; then
50676 ${D}* || exit ${D}?
50677 # Run mwcc again with -MM and redirect into the dep file we want
50678 # NOTE: We can't use shift here because we need ${D}* to be valid
50679 prevarg=
50680 for arg in ${D}* ; do
50681 if test "${D}prevarg" = "-o"; then
50682 objfile=${D}arg
50683 else
50684 case "${D}arg" in
50685 -* )
50686 ;;
50687 * )
50688 srcfile=${D}arg
50689 ;;
50690 esac
50691 fi
50692 prevarg="${D}arg"
50693 done
50694
50695 objfilebase=\`basename ${D}objfile\`
50696 builddir=\`dirname ${D}objfile\`
50697 depsdir=${D}builddir/${D}DEPSDIRBASE
50698 mkdir -p ${D}depsdir
50699
50700 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50701 exit 0
50702
50703 elif test ${D}DEPSMODE = unixcc; then
50704 ${D}* || exit ${D}?
50705 # Run compiler again with deps flag and redirect into the dep file.
50706 # It doesn't work if the '-o FILE' option is used, but without it the
50707 # dependency file will contain the wrong name for the object. So it is
50708 # removed from the command line, and the dep file is fixed with sed.
50709 cmd=""
50710 while test ${D}# -gt 0; do
50711 case "${D}1" in
50712 -o )
50713 shift
50714 objfile=${D}1
50715 ;;
50716 * )
50717 eval arg${D}#=\\${D}1
50718 cmd="${D}cmd \\${D}arg${D}#"
50719 ;;
50720 esac
50721 shift
50722 done
50723
50724 objfilebase=\`basename ${D}objfile\`
50725 builddir=\`dirname ${D}objfile\`
50726 depsdir=${D}builddir/${D}DEPSDIRBASE
50727 mkdir -p ${D}depsdir
50728
50729 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50730 exit 0
50731
50732 else
50733 ${D}*
50734 exit ${D}?
50735 fi
50736 EOF
50737
50738 chmod +x bk-deps
50739 BK_DEPS="`pwd`/bk-deps"
50740 fi
50741 fi
50742
50743
50744
50745
50746
50747 case ${BAKEFILE_HOST} in
50748 *-*-cygwin* | *-*-mingw32* )
50749 if test -n "$ac_tool_prefix"; then
50750 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50751 set dummy ${ac_tool_prefix}windres; ac_word=$2
50752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50754 if test "${ac_cv_prog_WINDRES+set}" = set; then
50755 echo $ECHO_N "(cached) $ECHO_C" >&6
50756 else
50757 if test -n "$WINDRES"; then
50758 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50759 else
50760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50761 for as_dir in $PATH
50762 do
50763 IFS=$as_save_IFS
50764 test -z "$as_dir" && as_dir=.
50765 for ac_exec_ext in '' $ac_executable_extensions; do
50766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50767 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50769 break 2
50770 fi
50771 done
50772 done
50773 IFS=$as_save_IFS
50774
50775 fi
50776 fi
50777 WINDRES=$ac_cv_prog_WINDRES
50778 if test -n "$WINDRES"; then
50779 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50780 echo "${ECHO_T}$WINDRES" >&6; }
50781 else
50782 { echo "$as_me:$LINENO: result: no" >&5
50783 echo "${ECHO_T}no" >&6; }
50784 fi
50785
50786
50787 fi
50788 if test -z "$ac_cv_prog_WINDRES"; then
50789 ac_ct_WINDRES=$WINDRES
50790 # Extract the first word of "windres", so it can be a program name with args.
50791 set dummy windres; ac_word=$2
50792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50794 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50795 echo $ECHO_N "(cached) $ECHO_C" >&6
50796 else
50797 if test -n "$ac_ct_WINDRES"; then
50798 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50799 else
50800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50801 for as_dir in $PATH
50802 do
50803 IFS=$as_save_IFS
50804 test -z "$as_dir" && as_dir=.
50805 for ac_exec_ext in '' $ac_executable_extensions; do
50806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50807 ac_cv_prog_ac_ct_WINDRES="windres"
50808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50809 break 2
50810 fi
50811 done
50812 done
50813 IFS=$as_save_IFS
50814
50815 fi
50816 fi
50817 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50818 if test -n "$ac_ct_WINDRES"; then
50819 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50820 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50821 else
50822 { echo "$as_me:$LINENO: result: no" >&5
50823 echo "${ECHO_T}no" >&6; }
50824 fi
50825
50826 if test "x$ac_ct_WINDRES" = x; then
50827 WINDRES=""
50828 else
50829 case $cross_compiling:$ac_tool_warned in
50830 yes:)
50831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50832 whose name does not start with the host triplet. If you think this
50833 configuration is useful to you, please write to autoconf@gnu.org." >&5
50834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50835 whose name does not start with the host triplet. If you think this
50836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50837 ac_tool_warned=yes ;;
50838 esac
50839 WINDRES=$ac_ct_WINDRES
50840 fi
50841 else
50842 WINDRES="$ac_cv_prog_WINDRES"
50843 fi
50844
50845 ;;
50846
50847 *-*-darwin* | powerpc-apple-macos* )
50848 # Extract the first word of "Rez", so it can be a program name with args.
50849 set dummy Rez; ac_word=$2
50850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50852 if test "${ac_cv_prog_REZ+set}" = set; then
50853 echo $ECHO_N "(cached) $ECHO_C" >&6
50854 else
50855 if test -n "$REZ"; then
50856 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50857 else
50858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50859 for as_dir in $PATH
50860 do
50861 IFS=$as_save_IFS
50862 test -z "$as_dir" && as_dir=.
50863 for ac_exec_ext in '' $ac_executable_extensions; do
50864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50865 ac_cv_prog_REZ="Rez"
50866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50867 break 2
50868 fi
50869 done
50870 done
50871 IFS=$as_save_IFS
50872
50873 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50874 fi
50875 fi
50876 REZ=$ac_cv_prog_REZ
50877 if test -n "$REZ"; then
50878 { echo "$as_me:$LINENO: result: $REZ" >&5
50879 echo "${ECHO_T}$REZ" >&6; }
50880 else
50881 { echo "$as_me:$LINENO: result: no" >&5
50882 echo "${ECHO_T}no" >&6; }
50883 fi
50884
50885
50886 # Extract the first word of "SetFile", so it can be a program name with args.
50887 set dummy SetFile; ac_word=$2
50888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50890 if test "${ac_cv_prog_SETFILE+set}" = set; then
50891 echo $ECHO_N "(cached) $ECHO_C" >&6
50892 else
50893 if test -n "$SETFILE"; then
50894 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50895 else
50896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50897 for as_dir in $PATH
50898 do
50899 IFS=$as_save_IFS
50900 test -z "$as_dir" && as_dir=.
50901 for ac_exec_ext in '' $ac_executable_extensions; do
50902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50903 ac_cv_prog_SETFILE="SetFile"
50904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50905 break 2
50906 fi
50907 done
50908 done
50909 IFS=$as_save_IFS
50910
50911 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50912 fi
50913 fi
50914 SETFILE=$ac_cv_prog_SETFILE
50915 if test -n "$SETFILE"; then
50916 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50917 echo "${ECHO_T}$SETFILE" >&6; }
50918 else
50919 { echo "$as_me:$LINENO: result: no" >&5
50920 echo "${ECHO_T}no" >&6; }
50921 fi
50922
50923
50924 ;;
50925 esac
50926
50927
50928
50929
50930
50931
50932
50933
50934
50935 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50936
50937
50938 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50939
50940
50941
50942 # Check whether --enable-precomp-headers was given.
50943 if test "${enable_precomp_headers+set}" = set; then
50944 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50945 fi
50946
50947
50948 GCC_PCH=0
50949 ICC_PCH=0
50950 USE_PCH=0
50951 BK_MAKE_PCH=""
50952
50953 case ${BAKEFILE_HOST} in
50954 *-*-cygwin* )
50955 bk_use_pch="no"
50956 ;;
50957 esac
50958
50959 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50960 if test "x$GCC" = "xyes"; then
50961 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50962 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50963 cat >conftest.$ac_ext <<_ACEOF
50964 /* confdefs.h. */
50965 _ACEOF
50966 cat confdefs.h >>conftest.$ac_ext
50967 cat >>conftest.$ac_ext <<_ACEOF
50968 /* end confdefs.h. */
50969
50970 int
50971 main ()
50972 {
50973
50974 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50975 There is no PCH support
50976 #endif
50977 #if (__GNUC__ < 3)
50978 There is no PCH support
50979 #endif
50980 #if (__GNUC__ == 3) && \
50981 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50982 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50983 ( defined(__INTEL_COMPILER) )
50984 There is no PCH support
50985 #endif
50986
50987 ;
50988 return 0;
50989 }
50990 _ACEOF
50991 rm -f conftest.$ac_objext
50992 if { (ac_try="$ac_compile"
50993 case "(($ac_try" in
50994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50995 *) ac_try_echo=$ac_try;;
50996 esac
50997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50998 (eval "$ac_compile") 2>conftest.er1
50999 ac_status=$?
51000 grep -v '^ *+' conftest.er1 >conftest.err
51001 rm -f conftest.er1
51002 cat conftest.err >&5
51003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51004 (exit $ac_status); } && {
51005 test -z "$ac_c_werror_flag" ||
51006 test ! -s conftest.err
51007 } && test -s conftest.$ac_objext; then
51008
51009 { echo "$as_me:$LINENO: result: yes" >&5
51010 echo "${ECHO_T}yes" >&6; }
51011 GCC_PCH=1
51012
51013 else
51014 echo "$as_me: failed program was:" >&5
51015 sed 's/^/| /' conftest.$ac_ext >&5
51016
51017
51018 if test "$INTELCXX8" = "yes"; then
51019 { echo "$as_me:$LINENO: result: yes" >&5
51020 echo "${ECHO_T}yes" >&6; }
51021 ICC_PCH=1
51022 if test "$INTELCXX10" = "yes"; then
51023 ICC_PCH_CREATE_SWITCH="-pch-create"
51024 ICC_PCH_USE_SWITCH="-pch-use"
51025 else
51026 ICC_PCH_CREATE_SWITCH="-create-pch"
51027 ICC_PCH_USE_SWITCH="-use-pch"
51028 fi
51029 else
51030 { echo "$as_me:$LINENO: result: no" >&5
51031 echo "${ECHO_T}no" >&6; }
51032 fi
51033
51034 fi
51035
51036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51037 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51038 USE_PCH=1
51039
51040 D='$'
51041 cat <<EOF >bk-make-pch
51042 #!/bin/sh
51043
51044 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51045 # script. It is used to generated precompiled headers.
51046 #
51047 # Permission is given to use this file in any way.
51048
51049 outfile="${D}{1}"
51050 header="${D}{2}"
51051 shift
51052 shift
51053
51054 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51055
51056 compiler=""
51057 headerfile=""
51058
51059 while test ${D}{#} -gt 0; do
51060 add_to_cmdline=1
51061 case "${D}{1}" in
51062 -I* )
51063 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51064 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51065 headerfile="${D}{incdir}/${D}{header}"
51066 fi
51067 ;;
51068 -use-pch|-use_pch|-pch-use )
51069 shift
51070 add_to_cmdline=0
51071 ;;
51072 esac
51073 if test ${D}add_to_cmdline = 1 ; then
51074 compiler="${D}{compiler} ${D}{1}"
51075 fi
51076 shift
51077 done
51078
51079 if test "x${D}{headerfile}" = "x" ; then
51080 echo "error: can't find header ${D}{header} in include paths" >&2
51081 else
51082 if test -f ${D}{outfile} ; then
51083 rm -f ${D}{outfile}
51084 else
51085 mkdir -p \`dirname ${D}{outfile}\`
51086 fi
51087 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51088 mkdir -p ${D}{builddir}/.deps
51089 if test "x${GCC_PCH}" = "x1" ; then
51090 # can do this because gcc is >= 3.4:
51091 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51092 elif test "x${ICC_PCH}" = "x1" ; then
51093 filename=pch_gen-${D}${D}
51094 file=${D}{filename}.c
51095 dfile=${D}{filename}.d
51096 cat > ${D}file <<EOT
51097 #include "${D}header"
51098 EOT
51099 # using -MF icc complains about differing command lines in creation/use
51100 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51101 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51102 rm -f ${D}file ${D}dfile ${D}{filename}.o
51103 fi
51104 exit ${D}{?}
51105 fi
51106 EOF
51107
51108 chmod +x bk-make-pch
51109 BK_MAKE_PCH="`pwd`/bk-make-pch"
51110 fi
51111 fi
51112 fi
51113
51114
51115
51116
51117
51118
51119
51120 COND_BUILD_DEBUG="#"
51121 if test "x$BUILD" = "xdebug" ; then
51122 COND_BUILD_DEBUG=""
51123 fi
51124
51125 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51126 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51127 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51128 fi
51129
51130 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51131 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51132 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51133 fi
51134
51135 COND_BUILD_DEBUG_UNICODE_0="#"
51136 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51137 COND_BUILD_DEBUG_UNICODE_0=""
51138 fi
51139
51140 COND_BUILD_DEBUG_UNICODE_1="#"
51141 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51142 COND_BUILD_DEBUG_UNICODE_1=""
51143 fi
51144
51145 COND_BUILD_RELEASE="#"
51146 if test "x$BUILD" = "xrelease" ; then
51147 COND_BUILD_RELEASE=""
51148 fi
51149
51150 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51151 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51152 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51153 fi
51154
51155 COND_BUILD_RELEASE_UNICODE_0="#"
51156 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51157 COND_BUILD_RELEASE_UNICODE_0=""
51158 fi
51159
51160 COND_BUILD_RELEASE_UNICODE_1="#"
51161 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51162 COND_BUILD_RELEASE_UNICODE_1=""
51163 fi
51164
51165 COND_BUILD_debug="#"
51166 if test "x$BUILD" = "xdebug" ; then
51167 COND_BUILD_debug=""
51168 fi
51169
51170 COND_BUILD_debug_DEBUG_FLAG_default="#"
51171 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51172 COND_BUILD_debug_DEBUG_FLAG_default=""
51173 fi
51174
51175 COND_BUILD_debug_DEBUG_INFO_default="#"
51176 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51177 COND_BUILD_debug_DEBUG_INFO_default=""
51178 fi
51179
51180 COND_BUILD_debug_UNICODE_0="#"
51181 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51182 COND_BUILD_debug_UNICODE_0=""
51183 fi
51184
51185 COND_BUILD_debug_UNICODE_1="#"
51186 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51187 COND_BUILD_debug_UNICODE_1=""
51188 fi
51189
51190 COND_BUILD_release="#"
51191 if test "x$BUILD" = "xrelease" ; then
51192 COND_BUILD_release=""
51193 fi
51194
51195 COND_BUILD_release_DEBUG_INFO_default="#"
51196 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51197 COND_BUILD_release_DEBUG_INFO_default=""
51198 fi
51199
51200 COND_BUILD_release_UNICODE_0="#"
51201 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51202 COND_BUILD_release_UNICODE_0=""
51203 fi
51204
51205 COND_BUILD_release_UNICODE_1="#"
51206 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51207 COND_BUILD_release_UNICODE_1=""
51208 fi
51209
51210 COND_DEBUG_FLAG_0="#"
51211 if test "x$DEBUG_FLAG" = "x0" ; then
51212 COND_DEBUG_FLAG_0=""
51213 fi
51214
51215 COND_DEBUG_FLAG_1="#"
51216 if test "x$DEBUG_FLAG" = "x1" ; then
51217 COND_DEBUG_FLAG_1=""
51218 fi
51219
51220 COND_DEBUG_INFO_0="#"
51221 if test "x$DEBUG_INFO" = "x0" ; then
51222 COND_DEBUG_INFO_0=""
51223 fi
51224
51225 COND_DEBUG_INFO_1="#"
51226 if test "x$DEBUG_INFO" = "x1" ; then
51227 COND_DEBUG_INFO_1=""
51228 fi
51229
51230 COND_DEPS_TRACKING_0="#"
51231 if test "x$DEPS_TRACKING" = "x0" ; then
51232 COND_DEPS_TRACKING_0=""
51233 fi
51234
51235 COND_DEPS_TRACKING_1="#"
51236 if test "x$DEPS_TRACKING" = "x1" ; then
51237 COND_DEPS_TRACKING_1=""
51238 fi
51239
51240 COND_GCC_PCH_1="#"
51241 if test "x$GCC_PCH" = "x1" ; then
51242 COND_GCC_PCH_1=""
51243 fi
51244
51245 COND_ICC_PCH_1="#"
51246 if test "x$ICC_PCH" = "x1" ; then
51247 COND_ICC_PCH_1=""
51248 fi
51249
51250 COND_MONOLITHIC_0="#"
51251 if test "x$MONOLITHIC" = "x0" ; then
51252 COND_MONOLITHIC_0=""
51253 fi
51254
51255 COND_MONOLITHIC_0_SHARED_0="#"
51256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51257 COND_MONOLITHIC_0_SHARED_0=""
51258 fi
51259
51260 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51262 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51263 fi
51264
51265 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51267 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51268 fi
51269
51270 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51271 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51272 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51273 fi
51274
51275 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51277 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51278 fi
51279
51280 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51281 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51282 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51283 fi
51284
51285 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51287 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51288 fi
51289
51290 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51292 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51293 fi
51294
51295 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51296 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51297 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51298 fi
51299
51300 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51301 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51302 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51303 fi
51304
51305 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51306 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51307 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51308 fi
51309
51310 COND_MONOLITHIC_0_SHARED_1="#"
51311 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51312 COND_MONOLITHIC_0_SHARED_1=""
51313 fi
51314
51315 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51316 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51317 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51318 fi
51319
51320 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51321 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51323 fi
51324
51325 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51326 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51327 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51328 fi
51329
51330 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51331 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51332 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51333 fi
51334
51335 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51336 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51337 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51338 fi
51339
51340 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51341 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51342 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51343 fi
51344
51345 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51347 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51348 fi
51349
51350 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51352 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51353 fi
51354
51355 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51357 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51358 fi
51359
51360 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51362 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51363 fi
51364
51365 COND_MONOLITHIC_0_USE_AUI_1="#"
51366 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51367 COND_MONOLITHIC_0_USE_AUI_1=""
51368 fi
51369
51370 COND_MONOLITHIC_0_USE_GUI_1="#"
51371 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51372 COND_MONOLITHIC_0_USE_GUI_1=""
51373 fi
51374
51375 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51376 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51377 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51378 fi
51379
51380 COND_MONOLITHIC_0_USE_HTML_1="#"
51381 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51382 COND_MONOLITHIC_0_USE_HTML_1=""
51383 fi
51384
51385 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51386 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51387 COND_MONOLITHIC_0_USE_MEDIA_1=""
51388 fi
51389
51390 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51391 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51392 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51393 fi
51394
51395 COND_MONOLITHIC_0_USE_QA_1="#"
51396 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51397 COND_MONOLITHIC_0_USE_QA_1=""
51398 fi
51399
51400 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51401 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51402 COND_MONOLITHIC_0_USE_RIBBON_1=""
51403 fi
51404
51405 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51406 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51407 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51408 fi
51409
51410 COND_MONOLITHIC_0_USE_STC_1="#"
51411 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51412 COND_MONOLITHIC_0_USE_STC_1=""
51413 fi
51414
51415 COND_MONOLITHIC_0_USE_XRC_1="#"
51416 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51417 COND_MONOLITHIC_0_USE_XRC_1=""
51418 fi
51419
51420 COND_MONOLITHIC_1="#"
51421 if test "x$MONOLITHIC" = "x1" ; then
51422 COND_MONOLITHIC_1=""
51423 fi
51424
51425 COND_MONOLITHIC_1_SHARED_0="#"
51426 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51427 COND_MONOLITHIC_1_SHARED_0=""
51428 fi
51429
51430 COND_MONOLITHIC_1_SHARED_1="#"
51431 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51432 COND_MONOLITHIC_1_SHARED_1=""
51433 fi
51434
51435 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51436 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51437 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51438 fi
51439
51440 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51441 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51442 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51443 fi
51444
51445 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51446 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51447 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51448 fi
51449
51450 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51451 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51452 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51453 fi
51454
51455 COND_PLATFORM_MACOSX_1="#"
51456 if test "x$PLATFORM_MACOSX" = "x1" ; then
51457 COND_PLATFORM_MACOSX_1=""
51458 fi
51459
51460 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51461 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51462 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51463 fi
51464
51465 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51466 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51467 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51468 fi
51469
51470 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51471 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51472 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51473 fi
51474
51475 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51476 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51477 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51478 fi
51479
51480 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51481 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51482 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51483 fi
51484
51485 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51486 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51487 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51488 fi
51489
51490 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51491 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51492 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51493 fi
51494
51495 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51496 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51497 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51498 fi
51499
51500 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51502 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51503 fi
51504
51505 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51506 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51507 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51508 fi
51509
51510 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51511 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51512 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51513 fi
51514
51515 COND_PLATFORM_MACOS_1="#"
51516 if test "x$PLATFORM_MACOS" = "x1" ; then
51517 COND_PLATFORM_MACOS_1=""
51518 fi
51519
51520 COND_PLATFORM_MAC_0="#"
51521 if test "x$PLATFORM_MAC" = "x0" ; then
51522 COND_PLATFORM_MAC_0=""
51523 fi
51524
51525 COND_PLATFORM_MAC_1="#"
51526 if test "x$PLATFORM_MAC" = "x1" ; then
51527 COND_PLATFORM_MAC_1=""
51528 fi
51529
51530 COND_PLATFORM_MSDOS_0="#"
51531 if test "x$PLATFORM_MSDOS" = "x0" ; then
51532 COND_PLATFORM_MSDOS_0=""
51533 fi
51534
51535 COND_PLATFORM_MSDOS_1="#"
51536 if test "x$PLATFORM_MSDOS" = "x1" ; then
51537 COND_PLATFORM_MSDOS_1=""
51538 fi
51539
51540 COND_PLATFORM_OS2_1="#"
51541 if test "x$PLATFORM_OS2" = "x1" ; then
51542 COND_PLATFORM_OS2_1=""
51543 fi
51544
51545 COND_PLATFORM_UNIX_0="#"
51546 if test "x$PLATFORM_UNIX" = "x0" ; then
51547 COND_PLATFORM_UNIX_0=""
51548 fi
51549
51550 COND_PLATFORM_UNIX_1="#"
51551 if test "x$PLATFORM_UNIX" = "x1" ; then
51552 COND_PLATFORM_UNIX_1=""
51553 fi
51554
51555 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51556 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51557 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51558 fi
51559
51560 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51561 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51562 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51563 fi
51564
51565 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51566 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51567 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51568 fi
51569
51570 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51571 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51572 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51573 fi
51574
51575 COND_PLATFORM_WIN32_0="#"
51576 if test "x$PLATFORM_WIN32" = "x0" ; then
51577 COND_PLATFORM_WIN32_0=""
51578 fi
51579
51580 COND_PLATFORM_WIN32_1="#"
51581 if test "x$PLATFORM_WIN32" = "x1" ; then
51582 COND_PLATFORM_WIN32_1=""
51583 fi
51584
51585 COND_PLATFORM_WIN32_1_SHARED_0="#"
51586 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51587 COND_PLATFORM_WIN32_1_SHARED_0=""
51588 fi
51589
51590 COND_SHARED_0="#"
51591 if test "x$SHARED" = "x0" ; then
51592 COND_SHARED_0=""
51593 fi
51594
51595 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51596 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51597 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51598 fi
51599
51600 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51601 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51602 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51603 fi
51604
51605 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51606 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51607 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51608 fi
51609
51610 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51611 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51612 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51613 fi
51614
51615 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51616 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51617 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51618 fi
51619
51620 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51621 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51622 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51623 fi
51624
51625 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51626 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51627 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51628 fi
51629
51630 COND_SHARED_0_USE_STC_1="#"
51631 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51632 COND_SHARED_0_USE_STC_1=""
51633 fi
51634
51635 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51636 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51637 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51638 fi
51639
51640 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51641 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51642 COND_SHARED_0_wxUSE_REGEX_builtin=""
51643 fi
51644
51645 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51646 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51647 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51648 fi
51649
51650 COND_SHARED_1="#"
51651 if test "x$SHARED" = "x1" ; then
51652 COND_SHARED_1=""
51653 fi
51654
51655 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51656 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51657 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51658 fi
51659
51660 COND_TOOLKIT_="#"
51661 if test "x$TOOLKIT" = "x" ; then
51662 COND_TOOLKIT_=""
51663 fi
51664
51665 COND_TOOLKIT_COCOA="#"
51666 if test "x$TOOLKIT" = "xCOCOA" ; then
51667 COND_TOOLKIT_COCOA=""
51668 fi
51669
51670 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51671 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51672 COND_TOOLKIT_COCOA_USE_GUI_1=""
51673 fi
51674
51675 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51676 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51677 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51678 fi
51679
51680 COND_TOOLKIT_DFB="#"
51681 if test "x$TOOLKIT" = "xDFB" ; then
51682 COND_TOOLKIT_DFB=""
51683 fi
51684
51685 COND_TOOLKIT_DFB_USE_GUI_1="#"
51686 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51687 COND_TOOLKIT_DFB_USE_GUI_1=""
51688 fi
51689
51690 COND_TOOLKIT_GTK="#"
51691 if test "x$TOOLKIT" = "xGTK" ; then
51692 COND_TOOLKIT_GTK=""
51693 fi
51694
51695 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51696 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51697 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51698 fi
51699
51700 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51701 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51702 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51703 fi
51704
51705 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51706 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51707 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51708 fi
51709
51710 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51711 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51712 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51713 fi
51714
51715 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51716 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51717 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51718 fi
51719
51720 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51721 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51722 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51723 fi
51724
51725 COND_TOOLKIT_GTK_USE_GUI_1="#"
51726 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51727 COND_TOOLKIT_GTK_USE_GUI_1=""
51728 fi
51729
51730 COND_TOOLKIT_MAC="#"
51731 if test "x$TOOLKIT" = "xMAC" ; then
51732 COND_TOOLKIT_MAC=""
51733 fi
51734
51735 COND_TOOLKIT_MGL="#"
51736 if test "x$TOOLKIT" = "xMGL" ; then
51737 COND_TOOLKIT_MGL=""
51738 fi
51739
51740 COND_TOOLKIT_MGL_USE_GUI_1="#"
51741 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51742 COND_TOOLKIT_MGL_USE_GUI_1=""
51743 fi
51744
51745 COND_TOOLKIT_MOTIF="#"
51746 if test "x$TOOLKIT" = "xMOTIF" ; then
51747 COND_TOOLKIT_MOTIF=""
51748 fi
51749
51750 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51751 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51752 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51753 fi
51754
51755 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51756 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51757 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51758 fi
51759
51760 COND_TOOLKIT_MSW="#"
51761 if test "x$TOOLKIT" = "xMSW" ; then
51762 COND_TOOLKIT_MSW=""
51763 fi
51764
51765 COND_TOOLKIT_MSW_USE_GUI_1="#"
51766 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51767 COND_TOOLKIT_MSW_USE_GUI_1=""
51768 fi
51769
51770 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51771 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51772 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51773 fi
51774
51775 COND_TOOLKIT_MSW_WXUNIV_0="#"
51776 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51777 COND_TOOLKIT_MSW_WXUNIV_0=""
51778 fi
51779
51780 COND_TOOLKIT_OSX_CARBON="#"
51781 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51782 COND_TOOLKIT_OSX_CARBON=""
51783 fi
51784
51785 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51786 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51787 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51788 fi
51789
51790 COND_TOOLKIT_OSX_COCOA="#"
51791 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51792 COND_TOOLKIT_OSX_COCOA=""
51793 fi
51794
51795 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51796 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51797 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51798 fi
51799
51800 COND_TOOLKIT_OSX_IPHONE="#"
51801 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51802 COND_TOOLKIT_OSX_IPHONE=""
51803 fi
51804
51805 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51806 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51807 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51808 fi
51809
51810 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51811 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51812 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51813 fi
51814
51815 COND_TOOLKIT_PM="#"
51816 if test "x$TOOLKIT" = "xPM" ; then
51817 COND_TOOLKIT_PM=""
51818 fi
51819
51820 COND_TOOLKIT_PM_USE_GUI_1="#"
51821 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51822 COND_TOOLKIT_PM_USE_GUI_1=""
51823 fi
51824
51825 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51826 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51827 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51828 fi
51829
51830 COND_TOOLKIT_WINCE="#"
51831 if test "x$TOOLKIT" = "xWINCE" ; then
51832 COND_TOOLKIT_WINCE=""
51833 fi
51834
51835 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51836 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51837 COND_TOOLKIT_WINCE_USE_GUI_1=""
51838 fi
51839
51840 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51841 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51842 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51843 fi
51844
51845 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51846 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51847 COND_TOOLKIT_WINCE_WXUNIV_0=""
51848 fi
51849
51850 COND_TOOLKIT_X11="#"
51851 if test "x$TOOLKIT" = "xX11" ; then
51852 COND_TOOLKIT_X11=""
51853 fi
51854
51855 COND_TOOLKIT_X11_USE_GUI_1="#"
51856 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51857 COND_TOOLKIT_X11_USE_GUI_1=""
51858 fi
51859
51860 COND_UNICODE_1="#"
51861 if test "x$UNICODE" = "x1" ; then
51862 COND_UNICODE_1=""
51863 fi
51864
51865 COND_USE_CAIRO_1="#"
51866 if test "x$USE_CAIRO" = "x1" ; then
51867 COND_USE_CAIRO_1=""
51868 fi
51869
51870 COND_USE_EXCEPTIONS_0="#"
51871 if test "x$USE_EXCEPTIONS" = "x0" ; then
51872 COND_USE_EXCEPTIONS_0=""
51873 fi
51874
51875 COND_USE_EXCEPTIONS_1="#"
51876 if test "x$USE_EXCEPTIONS" = "x1" ; then
51877 COND_USE_EXCEPTIONS_1=""
51878 fi
51879
51880 COND_USE_GUI_0="#"
51881 if test "x$USE_GUI" = "x0" ; then
51882 COND_USE_GUI_0=""
51883 fi
51884
51885 COND_USE_GUI_1="#"
51886 if test "x$USE_GUI" = "x1" ; then
51887 COND_USE_GUI_1=""
51888 fi
51889
51890 COND_USE_GUI_1_USE_OPENGL_1="#"
51891 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51892 COND_USE_GUI_1_USE_OPENGL_1=""
51893 fi
51894
51895 COND_USE_GUI_1_WXUNIV_0="#"
51896 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51897 COND_USE_GUI_1_WXUNIV_0=""
51898 fi
51899
51900 COND_USE_GUI_1_WXUNIV_1="#"
51901 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51902 COND_USE_GUI_1_WXUNIV_1=""
51903 fi
51904
51905 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51906 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51907 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51908 fi
51909
51910 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51911 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51912 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51913 fi
51914
51915 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51916 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51917 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51918 fi
51919
51920 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51921 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51922 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51923 fi
51924
51925 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51926 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51927 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51928 fi
51929
51930 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51931 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51932 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51933 fi
51934
51935 COND_USE_OPENGL_1="#"
51936 if test "x$USE_OPENGL" = "x1" ; then
51937 COND_USE_OPENGL_1=""
51938 fi
51939
51940 COND_USE_PCH_1="#"
51941 if test "x$USE_PCH" = "x1" ; then
51942 COND_USE_PCH_1=""
51943 fi
51944
51945 COND_USE_PLUGINS_0="#"
51946 if test "x$USE_PLUGINS" = "x0" ; then
51947 COND_USE_PLUGINS_0=""
51948 fi
51949
51950 COND_USE_RTTI_0="#"
51951 if test "x$USE_RTTI" = "x0" ; then
51952 COND_USE_RTTI_0=""
51953 fi
51954
51955 COND_USE_RTTI_1="#"
51956 if test "x$USE_RTTI" = "x1" ; then
51957 COND_USE_RTTI_1=""
51958 fi
51959
51960 COND_USE_SOTWOSYMLINKS_1="#"
51961 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51962 COND_USE_SOTWOSYMLINKS_1=""
51963 fi
51964
51965 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51966 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51967 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51968 fi
51969
51970 COND_USE_SOVERLINUX_1="#"
51971 if test "x$USE_SOVERLINUX" = "x1" ; then
51972 COND_USE_SOVERLINUX_1=""
51973 fi
51974
51975 COND_USE_SOVERSION_0="#"
51976 if test "x$USE_SOVERSION" = "x0" ; then
51977 COND_USE_SOVERSION_0=""
51978 fi
51979
51980 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51981 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51983 fi
51984
51985 COND_USE_SOVERSOLARIS_1="#"
51986 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51987 COND_USE_SOVERSOLARIS_1=""
51988 fi
51989
51990 COND_USE_STC_1="#"
51991 if test "x$USE_STC" = "x1" ; then
51992 COND_USE_STC_1=""
51993 fi
51994
51995 COND_USE_THREADS_0="#"
51996 if test "x$USE_THREADS" = "x0" ; then
51997 COND_USE_THREADS_0=""
51998 fi
51999
52000 COND_USE_THREADS_1="#"
52001 if test "x$USE_THREADS" = "x1" ; then
52002 COND_USE_THREADS_1=""
52003 fi
52004
52005 COND_USE_XRC_1="#"
52006 if test "x$USE_XRC" = "x1" ; then
52007 COND_USE_XRC_1=""
52008 fi
52009
52010 COND_WINDOWS_IMPLIB_1="#"
52011 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52012 COND_WINDOWS_IMPLIB_1=""
52013 fi
52014
52015 COND_WITH_PLUGIN_SDL_1="#"
52016 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52017 COND_WITH_PLUGIN_SDL_1=""
52018 fi
52019
52020 COND_WXUNIV_0="#"
52021 if test "x$WXUNIV" = "x0" ; then
52022 COND_WXUNIV_0=""
52023 fi
52024
52025 COND_WXUNIV_1="#"
52026 if test "x$WXUNIV" = "x1" ; then
52027 COND_WXUNIV_1=""
52028 fi
52029
52030 COND_WXUSE_EXPAT_BUILTIN="#"
52031 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52032 COND_WXUSE_EXPAT_BUILTIN=""
52033 fi
52034
52035 COND_WXUSE_LIBJPEG_BUILTIN="#"
52036 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52037 COND_WXUSE_LIBJPEG_BUILTIN=""
52038 fi
52039
52040 COND_WXUSE_LIBPNG_BUILTIN="#"
52041 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52042 COND_WXUSE_LIBPNG_BUILTIN=""
52043 fi
52044
52045 COND_WXUSE_LIBTIFF_BUILTIN="#"
52046 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52047 COND_WXUSE_LIBTIFF_BUILTIN=""
52048 fi
52049
52050 COND_WXUSE_REGEX_BUILTIN="#"
52051 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52052 COND_WXUSE_REGEX_BUILTIN=""
52053 fi
52054
52055 COND_WXUSE_ZLIB_BUILTIN="#"
52056 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52057 COND_WXUSE_ZLIB_BUILTIN=""
52058 fi
52059
52060 COND_wxUSE_EXPAT_builtin="#"
52061 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52062 COND_wxUSE_EXPAT_builtin=""
52063 fi
52064
52065 COND_wxUSE_LIBJPEG_builtin="#"
52066 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52067 COND_wxUSE_LIBJPEG_builtin=""
52068 fi
52069
52070 COND_wxUSE_LIBPNG_builtin="#"
52071 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52072 COND_wxUSE_LIBPNG_builtin=""
52073 fi
52074
52075 COND_wxUSE_LIBTIFF_builtin="#"
52076 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52077 COND_wxUSE_LIBTIFF_builtin=""
52078 fi
52079
52080 COND_wxUSE_REGEX_builtin="#"
52081 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52082 COND_wxUSE_REGEX_builtin=""
52083 fi
52084
52085 COND_wxUSE_ZLIB_builtin="#"
52086 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52087 COND_wxUSE_ZLIB_builtin=""
52088 fi
52089
52090
52091
52092 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52093 { { 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
52094 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;}
52095 { (exit 1); exit 1; }; }
52096 fi
52097
52098 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52099 { { 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
52100 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;}
52101 { (exit 1); exit 1; }; }
52102 fi
52103
52104
52105 case ${INSTALL} in
52106 /* ) # Absolute
52107 ;;
52108 ?:* ) # Drive letter, considered as absolute.
52109 ;;
52110 *)
52111 INSTALL=`pwd`/${INSTALL} ;;
52112 esac
52113
52114 if test "$wxUSE_GUI" = "yes"; then
52115
52116 if test "$wxUSE_MSW" = 1 ; then
52117 if test "x$WINDRES" = "x"; then
52118 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52119 echo "$as_me: error: Required windres program not found" >&2;}
52120 { (exit 1); exit 1; }; }
52121 fi
52122
52123 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52124 fi
52125
52126 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52127 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52128 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52129
52130 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52131
52132 # Extract the first word of "DeRez", so it can be a program name with args.
52133 set dummy DeRez; ac_word=$2
52134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52136 if test "${ac_cv_prog_DEREZ+set}" = set; then
52137 echo $ECHO_N "(cached) $ECHO_C" >&6
52138 else
52139 if test -n "$DEREZ"; then
52140 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52141 else
52142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52143 for as_dir in $PATH
52144 do
52145 IFS=$as_save_IFS
52146 test -z "$as_dir" && as_dir=.
52147 for ac_exec_ext in '' $ac_executable_extensions; do
52148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52149 ac_cv_prog_DEREZ="DeRez"
52150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52151 break 2
52152 fi
52153 done
52154 done
52155 IFS=$as_save_IFS
52156
52157 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52158 fi
52159 fi
52160 DEREZ=$ac_cv_prog_DEREZ
52161 if test -n "$DEREZ"; then
52162 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52163 echo "${ECHO_T}$DEREZ" >&6; }
52164 else
52165 { echo "$as_me:$LINENO: result: no" >&5
52166 echo "${ECHO_T}no" >&6; }
52167 fi
52168
52169
52170
52171 MACSETFILE="\$(SETFILE)"
52172
52173 if test "$wxUSE_OSX_CARBON" = 1; then
52174 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52175 RESCOMP="$REZ"
52176 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52177 else
52178 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52179 RESCOMP="cat /dev/null \| $REZ"
52180 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52181 fi
52182
52183 else
52184 MACSETFILE="@true"
52185
52186 if test "$wxUSE_PM" = 1; then
52187 RESCOMP="emxbind"
52188 WXCONFIG_RESFLAGS="-ep"
52189
52190 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52191 else
52192 POSTLINK_COMMAND="@true"
52193 fi
52194 fi
52195
52196 fi
52197
52198
52199 if test $GCC_PCH = 1
52200 then
52201 if test "$wx_cv_gcc_pch_bug" = yes; then
52202 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52203 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52204 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52205 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52206 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52207 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52208 fi
52209
52210 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52211 # the headers that benefit from precompilation are mostly C++ headers.
52212 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52213 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52214 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52215 fi
52216
52217
52218 if test "$wxUSE_MAC" = 1 ; then
52219 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52220 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52221 mv temp bk-deps
52222 chmod +x bk-deps
52223 fi
52224 fi
52225
52226 if test "$wxUSE_SHARED" = "yes"; then
52227 case "${host}" in
52228 *-pc-os2_emx | *-pc-os2-emx )
52229 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52230 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52231 cp -p ${srcdir}/src/os2/dllnames.sh .
52232 cp -p ${srcdir}/src/os2/dllar.sh .
52233 ;;
52234 esac
52235 fi
52236 if test "$wxUSE_OMF" = "yes"; then
52237 case "${host}" in
52238 *-pc-os2_emx | *-pc-os2-emx )
52239 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52240 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52241 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52242 ;;
52243 esac
52244 fi
52245
52246 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52247
52248
52249 case "${host}" in
52250 *-*-solaris2* )
52251 if test "$GCC" = yes; then
52252 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52253 LIBS=`echo $LIBS | sed 's/-mt//'`
52254 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52255 fi
52256 ;;
52257
52258 *-*-linux* )
52259 if test "x$SUNCXX" = xyes; then
52260 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52261 LIBS=`echo $LIBS | sed 's/-pthread//'`
52262 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52263 fi
52264 ;;
52265 esac
52266
52267 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52268 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52269 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52270 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52271
52272 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52273
52274
52275
52276
52277
52278
52279
52280
52281
52282
52283
52284
52285
52286
52287
52288
52289
52290
52291
52292
52293
52294
52295
52296
52297
52298
52299
52300
52301
52302
52303
52304
52305
52306
52307
52308
52309
52310
52311
52312
52313
52314
52315
52316
52317
52318
52319
52320
52321
52322
52323
52324
52325
52326
52327
52328
52329
52330
52331
52332
52333 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52334 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52335 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52336 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52337 echo $ECHO_N "(cached) $ECHO_C" >&6
52338 else
52339 cat >conftest.make <<\_ACEOF
52340 SHELL = /bin/sh
52341 all:
52342 @echo '@@@%%%=$(MAKE)=@@@%%%'
52343 _ACEOF
52344 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52345 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52346 *@@@%%%=?*=@@@%%%*)
52347 eval ac_cv_prog_make_${ac_make}_set=yes;;
52348 *)
52349 eval ac_cv_prog_make_${ac_make}_set=no;;
52350 esac
52351 rm -f conftest.make
52352 fi
52353 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52354 { echo "$as_me:$LINENO: result: yes" >&5
52355 echo "${ECHO_T}yes" >&6; }
52356 SET_MAKE=
52357 else
52358 { echo "$as_me:$LINENO: result: no" >&5
52359 echo "${ECHO_T}no" >&6; }
52360 SET_MAKE="MAKE=${MAKE-make}"
52361 fi
52362
52363
52364
52365 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52366
52367
52368 if test "$USE_WIN32" = 1; then
52369 ac_config_commands="$ac_config_commands rcdefs.h"
52370
52371 fi
52372
52373 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52374
52375
52376 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52377
52378
52379 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52380
52381
52382 if test "$wx_cv_version_script" = "yes"; then
52383 ac_config_files="$ac_config_files version-script"
52384
52385 fi
52386 ac_config_files="$ac_config_files Makefile"
52387
52388
52389 ac_config_commands="$ac_config_commands wx-config"
52390
52391
52392
52393 if test "$wxWITH_SUBDIRS" != "no"; then
52394 if test "$wxUSE_GUI" = "yes"; then
52395 SUBDIRS="samples demos utils"
52396 else
52397 SUBDIRS="samples utils"
52398 fi
52399
52400
52401
52402 # Check whether --with-cppunit-prefix was given.
52403 if test "${with_cppunit_prefix+set}" = set; then
52404 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52405 else
52406 cppunit_config_prefix=""
52407 fi
52408
52409
52410 # Check whether --with-cppunit-exec-prefix was given.
52411 if test "${with_cppunit_exec_prefix+set}" = set; then
52412 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52413 else
52414 cppunit_config_exec_prefix=""
52415 fi
52416
52417
52418 if test x$cppunit_config_exec_prefix != x ; then
52419 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52420 if test x${CPPUNIT_CONFIG+set} != xset ; then
52421 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52422 fi
52423 fi
52424 if test x$cppunit_config_prefix != x ; then
52425 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52426 if test x${CPPUNIT_CONFIG+set} != xset ; then
52427 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52428 fi
52429 fi
52430
52431 # Extract the first word of "cppunit-config", so it can be a program name with args.
52432 set dummy cppunit-config; ac_word=$2
52433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52435 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52436 echo $ECHO_N "(cached) $ECHO_C" >&6
52437 else
52438 case $CPPUNIT_CONFIG in
52439 [\\/]* | ?:[\\/]*)
52440 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52441 ;;
52442 *)
52443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52444 for as_dir in $PATH
52445 do
52446 IFS=$as_save_IFS
52447 test -z "$as_dir" && as_dir=.
52448 for ac_exec_ext in '' $ac_executable_extensions; do
52449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52450 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52452 break 2
52453 fi
52454 done
52455 done
52456 IFS=$as_save_IFS
52457
52458 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52459 ;;
52460 esac
52461 fi
52462 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52463 if test -n "$CPPUNIT_CONFIG"; then
52464 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52465 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52466 else
52467 { echo "$as_me:$LINENO: result: no" >&5
52468 echo "${ECHO_T}no" >&6; }
52469 fi
52470
52471
52472 cppunit_version_min=1.8.0
52473
52474 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52475 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52476 no_cppunit=""
52477 if test "$CPPUNIT_CONFIG" = "no" ; then
52478 { echo "$as_me:$LINENO: result: no" >&5
52479 echo "${ECHO_T}no" >&6; }
52480 no_cppunit=yes
52481 else
52482 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52483 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52484 cppunit_version=`$CPPUNIT_CONFIG --version`
52485
52486 cppunit_major_version=`echo $cppunit_version | \
52487 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52488 cppunit_minor_version=`echo $cppunit_version | \
52489 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52490 cppunit_micro_version=`echo $cppunit_version | \
52491 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52492
52493 cppunit_major_min=`echo $cppunit_version_min | \
52494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52495 cppunit_minor_min=`echo $cppunit_version_min | \
52496 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52497 cppunit_micro_min=`echo $cppunit_version_min | \
52498 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52499
52500 cppunit_version_proper=`expr \
52501 $cppunit_major_version \> $cppunit_major_min \| \
52502 $cppunit_major_version \= $cppunit_major_min \& \
52503 $cppunit_minor_version \> $cppunit_minor_min \| \
52504 $cppunit_major_version \= $cppunit_major_min \& \
52505 $cppunit_minor_version \= $cppunit_minor_min \& \
52506 $cppunit_micro_version \>= $cppunit_micro_min `
52507
52508 if test "$cppunit_version_proper" = "1" ; then
52509 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52510 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52511 else
52512 { echo "$as_me:$LINENO: result: no" >&5
52513 echo "${ECHO_T}no" >&6; }
52514 no_cppunit=yes
52515 fi
52516 fi
52517
52518 if test "x$no_cppunit" = x ; then
52519 SUBDIRS="$SUBDIRS tests"
52520 else
52521 CPPUNIT_CFLAGS=""
52522 CPPUNIT_LIBS=""
52523 :
52524 fi
52525
52526
52527
52528
52529
52530 for subdir in $SUBDIRS; do
52531 if test -d ${srcdir}/${subdir} ; then
52532 if test "$wxUSE_GUI" = "yes"; then
52533 if test ${subdir} = "samples"; then
52534 makefiles="samples/Makefile.in $makefiles"
52535 for sample in $SAMPLES_SUBDIRS; do
52536 if test -d $srcdir/samples/$sample; then
52537 makefiles="samples/$sample/Makefile.in $makefiles"
52538 fi
52539 done
52540 else
52541 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52542 eval "disabled=\$$disabled_var"
52543 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52544 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52545 fi
52546 else
52547 if test ${subdir} = "samples"; then
52548 makefiles="samples/Makefile.in $makefiles"
52549 for sample in `echo $SAMPLES_SUBDIRS`; do
52550 if test -d $srcdir/samples/$sample; then
52551 makefiles="samples/$sample/Makefile.in $makefiles"
52552 fi
52553 done
52554 elif test ${subdir} = "utils"; then
52555 makefiles=""
52556 for util in ifacecheck ; do
52557 if test -d $srcdir/utils/$util ; then
52558 makefiles="utils/$util/src/Makefile.in \
52559 $makefiles"
52560 fi
52561 done
52562 else
52563 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52564 fi
52565 fi
52566
52567 for mkin in $makefiles ; do
52568 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52569 ac_config_files="$ac_config_files $mk"
52570
52571 done
52572 fi
52573 done
52574 fi
52575 cat >confcache <<\_ACEOF
52576 # This file is a shell script that caches the results of configure
52577 # tests run on this system so they can be shared between configure
52578 # scripts and configure runs, see configure's option --config-cache.
52579 # It is not useful on other systems. If it contains results you don't
52580 # want to keep, you may remove or edit it.
52581 #
52582 # config.status only pays attention to the cache file if you give it
52583 # the --recheck option to rerun configure.
52584 #
52585 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52587 # following values.
52588
52589 _ACEOF
52590
52591 # The following way of writing the cache mishandles newlines in values,
52592 # but we know of no workaround that is simple, portable, and efficient.
52593 # So, we kill variables containing newlines.
52594 # Ultrix sh set writes to stderr and can't be redirected directly,
52595 # and sets the high bit in the cache file unless we assign to the vars.
52596 (
52597 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52598 eval ac_val=\$$ac_var
52599 case $ac_val in #(
52600 *${as_nl}*)
52601 case $ac_var in #(
52602 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52603 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52604 esac
52605 case $ac_var in #(
52606 _ | IFS | as_nl) ;; #(
52607 *) $as_unset $ac_var ;;
52608 esac ;;
52609 esac
52610 done
52611
52612 (set) 2>&1 |
52613 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52614 *${as_nl}ac_space=\ *)
52615 # `set' does not quote correctly, so add quotes (double-quote
52616 # substitution turns \\\\ into \\, and sed turns \\ into \).
52617 sed -n \
52618 "s/'/'\\\\''/g;
52619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52620 ;; #(
52621 *)
52622 # `set' quotes correctly as required by POSIX, so do not add quotes.
52623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52624 ;;
52625 esac |
52626 sort
52627 ) |
52628 sed '
52629 /^ac_cv_env_/b end
52630 t clear
52631 :clear
52632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52633 t end
52634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52635 :end' >>confcache
52636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52637 if test -w "$cache_file"; then
52638 test "x$cache_file" != "x/dev/null" &&
52639 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52640 echo "$as_me: updating cache $cache_file" >&6;}
52641 cat confcache >$cache_file
52642 else
52643 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52644 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52645 fi
52646 fi
52647 rm -f confcache
52648
52649 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52650 # Let make expand exec_prefix.
52651 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52652
52653 DEFS=-DHAVE_CONFIG_H
52654
52655 ac_libobjs=
52656 ac_ltlibobjs=
52657 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52658 # 1. Remove the extension, and $U if already installed.
52659 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52660 ac_i=`echo "$ac_i" | sed "$ac_script"`
52661 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52662 # will be set to the directory where LIBOBJS objects are built.
52663 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52664 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52665 done
52666 LIBOBJS=$ac_libobjs
52667
52668 LTLIBOBJS=$ac_ltlibobjs
52669
52670
52671
52672 : ${CONFIG_STATUS=./config.status}
52673 ac_clean_files_save=$ac_clean_files
52674 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52675 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52676 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52677 cat >$CONFIG_STATUS <<_ACEOF
52678 #! $SHELL
52679 # Generated by $as_me.
52680 # Run this file to recreate the current configuration.
52681 # Compiler output produced by configure, useful for debugging
52682 # configure, is in config.log if it exists.
52683
52684 debug=false
52685 ac_cs_recheck=false
52686 ac_cs_silent=false
52687 SHELL=\${CONFIG_SHELL-$SHELL}
52688 _ACEOF
52689
52690 cat >>$CONFIG_STATUS <<\_ACEOF
52691 ## --------------------- ##
52692 ## M4sh Initialization. ##
52693 ## --------------------- ##
52694
52695 # Be more Bourne compatible
52696 DUALCASE=1; export DUALCASE # for MKS sh
52697 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52698 emulate sh
52699 NULLCMD=:
52700 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52701 # is contrary to our usage. Disable this feature.
52702 alias -g '${1+"$@"}'='"$@"'
52703 setopt NO_GLOB_SUBST
52704 else
52705 case `(set -o) 2>/dev/null` in
52706 *posix*) set -o posix ;;
52707 esac
52708
52709 fi
52710
52711
52712
52713
52714 # PATH needs CR
52715 # Avoid depending upon Character Ranges.
52716 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52717 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52718 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52719 as_cr_digits='0123456789'
52720 as_cr_alnum=$as_cr_Letters$as_cr_digits
52721
52722 # The user is always right.
52723 if test "${PATH_SEPARATOR+set}" != set; then
52724 echo "#! /bin/sh" >conf$$.sh
52725 echo "exit 0" >>conf$$.sh
52726 chmod +x conf$$.sh
52727 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52728 PATH_SEPARATOR=';'
52729 else
52730 PATH_SEPARATOR=:
52731 fi
52732 rm -f conf$$.sh
52733 fi
52734
52735 # Support unset when possible.
52736 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52737 as_unset=unset
52738 else
52739 as_unset=false
52740 fi
52741
52742
52743 # IFS
52744 # We need space, tab and new line, in precisely that order. Quoting is
52745 # there to prevent editors from complaining about space-tab.
52746 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52747 # splitting by setting IFS to empty value.)
52748 as_nl='
52749 '
52750 IFS=" "" $as_nl"
52751
52752 # Find who we are. Look in the path if we contain no directory separator.
52753 case $0 in
52754 *[\\/]* ) as_myself=$0 ;;
52755 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52756 for as_dir in $PATH
52757 do
52758 IFS=$as_save_IFS
52759 test -z "$as_dir" && as_dir=.
52760 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52761 done
52762 IFS=$as_save_IFS
52763
52764 ;;
52765 esac
52766 # We did not find ourselves, most probably we were run as `sh COMMAND'
52767 # in which case we are not to be found in the path.
52768 if test "x$as_myself" = x; then
52769 as_myself=$0
52770 fi
52771 if test ! -f "$as_myself"; then
52772 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52773 { (exit 1); exit 1; }
52774 fi
52775
52776 # Work around bugs in pre-3.0 UWIN ksh.
52777 for as_var in ENV MAIL MAILPATH
52778 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52779 done
52780 PS1='$ '
52781 PS2='> '
52782 PS4='+ '
52783
52784 # NLS nuisances.
52785 for as_var in \
52786 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52787 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52788 LC_TELEPHONE LC_TIME
52789 do
52790 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52791 eval $as_var=C; export $as_var
52792 else
52793 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52794 fi
52795 done
52796
52797 # Required to use basename.
52798 if expr a : '\(a\)' >/dev/null 2>&1 &&
52799 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52800 as_expr=expr
52801 else
52802 as_expr=false
52803 fi
52804
52805 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52806 as_basename=basename
52807 else
52808 as_basename=false
52809 fi
52810
52811
52812 # Name of the executable.
52813 as_me=`$as_basename -- "$0" ||
52814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52815 X"$0" : 'X\(//\)$' \| \
52816 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52817 echo X/"$0" |
52818 sed '/^.*\/\([^/][^/]*\)\/*$/{
52819 s//\1/
52820 q
52821 }
52822 /^X\/\(\/\/\)$/{
52823 s//\1/
52824 q
52825 }
52826 /^X\/\(\/\).*/{
52827 s//\1/
52828 q
52829 }
52830 s/.*/./; q'`
52831
52832 # CDPATH.
52833 $as_unset CDPATH
52834
52835
52836
52837 as_lineno_1=$LINENO
52838 as_lineno_2=$LINENO
52839 test "x$as_lineno_1" != "x$as_lineno_2" &&
52840 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52841
52842 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52843 # uniformly replaced by the line number. The first 'sed' inserts a
52844 # line-number line after each line using $LINENO; the second 'sed'
52845 # does the real work. The second script uses 'N' to pair each
52846 # line-number line with the line containing $LINENO, and appends
52847 # trailing '-' during substitution so that $LINENO is not a special
52848 # case at line end.
52849 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52850 # scripts with optimization help from Paolo Bonzini. Blame Lee
52851 # E. McMahon (1931-1989) for sed's syntax. :-)
52852 sed -n '
52853 p
52854 /[$]LINENO/=
52855 ' <$as_myself |
52856 sed '
52857 s/[$]LINENO.*/&-/
52858 t lineno
52859 b
52860 :lineno
52861 N
52862 :loop
52863 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52864 t loop
52865 s/-\n.*//
52866 ' >$as_me.lineno &&
52867 chmod +x "$as_me.lineno" ||
52868 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52869 { (exit 1); exit 1; }; }
52870
52871 # Don't try to exec as it changes $[0], causing all sort of problems
52872 # (the dirname of $[0] is not the place where we might find the
52873 # original and so on. Autoconf is especially sensitive to this).
52874 . "./$as_me.lineno"
52875 # Exit status is that of the last command.
52876 exit
52877 }
52878
52879
52880 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52881 as_dirname=dirname
52882 else
52883 as_dirname=false
52884 fi
52885
52886 ECHO_C= ECHO_N= ECHO_T=
52887 case `echo -n x` in
52888 -n*)
52889 case `echo 'x\c'` in
52890 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52891 *) ECHO_C='\c';;
52892 esac;;
52893 *)
52894 ECHO_N='-n';;
52895 esac
52896
52897 if expr a : '\(a\)' >/dev/null 2>&1 &&
52898 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52899 as_expr=expr
52900 else
52901 as_expr=false
52902 fi
52903
52904 rm -f conf$$ conf$$.exe conf$$.file
52905 if test -d conf$$.dir; then
52906 rm -f conf$$.dir/conf$$.file
52907 else
52908 rm -f conf$$.dir
52909 mkdir conf$$.dir
52910 fi
52911 echo >conf$$.file
52912 if ln -s conf$$.file conf$$ 2>/dev/null; then
52913 as_ln_s='ln -s'
52914 # ... but there are two gotchas:
52915 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52916 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52917 # In both cases, we have to default to `cp -p'.
52918 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52919 as_ln_s='cp -p'
52920 elif ln conf$$.file conf$$ 2>/dev/null; then
52921 as_ln_s=ln
52922 else
52923 as_ln_s='cp -p'
52924 fi
52925 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52926 rmdir conf$$.dir 2>/dev/null
52927
52928 if mkdir -p . 2>/dev/null; then
52929 as_mkdir_p=:
52930 else
52931 test -d ./-p && rmdir ./-p
52932 as_mkdir_p=false
52933 fi
52934
52935 if test -x / >/dev/null 2>&1; then
52936 as_test_x='test -x'
52937 else
52938 if ls -dL / >/dev/null 2>&1; then
52939 as_ls_L_option=L
52940 else
52941 as_ls_L_option=
52942 fi
52943 as_test_x='
52944 eval sh -c '\''
52945 if test -d "$1"; then
52946 test -d "$1/.";
52947 else
52948 case $1 in
52949 -*)set "./$1";;
52950 esac;
52951 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52952 ???[sx]*):;;*)false;;esac;fi
52953 '\'' sh
52954 '
52955 fi
52956 as_executable_p=$as_test_x
52957
52958 # Sed expression to map a string onto a valid CPP name.
52959 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52960
52961 # Sed expression to map a string onto a valid variable name.
52962 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52963
52964
52965 exec 6>&1
52966
52967 # Save the log message, to keep $[0] and so on meaningful, and to
52968 # report actual input values of CONFIG_FILES etc. instead of their
52969 # values after options handling.
52970 ac_log="
52971 This file was extended by wxWidgets $as_me 2.9.2, which was
52972 generated by GNU Autoconf 2.61. Invocation command line was
52973
52974 CONFIG_FILES = $CONFIG_FILES
52975 CONFIG_HEADERS = $CONFIG_HEADERS
52976 CONFIG_LINKS = $CONFIG_LINKS
52977 CONFIG_COMMANDS = $CONFIG_COMMANDS
52978 $ $0 $@
52979
52980 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52981 "
52982
52983 _ACEOF
52984
52985 cat >>$CONFIG_STATUS <<_ACEOF
52986 # Files that config.status was made for.
52987 config_files="$ac_config_files"
52988 config_headers="$ac_config_headers"
52989 config_commands="$ac_config_commands"
52990
52991 _ACEOF
52992
52993 cat >>$CONFIG_STATUS <<\_ACEOF
52994 ac_cs_usage="\
52995 \`$as_me' instantiates files from templates according to the
52996 current configuration.
52997
52998 Usage: $0 [OPTIONS] [FILE]...
52999
53000 -h, --help print this help, then exit
53001 -V, --version print version number and configuration settings, then exit
53002 -q, --quiet do not print progress messages
53003 -d, --debug don't remove temporary files
53004 --recheck update $as_me by reconfiguring in the same conditions
53005 --file=FILE[:TEMPLATE]
53006 instantiate the configuration file FILE
53007 --header=FILE[:TEMPLATE]
53008 instantiate the configuration header FILE
53009
53010 Configuration files:
53011 $config_files
53012
53013 Configuration headers:
53014 $config_headers
53015
53016 Configuration commands:
53017 $config_commands
53018
53019 Report bugs to <bug-autoconf@gnu.org>."
53020
53021 _ACEOF
53022 cat >>$CONFIG_STATUS <<_ACEOF
53023 ac_cs_version="\\
53024 wxWidgets config.status 2.9.2
53025 configured by $0, generated by GNU Autoconf 2.61,
53026 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53027
53028 Copyright (C) 2006 Free Software Foundation, Inc.
53029 This config.status script is free software; the Free Software Foundation
53030 gives unlimited permission to copy, distribute and modify it."
53031
53032 ac_pwd='$ac_pwd'
53033 srcdir='$srcdir'
53034 INSTALL='$INSTALL'
53035 _ACEOF
53036
53037 cat >>$CONFIG_STATUS <<\_ACEOF
53038 # If no file are specified by the user, then we need to provide default
53039 # value. By we need to know if files were specified by the user.
53040 ac_need_defaults=:
53041 while test $# != 0
53042 do
53043 case $1 in
53044 --*=*)
53045 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53046 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53047 ac_shift=:
53048 ;;
53049 *)
53050 ac_option=$1
53051 ac_optarg=$2
53052 ac_shift=shift
53053 ;;
53054 esac
53055
53056 case $ac_option in
53057 # Handling of the options.
53058 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53059 ac_cs_recheck=: ;;
53060 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53061 echo "$ac_cs_version"; exit ;;
53062 --debug | --debu | --deb | --de | --d | -d )
53063 debug=: ;;
53064 --file | --fil | --fi | --f )
53065 $ac_shift
53066 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53067 ac_need_defaults=false;;
53068 --header | --heade | --head | --hea )
53069 $ac_shift
53070 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53071 ac_need_defaults=false;;
53072 --he | --h)
53073 # Conflict between --help and --header
53074 { echo "$as_me: error: ambiguous option: $1
53075 Try \`$0 --help' for more information." >&2
53076 { (exit 1); exit 1; }; };;
53077 --help | --hel | -h )
53078 echo "$ac_cs_usage"; exit ;;
53079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53080 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53081 ac_cs_silent=: ;;
53082
53083 # This is an error.
53084 -*) { echo "$as_me: error: unrecognized option: $1
53085 Try \`$0 --help' for more information." >&2
53086 { (exit 1); exit 1; }; } ;;
53087
53088 *) ac_config_targets="$ac_config_targets $1"
53089 ac_need_defaults=false ;;
53090
53091 esac
53092 shift
53093 done
53094
53095 ac_configure_extra_args=
53096
53097 if $ac_cs_silent; then
53098 exec 6>/dev/null
53099 ac_configure_extra_args="$ac_configure_extra_args --silent"
53100 fi
53101
53102 _ACEOF
53103 cat >>$CONFIG_STATUS <<_ACEOF
53104 if \$ac_cs_recheck; then
53105 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53106 CONFIG_SHELL=$SHELL
53107 export CONFIG_SHELL
53108 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53109 fi
53110
53111 _ACEOF
53112 cat >>$CONFIG_STATUS <<\_ACEOF
53113 exec 5>>config.log
53114 {
53115 echo
53116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53117 ## Running $as_me. ##
53118 _ASBOX
53119 echo "$ac_log"
53120 } >&5
53121
53122 _ACEOF
53123 cat >>$CONFIG_STATUS <<_ACEOF
53124 #
53125 # INIT-COMMANDS
53126 #
53127
53128 CPP="$CPP"
53129 infile="$srcdir/include/wx/msw/genrcdefs.h"
53130 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53131
53132
53133 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53134 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53135 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53136 LN_S="${LN_S}"
53137
53138
53139 _ACEOF
53140
53141 cat >>$CONFIG_STATUS <<\_ACEOF
53142
53143 # Handling of arguments.
53144 for ac_config_target in $ac_config_targets
53145 do
53146 case $ac_config_target in
53147 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53148 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53149 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53150 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53151 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53152 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53153 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53154 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53155 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53156
53157 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53158 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53159 { (exit 1); exit 1; }; };;
53160 esac
53161 done
53162
53163
53164 # If the user did not use the arguments to specify the items to instantiate,
53165 # then the envvar interface is used. Set only those that are not.
53166 # We use the long form for the default assignment because of an extremely
53167 # bizarre bug on SunOS 4.1.3.
53168 if $ac_need_defaults; then
53169 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53170 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53171 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53172 fi
53173
53174 # Have a temporary directory for convenience. Make it in the build tree
53175 # simply because there is no reason against having it here, and in addition,
53176 # creating and moving files from /tmp can sometimes cause problems.
53177 # Hook for its removal unless debugging.
53178 # Note that there is a small window in which the directory will not be cleaned:
53179 # after its creation but before its name has been assigned to `$tmp'.
53180 $debug ||
53181 {
53182 tmp=
53183 trap 'exit_status=$?
53184 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53185 ' 0
53186 trap '{ (exit 1); exit 1; }' 1 2 13 15
53187 }
53188 # Create a (secure) tmp directory for tmp files.
53189
53190 {
53191 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53192 test -n "$tmp" && test -d "$tmp"
53193 } ||
53194 {
53195 tmp=./conf$$-$RANDOM
53196 (umask 077 && mkdir "$tmp")
53197 } ||
53198 {
53199 echo "$me: cannot create a temporary directory in ." >&2
53200 { (exit 1); exit 1; }
53201 }
53202
53203 #
53204 # Set up the sed scripts for CONFIG_FILES section.
53205 #
53206
53207 # No need to generate the scripts if there are no CONFIG_FILES.
53208 # This happens for instance when ./config.status config.h
53209 if test -n "$CONFIG_FILES"; then
53210
53211 _ACEOF
53212
53213
53214
53215 ac_delim='%!_!# '
53216 for ac_last_try in false false false false false :; do
53217 cat >conf$$subs.sed <<_ACEOF
53218 SHELL!$SHELL$ac_delim
53219 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53220 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53221 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53222 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53223 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53224 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53225 exec_prefix!$exec_prefix$ac_delim
53226 prefix!$prefix$ac_delim
53227 program_transform_name!$program_transform_name$ac_delim
53228 bindir!$bindir$ac_delim
53229 sbindir!$sbindir$ac_delim
53230 libexecdir!$libexecdir$ac_delim
53231 datarootdir!$datarootdir$ac_delim
53232 datadir!$datadir$ac_delim
53233 sysconfdir!$sysconfdir$ac_delim
53234 sharedstatedir!$sharedstatedir$ac_delim
53235 localstatedir!$localstatedir$ac_delim
53236 includedir!$includedir$ac_delim
53237 oldincludedir!$oldincludedir$ac_delim
53238 docdir!$docdir$ac_delim
53239 infodir!$infodir$ac_delim
53240 htmldir!$htmldir$ac_delim
53241 dvidir!$dvidir$ac_delim
53242 pdfdir!$pdfdir$ac_delim
53243 psdir!$psdir$ac_delim
53244 libdir!$libdir$ac_delim
53245 localedir!$localedir$ac_delim
53246 mandir!$mandir$ac_delim
53247 DEFS!$DEFS$ac_delim
53248 ECHO_C!$ECHO_C$ac_delim
53249 ECHO_N!$ECHO_N$ac_delim
53250 ECHO_T!$ECHO_T$ac_delim
53251 LIBS!$LIBS$ac_delim
53252 build_alias!$build_alias$ac_delim
53253 host_alias!$host_alias$ac_delim
53254 target_alias!$target_alias$ac_delim
53255 build!$build$ac_delim
53256 build_cpu!$build_cpu$ac_delim
53257 build_vendor!$build_vendor$ac_delim
53258 build_os!$build_os$ac_delim
53259 host!$host$ac_delim
53260 host_cpu!$host_cpu$ac_delim
53261 host_vendor!$host_vendor$ac_delim
53262 host_os!$host_os$ac_delim
53263 wx_top_builddir!$wx_top_builddir$ac_delim
53264 CC!$CC$ac_delim
53265 CFLAGS!$CFLAGS$ac_delim
53266 LDFLAGS!$LDFLAGS$ac_delim
53267 CPPFLAGS!$CPPFLAGS$ac_delim
53268 ac_ct_CC!$ac_ct_CC$ac_delim
53269 EXEEXT!$EXEEXT$ac_delim
53270 OBJEXT!$OBJEXT$ac_delim
53271 CPP!$CPP$ac_delim
53272 GREP!$GREP$ac_delim
53273 EGREP!$EGREP$ac_delim
53274 CXX!$CXX$ac_delim
53275 CXXFLAGS!$CXXFLAGS$ac_delim
53276 ac_ct_CXX!$ac_ct_CXX$ac_delim
53277 AR!$AR$ac_delim
53278 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53279 CXXCPP!$CXXCPP$ac_delim
53280 subdirs!$subdirs$ac_delim
53281 PKG_CONFIG!$PKG_CONFIG$ac_delim
53282 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53283 GTK_LIBS!$GTK_LIBS$ac_delim
53284 GTK_CONFIG!$GTK_CONFIG$ac_delim
53285 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53286 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53287 XMKMF!$XMKMF$ac_delim
53288 X_CFLAGS!$X_CFLAGS$ac_delim
53289 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53290 X_LIBS!$X_LIBS$ac_delim
53291 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53292 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53293 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53294 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53295 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53296 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53297 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53298 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53299 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53300 LIBICONV!$LIBICONV$ac_delim
53301 GXX_VERSION!$GXX_VERSION$ac_delim
53302 SDL_CONFIG!$SDL_CONFIG$ac_delim
53303 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53304 SDL_LIBS!$SDL_LIBS$ac_delim
53305 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53306 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53307 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53308 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53309 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53310 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53311 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53312 HILDON_LIBS!$HILDON_LIBS$ac_delim
53313 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53314 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53315 _ACEOF
53316
53317 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53318 break
53319 elif $ac_last_try; then
53320 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53321 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53322 { (exit 1); exit 1; }; }
53323 else
53324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53325 fi
53326 done
53327
53328 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53329 if test -n "$ac_eof"; then
53330 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53331 ac_eof=`expr $ac_eof + 1`
53332 fi
53333
53334 cat >>$CONFIG_STATUS <<_ACEOF
53335 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53337 _ACEOF
53338 sed '
53339 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53340 s/^/s,@/; s/!/@,|#_!!_#|/
53341 :n
53342 t n
53343 s/'"$ac_delim"'$/,g/; t
53344 s/$/\\/; p
53345 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53346 ' >>$CONFIG_STATUS <conf$$subs.sed
53347 rm -f conf$$subs.sed
53348 cat >>$CONFIG_STATUS <<_ACEOF
53349 CEOF$ac_eof
53350 _ACEOF
53351
53352
53353 ac_delim='%!_!# '
53354 for ac_last_try in false false false false false :; do
53355 cat >conf$$subs.sed <<_ACEOF
53356 PYTHON!$PYTHON$ac_delim
53357 COND_PYTHON!$COND_PYTHON$ac_delim
53358 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53359 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53360 GST_CFLAGS!$GST_CFLAGS$ac_delim
53361 GST_LIBS!$GST_LIBS$ac_delim
53362 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53363 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53364 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53365 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53366 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53367 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53368 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53369 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53370 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53371 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53372 VENDOR!$VENDOR$ac_delim
53373 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53374 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53375 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53376 WXUNIV!$WXUNIV$ac_delim
53377 MONOLITHIC!$MONOLITHIC$ac_delim
53378 USE_PLUGINS!$USE_PLUGINS$ac_delim
53379 CXXWARNINGS!$CXXWARNINGS$ac_delim
53380 EXTRALIBS!$EXTRALIBS$ac_delim
53381 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53382 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53383 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53384 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53385 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53386 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53387 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53388 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53389 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53390 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53391 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53392 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53393 UNICODE!$UNICODE$ac_delim
53394 DEBUG_INFO!$DEBUG_INFO$ac_delim
53395 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53396 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53397 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53398 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53399 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53400 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53401 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53402 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53403 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53404 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53405 RANLIB!$RANLIB$ac_delim
53406 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53407 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53408 INSTALL_DATA!$INSTALL_DATA$ac_delim
53409 LN_S!$LN_S$ac_delim
53410 SET_MAKE!$SET_MAKE$ac_delim
53411 MAKE_SET!$MAKE_SET$ac_delim
53412 AROPTIONS!$AROPTIONS$ac_delim
53413 STRIP!$STRIP$ac_delim
53414 NM!$NM$ac_delim
53415 INSTALL_DIR!$INSTALL_DIR$ac_delim
53416 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53417 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53418 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53419 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53420 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53421 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53422 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53423 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53424 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53425 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53426 SO_SUFFIX!$SO_SUFFIX$ac_delim
53427 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53428 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53429 LIBPREFIX!$LIBPREFIX$ac_delim
53430 LIBEXT!$LIBEXT$ac_delim
53431 DLLPREFIX!$DLLPREFIX$ac_delim
53432 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53433 dlldir!$dlldir$ac_delim
53434 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53435 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53436 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53437 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53438 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53439 PIC_FLAG!$PIC_FLAG$ac_delim
53440 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53441 USE_SOVERSION!$USE_SOVERSION$ac_delim
53442 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53443 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53444 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53445 USE_MACVERSION!$USE_MACVERSION$ac_delim
53446 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53447 SONAME_FLAG!$SONAME_FLAG$ac_delim
53448 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53449 BK_DEPS!$BK_DEPS$ac_delim
53450 WINDRES!$WINDRES$ac_delim
53451 REZ!$REZ$ac_delim
53452 SETFILE!$SETFILE$ac_delim
53453 _ACEOF
53454
53455 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53456 break
53457 elif $ac_last_try; then
53458 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53459 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53460 { (exit 1); exit 1; }; }
53461 else
53462 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53463 fi
53464 done
53465
53466 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53467 if test -n "$ac_eof"; then
53468 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53469 ac_eof=`expr $ac_eof + 1`
53470 fi
53471
53472 cat >>$CONFIG_STATUS <<_ACEOF
53473 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53474 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53475 _ACEOF
53476 sed '
53477 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53478 s/^/s,@/; s/!/@,|#_!!_#|/
53479 :n
53480 t n
53481 s/'"$ac_delim"'$/,g/; t
53482 s/$/\\/; p
53483 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53484 ' >>$CONFIG_STATUS <conf$$subs.sed
53485 rm -f conf$$subs.sed
53486 cat >>$CONFIG_STATUS <<_ACEOF
53487 CEOF$ac_eof
53488 _ACEOF
53489
53490
53491 ac_delim='%!_!# '
53492 for ac_last_try in false false false false false :; do
53493 cat >conf$$subs.sed <<_ACEOF
53494 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53495 GCC_PCH!$GCC_PCH$ac_delim
53496 ICC_PCH!$ICC_PCH$ac_delim
53497 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53498 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53499 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53500 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53501 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53502 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53503 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53504 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53505 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53506 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53507 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53508 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53509 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53510 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53511 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53512 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53513 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53514 COND_BUILD_release!$COND_BUILD_release$ac_delim
53515 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53516 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53517 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53518 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53519 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53520 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53521 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53522 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53523 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53524 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53525 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53526 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53527 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53528 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53529 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53530 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53532 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53533 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53534 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53535 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53536 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53537 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53538 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53539 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53541 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53542 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53543 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53544 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53545 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53546 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53547 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53548 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53549 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53550 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53551 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53552 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53553 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53554 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53555 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53556 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53557 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53558 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53559 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53560 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53561 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53562 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53563 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53564 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53565 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53566 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53567 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53568 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53569 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53570 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53571 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
53572 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53573 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
53574 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53576 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53577 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53579 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53580 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53581 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53582 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53583 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53584 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53585 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53586 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53587 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53588 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53589 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53590 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53591 _ACEOF
53592
53593 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53594 break
53595 elif $ac_last_try; then
53596 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53597 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53598 { (exit 1); exit 1; }; }
53599 else
53600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53601 fi
53602 done
53603
53604 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53605 if test -n "$ac_eof"; then
53606 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53607 ac_eof=`expr $ac_eof + 1`
53608 fi
53609
53610 cat >>$CONFIG_STATUS <<_ACEOF
53611 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53613 _ACEOF
53614 sed '
53615 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53616 s/^/s,@/; s/!/@,|#_!!_#|/
53617 :n
53618 t n
53619 s/'"$ac_delim"'$/,g/; t
53620 s/$/\\/; p
53621 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53622 ' >>$CONFIG_STATUS <conf$$subs.sed
53623 rm -f conf$$subs.sed
53624 cat >>$CONFIG_STATUS <<_ACEOF
53625 CEOF$ac_eof
53626 _ACEOF
53627
53628
53629 ac_delim='%!_!# '
53630 for ac_last_try in false false false false false :; do
53631 cat >conf$$subs.sed <<_ACEOF
53632 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53633 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53634 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53635 COND_SHARED_0!$COND_SHARED_0$ac_delim
53636 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53637 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53638 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53639 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53640 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53641 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53642 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53643 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53644 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53645 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53646 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53647 COND_SHARED_1!$COND_SHARED_1$ac_delim
53648 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53649 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53650 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53651 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53652 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53653 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53654 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53655 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53656 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53660 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53661 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53662 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53663 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53664 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53665 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53666 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53667 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53668 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53669 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53670 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53671 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53672 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53673 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53674 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53675 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53676 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53677 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53678 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53679 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53680 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53681 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53682 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53683 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53684 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53685 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53686 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53687 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53688 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53689 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53690 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53691 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53692 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53693 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53694 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53695 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53696 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53697 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53698 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53699 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53700 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53701 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53702 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53704 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53705 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53706 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53707 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53708 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53709 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53710 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53711 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53712 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53713 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53714 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53715 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53716 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53717 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53718 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53719 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53720 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53721 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53722 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53723 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53724 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53725 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53726 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53727 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53728 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53729 _ACEOF
53730
53731 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53732 break
53733 elif $ac_last_try; then
53734 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53735 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53736 { (exit 1); exit 1; }; }
53737 else
53738 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53739 fi
53740 done
53741
53742 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53743 if test -n "$ac_eof"; then
53744 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53745 ac_eof=`expr $ac_eof + 1`
53746 fi
53747
53748 cat >>$CONFIG_STATUS <<_ACEOF
53749 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53751 _ACEOF
53752 sed '
53753 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53754 s/^/s,@/; s/!/@,|#_!!_#|/
53755 :n
53756 t n
53757 s/'"$ac_delim"'$/,g/; t
53758 s/$/\\/; p
53759 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53760 ' >>$CONFIG_STATUS <conf$$subs.sed
53761 rm -f conf$$subs.sed
53762 cat >>$CONFIG_STATUS <<_ACEOF
53763 CEOF$ac_eof
53764 _ACEOF
53765
53766
53767 ac_delim='%!_!# '
53768 for ac_last_try in false false false false false :; do
53769 cat >conf$$subs.sed <<_ACEOF
53770 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53771 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53772 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53773 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53774 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53775 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53776 DEREZ!$DEREZ$ac_delim
53777 SHARED!$SHARED$ac_delim
53778 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53779 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53780 USE_GUI!$USE_GUI$ac_delim
53781 AFMINSTALL!$AFMINSTALL$ac_delim
53782 WIN32INSTALL!$WIN32INSTALL$ac_delim
53783 TOOLKIT!$TOOLKIT$ac_delim
53784 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53785 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53786 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53787 cross_compiling!$cross_compiling$ac_delim
53788 WIDGET_SET!$WIDGET_SET$ac_delim
53789 WX_RELEASE!$WX_RELEASE$ac_delim
53790 WX_VERSION!$WX_VERSION$ac_delim
53791 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53792 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53793 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53794 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53795 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53796 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53797 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53798 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53799 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53800 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53801 GUIDIST!$GUIDIST$ac_delim
53802 DISTDIR!$DISTDIR$ac_delim
53803 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53804 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53805 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53806 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53807 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53808 RESCOMP!$RESCOMP$ac_delim
53809 RESFLAGS!$RESFLAGS$ac_delim
53810 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53811 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53812 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53813 LIBWXMACRES!$LIBWXMACRES$ac_delim
53814 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53815 MACSETFILE!$MACSETFILE$ac_delim
53816 GCC!$GCC$ac_delim
53817 DLLTOOL!$DLLTOOL$ac_delim
53818 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53819 LIBOBJS!$LIBOBJS$ac_delim
53820 LTLIBOBJS!$LTLIBOBJS$ac_delim
53821 _ACEOF
53822
53823 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53824 break
53825 elif $ac_last_try; then
53826 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53827 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53828 { (exit 1); exit 1; }; }
53829 else
53830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53831 fi
53832 done
53833
53834 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53835 if test -n "$ac_eof"; then
53836 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53837 ac_eof=`expr $ac_eof + 1`
53838 fi
53839
53840 cat >>$CONFIG_STATUS <<_ACEOF
53841 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53843 _ACEOF
53844 sed '
53845 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53846 s/^/s,@/; s/!/@,|#_!!_#|/
53847 :n
53848 t n
53849 s/'"$ac_delim"'$/,g/; t
53850 s/$/\\/; p
53851 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53852 ' >>$CONFIG_STATUS <conf$$subs.sed
53853 rm -f conf$$subs.sed
53854 cat >>$CONFIG_STATUS <<_ACEOF
53855 :end
53856 s/|#_!!_#|//g
53857 CEOF$ac_eof
53858 _ACEOF
53859
53860
53861 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53862 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53863 # trailing colons and then remove the whole line if VPATH becomes empty
53864 # (actually we leave an empty line to preserve line numbers).
53865 if test "x$srcdir" = x.; then
53866 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53867 s/:*\$(srcdir):*/:/
53868 s/:*\${srcdir}:*/:/
53869 s/:*@srcdir@:*/:/
53870 s/^\([^=]*=[ ]*\):*/\1/
53871 s/:*$//
53872 s/^[^=]*=[ ]*$//
53873 }'
53874 fi
53875
53876 cat >>$CONFIG_STATUS <<\_ACEOF
53877 fi # test -n "$CONFIG_FILES"
53878
53879
53880 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53881 do
53882 case $ac_tag in
53883 :[FHLC]) ac_mode=$ac_tag; continue;;
53884 esac
53885 case $ac_mode$ac_tag in
53886 :[FHL]*:*);;
53887 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53888 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53889 { (exit 1); exit 1; }; };;
53890 :[FH]-) ac_tag=-:-;;
53891 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53892 esac
53893 ac_save_IFS=$IFS
53894 IFS=:
53895 set x $ac_tag
53896 IFS=$ac_save_IFS
53897 shift
53898 ac_file=$1
53899 shift
53900
53901 case $ac_mode in
53902 :L) ac_source=$1;;
53903 :[FH])
53904 ac_file_inputs=
53905 for ac_f
53906 do
53907 case $ac_f in
53908 -) ac_f="$tmp/stdin";;
53909 *) # Look for the file first in the build tree, then in the source tree
53910 # (if the path is not absolute). The absolute path cannot be DOS-style,
53911 # because $ac_f cannot contain `:'.
53912 test -f "$ac_f" ||
53913 case $ac_f in
53914 [\\/$]*) false;;
53915 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53916 esac ||
53917 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53918 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53919 { (exit 1); exit 1; }; };;
53920 esac
53921 ac_file_inputs="$ac_file_inputs $ac_f"
53922 done
53923
53924 # Let's still pretend it is `configure' which instantiates (i.e., don't
53925 # use $as_me), people would be surprised to read:
53926 # /* config.h. Generated by config.status. */
53927 configure_input="Generated from "`IFS=:
53928 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53929 if test x"$ac_file" != x-; then
53930 configure_input="$ac_file. $configure_input"
53931 { echo "$as_me:$LINENO: creating $ac_file" >&5
53932 echo "$as_me: creating $ac_file" >&6;}
53933 fi
53934
53935 case $ac_tag in
53936 *:-:* | *:-) cat >"$tmp/stdin";;
53937 esac
53938 ;;
53939 esac
53940
53941 ac_dir=`$as_dirname -- "$ac_file" ||
53942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53943 X"$ac_file" : 'X\(//\)[^/]' \| \
53944 X"$ac_file" : 'X\(//\)$' \| \
53945 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53946 echo X"$ac_file" |
53947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53948 s//\1/
53949 q
53950 }
53951 /^X\(\/\/\)[^/].*/{
53952 s//\1/
53953 q
53954 }
53955 /^X\(\/\/\)$/{
53956 s//\1/
53957 q
53958 }
53959 /^X\(\/\).*/{
53960 s//\1/
53961 q
53962 }
53963 s/.*/./; q'`
53964 { as_dir="$ac_dir"
53965 case $as_dir in #(
53966 -*) as_dir=./$as_dir;;
53967 esac
53968 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53969 as_dirs=
53970 while :; do
53971 case $as_dir in #(
53972 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53973 *) as_qdir=$as_dir;;
53974 esac
53975 as_dirs="'$as_qdir' $as_dirs"
53976 as_dir=`$as_dirname -- "$as_dir" ||
53977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53978 X"$as_dir" : 'X\(//\)[^/]' \| \
53979 X"$as_dir" : 'X\(//\)$' \| \
53980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53981 echo X"$as_dir" |
53982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53983 s//\1/
53984 q
53985 }
53986 /^X\(\/\/\)[^/].*/{
53987 s//\1/
53988 q
53989 }
53990 /^X\(\/\/\)$/{
53991 s//\1/
53992 q
53993 }
53994 /^X\(\/\).*/{
53995 s//\1/
53996 q
53997 }
53998 s/.*/./; q'`
53999 test -d "$as_dir" && break
54000 done
54001 test -z "$as_dirs" || eval "mkdir $as_dirs"
54002 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54003 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54004 { (exit 1); exit 1; }; }; }
54005 ac_builddir=.
54006
54007 case "$ac_dir" in
54008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54009 *)
54010 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54011 # A ".." for each directory in $ac_dir_suffix.
54012 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54013 case $ac_top_builddir_sub in
54014 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54015 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54016 esac ;;
54017 esac
54018 ac_abs_top_builddir=$ac_pwd
54019 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54020 # for backward compatibility:
54021 ac_top_builddir=$ac_top_build_prefix
54022
54023 case $srcdir in
54024 .) # We are building in place.
54025 ac_srcdir=.
54026 ac_top_srcdir=$ac_top_builddir_sub
54027 ac_abs_top_srcdir=$ac_pwd ;;
54028 [\\/]* | ?:[\\/]* ) # Absolute name.
54029 ac_srcdir=$srcdir$ac_dir_suffix;
54030 ac_top_srcdir=$srcdir
54031 ac_abs_top_srcdir=$srcdir ;;
54032 *) # Relative name.
54033 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54034 ac_top_srcdir=$ac_top_build_prefix$srcdir
54035 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54036 esac
54037 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54038
54039
54040 case $ac_mode in
54041 :F)
54042 #
54043 # CONFIG_FILE
54044 #
54045
54046 case $INSTALL in
54047 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54048 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54049 esac
54050 _ACEOF
54051
54052 cat >>$CONFIG_STATUS <<\_ACEOF
54053 # If the template does not know about datarootdir, expand it.
54054 # FIXME: This hack should be removed a few years after 2.60.
54055 ac_datarootdir_hack=; ac_datarootdir_seen=
54056
54057 case `sed -n '/datarootdir/ {
54058 p
54059 q
54060 }
54061 /@datadir@/p
54062 /@docdir@/p
54063 /@infodir@/p
54064 /@localedir@/p
54065 /@mandir@/p
54066 ' $ac_file_inputs` in
54067 *datarootdir*) ac_datarootdir_seen=yes;;
54068 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54069 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54070 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54071 _ACEOF
54072 cat >>$CONFIG_STATUS <<_ACEOF
54073 ac_datarootdir_hack='
54074 s&@datadir@&$datadir&g
54075 s&@docdir@&$docdir&g
54076 s&@infodir@&$infodir&g
54077 s&@localedir@&$localedir&g
54078 s&@mandir@&$mandir&g
54079 s&\\\${datarootdir}&$datarootdir&g' ;;
54080 esac
54081 _ACEOF
54082
54083 # Neutralize VPATH when `$srcdir' = `.'.
54084 # Shell code in configure.ac might set extrasub.
54085 # FIXME: do we really want to maintain this feature?
54086 cat >>$CONFIG_STATUS <<_ACEOF
54087 sed "$ac_vpsub
54088 $extrasub
54089 _ACEOF
54090 cat >>$CONFIG_STATUS <<\_ACEOF
54091 :t
54092 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54093 s&@configure_input@&$configure_input&;t t
54094 s&@top_builddir@&$ac_top_builddir_sub&;t t
54095 s&@srcdir@&$ac_srcdir&;t t
54096 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54097 s&@top_srcdir@&$ac_top_srcdir&;t t
54098 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54099 s&@builddir@&$ac_builddir&;t t
54100 s&@abs_builddir@&$ac_abs_builddir&;t t
54101 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54102 s&@INSTALL@&$ac_INSTALL&;t t
54103 $ac_datarootdir_hack
54104 " $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
54105
54106 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54107 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54108 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54109 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54110 which seems to be undefined. Please make sure it is defined." >&5
54111 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54112 which seems to be undefined. Please make sure it is defined." >&2;}
54113
54114 rm -f "$tmp/stdin"
54115 case $ac_file in
54116 -) cat "$tmp/out"; rm -f "$tmp/out";;
54117 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54118 esac
54119 ;;
54120 :H)
54121 #
54122 # CONFIG_HEADER
54123 #
54124 _ACEOF
54125
54126 # Transform confdefs.h into a sed script `conftest.defines', that
54127 # substitutes the proper values into config.h.in to produce config.h.
54128 rm -f conftest.defines conftest.tail
54129 # First, append a space to every undef/define line, to ease matching.
54130 echo 's/$/ /' >conftest.defines
54131 # Then, protect against being on the right side of a sed subst, or in
54132 # an unquoted here document, in config.status. If some macros were
54133 # called several times there might be several #defines for the same
54134 # symbol, which is useless. But do not sort them, since the last
54135 # AC_DEFINE must be honored.
54136 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54137 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54138 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54139 # PARAMS is the parameter list in the macro definition--in most cases, it's
54140 # just an empty string.
54141 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54142 ac_dB='\\)[ (].*,\\1define\\2'
54143 ac_dC=' '
54144 ac_dD=' ,'
54145
54146 uniq confdefs.h |
54147 sed -n '
54148 t rset
54149 :rset
54150 s/^[ ]*#[ ]*define[ ][ ]*//
54151 t ok
54152 d
54153 :ok
54154 s/[\\&,]/\\&/g
54155 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54156 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54157 ' >>conftest.defines
54158
54159 # Remove the space that was appended to ease matching.
54160 # Then replace #undef with comments. This is necessary, for
54161 # example, in the case of _POSIX_SOURCE, which is predefined and required
54162 # on some systems where configure will not decide to define it.
54163 # (The regexp can be short, since the line contains either #define or #undef.)
54164 echo 's/ $//
54165 s,^[ #]*u.*,/* & */,' >>conftest.defines
54166
54167 # Break up conftest.defines:
54168 ac_max_sed_lines=50
54169
54170 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54171 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54172 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54173 # et cetera.
54174 ac_in='$ac_file_inputs'
54175 ac_out='"$tmp/out1"'
54176 ac_nxt='"$tmp/out2"'
54177
54178 while :
54179 do
54180 # Write a here document:
54181 cat >>$CONFIG_STATUS <<_ACEOF
54182 # First, check the format of the line:
54183 cat >"\$tmp/defines.sed" <<\\CEOF
54184 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54185 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54186 b
54187 :def
54188 _ACEOF
54189 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54190 echo 'CEOF
54191 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54192 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54193 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54194 grep . conftest.tail >/dev/null || break
54195 rm -f conftest.defines
54196 mv conftest.tail conftest.defines
54197 done
54198 rm -f conftest.defines conftest.tail
54199
54200 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54201 cat >>$CONFIG_STATUS <<\_ACEOF
54202 if test x"$ac_file" != x-; then
54203 echo "/* $configure_input */" >"$tmp/config.h"
54204 cat "$ac_result" >>"$tmp/config.h"
54205 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54206 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54207 echo "$as_me: $ac_file is unchanged" >&6;}
54208 else
54209 rm -f $ac_file
54210 mv "$tmp/config.h" $ac_file
54211 fi
54212 else
54213 echo "/* $configure_input */"
54214 cat "$ac_result"
54215 fi
54216 rm -f "$tmp/out12"
54217 ;;
54218
54219 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54220 echo "$as_me: executing $ac_file commands" >&6;}
54221 ;;
54222 esac
54223
54224
54225 case $ac_file$ac_mode in
54226 "rcdefs.h":C)
54227 mkdir -p $outdir &&
54228 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54229 ;;
54230 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54231 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54232 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54233 "wx-config":C) rm -f wx-config
54234 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54235 ;;
54236
54237 esac
54238 done # for ac_tag
54239
54240
54241 { (exit 0); exit 0; }
54242 _ACEOF
54243 chmod +x $CONFIG_STATUS
54244 ac_clean_files=$ac_clean_files_save
54245
54246
54247 # configure is writing to config.log, and then calls config.status.
54248 # config.status does its own redirection, appending to config.log.
54249 # Unfortunately, on DOS this fails, as config.log is still kept open
54250 # by configure, so config.status won't be able to write to it; its
54251 # output is simply discarded. So we exec the FD to /dev/null,
54252 # effectively closing config.log, so it can be properly (re)opened and
54253 # appended to by config.status. When coming back to configure, we
54254 # need to make the FD available again.
54255 if test "$no_create" != yes; then
54256 ac_cs_success=:
54257 ac_config_status_args=
54258 test "$silent" = yes &&
54259 ac_config_status_args="$ac_config_status_args --quiet"
54260 exec 5>/dev/null
54261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54262 exec 5>>config.log
54263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54264 # would make configure fail if this is the last instruction.
54265 $ac_cs_success || { (exit 1); exit 1; }
54266 fi
54267
54268 #
54269 # CONFIG_SUBDIRS section.
54270 #
54271 if test "$no_recursion" != yes; then
54272
54273 # Remove --cache-file and --srcdir arguments so they do not pile up.
54274 ac_sub_configure_args=
54275 ac_prev=
54276 eval "set x $ac_configure_args"
54277 shift
54278 for ac_arg
54279 do
54280 if test -n "$ac_prev"; then
54281 ac_prev=
54282 continue
54283 fi
54284 case $ac_arg in
54285 -cache-file | --cache-file | --cache-fil | --cache-fi \
54286 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54287 ac_prev=cache_file ;;
54288 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54289 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54290 | --c=*)
54291 ;;
54292 --config-cache | -C)
54293 ;;
54294 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54295 ac_prev=srcdir ;;
54296 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54297 ;;
54298 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54299 ac_prev=prefix ;;
54300 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54301 ;;
54302 *)
54303 case $ac_arg in
54304 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54305 esac
54306 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54307 esac
54308 done
54309
54310 # Always prepend --prefix to ensure using the same prefix
54311 # in subdir configurations.
54312 ac_arg="--prefix=$prefix"
54313 case $ac_arg in
54314 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54315 esac
54316 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54317
54318 # Pass --silent
54319 if test "$silent" = yes; then
54320 ac_sub_configure_args="--silent $ac_sub_configure_args"
54321 fi
54322
54323 ac_popdir=`pwd`
54324 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54325
54326 # Do not complain, so a configure script can configure whichever
54327 # parts of a large source tree are present.
54328 test -d "$srcdir/$ac_dir" || continue
54329
54330 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54331 echo "$as_me:$LINENO: $ac_msg" >&5
54332 echo "$ac_msg" >&6
54333 { as_dir="$ac_dir"
54334 case $as_dir in #(
54335 -*) as_dir=./$as_dir;;
54336 esac
54337 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54338 as_dirs=
54339 while :; do
54340 case $as_dir in #(
54341 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54342 *) as_qdir=$as_dir;;
54343 esac
54344 as_dirs="'$as_qdir' $as_dirs"
54345 as_dir=`$as_dirname -- "$as_dir" ||
54346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54347 X"$as_dir" : 'X\(//\)[^/]' \| \
54348 X"$as_dir" : 'X\(//\)$' \| \
54349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54350 echo X"$as_dir" |
54351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54352 s//\1/
54353 q
54354 }
54355 /^X\(\/\/\)[^/].*/{
54356 s//\1/
54357 q
54358 }
54359 /^X\(\/\/\)$/{
54360 s//\1/
54361 q
54362 }
54363 /^X\(\/\).*/{
54364 s//\1/
54365 q
54366 }
54367 s/.*/./; q'`
54368 test -d "$as_dir" && break
54369 done
54370 test -z "$as_dirs" || eval "mkdir $as_dirs"
54371 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54372 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54373 { (exit 1); exit 1; }; }; }
54374 ac_builddir=.
54375
54376 case "$ac_dir" in
54377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54378 *)
54379 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54380 # A ".." for each directory in $ac_dir_suffix.
54381 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54382 case $ac_top_builddir_sub in
54383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54385 esac ;;
54386 esac
54387 ac_abs_top_builddir=$ac_pwd
54388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54389 # for backward compatibility:
54390 ac_top_builddir=$ac_top_build_prefix
54391
54392 case $srcdir in
54393 .) # We are building in place.
54394 ac_srcdir=.
54395 ac_top_srcdir=$ac_top_builddir_sub
54396 ac_abs_top_srcdir=$ac_pwd ;;
54397 [\\/]* | ?:[\\/]* ) # Absolute name.
54398 ac_srcdir=$srcdir$ac_dir_suffix;
54399 ac_top_srcdir=$srcdir
54400 ac_abs_top_srcdir=$srcdir ;;
54401 *) # Relative name.
54402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54403 ac_top_srcdir=$ac_top_build_prefix$srcdir
54404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54405 esac
54406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54407
54408
54409 cd "$ac_dir"
54410
54411 # Check for guested configure; otherwise get Cygnus style configure.
54412 if test -f "$ac_srcdir/configure.gnu"; then
54413 ac_sub_configure=$ac_srcdir/configure.gnu
54414 elif test -f "$ac_srcdir/configure"; then
54415 ac_sub_configure=$ac_srcdir/configure
54416 elif test -f "$ac_srcdir/configure.in"; then
54417 # This should be Cygnus configure.
54418 ac_sub_configure=$ac_aux_dir/configure
54419 else
54420 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54421 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54422 ac_sub_configure=
54423 fi
54424
54425 # The recursion is here.
54426 if test -n "$ac_sub_configure"; then
54427 # Make the cache file name correct relative to the subdirectory.
54428 case $cache_file in
54429 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54430 *) # Relative name.
54431 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54432 esac
54433
54434 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54435 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54436 # The eval makes quoting arguments work.
54437 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54438 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54439 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54440 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54441 { (exit 1); exit 1; }; }
54442 fi
54443
54444 cd "$ac_popdir"
54445 done
54446 fi
54447
54448
54449 echo
54450 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54451 echo ""
54452 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54453 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54454 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54455 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54456 if test "$wxUSE_UNICODE" = "yes"; then
54457 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54458 echo " (using UTF-8)"
54459 else
54460 echo " (using wchar_t)"
54461 fi
54462 else
54463 echo
54464 fi
54465
54466 echo " What level of wxWidgets compatibility should be enabled?"
54467 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54468 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54469
54470 echo " Which libraries should wxWidgets use?"
54471 echo " STL ${wxUSE_STL}"
54472 echo " jpeg ${wxUSE_LIBJPEG-none}"
54473 echo " png ${wxUSE_LIBPNG-none}"
54474 echo " regex ${wxUSE_REGEX}"
54475 echo " tiff ${wxUSE_LIBTIFF-none}"
54476 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54477 echo " xpm ${wxUSE_LIBXPM-none}"
54478 fi
54479 echo " zlib ${wxUSE_ZLIB}"
54480 echo " expat ${wxUSE_EXPAT}"
54481 echo " libmspack ${wxUSE_LIBMSPACK}"
54482 echo " sdl ${wxUSE_LIBSDL}"
54483
54484 echo ""
54485