]> git.saurik.com Git - wxWidgets.git/blob - configure
Set wxKeyEvent::m_rawFlags to hardware key code in wxGTK.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 65489 2010-09-09 20:59:10Z VZ .
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 universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1709 --enable-macosx_arch=ARCH build for just the specified architecture
1710 --enable-compat26 enable wxWidgets 2.6 compatibility
1711 --disable-compat28 disable wxWidgets 2.8 compatibility
1712 --disable-rpath disable use of rpath for uninstalled builds
1713 --enable-objc_uniquifying enable Objective-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x-locale support (requires wxLocale)
1718 --enable-config use wxConfig (and derived) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP (requires wxProtocol
1721 --enable-http use wxHTTP (requires wxProtocol
1722 --enable-fileproto use wxFileProto class (requires wxProtocol
1723 --enable-sockets use socket/network classes
1724 --enable-ipv6 enable IPv6 support in wxSocket
1725 --enable-ole use OLE classes (Win32 only)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication (wxSocket etc.)
1728 --enable-baseevtloop use event loop in console programs too
1729 --enable-epollloop use wxEpollDispatcher class (Linux only)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding/decoding functions
1735 --enable-backtrace use wxStackWalker class for getting backtraces
1736 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class for DLL loading
1742 --enable-dynamicloader use (new) wxDynamicLibrary class
1743 --enable-exceptions build exception-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support in wxProtocol
1774 --enable-protocol-ftp FTP support in wxProtocol
1775 --enable-protocol-file FILE support in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig (Win32 only)
1778 --enable-regkey use wxRegKey class (Win32 only)
1779 --enable-docview use document view architecture
1780 --enable-help use help subsystem
1781 --enable-mshtmlhelp use MS HTML Help (win32)
1782 --enable-html use wxHTML sub-library
1783 --enable-htmlhelp use wxHTML-based help
1784 --enable-xrc use XRC resources sub-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl (Mac)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context 2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-accel use accelerators
1808 --enable-animatectrl use wxAnimationCtrl class
1809 --enable-bmpbutton use wxBitmapButton class
1810 --enable-bmpcombobox use wxBitmapComboBox class
1811 --enable-button use wxButton class
1812 --enable-calendar use wxCalendarCtrl class
1813 --enable-caret use wxCaret class
1814 --enable-checkbox use wxCheckBox class
1815 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1816 --enable-choice use wxChoice class
1817 --enable-choicebook use wxChoicebook class
1818 --enable-collpane use wxCollapsiblePane class
1819 --enable-colourpicker use wxColourPickerCtrl class
1820 --enable-combobox use wxComboBox class
1821 --enable-comboctrl use wxComboCtrl class
1822 --enable-commandlinkbutton use wxCommmandLinkButton class
1823 --enable-dataviewctrl use wxDataViewCtrl class
1824 --enable-datepick use wxDatePickerCtrl class
1825 --enable-detect_sm use code to detect X11 session manager
1826 --enable-dirpicker use wxDirPickerCtrl class
1827 --enable-display use wxDisplay class
1828 --enable-editablebox use wxEditableListBox class
1829 --enable-filectrl use wxFileCtrl class
1830 --enable-filepicker use wxFilePickerCtrl class
1831 --enable-fontpicker use wxFontPickerCtrl class
1832 --enable-gauge use wxGauge class
1833 --enable-grid use wxGrid class
1834 --enable-headerctrl use wxHeaderCtrl class
1835 --enable-hyperlink use wxHyperlinkCtrl class
1836 --enable-imaglist use wxImageList class
1837 --enable-infobar use wxInfoBar class
1838 --enable-listbook use wxListbook class
1839 --enable-listbox use wxListBox class
1840 --enable-listctrl use wxListCtrl class
1841 --enable-notebook use wxNotebook class
1842 --enable-notifmsg use wxNotificationMessage class
1843 --enable-odcombobox use wxOwnerDrawnComboBox class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-radiobox use wxRadioBox class
1846 --enable-radiobtn use wxRadioButton class
1847 --enable-richmsgdlg use wxRichMessageDialog class
1848 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1849 --enable-sash use wxSashWindow class
1850 --enable-scrollbar use wxScrollBar class and scrollable windows
1851 --enable-searchctrl use wxSearchCtrl class
1852 --enable-slider use wxSlider class
1853 --enable-spinbtn use wxSpinButton class
1854 --enable-spinctrl use wxSpinCtrl class
1855 --enable-splitter use wxSplitterWindow class
1856 --enable-statbmp use wxStaticBitmap class
1857 --enable-statbox use wxStaticBox class
1858 --enable-statline use wxStaticLine class
1859 --enable-stattext use wxStaticText class
1860 --enable-statusbar use wxStatusBar class
1861 --enable-taskbaricon use wxTaskBarIcon class
1862 --enable-tbarnative use native wxToolBar class
1863 --enable-textctrl use wxTextCtrl class
1864 --enable-tipwindow use wxTipWindow class
1865 --enable-togglebtn use wxToggleButton class
1866 --enable-toolbar use wxToolBar class
1867 --enable-toolbook use wxToolbook class
1868 --enable-treebook use wxTreebook class
1869 --enable-treectrl use wxTreeCtrl class
1870 --enable-commondlg use all common dialogs
1871 --enable-aboutdlg use wxAboutBox
1872 --enable-choicedlg use wxChoiceDialog
1873 --enable-coldlg use wxColourDialog
1874 --enable-filedlg use wxFileDialog
1875 --enable-finddlg use wxFindReplaceDialog
1876 --enable-fontdlg use wxFontDialog
1877 --enable-dirdlg use wxDirDialog
1878 --enable-msgdlg use wxMessageDialog
1879 --enable-numberdlg use wxNumberEntryDialog
1880 --enable-splash use wxSplashScreen
1881 --enable-textdlg use wxTextDialog
1882 --enable-tipdlg use startup tips
1883 --enable-progressdlg use wxProgressDialog
1884 --enable-wizarddlg use wxWizard
1885 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1886 --enable-miniframe use wxMiniFrame class
1887 --enable-tooltips use wxToolTip class
1888 --enable-splines use spline drawing code
1889 --enable-mousewheel use mousewheel
1890 --enable-validators use wxValidator and derived classes
1891 --enable-busyinfo use wxBusyInfo
1892 --enable-joystick use wxJoystick
1893 --enable-metafiles use wxMetaFile (Win32 only)
1894 --enable-dragimage use wxDragImage
1895 --enable-accessibility enable accessibility support
1896 --enable-uiactionsim use wxUIActionSimulator (experimental)
1897 --enable-palette use wxPalette class
1898 --enable-image use wxImage class
1899 --enable-gif use gif images (GIF file format)
1900 --enable-pcx use pcx images (PCX file format)
1901 --enable-tga use tga images (TGA file format)
1902 --enable-iff use iff images (IFF file format)
1903 --enable-pnm use pnm images (PNM file format)
1904 --enable-xpm use xpm images (XPM file format)
1905 --enable-ico_cur use Windows ICO and CUR formats
1906 --enable-dccache cache temporary wxDC objects (Win32 only)
1907 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1908 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1909 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1910 --enable-wxdib use wxDIB class (Win32 only)
1911 --enable-autoidman use automatic ids management
1912 --disable-largefile omit support for large files
1913 --disable-gtktest do not try to compile and run a test GTK+ program
1914 --disable-gtktest Do not try to compile and run a test GTK program
1915 --disable-sdltest Do not try to compile and run a test SDL program
1916 --enable-omf use OMF object format (OS/2)
1917 --disable-dependency-tracking
1918 don't use dependency tracking even if the compiler
1919 can
1920 --disable-precomp-headers
1921 don't use precompiled headers even if compiler can
1922
1923 Optional Packages:
1924 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1925 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1926 --without-subdirs don't generate makefiles for samples/demos/...
1927 --with-flavour=NAME specify a name to identify this build
1928 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1929 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1930 --with-motif use Motif/Lesstif
1931 --with-osx_carbon use Mac OS X (Carbon)
1932 --with-osx_cocoa use Mac OS X (Cocoa)
1933 --with-osx_iphone use iPhone OS X port
1934 --with-osx use Mac OS X (default port, currently Carbon)
1935 --with-carbon same as --with-osx_carbon
1936 --with-cocoa same as --with-osx_cocoa
1937 --with-iphone same as --with-osx_iphone
1938 --with-mac same as --with-osx
1939 --with-old_cocoa use old, deprecated, Cocoa port
1940 --with-wine use Wine
1941 --with-msw use MS-Windows
1942 --with-pm use OS/2 Presentation Manager
1943 --with-mgl use SciTech MGL
1944 --with-directfb use DirectFB
1945 --with-microwin use MicroWindows
1946 --with-x11 use X11
1947 --with-libpng use libpng (PNG image format)
1948 --with-libjpeg use libjpeg (JPEG file format)
1949 --with-libtiff use libtiff (TIFF file format)
1950 --with-libxpm use libxpm (XPM file format)
1951 --with-libiconv use libiconv (character conversion)
1952 --with-libmspack use libmspack (CHM help files loading)
1953 --without-gtkprint don't use GTK printing support
1954 --without-gnomeprint don't use GNOME printing libraries
1955 --with-gnomevfs use GNOME VFS for associating MIME types
1956 --with-hildon use Hildon framework for Nokia 770/800/810
1957 --with-opengl use OpenGL (or Mesa)
1958 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1959 --with-sdl use SDL for audio on Unix
1960 --with-regex enable support for wxRegEx class
1961 --with-zlib use zlib for LZW compression
1962 --with-expat enable XML support using expat parser
1963 --with-macosx-sdk=PATH use an OS X SDK at PATH
1964 --with-macosx-version-min=VER build binaries which require at least this OS X version
1965 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1966 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1967 --with-x use the X Window System
1968 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1969 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1970 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1971 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1972 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1973
1974 Some influential environment variables:
1975 CC C compiler command
1976 CFLAGS C compiler flags
1977 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1978 nonstandard directory <lib dir>
1979 LIBS libraries to pass to the linker, e.g. -l<library>
1980 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1981 you have headers in a nonstandard directory <include dir>
1982 CPP C preprocessor
1983 CXX C++ compiler command
1984 CXXFLAGS C++ compiler flags
1985 CXXCPP C++ preprocessor
1986 PKG_CONFIG path to pkg-config utility
1987 DIRECTFB_CFLAGS
1988 C compiler flags for DIRECTFB, overriding pkg-config
1989 DIRECTFB_LIBS
1990 linker flags for DIRECTFB, overriding pkg-config
1991 XMKMF Path to xmkmf, Makefile generator for X Window System
1992 PANGOX_CFLAGS
1993 C compiler flags for PANGOX, overriding pkg-config
1994 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1995 PANGOFT2_CFLAGS
1996 C compiler flags for PANGOFT2, overriding pkg-config
1997 PANGOFT2_LIBS
1998 linker flags for PANGOFT2, overriding pkg-config
1999 PANGOXFT_CFLAGS
2000 C compiler flags for PANGOXFT, overriding pkg-config
2001 PANGOXFT_LIBS
2002 linker flags for PANGOXFT, overriding pkg-config
2003 GTKPRINT_CFLAGS
2004 C compiler flags for GTKPRINT, overriding pkg-config
2005 GTKPRINT_LIBS
2006 linker flags for GTKPRINT, overriding pkg-config
2007 LIBGNOMEPRINTUI_CFLAGS
2008 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2009 LIBGNOMEPRINTUI_LIBS
2010 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2011 GNOMEVFS_CFLAGS
2012 C compiler flags for GNOMEVFS, overriding pkg-config
2013 GNOMEVFS_LIBS
2014 linker flags for GNOMEVFS, overriding pkg-config
2015 HILDON_CFLAGS
2016 C compiler flags for HILDON, overriding pkg-config
2017 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2018 HILDON2_CFLAGS
2019 C compiler flags for HILDON2, overriding pkg-config
2020 HILDON2_LIBS
2021 linker flags for HILDON2, overriding pkg-config
2022 CAIRO_CFLAGS
2023 C compiler flags for CAIRO, overriding pkg-config
2024 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2025 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2026 GST_LIBS linker flags for GST, overriding pkg-config
2027
2028 Use these variables to override the choices made by `configure' or to help
2029 it to find libraries and programs with nonstandard names/locations.
2030
2031 Report bugs to <wx-dev@lists.wxwidgets.org>.
2032 _ACEOF
2033 ac_status=$?
2034 fi
2035
2036 if test "$ac_init_help" = "recursive"; then
2037 # If there are subdirs, report their specific --help.
2038 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2039 test -d "$ac_dir" || continue
2040 ac_builddir=.
2041
2042 case "$ac_dir" in
2043 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2044 *)
2045 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2046 # A ".." for each directory in $ac_dir_suffix.
2047 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2048 case $ac_top_builddir_sub in
2049 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2050 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2051 esac ;;
2052 esac
2053 ac_abs_top_builddir=$ac_pwd
2054 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2055 # for backward compatibility:
2056 ac_top_builddir=$ac_top_build_prefix
2057
2058 case $srcdir in
2059 .) # We are building in place.
2060 ac_srcdir=.
2061 ac_top_srcdir=$ac_top_builddir_sub
2062 ac_abs_top_srcdir=$ac_pwd ;;
2063 [\\/]* | ?:[\\/]* ) # Absolute name.
2064 ac_srcdir=$srcdir$ac_dir_suffix;
2065 ac_top_srcdir=$srcdir
2066 ac_abs_top_srcdir=$srcdir ;;
2067 *) # Relative name.
2068 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2069 ac_top_srcdir=$ac_top_build_prefix$srcdir
2070 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2071 esac
2072 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2073
2074 cd "$ac_dir" || { ac_status=$?; continue; }
2075 # Check for guested configure.
2076 if test -f "$ac_srcdir/configure.gnu"; then
2077 echo &&
2078 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2079 elif test -f "$ac_srcdir/configure"; then
2080 echo &&
2081 $SHELL "$ac_srcdir/configure" --help=recursive
2082 else
2083 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2084 fi || ac_status=$?
2085 cd "$ac_pwd" || { ac_status=$?; break; }
2086 done
2087 fi
2088
2089 test -n "$ac_init_help" && exit $ac_status
2090 if $ac_init_version; then
2091 cat <<\_ACEOF
2092 wxWidgets configure 2.9.2
2093 generated by GNU Autoconf 2.61
2094
2095 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2096 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2097 This configure script is free software; the Free Software Foundation
2098 gives unlimited permission to copy, distribute and modify it.
2099 _ACEOF
2100 exit
2101 fi
2102 cat >config.log <<_ACEOF
2103 This file contains any messages produced by compilers while
2104 running configure, to aid debugging if configure makes a mistake.
2105
2106 It was created by wxWidgets $as_me 2.9.2, which was
2107 generated by GNU Autoconf 2.61. Invocation command line was
2108
2109 $ $0 $@
2110
2111 _ACEOF
2112 exec 5>>config.log
2113 {
2114 cat <<_ASUNAME
2115 ## --------- ##
2116 ## Platform. ##
2117 ## --------- ##
2118
2119 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2120 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2121 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2122 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2123 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2124
2125 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2126 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2127
2128 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2129 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2130 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2131 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2132 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2133 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2134 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2135
2136 _ASUNAME
2137
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2140 do
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 echo "PATH: $as_dir"
2144 done
2145 IFS=$as_save_IFS
2146
2147 } >&5
2148
2149 cat >&5 <<_ACEOF
2150
2151
2152 ## ----------- ##
2153 ## Core tests. ##
2154 ## ----------- ##
2155
2156 _ACEOF
2157
2158
2159 # Keep a trace of the command line.
2160 # Strip out --no-create and --no-recursion so they do not pile up.
2161 # Strip out --silent because we don't want to record it for future runs.
2162 # Also quote any args containing shell meta-characters.
2163 # Make two passes to allow for proper duplicate-argument suppression.
2164 ac_configure_args=
2165 ac_configure_args0=
2166 ac_configure_args1=
2167 ac_must_keep_next=false
2168 for ac_pass in 1 2
2169 do
2170 for ac_arg
2171 do
2172 case $ac_arg in
2173 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2175 | -silent | --silent | --silen | --sile | --sil)
2176 continue ;;
2177 *\'*)
2178 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2179 esac
2180 case $ac_pass in
2181 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2182 2)
2183 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2184 if test $ac_must_keep_next = true; then
2185 ac_must_keep_next=false # Got value, back to normal.
2186 else
2187 case $ac_arg in
2188 *=* | --config-cache | -C | -disable-* | --disable-* \
2189 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2190 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2191 | -with-* | --with-* | -without-* | --without-* | --x)
2192 case "$ac_configure_args0 " in
2193 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2194 esac
2195 ;;
2196 -* ) ac_must_keep_next=true ;;
2197 esac
2198 fi
2199 ac_configure_args="$ac_configure_args '$ac_arg'"
2200 ;;
2201 esac
2202 done
2203 done
2204 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2205 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2206
2207 # When interrupted or exit'd, cleanup temporary files, and complete
2208 # config.log. We remove comments because anyway the quotes in there
2209 # would cause problems or look ugly.
2210 # WARNING: Use '\'' to represent an apostrophe within the trap.
2211 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2212 trap 'exit_status=$?
2213 # Save into config.log some information that might help in debugging.
2214 {
2215 echo
2216
2217 cat <<\_ASBOX
2218 ## ---------------- ##
2219 ## Cache variables. ##
2220 ## ---------------- ##
2221 _ASBOX
2222 echo
2223 # The following way of writing the cache mishandles newlines in values,
2224 (
2225 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2226 eval ac_val=\$$ac_var
2227 case $ac_val in #(
2228 *${as_nl}*)
2229 case $ac_var in #(
2230 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2231 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2232 esac
2233 case $ac_var in #(
2234 _ | IFS | as_nl) ;; #(
2235 *) $as_unset $ac_var ;;
2236 esac ;;
2237 esac
2238 done
2239 (set) 2>&1 |
2240 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2241 *${as_nl}ac_space=\ *)
2242 sed -n \
2243 "s/'\''/'\''\\\\'\'''\''/g;
2244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2245 ;; #(
2246 *)
2247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2248 ;;
2249 esac |
2250 sort
2251 )
2252 echo
2253
2254 cat <<\_ASBOX
2255 ## ----------------- ##
2256 ## Output variables. ##
2257 ## ----------------- ##
2258 _ASBOX
2259 echo
2260 for ac_var in $ac_subst_vars
2261 do
2262 eval ac_val=\$$ac_var
2263 case $ac_val in
2264 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 esac
2266 echo "$ac_var='\''$ac_val'\''"
2267 done | sort
2268 echo
2269
2270 if test -n "$ac_subst_files"; then
2271 cat <<\_ASBOX
2272 ## ------------------- ##
2273 ## File substitutions. ##
2274 ## ------------------- ##
2275 _ASBOX
2276 echo
2277 for ac_var in $ac_subst_files
2278 do
2279 eval ac_val=\$$ac_var
2280 case $ac_val in
2281 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 esac
2283 echo "$ac_var='\''$ac_val'\''"
2284 done | sort
2285 echo
2286 fi
2287
2288 if test -s confdefs.h; then
2289 cat <<\_ASBOX
2290 ## ----------- ##
2291 ## confdefs.h. ##
2292 ## ----------- ##
2293 _ASBOX
2294 echo
2295 cat confdefs.h
2296 echo
2297 fi
2298 test "$ac_signal" != 0 &&
2299 echo "$as_me: caught signal $ac_signal"
2300 echo "$as_me: exit $exit_status"
2301 } >&5
2302 rm -f core *.core core.conftest.* &&
2303 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2304 exit $exit_status
2305 ' 0
2306 for ac_signal in 1 2 13 15; do
2307 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2308 done
2309 ac_signal=0
2310
2311 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2312 rm -f -r conftest* confdefs.h
2313
2314 # Predefined preprocessor variables.
2315
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_NAME "$PACKAGE_NAME"
2318 _ACEOF
2319
2320
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2323 _ACEOF
2324
2325
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2328 _ACEOF
2329
2330
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_STRING "$PACKAGE_STRING"
2333 _ACEOF
2334
2335
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2338 _ACEOF
2339
2340
2341 # Let the site file select an alternate cache file if it wants to.
2342 # Prefer explicitly selected file to automatically selected ones.
2343 if test -n "$CONFIG_SITE"; then
2344 set x "$CONFIG_SITE"
2345 elif test "x$prefix" != xNONE; then
2346 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2347 else
2348 set x "$ac_default_prefix/share/config.site" \
2349 "$ac_default_prefix/etc/config.site"
2350 fi
2351 shift
2352 for ac_site_file
2353 do
2354 if test -r "$ac_site_file"; then
2355 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2356 echo "$as_me: loading site script $ac_site_file" >&6;}
2357 sed 's/^/| /' "$ac_site_file" >&5
2358 . "$ac_site_file"
2359 fi
2360 done
2361
2362 if test -r "$cache_file"; then
2363 # Some versions of bash will fail to source /dev/null (special
2364 # files actually), so we avoid doing that.
2365 if test -f "$cache_file"; then
2366 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2367 echo "$as_me: loading cache $cache_file" >&6;}
2368 case $cache_file in
2369 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2370 *) . "./$cache_file";;
2371 esac
2372 fi
2373 else
2374 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2375 echo "$as_me: creating cache $cache_file" >&6;}
2376 >$cache_file
2377 fi
2378
2379 # Check that the precious variables saved in the cache have kept the same
2380 # value.
2381 ac_cache_corrupted=false
2382 for ac_var in $ac_precious_vars; do
2383 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2384 eval ac_new_set=\$ac_env_${ac_var}_set
2385 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2386 eval ac_new_val=\$ac_env_${ac_var}_value
2387 case $ac_old_set,$ac_new_set in
2388 set,)
2389 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2390 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2391 ac_cache_corrupted=: ;;
2392 ,set)
2393 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2394 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2395 ac_cache_corrupted=: ;;
2396 ,);;
2397 *)
2398 if test "x$ac_old_val" != "x$ac_new_val"; then
2399 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2400 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2401 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2402 echo "$as_me: former value: $ac_old_val" >&2;}
2403 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2404 echo "$as_me: current value: $ac_new_val" >&2;}
2405 ac_cache_corrupted=:
2406 fi;;
2407 esac
2408 # Pass precious variables to config.status.
2409 if test "$ac_new_set" = set; then
2410 case $ac_new_val in
2411 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2412 *) ac_arg=$ac_var=$ac_new_val ;;
2413 esac
2414 case " $ac_configure_args " in
2415 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2416 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2417 esac
2418 fi
2419 done
2420 if $ac_cache_corrupted; then
2421 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2422 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2423 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2424 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2425 { (exit 1); exit 1; }; }
2426 fi
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
2452 ac_ext=c
2453 ac_cpp='$CPP $CPPFLAGS'
2454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2457
2458
2459
2460
2461
2462 ac_aux_dir=
2463 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2464 if test -f "$ac_dir/install-sh"; then
2465 ac_aux_dir=$ac_dir
2466 ac_install_sh="$ac_aux_dir/install-sh -c"
2467 break
2468 elif test -f "$ac_dir/install.sh"; then
2469 ac_aux_dir=$ac_dir
2470 ac_install_sh="$ac_aux_dir/install.sh -c"
2471 break
2472 elif test -f "$ac_dir/shtool"; then
2473 ac_aux_dir=$ac_dir
2474 ac_install_sh="$ac_aux_dir/shtool install -c"
2475 break
2476 fi
2477 done
2478 if test -z "$ac_aux_dir"; then
2479 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2480 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2481 { (exit 1); exit 1; }; }
2482 fi
2483
2484 # These three variables are undocumented and unsupported,
2485 # and are intended to be withdrawn in a future Autoconf release.
2486 # They can cause serious problems if a builder's source tree is in a directory
2487 # whose full name contains unusual characters.
2488 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2489 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2490 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2491
2492
2493 # Make sure we can run config.sub.
2494 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2495 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2496 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2497 { (exit 1); exit 1; }; }
2498
2499 { echo "$as_me:$LINENO: checking build system type" >&5
2500 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_build+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504 ac_build_alias=$build_alias
2505 test "x$ac_build_alias" = x &&
2506 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2507 test "x$ac_build_alias" = x &&
2508 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2509 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2510 { (exit 1); exit 1; }; }
2511 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2518 echo "${ECHO_T}$ac_cv_build" >&6; }
2519 case $ac_cv_build in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2522 echo "$as_me: error: invalid value of canonical build" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 build=$ac_cv_build
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_build
2528 shift
2529 build_cpu=$1
2530 build_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 build_os=$*
2535 IFS=$ac_save_IFS
2536 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2537
2538
2539 { echo "$as_me:$LINENO: checking host system type" >&5
2540 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2541 if test "${ac_cv_host+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544 if test "x$host_alias" = x; then
2545 ac_cv_host=$ac_cv_build
2546 else
2547 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2548 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2549 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2550 { (exit 1); exit 1; }; }
2551 fi
2552
2553 fi
2554 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2555 echo "${ECHO_T}$ac_cv_host" >&6; }
2556 case $ac_cv_host in
2557 *-*-*) ;;
2558 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2559 echo "$as_me: error: invalid value of canonical host" >&2;}
2560 { (exit 1); exit 1; }; };;
2561 esac
2562 host=$ac_cv_host
2563 ac_save_IFS=$IFS; IFS='-'
2564 set x $ac_cv_host
2565 shift
2566 host_cpu=$1
2567 host_vendor=$2
2568 shift; shift
2569 # Remember, the first character of IFS is used to create $*,
2570 # except with old shells:
2571 host_os=$*
2572 IFS=$ac_save_IFS
2573 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2574
2575
2576
2577 if test "$cross_compiling" != "no"; then
2578 HOST_PREFIX="${host_alias}-"
2579 HOST_SUFFIX="-$host_alias"
2580 else
2581 HOST_PREFIX=
2582 HOST_SUFFIX=
2583 fi
2584
2585
2586 wx_major_version_number=2
2587 wx_minor_version_number=9
2588 wx_release_number=2
2589 wx_subrelease_number=0
2590
2591 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2592 WX_VERSION=$WX_RELEASE.$wx_release_number
2593 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2594
2595 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2596
2597
2598 wx_top_builddir="`pwd`"
2599
2600
2601
2602
2603 USE_UNIX=1
2604 USE_OS2=0
2605 USE_WIN32=0
2606 USE_DOS=0
2607 USE_BEOS=0
2608 USE_MAC=0
2609
2610 USE_AIX=
2611 USE_BSD= USE_DARWIN= USE_FREEBSD=
2612 USE_GNU= USE_HPUX=
2613 USE_LINUX=
2614 USE_NETBSD=
2615 USE_OPENBSD=
2616 USE_OSF= USE_SGI=
2617 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2618 USE_ULTRIX=
2619 USE_UNIXWARE=
2620
2621 USE_ALPHA=
2622
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2624
2625 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2626
2627 DEFAULT_wxUSE_OLD_COCOA=0
2628 DEFAULT_wxUSE_GTK=0
2629 DEFAULT_wxUSE_OSX_CARBON=0
2630 DEFAULT_wxUSE_OSX_COCOA=0
2631 DEFAULT_wxUSE_OSX_IPHONE=0
2632 DEFAULT_wxUSE_MGL=0
2633 DEFAULT_wxUSE_MICROWIN=0
2634 DEFAULT_wxUSE_MOTIF=0
2635 DEFAULT_wxUSE_MSW=0
2636 DEFAULT_wxUSE_PM=0
2637 DEFAULT_wxUSE_X11=0
2638 DEFAULT_wxUSE_DFB=0
2639
2640 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2641 DEFAULT_DEFAULT_wxUSE_GTK=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2644 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2645 DEFAULT_DEFAULT_wxUSE_MGL=0
2646 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2647 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2648 DEFAULT_DEFAULT_wxUSE_MSW=0
2649 DEFAULT_DEFAULT_wxUSE_PM=0
2650 DEFAULT_DEFAULT_wxUSE_X11=0
2651 DEFAULT_DEFAULT_wxUSE_DFB=0
2652
2653 PROGRAM_EXT=
2654 SAMPLES_RPATH_FLAG=
2655 DYLIB_RPATH_INSTALL=
2656 DYLIB_RPATH_POSTLINK=
2657
2658 DEFAULT_STD_FLAG=yes
2659
2660 case "${host}" in
2661 *-hp-hpux* )
2662 USE_HPUX=1
2663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2664 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __HPUX__ 1
2667 _ACEOF
2668
2669
2670 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2671 ;;
2672 *-*-linux* )
2673 USE_LINUX=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __LINUX__ 1
2676 _ACEOF
2677
2678 TMP=`uname -m`
2679 if test "x$TMP" = "xalpha"; then
2680 USE_ALPHA=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __ALPHA__ 1
2683 _ACEOF
2684
2685 fi
2686 DEFAULT_DEFAULT_wxUSE_GTK=1
2687 ;;
2688 *-*-gnu* | *-*-k*bsd*-gnu )
2689 USE_GNU=1
2690 TMP=`uname -m`
2691 if test "x$TMP" = "xalpha"; then
2692 USE_ALPHA=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __ALPHA__ 1
2695 _ACEOF
2696
2697 fi
2698 DEFAULT_DEFAULT_wxUSE_GTK=1
2699 ;;
2700 *-*-irix5* | *-*-irix6* )
2701 USE_SGI=1
2702 USE_SVR4=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __SGI__ 1
2705 _ACEOF
2706
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __SVR4__ 1
2709 _ACEOF
2710
2711 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2712 ;;
2713 *-*-qnx*)
2714 USE_QNX=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __QNX__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_X11=1
2720 ;;
2721 *-*-solaris2* )
2722 USE_SUN=1
2723 USE_SOLARIS=1
2724 USE_SVR4=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __SUN__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __SOLARIS__ 1
2731 _ACEOF
2732
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __SVR4__ 1
2735 _ACEOF
2736
2737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2739 ;;
2740 *-*-sunos4* )
2741 USE_SUN=1
2742 USE_SUNOS=1
2743 USE_BSD=1
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __SUN__ 1
2746 _ACEOF
2747
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __SUNOS__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __BSD__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 ;;
2758 *-*-freebsd*)
2759 USE_BSD=1
2760 USE_FREEBSD=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __FREEBSD__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __BSD__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_GTK=1
2770 ;;
2771 *-*-openbsd*|*-*-mirbsd*)
2772 USE_BSD=1
2773 USE_OPENBSD=1
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __OPENBSD__ 1
2776 _ACEOF
2777
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __BSD__ 1
2780 _ACEOF
2781
2782 DEFAULT_DEFAULT_wxUSE_GTK=1
2783 ;;
2784 *-*-netbsd*)
2785 USE_BSD=1
2786 USE_NETBSD=1
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __NETBSD__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __BSD__ 1
2793 _ACEOF
2794
2795 DEFAULT_DEFAULT_wxUSE_GTK=1
2796 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2797
2798 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2799 ;;
2800 *-*-osf* )
2801 USE_ALPHA=1
2802 USE_OSF=1
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __ALPHA__ 1
2805 _ACEOF
2806
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __OSF__ 1
2809 _ACEOF
2810
2811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2813 ;;
2814 *-*-dgux5* )
2815 USE_ALPHA=1
2816 USE_SVR4=1
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __ALPHA__ 1
2819 _ACEOF
2820
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __SVR4__ 1
2823 _ACEOF
2824
2825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2826 ;;
2827 *-*-sysv5* )
2828 USE_SYSV=1
2829 USE_SVR4=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __SYSV__ 1
2832 _ACEOF
2833
2834 cat >>confdefs.h <<\_ACEOF
2835 #define __SVR4__ 1
2836 _ACEOF
2837
2838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2839 ;;
2840 *-*-aix* )
2841 USE_AIX=1
2842 USE_SYSV=1
2843 USE_SVR4=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __AIX__ 1
2846 _ACEOF
2847
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __SYSV__ 1
2850 _ACEOF
2851
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __SVR4__ 1
2854 _ACEOF
2855
2856 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2857 ;;
2858
2859 *-*-*UnixWare*)
2860 USE_SYSV=1
2861 USE_SVR4=1
2862 USE_UNIXWARE=1
2863 cat >>confdefs.h <<\_ACEOF
2864 #define __UNIXWARE__ 1
2865 _ACEOF
2866
2867 ;;
2868
2869 *-*-cygwin* | *-*-mingw32* )
2870 PROGRAM_EXT=".exe"
2871 DEFAULT_DEFAULT_wxUSE_MSW=1
2872 ;;
2873
2874 *-pc-msdosdjgpp )
2875 USE_UNIX=0
2876 USE_DOS=1
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __DOS__ 1
2879 _ACEOF
2880
2881 PROGRAM_EXT=".exe"
2882 DEFAULT_DEFAULT_wxUSE_MGL=1
2883 ;;
2884
2885 *-pc-os2_emx | *-pc-os2-emx )
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __EMX__ 1
2888 _ACEOF
2889
2890 USE_OS2=1
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __OS2__ 1
2893 _ACEOF
2894
2895 PROGRAM_EXT=".exe"
2896 DEFAULT_DEFAULT_wxUSE_PM=1
2897 CXX=gcc
2898 LDFLAGS="$LDFLAGS -Zcrtdll"
2899 ac_executable_extensions=".exe"
2900 export ac_executable_extensions
2901 ac_save_IFS="$IFS"
2902 IFS='\\'
2903 ac_TEMP_PATH=
2904 for ac_dir in $PATH; do
2905 IFS=$ac_save_IFS
2906 if test -z "$ac_TEMP_PATH"; then
2907 ac_TEMP_PATH="$ac_dir"
2908 else
2909 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2910 fi
2911 done
2912 export PATH="$ac_TEMP_PATH"
2913 unset ac_TEMP_PATH
2914 DEFAULT_STD_FLAG=no
2915 ;;
2916
2917 arm-apple-darwin*)
2918 USE_BSD=1
2919 USE_DARWIN=1
2920 cat >>confdefs.h <<\_ACEOF
2921 #define __BSD__ 1
2922 _ACEOF
2923
2924 cat >>confdefs.h <<\_ACEOF
2925 #define __DARWIN__ 1
2926 _ACEOF
2927
2928 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2929 ;;
2930
2931 *-*-darwin* )
2932 USE_BSD=1
2933 USE_DARWIN=1
2934 cat >>confdefs.h <<\_ACEOF
2935 #define __BSD__ 1
2936 _ACEOF
2937
2938 cat >>confdefs.h <<\_ACEOF
2939 #define __DARWIN__ 1
2940 _ACEOF
2941
2942 cat >>confdefs.h <<\_ACEOF
2943 #define TARGET_CARBON 1
2944 _ACEOF
2945
2946 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2947 ;;
2948
2949 *-*-beos* )
2950 USE_BEOS=1
2951 cat >>confdefs.h <<\_ACEOF
2952 #define __BEOS__ 1
2953 _ACEOF
2954
2955 ;;
2956
2957 *)
2958 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2959 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2960 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2961 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2962
2963 DEFAULT_DEFAULT_wxUSE_X11=1
2964 DEFAULT_wxUSE_SHARED=no
2965 esac
2966
2967
2968
2969 DEFAULT_wxUSE_ALL_FEATURES=yes
2970
2971 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2972 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2973
2974 DEFAULT_wxUSE_DMALLOC=no
2975 DEFAULT_wxUSE_LIBGNOMEVFS=no
2976 DEFAULT_wxUSE_LIBHILDON=no
2977 DEFAULT_wxUSE_LIBHILDON2=no
2978 DEFAULT_wxUSE_LIBMSPACK=no
2979 DEFAULT_wxUSE_LIBSDL=no
2980
2981 DEFAULT_wxUSE_ACCESSIBILITY=no
2982 DEFAULT_wxUSE_IPV6=no
2983 DEFAULT_wxUSE_GSTREAMER8=no
2984
2985 DEFAULT_wxUSE_UNICODE_UTF8=auto
2986 DEFAULT_wxUSE_OPENGL=auto
2987 DEFAULT_wxUSE_MEDIACTRL=auto
2988 DEFAULT_wxUSE_COMPILER_TLS=auto
2989
2990 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2991
2992 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2993 DEFAULT_wxUSE_MAC_ARCH=no
2994
2995 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2996
2997 DEFAULT_wxUSE_GTK2=yes
2998
2999 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3000
3001
3002
3003
3004
3005 enablestring=disable
3006 defaultval=
3007 if test -z "$defaultval"; then
3008 if test x"$enablestring" = xdisable; then
3009 defaultval=yes
3010 else
3011 defaultval=no
3012 fi
3013 fi
3014
3015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3016 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3017 # Check whether --enable-gui was given.
3018 if test "${enable_gui+set}" = set; then
3019 enableval=$enable_gui;
3020 if test "$enableval" = yes; then
3021 wx_cv_use_gui='wxUSE_GUI=yes'
3022 else
3023 wx_cv_use_gui='wxUSE_GUI=no'
3024 fi
3025
3026 else
3027
3028 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3029
3030 fi
3031
3032
3033 eval "$wx_cv_use_gui"
3034
3035 if test x"$enablestring" = xdisable; then
3036 if test $wxUSE_GUI = no; then
3037 result=yes
3038 else
3039 result=no
3040 fi
3041 else
3042 result=$wxUSE_GUI
3043 fi
3044
3045 { echo "$as_me:$LINENO: result: $result" >&5
3046 echo "${ECHO_T}$result" >&6; }
3047
3048
3049 enablestring=
3050 defaultval=
3051 if test -z "$defaultval"; then
3052 if test x"$enablestring" = xdisable; then
3053 defaultval=yes
3054 else
3055 defaultval=no
3056 fi
3057 fi
3058
3059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3060 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3061 # Check whether --enable-monolithic was given.
3062 if test "${enable_monolithic+set}" = set; then
3063 enableval=$enable_monolithic;
3064 if test "$enableval" = yes; then
3065 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3066 else
3067 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3068 fi
3069
3070 else
3071
3072 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3073
3074 fi
3075
3076
3077 eval "$wx_cv_use_monolithic"
3078
3079 if test x"$enablestring" = xdisable; then
3080 if test $wxUSE_MONOLITHIC = no; then
3081 result=yes
3082 else
3083 result=no
3084 fi
3085 else
3086 result=$wxUSE_MONOLITHIC
3087 fi
3088
3089 { echo "$as_me:$LINENO: result: $result" >&5
3090 echo "${ECHO_T}$result" >&6; }
3091
3092
3093 enablestring=
3094 defaultval=
3095 if test -z "$defaultval"; then
3096 if test x"$enablestring" = xdisable; then
3097 defaultval=yes
3098 else
3099 defaultval=no
3100 fi
3101 fi
3102
3103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3104 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3105 # Check whether --enable-plugins was given.
3106 if test "${enable_plugins+set}" = set; then
3107 enableval=$enable_plugins;
3108 if test "$enableval" = yes; then
3109 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3110 else
3111 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3112 fi
3113
3114 else
3115
3116 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3117
3118 fi
3119
3120
3121 eval "$wx_cv_use_plugins"
3122
3123 if test x"$enablestring" = xdisable; then
3124 if test $wxUSE_PLUGINS = no; then
3125 result=yes
3126 else
3127 result=no
3128 fi
3129 else
3130 result=$wxUSE_PLUGINS
3131 fi
3132
3133 { echo "$as_me:$LINENO: result: $result" >&5
3134 echo "${ECHO_T}$result" >&6; }
3135
3136
3137 withstring=without
3138 defaultval=$wxUSE_ALL_FEATURES
3139 if test -z "$defaultval"; then
3140 if test x"$withstring" = xwithout; then
3141 defaultval=yes
3142 else
3143 defaultval=no
3144 fi
3145 fi
3146 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3147 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3148
3149 # Check whether --with-subdirs was given.
3150 if test "${with_subdirs+set}" = set; then
3151 withval=$with_subdirs;
3152 if test "$withval" = yes; then
3153 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3154 else
3155 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3156 fi
3157
3158 else
3159
3160 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3161
3162 fi
3163
3164
3165 eval "$wx_cv_use_subdirs"
3166
3167 if test x"$withstring" = xwithout; then
3168 if test $wxWITH_SUBDIRS = yes; then
3169 result=no
3170 else
3171 result=yes
3172 fi
3173 else
3174 result=$wxWITH_SUBDIRS
3175 fi
3176
3177 { echo "$as_me:$LINENO: result: $result" >&5
3178 echo "${ECHO_T}$result" >&6; }
3179
3180
3181 # Check whether --with-flavour was given.
3182 if test "${with_flavour+set}" = set; then
3183 withval=$with_flavour; WX_FLAVOUR="$withval"
3184 fi
3185
3186
3187 enablestring=
3188 defaultval=
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3191 defaultval=yes
3192 else
3193 defaultval=no
3194 fi
3195 fi
3196
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3199 # Check whether --enable-official_build was given.
3200 if test "${enable_official_build+set}" = set; then
3201 enableval=$enable_official_build;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3204 else
3205 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3206 fi
3207
3208 else
3209
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3211
3212 fi
3213
3214
3215 eval "$wx_cv_use_official_build"
3216
3217 if test x"$enablestring" = xdisable; then
3218 if test $wxUSE_OFFICIAL_BUILD = no; then
3219 result=yes
3220 else
3221 result=no
3222 fi
3223 else
3224 result=$wxUSE_OFFICIAL_BUILD
3225 fi
3226
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3229
3230 # Check whether --enable-vendor was given.
3231 if test "${enable_vendor+set}" = set; then
3232 enableval=$enable_vendor; VENDOR="$enableval"
3233 fi
3234
3235 if test "x$VENDOR" = "x"; then
3236 VENDOR="custom"
3237 fi
3238
3239
3240 enablestring=disable
3241 defaultval=
3242 if test -z "$defaultval"; then
3243 if test x"$enablestring" = xdisable; then
3244 defaultval=yes
3245 else
3246 defaultval=no
3247 fi
3248 fi
3249
3250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3251 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3252 # Check whether --enable-all-features was given.
3253 if test "${enable_all_features+set}" = set; then
3254 enableval=$enable_all_features;
3255 if test "$enableval" = yes; then
3256 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3257 else
3258 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3259 fi
3260
3261 else
3262
3263 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3264
3265 fi
3266
3267
3268 eval "$wx_cv_use_all_features"
3269
3270 if test x"$enablestring" = xdisable; then
3271 if test $wxUSE_ALL_FEATURES = no; then
3272 result=yes
3273 else
3274 result=no
3275 fi
3276 else
3277 result=$wxUSE_ALL_FEATURES
3278 fi
3279
3280 { echo "$as_me:$LINENO: result: $result" >&5
3281 echo "${ECHO_T}$result" >&6; }
3282
3283
3284 if test "$wxUSE_ALL_FEATURES" = "no"; then
3285 DEFAULT_wxUSE_MEDIACTRL=no
3286 fi
3287
3288
3289 if test "$wxUSE_GUI" = "yes"; then
3290
3291
3292 enablestring=
3293 defaultval=
3294 if test -z "$defaultval"; then
3295 if test x"$enablestring" = xdisable; then
3296 defaultval=yes
3297 else
3298 defaultval=no
3299 fi
3300 fi
3301
3302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3303 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3304 # Check whether --enable-universal was given.
3305 if test "${enable_universal+set}" = set; then
3306 enableval=$enable_universal;
3307 if test "$enableval" = yes; then
3308 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3309 else
3310 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3311 fi
3312
3313 else
3314
3315 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3316
3317 fi
3318
3319
3320 eval "$wx_cv_use_universal"
3321
3322 if test x"$enablestring" = xdisable; then
3323 if test $wxUSE_UNIVERSAL = no; then
3324 result=yes
3325 else
3326 result=no
3327 fi
3328 else
3329 result=$wxUSE_UNIVERSAL
3330 fi
3331
3332 { echo "$as_me:$LINENO: result: $result" >&5
3333 echo "${ECHO_T}$result" >&6; }
3334
3335 if test "$wxUSE_UNIVERSAL" = "yes"; then
3336
3337 # Check whether --with-themes was given.
3338 if test "${with_themes+set}" = set; then
3339 withval=$with_themes; wxUNIV_THEMES="$withval"
3340 fi
3341
3342 fi
3343
3344
3345 # Check whether --with-gtk was given.
3346 if test "${with_gtk+set}" = set; then
3347 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3348 fi
3349
3350
3351 # Check whether --with-motif was given.
3352 if test "${with_motif+set}" = set; then
3353 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3354 fi
3355
3356
3357 # Check whether --with-osx_carbon was given.
3358 if test "${with_osx_carbon+set}" = set; then
3359 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3360 fi
3361
3362
3363 # Check whether --with-osx_cocoa was given.
3364 if test "${with_osx_cocoa+set}" = set; then
3365 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3366 fi
3367
3368
3369 # Check whether --with-osx_iphone was given.
3370 if test "${with_osx_iphone+set}" = set; then
3371 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3372 fi
3373
3374
3375 # Check whether --with-osx was given.
3376 if test "${with_osx+set}" = set; then
3377 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3378 fi
3379
3380
3381 # Check whether --with-carbon was given.
3382 if test "${with_carbon+set}" = set; then
3383 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3384 fi
3385
3386
3387 # Check whether --with-cocoa was given.
3388 if test "${with_cocoa+set}" = set; then
3389 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3390 fi
3391
3392
3393 # Check whether --with-iphone was given.
3394 if test "${with_iphone+set}" = set; then
3395 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3396 fi
3397
3398
3399 # Check whether --with-mac was given.
3400 if test "${with_mac+set}" = set; then
3401 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3402 fi
3403
3404
3405 # Check whether --with-old_cocoa was given.
3406 if test "${with_old_cocoa+set}" = set; then
3407 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3408 fi
3409
3410
3411 # Check whether --with-wine was given.
3412 if test "${with_wine+set}" = set; then
3413 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3414 fi
3415
3416
3417 # Check whether --with-msw was given.
3418 if test "${with_msw+set}" = set; then
3419 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3420 fi
3421
3422
3423 # Check whether --with-pm was given.
3424 if test "${with_pm+set}" = set; then
3425 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3426 fi
3427
3428
3429 # Check whether --with-mgl was given.
3430 if test "${with_mgl+set}" = set; then
3431 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3432 fi
3433
3434
3435 # Check whether --with-directfb was given.
3436 if test "${with_directfb+set}" = set; then
3437 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3438 fi
3439
3440
3441 # Check whether --with-microwin was given.
3442 if test "${with_microwin+set}" = set; then
3443 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3444 fi
3445
3446
3447 # Check whether --with-x11 was given.
3448 if test "${with_x11+set}" = set; then
3449 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3450 fi
3451
3452
3453 enablestring=
3454 defaultval=
3455 if test -z "$defaultval"; then
3456 if test x"$enablestring" = xdisable; then
3457 defaultval=yes
3458 else
3459 defaultval=no
3460 fi
3461 fi
3462
3463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3465 # Check whether --enable-nanox was given.
3466 if test "${enable_nanox+set}" = set; then
3467 enableval=$enable_nanox;
3468 if test "$enableval" = yes; then
3469 wx_cv_use_nanox='wxUSE_NANOX=yes'
3470 else
3471 wx_cv_use_nanox='wxUSE_NANOX=no'
3472 fi
3473
3474 else
3475
3476 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3477
3478 fi
3479
3480
3481 eval "$wx_cv_use_nanox"
3482
3483 if test x"$enablestring" = xdisable; then
3484 if test $wxUSE_NANOX = no; then
3485 result=yes
3486 else
3487 result=no
3488 fi
3489 else
3490 result=$wxUSE_NANOX
3491 fi
3492
3493 { echo "$as_me:$LINENO: result: $result" >&5
3494 echo "${ECHO_T}$result" >&6; }
3495
3496
3497 # Check whether --enable-gtk2 was given.
3498 if test "${enable_gtk2+set}" = set; then
3499 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3500 fi
3501
3502
3503 enablestring=
3504 defaultval=
3505 if test -z "$defaultval"; then
3506 if test x"$enablestring" = xdisable; then
3507 defaultval=yes
3508 else
3509 defaultval=no
3510 fi
3511 fi
3512
3513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3514 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3515 # Check whether --enable-gpe was given.
3516 if test "${enable_gpe+set}" = set; then
3517 enableval=$enable_gpe;
3518 if test "$enableval" = yes; then
3519 wx_cv_use_gpe='wxUSE_GPE=yes'
3520 else
3521 wx_cv_use_gpe='wxUSE_GPE=no'
3522 fi
3523
3524 else
3525
3526 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3527
3528 fi
3529
3530
3531 eval "$wx_cv_use_gpe"
3532
3533 if test x"$enablestring" = xdisable; then
3534 if test $wxUSE_GPE = no; then
3535 result=yes
3536 else
3537 result=no
3538 fi
3539 else
3540 result=$wxUSE_GPE
3541 fi
3542
3543 { echo "$as_me:$LINENO: result: $result" >&5
3544 echo "${ECHO_T}$result" >&6; }
3545
3546
3547
3548 { echo "$as_me:$LINENO: checking for toolkit" >&5
3549 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3550
3551
3552
3553 # In Wine, we need to default to MSW, not GTK or MOTIF
3554 if test "$wxUSE_WINE" = "yes"; then
3555 DEFAULT_DEFAULT_wxUSE_GTK=0
3556 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3557 DEFAULT_DEFAULT_wxUSE_MSW=1
3558 wxUSE_SHARED=no
3559 CC=${CC:-winegcc}
3560 CXX=${CXX:-wineg++}
3561 fi
3562
3563
3564 if test "$wxUSE_GUI" = "yes"; then
3565
3566 if test "$USE_BEOS" = 1; then
3567 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3568 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3569 { (exit 1); exit 1; }; }
3570 fi
3571
3572 if test "$TOOLKIT_GIVEN" = 1; then
3573 for toolkit in $ALL_TOOLKITS; do
3574 var=wxUSE_$toolkit
3575 eval "value=\$${var}"
3576 if test "x$value" = "xno"; then
3577 eval "$var=0"
3578 elif test "x$value" != "x"; then
3579 eval "$var=1"
3580 fi
3581
3582 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3583 eval "wx${toolkit}_VERSION=$value"
3584 fi
3585 done
3586 else
3587 for toolkit in $ALL_TOOLKITS; do
3588 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3589 eval "wxUSE_$toolkit=\$${var}"
3590 done
3591 fi
3592
3593 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3594 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3595 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3596
3597 case "${host}" in
3598 *-pc-os2_emx | *-pc-os2-emx )
3599 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3600 esac
3601
3602 case "$NUM_TOOLKITS" in
3603 1)
3604 ;;
3605 0)
3606 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3607 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3608 { (exit 1); exit 1; }; }
3609 ;;
3610 *)
3611 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3612 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3613 { (exit 1); exit 1; }; }
3614 esac
3615
3616 # to be removed when --disable-gtk2 isn't needed
3617 if test "x$wxUSE_GTK2" = "xyes"; then
3618 wxGTK_VERSION=2
3619 wxUSE_GTK1=0
3620 elif test "x$wxUSE_GTK2" = "xno"; then
3621 wxGTK_VERSION=1
3622 wxUSE_GTK1=1
3623 fi
3624
3625 for toolkit in $ALL_TOOLKITS; do
3626 var=wxUSE_$toolkit
3627 eval "value=\$${var}"
3628 if test "$value" = 1; then
3629 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3630 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3631 echo "${ECHO_T}$toolkit_echo" >&6; }
3632 fi
3633 done
3634 else
3635 if test "x$host_alias" != "x"; then
3636 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3637 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3638 else
3639 { echo "$as_me:$LINENO: result: base only" >&5
3640 echo "${ECHO_T}base only" >&6; }
3641 fi
3642 fi
3643
3644 wxUSE_MAC=0
3645 if test "$wxUSE_OSX_CARBON" = 1 \
3646 -o "$wxUSE_OSX_COCOA" = 1 \
3647 -o "$wxUSE_OSX_IPHONE" = 1; then
3648 wxUSE_MAC=1
3649 fi
3650
3651
3652
3653 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3654 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3655
3656 # Check whether --with-libpng was given.
3657 if test "${with_libpng+set}" = set; then
3658 withval=$with_libpng;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3667 else
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3671 fi
3672
3673 else
3674
3675 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3676
3677 fi
3678
3679
3680 eval "$wx_cv_use_libpng"
3681
3682 if test "$wxUSE_LIBPNG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBPNG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBPNG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBPNG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700
3701 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3702 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3703
3704 # Check whether --with-libjpeg was given.
3705 if test "${with_libjpeg+set}" = set; then
3706 withval=$with_libjpeg;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3715 else
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3719 fi
3720
3721 else
3722
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3724
3725 fi
3726
3727
3728 eval "$wx_cv_use_libjpeg"
3729
3730 if test "$wxUSE_LIBJPEG" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBJPEG" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBJPEG" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBJPEG" = builtin; then
3740 { echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6; }
3742 else
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3746 fi
3747
3748
3749 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3750 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3751
3752 # Check whether --with-libtiff was given.
3753 if test "${with_libtiff+set}" = set; then
3754 withval=$with_libtiff;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3757 elif test "$withval" = no; then
3758 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3759 elif test "$withval" = sys; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3761 elif test "$withval" = builtin; then
3762 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3763 else
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3767 fi
3768
3769 else
3770
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3772
3773 fi
3774
3775
3776 eval "$wx_cv_use_libtiff"
3777
3778 if test "$wxUSE_LIBTIFF" = yes; then
3779 { echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBTIFF" = no; then
3782 { echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6; }
3784 elif test "$wxUSE_LIBTIFF" = sys; then
3785 { echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6; }
3787 elif test "$wxUSE_LIBTIFF" = builtin; then
3788 { echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6; }
3790 else
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3794 fi
3795
3796
3797 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3798 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3799
3800 # Check whether --with-libxpm was given.
3801 if test "${with_libxpm+set}" = set; then
3802 withval=$with_libxpm;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3805 elif test "$withval" = no; then
3806 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3807 elif test "$withval" = sys; then
3808 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3809 elif test "$withval" = builtin; then
3810 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3811 else
3812 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3813 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3814 { (exit 1); exit 1; }; }
3815 fi
3816
3817 else
3818
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3820
3821 fi
3822
3823
3824 eval "$wx_cv_use_libxpm"
3825
3826 if test "$wxUSE_LIBXPM" = yes; then
3827 { echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6; }
3829 elif test "$wxUSE_LIBXPM" = no; then
3830 { echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6; }
3832 elif test "$wxUSE_LIBXPM" = sys; then
3833 { echo "$as_me:$LINENO: result: system version" >&5
3834 echo "${ECHO_T}system version" >&6; }
3835 elif test "$wxUSE_LIBXPM" = builtin; then
3836 { echo "$as_me:$LINENO: result: builtin version" >&5
3837 echo "${ECHO_T}builtin version" >&6; }
3838 else
3839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3840 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3841 { (exit 1); exit 1; }; }
3842 fi
3843
3844
3845 withstring=
3846 defaultval=$wxUSE_ALL_FEATURES
3847 if test -z "$defaultval"; then
3848 if test x"$withstring" = xwithout; then
3849 defaultval=yes
3850 else
3851 defaultval=no
3852 fi
3853 fi
3854 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3855 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3856
3857 # Check whether --with-libiconv was given.
3858 if test "${with_libiconv+set}" = set; then
3859 withval=$with_libiconv;
3860 if test "$withval" = yes; then
3861 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3862 else
3863 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3864 fi
3865
3866 else
3867
3868 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3869
3870 fi
3871
3872
3873 eval "$wx_cv_use_libiconv"
3874
3875 if test x"$withstring" = xwithout; then
3876 if test $wxUSE_LIBICONV = yes; then
3877 result=no
3878 else
3879 result=yes
3880 fi
3881 else
3882 result=$wxUSE_LIBICONV
3883 fi
3884
3885 { echo "$as_me:$LINENO: result: $result" >&5
3886 echo "${ECHO_T}$result" >&6; }
3887
3888
3889 withstring=
3890 defaultval=$wxUSE_ALL_FEATURES
3891 if test -z "$defaultval"; then
3892 if test x"$withstring" = xwithout; then
3893 defaultval=yes
3894 else
3895 defaultval=no
3896 fi
3897 fi
3898 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3899 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3900
3901 # Check whether --with-libmspack was given.
3902 if test "${with_libmspack+set}" = set; then
3903 withval=$with_libmspack;
3904 if test "$withval" = yes; then
3905 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3906 else
3907 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3908 fi
3909
3910 else
3911
3912 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3913
3914 fi
3915
3916
3917 eval "$wx_cv_use_libmspack"
3918
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBMSPACK = yes; then
3921 result=no
3922 else
3923 result=yes
3924 fi
3925 else
3926 result=$wxUSE_LIBMSPACK
3927 fi
3928
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3931
3932
3933 withstring=without
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3937 defaultval=yes
3938 else
3939 defaultval=no
3940 fi
3941 fi
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3944
3945 # Check whether --with-gtkprint was given.
3946 if test "${with_gtkprint+set}" = set; then
3947 withval=$with_gtkprint;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3950 else
3951 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3952 fi
3953
3954 else
3955
3956 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3957
3958 fi
3959
3960
3961 eval "$wx_cv_use_gtkprint"
3962
3963 if test x"$withstring" = xwithout; then
3964 if test $wxUSE_GTKPRINT = yes; then
3965 result=no
3966 else
3967 result=yes
3968 fi
3969 else
3970 result=$wxUSE_GTKPRINT
3971 fi
3972
3973 { echo "$as_me:$LINENO: result: $result" >&5
3974 echo "${ECHO_T}$result" >&6; }
3975
3976
3977 withstring=without
3978 defaultval=$wxUSE_ALL_FEATURES
3979 if test -z "$defaultval"; then
3980 if test x"$withstring" = xwithout; then
3981 defaultval=yes
3982 else
3983 defaultval=no
3984 fi
3985 fi
3986 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3987 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3988
3989 # Check whether --with-gnomeprint was given.
3990 if test "${with_gnomeprint+set}" = set; then
3991 withval=$with_gnomeprint;
3992 if test "$withval" = yes; then
3993 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3994 else
3995 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3996 fi
3997
3998 else
3999
4000 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4001
4002 fi
4003
4004
4005 eval "$wx_cv_use_gnomeprint"
4006
4007 if test x"$withstring" = xwithout; then
4008 if test $wxUSE_LIBGNOMEPRINT = yes; then
4009 result=no
4010 else
4011 result=yes
4012 fi
4013 else
4014 result=$wxUSE_LIBGNOMEPRINT
4015 fi
4016
4017 { echo "$as_me:$LINENO: result: $result" >&5
4018 echo "${ECHO_T}$result" >&6; }
4019
4020
4021 withstring=
4022 defaultval=$wxUSE_ALL_FEATURES
4023 if test -z "$defaultval"; then
4024 if test x"$withstring" = xwithout; then
4025 defaultval=yes
4026 else
4027 defaultval=no
4028 fi
4029 fi
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4032
4033 # Check whether --with-gnomevfs was given.
4034 if test "${with_gnomevfs+set}" = set; then
4035 withval=$with_gnomevfs;
4036 if test "$withval" = yes; then
4037 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4038 else
4039 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4040 fi
4041
4042 else
4043
4044 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4045
4046 fi
4047
4048
4049 eval "$wx_cv_use_gnomevfs"
4050
4051 if test x"$withstring" = xwithout; then
4052 if test $wxUSE_LIBGNOMEVFS = yes; then
4053 result=no
4054 else
4055 result=yes
4056 fi
4057 else
4058 result=$wxUSE_LIBGNOMEVFS
4059 fi
4060
4061 { echo "$as_me:$LINENO: result: $result" >&5
4062 echo "${ECHO_T}$result" >&6; }
4063
4064
4065 withstring=
4066 defaultval=$wxUSE_ALL_FEATURES
4067 if test -z "$defaultval"; then
4068 if test x"$withstring" = xwithout; then
4069 defaultval=yes
4070 else
4071 defaultval=no
4072 fi
4073 fi
4074 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4075 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4076
4077 # Check whether --with-hildon was given.
4078 if test "${with_hildon+set}" = set; then
4079 withval=$with_hildon;
4080 if test "$withval" = yes; then
4081 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4082 else
4083 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4084 fi
4085
4086 else
4087
4088 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4089
4090 fi
4091
4092
4093 eval "$wx_cv_use_hildon"
4094
4095 if test x"$withstring" = xwithout; then
4096 if test $wxUSE_LIBHILDON = yes; then
4097 result=no
4098 else
4099 result=yes
4100 fi
4101 else
4102 result=$wxUSE_LIBHILDON
4103 fi
4104
4105 { echo "$as_me:$LINENO: result: $result" >&5
4106 echo "${ECHO_T}$result" >&6; }
4107
4108
4109 withstring=
4110 defaultval=$wxUSE_ALL_FEATURES
4111 if test -z "$defaultval"; then
4112 if test x"$withstring" = xwithout; then
4113 defaultval=yes
4114 else
4115 defaultval=no
4116 fi
4117 fi
4118 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4119 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4120
4121 # Check whether --with-opengl was given.
4122 if test "${with_opengl+set}" = set; then
4123 withval=$with_opengl;
4124 if test "$withval" = yes; then
4125 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4126 else
4127 wx_cv_use_opengl='wxUSE_OPENGL=no'
4128 fi
4129
4130 else
4131
4132 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4133
4134 fi
4135
4136
4137 eval "$wx_cv_use_opengl"
4138
4139 if test x"$withstring" = xwithout; then
4140 if test $wxUSE_OPENGL = yes; then
4141 result=no
4142 else
4143 result=yes
4144 fi
4145 else
4146 result=$wxUSE_OPENGL
4147 fi
4148
4149 { echo "$as_me:$LINENO: result: $result" >&5
4150 echo "${ECHO_T}$result" >&6; }
4151
4152
4153 fi
4154
4155
4156 withstring=
4157 defaultval=$wxUSE_ALL_FEATURES
4158 if test -z "$defaultval"; then
4159 if test x"$withstring" = xwithout; then
4160 defaultval=yes
4161 else
4162 defaultval=no
4163 fi
4164 fi
4165 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4166 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4167
4168 # Check whether --with-dmalloc was given.
4169 if test "${with_dmalloc+set}" = set; then
4170 withval=$with_dmalloc;
4171 if test "$withval" = yes; then
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4173 else
4174 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4175 fi
4176
4177 else
4178
4179 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4180
4181 fi
4182
4183
4184 eval "$wx_cv_use_dmalloc"
4185
4186 if test x"$withstring" = xwithout; then
4187 if test $wxUSE_DMALLOC = yes; then
4188 result=no
4189 else
4190 result=yes
4191 fi
4192 else
4193 result=$wxUSE_DMALLOC
4194 fi
4195
4196 { echo "$as_me:$LINENO: result: $result" >&5
4197 echo "${ECHO_T}$result" >&6; }
4198
4199
4200 withstring=
4201 defaultval=$wxUSE_ALL_FEATURES
4202 if test -z "$defaultval"; then
4203 if test x"$withstring" = xwithout; then
4204 defaultval=yes
4205 else
4206 defaultval=no
4207 fi
4208 fi
4209 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4210 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4211
4212 # Check whether --with-sdl was given.
4213 if test "${with_sdl+set}" = set; then
4214 withval=$with_sdl;
4215 if test "$withval" = yes; then
4216 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4217 else
4218 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4219 fi
4220
4221 else
4222
4223 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4224
4225 fi
4226
4227
4228 eval "$wx_cv_use_sdl"
4229
4230 if test x"$withstring" = xwithout; then
4231 if test $wxUSE_LIBSDL = yes; then
4232 result=no
4233 else
4234 result=yes
4235 fi
4236 else
4237 result=$wxUSE_LIBSDL
4238 fi
4239
4240 { echo "$as_me:$LINENO: result: $result" >&5
4241 echo "${ECHO_T}$result" >&6; }
4242
4243
4244 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4245 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4246
4247 # Check whether --with-regex was given.
4248 if test "${with_regex+set}" = set; then
4249 withval=$with_regex;
4250 if test "$withval" = yes; then
4251 wx_cv_use_regex='wxUSE_REGEX=yes'
4252 elif test "$withval" = no; then
4253 wx_cv_use_regex='wxUSE_REGEX=no'
4254 elif test "$withval" = sys; then
4255 wx_cv_use_regex='wxUSE_REGEX=sys'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_regex='wxUSE_REGEX=builtin'
4258 else
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4262 fi
4263
4264 else
4265
4266 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4267
4268 fi
4269
4270
4271 eval "$wx_cv_use_regex"
4272
4273 if test "$wxUSE_REGEX" = yes; then
4274 { echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_REGEX" = no; then
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4279 elif test "$wxUSE_REGEX" = sys; then
4280 { echo "$as_me:$LINENO: result: system version" >&5
4281 echo "${ECHO_T}system version" >&6; }
4282 elif test "$wxUSE_REGEX" = builtin; then
4283 { echo "$as_me:$LINENO: result: builtin version" >&5
4284 echo "${ECHO_T}builtin version" >&6; }
4285 else
4286 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4287 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4288 { (exit 1); exit 1; }; }
4289 fi
4290
4291
4292 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4293 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4294
4295 # Check whether --with-zlib was given.
4296 if test "${with_zlib+set}" = set; then
4297 withval=$with_zlib;
4298 if test "$withval" = yes; then
4299 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4300 elif test "$withval" = no; then
4301 wx_cv_use_zlib='wxUSE_ZLIB=no'
4302 elif test "$withval" = sys; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4304 elif test "$withval" = builtin; then
4305 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4306 else
4307 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4308 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4309 { (exit 1); exit 1; }; }
4310 fi
4311
4312 else
4313
4314 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4315
4316 fi
4317
4318
4319 eval "$wx_cv_use_zlib"
4320
4321 if test "$wxUSE_ZLIB" = yes; then
4322 { echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6; }
4324 elif test "$wxUSE_ZLIB" = no; then
4325 { echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6; }
4327 elif test "$wxUSE_ZLIB" = sys; then
4328 { echo "$as_me:$LINENO: result: system version" >&5
4329 echo "${ECHO_T}system version" >&6; }
4330 elif test "$wxUSE_ZLIB" = builtin; then
4331 { echo "$as_me:$LINENO: result: builtin version" >&5
4332 echo "${ECHO_T}builtin version" >&6; }
4333 else
4334 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4335 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4336 { (exit 1); exit 1; }; }
4337 fi
4338
4339
4340 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4341 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4342
4343 # Check whether --with-expat was given.
4344 if test "${with_expat+set}" = set; then
4345 withval=$with_expat;
4346 if test "$withval" = yes; then
4347 wx_cv_use_expat='wxUSE_EXPAT=yes'
4348 elif test "$withval" = no; then
4349 wx_cv_use_expat='wxUSE_EXPAT=no'
4350 elif test "$withval" = sys; then
4351 wx_cv_use_expat='wxUSE_EXPAT=sys'
4352 elif test "$withval" = builtin; then
4353 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4354 else
4355 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4356 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4357 { (exit 1); exit 1; }; }
4358 fi
4359
4360 else
4361
4362 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4363
4364 fi
4365
4366
4367 eval "$wx_cv_use_expat"
4368
4369 if test "$wxUSE_EXPAT" = yes; then
4370 { echo "$as_me:$LINENO: result: yes" >&5
4371 echo "${ECHO_T}yes" >&6; }
4372 elif test "$wxUSE_EXPAT" = no; then
4373 { echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6; }
4375 elif test "$wxUSE_EXPAT" = sys; then
4376 { echo "$as_me:$LINENO: result: system version" >&5
4377 echo "${ECHO_T}system version" >&6; }
4378 elif test "$wxUSE_EXPAT" = builtin; then
4379 { echo "$as_me:$LINENO: result: builtin version" >&5
4380 echo "${ECHO_T}builtin version" >&6; }
4381 else
4382 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4383 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4384 { (exit 1); exit 1; }; }
4385 fi
4386
4387
4388 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4389 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4390
4391 # Check whether --with-macosx-sdk was given.
4392 if test "${with_macosx_sdk+set}" = set; then
4393 withval=$with_macosx_sdk;
4394 wxUSE_MACOSX_SDK=$withval
4395 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4396
4397 fi
4398
4399 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4400 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4401
4402 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4403 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4404
4405 # Check whether --with-macosx-version-min was given.
4406 if test "${with_macosx_version_min+set}" = set; then
4407 withval=$with_macosx_version_min;
4408 wxUSE_MACOSX_VERSION_MIN=$withval
4409 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4410
4411 fi
4412
4413 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4414 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4415
4416
4417 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4418 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4419 # Check whether --enable-debug was given.
4420 if test "${enable_debug+set}" = set; then
4421 enableval=$enable_debug;
4422 if test "$enableval" = yes; then
4423 wxUSE_DEBUG=yes
4424 elif test "$enableval" = no; then
4425 wxUSE_DEBUG=no
4426 elif test "$enableval" = max; then
4427 wxUSE_DEBUG=yes
4428 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4429 else
4430 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4431 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4432 { (exit 1); exit 1; }; }
4433 fi
4434
4435 else
4436 wxUSE_DEBUG=default
4437
4438 fi
4439
4440
4441 case "$wxUSE_DEBUG" in
4442 yes)
4443 DEFAULT_wxUSE_DEBUG_FLAG=yes
4444 DEFAULT_wxUSE_DEBUG_INFO=yes
4445
4446 DEFAULT_wxUSE_OPTIMISE=no
4447 ;;
4448
4449 no)
4450 DEFAULT_wxUSE_DEBUG_FLAG=no
4451 DEFAULT_wxUSE_DEBUG_INFO=no
4452 ;;
4453
4454 default)
4455 DEFAULT_wxUSE_DEBUG_FLAG=yes
4456 DEFAULT_wxUSE_DEBUG_INFO=no
4457 ;;
4458 esac
4459
4460
4461 enablestring=disable
4462 defaultval=
4463 if test -z "$defaultval"; then
4464 if test x"$enablestring" = xdisable; then
4465 defaultval=yes
4466 else
4467 defaultval=no
4468 fi
4469 fi
4470
4471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4473 # Check whether --enable-debug_flag was given.
4474 if test "${enable_debug_flag+set}" = set; then
4475 enableval=$enable_debug_flag;
4476 if test "$enableval" = yes; then
4477 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4478 else
4479 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4480 fi
4481
4482 else
4483
4484 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4485
4486 fi
4487
4488
4489 eval "$wx_cv_use_debug_flag"
4490
4491 if test x"$enablestring" = xdisable; then
4492 if test $wxUSE_DEBUG_FLAG = no; then
4493 result=yes
4494 else
4495 result=no
4496 fi
4497 else
4498 result=$wxUSE_DEBUG_FLAG
4499 fi
4500
4501 { echo "$as_me:$LINENO: result: $result" >&5
4502 echo "${ECHO_T}$result" >&6; }
4503
4504
4505 enablestring=
4506 defaultval=
4507 if test -z "$defaultval"; then
4508 if test x"$enablestring" = xdisable; then
4509 defaultval=yes
4510 else
4511 defaultval=no
4512 fi
4513 fi
4514
4515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4517 # Check whether --enable-debug_info was given.
4518 if test "${enable_debug_info+set}" = set; then
4519 enableval=$enable_debug_info;
4520 if test "$enableval" = yes; then
4521 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4522 else
4523 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4524 fi
4525
4526 else
4527
4528 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4529
4530 fi
4531
4532
4533 eval "$wx_cv_use_debug_info"
4534
4535 if test x"$enablestring" = xdisable; then
4536 if test $wxUSE_DEBUG_INFO = no; then
4537 result=yes
4538 else
4539 result=no
4540 fi
4541 else
4542 result=$wxUSE_DEBUG_INFO
4543 fi
4544
4545 { echo "$as_me:$LINENO: result: $result" >&5
4546 echo "${ECHO_T}$result" >&6; }
4547
4548
4549
4550
4551 enablestring=
4552 defaultval=
4553 if test -z "$defaultval"; then
4554 if test x"$enablestring" = xdisable; then
4555 defaultval=yes
4556 else
4557 defaultval=no
4558 fi
4559 fi
4560
4561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4562 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4563 # Check whether --enable-debug_gdb was given.
4564 if test "${enable_debug_gdb+set}" = set; then
4565 enableval=$enable_debug_gdb;
4566 if test "$enableval" = yes; then
4567 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4568 else
4569 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4570 fi
4571
4572 else
4573
4574 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4575
4576 fi
4577
4578
4579 eval "$wx_cv_use_debug_gdb"
4580
4581 if test x"$enablestring" = xdisable; then
4582 if test $wxUSE_DEBUG_GDB = no; then
4583 result=yes
4584 else
4585 result=no
4586 fi
4587 else
4588 result=$wxUSE_DEBUG_GDB
4589 fi
4590
4591 { echo "$as_me:$LINENO: result: $result" >&5
4592 echo "${ECHO_T}$result" >&6; }
4593
4594
4595 enablestring=
4596 defaultval=
4597 if test -z "$defaultval"; then
4598 if test x"$enablestring" = xdisable; then
4599 defaultval=yes
4600 else
4601 defaultval=no
4602 fi
4603 fi
4604
4605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4606 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4607 # Check whether --enable-debug_cntxt was given.
4608 if test "${enable_debug_cntxt+set}" = set; then
4609 enableval=$enable_debug_cntxt;
4610 if test "$enableval" = yes; then
4611 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4612 else
4613 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4614 fi
4615
4616 else
4617
4618 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4619
4620 fi
4621
4622
4623 eval "$wx_cv_use_debug_cntxt"
4624
4625 if test x"$enablestring" = xdisable; then
4626 if test $wxUSE_DEBUG_CONTEXT = no; then
4627 result=yes
4628 else
4629 result=no
4630 fi
4631 else
4632 result=$wxUSE_DEBUG_CONTEXT
4633 fi
4634
4635 { echo "$as_me:$LINENO: result: $result" >&5
4636 echo "${ECHO_T}$result" >&6; }
4637
4638
4639 enablestring=
4640 defaultval=
4641 if test -z "$defaultval"; then
4642 if test x"$enablestring" = xdisable; then
4643 defaultval=yes
4644 else
4645 defaultval=no
4646 fi
4647 fi
4648
4649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4651 # Check whether --enable-mem_tracing was given.
4652 if test "${enable_mem_tracing+set}" = set; then
4653 enableval=$enable_mem_tracing;
4654 if test "$enableval" = yes; then
4655 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4656 else
4657 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4658 fi
4659
4660 else
4661
4662 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4663
4664 fi
4665
4666
4667 eval "$wx_cv_use_mem_tracing"
4668
4669 if test x"$enablestring" = xdisable; then
4670 if test $wxUSE_MEM_TRACING = no; then
4671 result=yes
4672 else
4673 result=no
4674 fi
4675 else
4676 result=$wxUSE_MEM_TRACING
4677 fi
4678
4679 { echo "$as_me:$LINENO: result: $result" >&5
4680 echo "${ECHO_T}$result" >&6; }
4681
4682
4683
4684
4685 enablestring=disable
4686 defaultval=
4687 if test -z "$defaultval"; then
4688 if test x"$enablestring" = xdisable; then
4689 defaultval=yes
4690 else
4691 defaultval=no
4692 fi
4693 fi
4694
4695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4697 # Check whether --enable-shared was given.
4698 if test "${enable_shared+set}" = set; then
4699 enableval=$enable_shared;
4700 if test "$enableval" = yes; then
4701 wx_cv_use_shared='wxUSE_SHARED=yes'
4702 else
4703 wx_cv_use_shared='wxUSE_SHARED=no'
4704 fi
4705
4706 else
4707
4708 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4709
4710 fi
4711
4712
4713 eval "$wx_cv_use_shared"
4714
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_SHARED = no; then
4717 result=yes
4718 else
4719 result=no
4720 fi
4721 else
4722 result=$wxUSE_SHARED
4723 fi
4724
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4727
4728
4729 enablestring=
4730 defaultval=
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4733 defaultval=yes
4734 else
4735 defaultval=no
4736 fi
4737 fi
4738
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4741 # Check whether --enable-stl was given.
4742 if test "${enable_stl+set}" = set; then
4743 enableval=$enable_stl;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_stl='wxUSE_STL=yes'
4746 else
4747 wx_cv_use_stl='wxUSE_STL=no'
4748 fi
4749
4750 else
4751
4752 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4753
4754 fi
4755
4756
4757 eval "$wx_cv_use_stl"
4758
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_STL = no; then
4761 result=yes
4762 else
4763 result=no
4764 fi
4765 else
4766 result=$wxUSE_STL
4767 fi
4768
4769 { echo "$as_me:$LINENO: result: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4771
4772
4773 enablestring=
4774 defaultval=
4775 if test -z "$defaultval"; then
4776 if test x"$enablestring" = xdisable; then
4777 defaultval=yes
4778 else
4779 defaultval=no
4780 fi
4781 fi
4782
4783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4785 # Check whether --enable-std_iostreams was given.
4786 if test "${enable_std_iostreams+set}" = set; then
4787 enableval=$enable_std_iostreams;
4788 if test "$enableval" = yes; then
4789 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4790 else
4791 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4792 fi
4793
4794 else
4795
4796 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4797
4798 fi
4799
4800
4801 eval "$wx_cv_use_std_iostreams"
4802
4803 if test x"$enablestring" = xdisable; then
4804 if test $wxUSE_STD_IOSTREAM = no; then
4805 result=yes
4806 else
4807 result=no
4808 fi
4809 else
4810 result=$wxUSE_STD_IOSTREAM
4811 fi
4812
4813 { echo "$as_me:$LINENO: result: $result" >&5
4814 echo "${ECHO_T}$result" >&6; }
4815
4816
4817 enablestring=
4818 defaultval=
4819 if test -z "$defaultval"; then
4820 if test x"$enablestring" = xdisable; then
4821 defaultval=yes
4822 else
4823 defaultval=no
4824 fi
4825 fi
4826
4827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4828 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4829 # Check whether --enable-std_string was given.
4830 if test "${enable_std_string+set}" = set; then
4831 enableval=$enable_std_string;
4832 if test "$enableval" = yes; then
4833 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4834 else
4835 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4836 fi
4837
4838 else
4839
4840 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4841
4842 fi
4843
4844
4845 eval "$wx_cv_use_std_string"
4846
4847 if test x"$enablestring" = xdisable; then
4848 if test $wxUSE_STD_STRING = no; then
4849 result=yes
4850 else
4851 result=no
4852 fi
4853 else
4854 result=$wxUSE_STD_STRING
4855 fi
4856
4857 { echo "$as_me:$LINENO: result: $result" >&5
4858 echo "${ECHO_T}$result" >&6; }
4859
4860
4861 enablestring=disable
4862 defaultval=
4863 if test -z "$defaultval"; then
4864 if test x"$enablestring" = xdisable; then
4865 defaultval=yes
4866 else
4867 defaultval=no
4868 fi
4869 fi
4870
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4873 # Check whether --enable-unicode was given.
4874 if test "${enable_unicode+set}" = set; then
4875 enableval=$enable_unicode;
4876 if test "$enableval" = yes; then
4877 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4878 else
4879 wx_cv_use_unicode='wxUSE_UNICODE=no'
4880 fi
4881
4882 else
4883
4884 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4885
4886 fi
4887
4888
4889 eval "$wx_cv_use_unicode"
4890
4891 if test x"$enablestring" = xdisable; then
4892 if test $wxUSE_UNICODE = no; then
4893 result=yes
4894 else
4895 result=no
4896 fi
4897 else
4898 result=$wxUSE_UNICODE
4899 fi
4900
4901 { echo "$as_me:$LINENO: result: $result" >&5
4902 echo "${ECHO_T}$result" >&6; }
4903
4904
4905 enablestring=
4906 defaultval=
4907 if test -z "$defaultval"; then
4908 if test x"$enablestring" = xdisable; then
4909 defaultval=yes
4910 else
4911 defaultval=no
4912 fi
4913 fi
4914
4915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4917 # Check whether --enable-mslu was given.
4918 if test "${enable_mslu+set}" = set; then
4919 enableval=$enable_mslu;
4920 if test "$enableval" = yes; then
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4922 else
4923 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4924 fi
4925
4926 else
4927
4928 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4929
4930 fi
4931
4932
4933 eval "$wx_cv_use_mslu"
4934
4935 if test x"$enablestring" = xdisable; then
4936 if test $wxUSE_UNICODE_MSLU = no; then
4937 result=yes
4938 else
4939 result=no
4940 fi
4941 else
4942 result=$wxUSE_UNICODE_MSLU
4943 fi
4944
4945 { echo "$as_me:$LINENO: result: $result" >&5
4946 echo "${ECHO_T}$result" >&6; }
4947
4948
4949 enablestring=
4950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4952 # Check whether --enable-utf8 was given.
4953 if test "${enable_utf8+set}" = set; then
4954 enableval=$enable_utf8;
4955 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4956
4957 else
4958
4959 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4960
4961 fi
4962
4963
4964 eval "$wx_cv_use_utf8"
4965
4966 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4967 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4968
4969
4970 enablestring=
4971 defaultval=
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4974 defaultval=yes
4975 else
4976 defaultval=no
4977 fi
4978 fi
4979
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4982 # Check whether --enable-utf8only was given.
4983 if test "${enable_utf8only+set}" = set; then
4984 enableval=$enable_utf8only;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4987 else
4988 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4989 fi
4990
4991 else
4992
4993 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4994
4995 fi
4996
4997
4998 eval "$wx_cv_use_utf8only"
4999
5000 if test x"$enablestring" = xdisable; then
5001 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5002 result=yes
5003 else
5004 result=no
5005 fi
5006 else
5007 result=$wxUSE_UNICODE_UTF8_LOCALE
5008 fi
5009
5010 { echo "$as_me:$LINENO: result: $result" >&5
5011 echo "${ECHO_T}$result" >&6; }
5012
5013
5014 enablestring=
5015 defaultval=
5016 if test -z "$defaultval"; then
5017 if test x"$enablestring" = xdisable; then
5018 defaultval=yes
5019 else
5020 defaultval=no
5021 fi
5022 fi
5023
5024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5026 # Check whether --enable-extended_rtti was given.
5027 if test "${enable_extended_rtti+set}" = set; then
5028 enableval=$enable_extended_rtti;
5029 if test "$enableval" = yes; then
5030 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5031 else
5032 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5033 fi
5034
5035 else
5036
5037 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5038
5039 fi
5040
5041
5042 eval "$wx_cv_use_extended_rtti"
5043
5044 if test x"$enablestring" = xdisable; then
5045 if test $wxUSE_EXTENDED_RTTI = no; then
5046 result=yes
5047 else
5048 result=no
5049 fi
5050 else
5051 result=$wxUSE_EXTENDED_RTTI
5052 fi
5053
5054 { echo "$as_me:$LINENO: result: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5056
5057 if test "$USE_OS2" = 1; then
5058 DEFAULT_wxUSE_OMF=no
5059
5060 enablestring=
5061 defaultval=
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5064 defaultval=yes
5065 else
5066 defaultval=no
5067 fi
5068 fi
5069
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5072 # Check whether --enable-omf was given.
5073 if test "${enable_omf+set}" = set; then
5074 enableval=$enable_omf;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_omf='wxUSE_OMF=yes'
5077 else
5078 wx_cv_use_omf='wxUSE_OMF=no'
5079 fi
5080
5081 else
5082
5083 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5084
5085 fi
5086
5087
5088 eval "$wx_cv_use_omf"
5089
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_OMF = no; then
5092 result=yes
5093 else
5094 result=no
5095 fi
5096 else
5097 result=$wxUSE_OMF
5098 fi
5099
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5102
5103 fi
5104
5105
5106 enablestring=disable
5107 defaultval=
5108 if test -z "$defaultval"; then
5109 if test x"$enablestring" = xdisable; then
5110 defaultval=yes
5111 else
5112 defaultval=no
5113 fi
5114 fi
5115
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5118 # Check whether --enable-optimise was given.
5119 if test "${enable_optimise+set}" = set; then
5120 enableval=$enable_optimise;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5123 else
5124 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5125 fi
5126
5127 else
5128
5129 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5130
5131 fi
5132
5133
5134 eval "$wx_cv_use_optimise"
5135
5136 if test x"$enablestring" = xdisable; then
5137 if test $wxUSE_OPTIMISE = no; then
5138 result=yes
5139 else
5140 result=no
5141 fi
5142 else
5143 result=$wxUSE_OPTIMISE
5144 fi
5145
5146 { echo "$as_me:$LINENO: result: $result" >&5
5147 echo "${ECHO_T}$result" >&6; }
5148
5149
5150
5151 enablestring=
5152 defaultval=
5153 if test -z "$defaultval"; then
5154 if test x"$enablestring" = xdisable; then
5155 defaultval=yes
5156 else
5157 defaultval=no
5158 fi
5159 fi
5160
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5163 # Check whether --enable-profile was given.
5164 if test "${enable_profile+set}" = set; then
5165 enableval=$enable_profile;
5166 if test "$enableval" = yes; then
5167 wx_cv_use_profile='wxUSE_PROFILE=yes'
5168 else
5169 wx_cv_use_profile='wxUSE_PROFILE=no'
5170 fi
5171
5172 else
5173
5174 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5175
5176 fi
5177
5178
5179 eval "$wx_cv_use_profile"
5180
5181 if test x"$enablestring" = xdisable; then
5182 if test $wxUSE_PROFILE = no; then
5183 result=yes
5184 else
5185 result=no
5186 fi
5187 else
5188 result=$wxUSE_PROFILE
5189 fi
5190
5191 { echo "$as_me:$LINENO: result: $result" >&5
5192 echo "${ECHO_T}$result" >&6; }
5193
5194
5195 enablestring=
5196 defaultval=
5197 if test -z "$defaultval"; then
5198 if test x"$enablestring" = xdisable; then
5199 defaultval=yes
5200 else
5201 defaultval=no
5202 fi
5203 fi
5204
5205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5207 # Check whether --enable-no_rtti was given.
5208 if test "${enable_no_rtti+set}" = set; then
5209 enableval=$enable_no_rtti;
5210 if test "$enableval" = yes; then
5211 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5212 else
5213 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5214 fi
5215
5216 else
5217
5218 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5219
5220 fi
5221
5222
5223 eval "$wx_cv_use_no_rtti"
5224
5225 if test x"$enablestring" = xdisable; then
5226 if test $wxUSE_NO_RTTI = no; then
5227 result=yes
5228 else
5229 result=no
5230 fi
5231 else
5232 result=$wxUSE_NO_RTTI
5233 fi
5234
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5237
5238
5239 enablestring=
5240 defaultval=
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5243 defaultval=yes
5244 else
5245 defaultval=no
5246 fi
5247 fi
5248
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5251 # Check whether --enable-no_exceptions was given.
5252 if test "${enable_no_exceptions+set}" = set; then
5253 enableval=$enable_no_exceptions;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5256 else
5257 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5258 fi
5259
5260 else
5261
5262 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_no_exceptions"
5268
5269 if test x"$enablestring" = xdisable; then
5270 if test $wxUSE_NO_EXCEPTIONS = no; then
5271 result=yes
5272 else
5273 result=no
5274 fi
5275 else
5276 result=$wxUSE_NO_EXCEPTIONS
5277 fi
5278
5279 { echo "$as_me:$LINENO: result: $result" >&5
5280 echo "${ECHO_T}$result" >&6; }
5281
5282
5283 enablestring=
5284 defaultval=
5285 if test -z "$defaultval"; then
5286 if test x"$enablestring" = xdisable; then
5287 defaultval=yes
5288 else
5289 defaultval=no
5290 fi
5291 fi
5292
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5295 # Check whether --enable-permissive was given.
5296 if test "${enable_permissive+set}" = set; then
5297 enableval=$enable_permissive;
5298 if test "$enableval" = yes; then
5299 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5300 else
5301 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5302 fi
5303
5304 else
5305
5306 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5307
5308 fi
5309
5310
5311 eval "$wx_cv_use_permissive"
5312
5313 if test x"$enablestring" = xdisable; then
5314 if test $wxUSE_PERMISSIVE = no; then
5315 result=yes
5316 else
5317 result=no
5318 fi
5319 else
5320 result=$wxUSE_PERMISSIVE
5321 fi
5322
5323 { echo "$as_me:$LINENO: result: $result" >&5
5324 echo "${ECHO_T}$result" >&6; }
5325
5326
5327 enablestring=
5328 defaultval=
5329 if test -z "$defaultval"; then
5330 if test x"$enablestring" = xdisable; then
5331 defaultval=yes
5332 else
5333 defaultval=no
5334 fi
5335 fi
5336
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5339 # Check whether --enable-no_deps was given.
5340 if test "${enable_no_deps+set}" = set; then
5341 enableval=$enable_no_deps;
5342 if test "$enableval" = yes; then
5343 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5344 else
5345 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5346 fi
5347
5348 else
5349
5350 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5351
5352 fi
5353
5354
5355 eval "$wx_cv_use_no_deps"
5356
5357 if test x"$enablestring" = xdisable; then
5358 if test $wxUSE_NO_DEPS = no; then
5359 result=yes
5360 else
5361 result=no
5362 fi
5363 else
5364 result=$wxUSE_NO_DEPS
5365 fi
5366
5367 { echo "$as_me:$LINENO: result: $result" >&5
5368 echo "${ECHO_T}$result" >&6; }
5369
5370
5371 enablestring=disable
5372 defaultval=
5373 if test -z "$defaultval"; then
5374 if test x"$enablestring" = xdisable; then
5375 defaultval=yes
5376 else
5377 defaultval=no
5378 fi
5379 fi
5380
5381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5383 # Check whether --enable-vararg_macros was given.
5384 if test "${enable_vararg_macros+set}" = set; then
5385 enableval=$enable_vararg_macros;
5386 if test "$enableval" = yes; then
5387 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5388 else
5389 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5390 fi
5391
5392 else
5393
5394 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5395
5396 fi
5397
5398
5399 eval "$wx_cv_use_vararg_macros"
5400
5401 if test x"$enablestring" = xdisable; then
5402 if test $wxUSE_VARARG_MACROS = no; then
5403 result=yes
5404 else
5405 result=no
5406 fi
5407 else
5408 result=$wxUSE_VARARG_MACROS
5409 fi
5410
5411 { echo "$as_me:$LINENO: result: $result" >&5
5412 echo "${ECHO_T}$result" >&6; }
5413
5414
5415
5416 enablestring=
5417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5419 # Check whether --enable-universal_binary was given.
5420 if test "${enable_universal_binary+set}" = set; then
5421 enableval=$enable_universal_binary;
5422 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5423
5424 else
5425
5426 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5427
5428 fi
5429
5430
5431 eval "$wx_cv_use_universal_binary"
5432
5433 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5434 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5435
5436
5437 enablestring=
5438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5440 # Check whether --enable-macosx_arch was given.
5441 if test "${enable_macosx_arch+set}" = set; then
5442 enableval=$enable_macosx_arch;
5443 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5444
5445 else
5446
5447 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5448
5449 fi
5450
5451
5452 eval "$wx_cv_use_macosx_arch"
5453
5454 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5455 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5456
5457
5458
5459 enablestring=
5460 defaultval=
5461 if test -z "$defaultval"; then
5462 if test x"$enablestring" = xdisable; then
5463 defaultval=yes
5464 else
5465 defaultval=no
5466 fi
5467 fi
5468
5469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5471 # Check whether --enable-compat26 was given.
5472 if test "${enable_compat26+set}" = set; then
5473 enableval=$enable_compat26;
5474 if test "$enableval" = yes; then
5475 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5476 else
5477 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5478 fi
5479
5480 else
5481
5482 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5483
5484 fi
5485
5486
5487 eval "$wx_cv_use_compat26"
5488
5489 if test x"$enablestring" = xdisable; then
5490 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5491 result=yes
5492 else
5493 result=no
5494 fi
5495 else
5496 result=$WXWIN_COMPATIBILITY_2_6
5497 fi
5498
5499 { echo "$as_me:$LINENO: result: $result" >&5
5500 echo "${ECHO_T}$result" >&6; }
5501
5502
5503 enablestring=disable
5504 defaultval=
5505 if test -z "$defaultval"; then
5506 if test x"$enablestring" = xdisable; then
5507 defaultval=yes
5508 else
5509 defaultval=no
5510 fi
5511 fi
5512
5513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5515 # Check whether --enable-compat28 was given.
5516 if test "${enable_compat28+set}" = set; then
5517 enableval=$enable_compat28;
5518 if test "$enableval" = yes; then
5519 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5520 else
5521 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5522 fi
5523
5524 else
5525
5526 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5527
5528 fi
5529
5530
5531 eval "$wx_cv_use_compat28"
5532
5533 if test x"$enablestring" = xdisable; then
5534 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5535 result=yes
5536 else
5537 result=no
5538 fi
5539 else
5540 result=$WXWIN_COMPATIBILITY_2_8
5541 fi
5542
5543 { echo "$as_me:$LINENO: result: $result" >&5
5544 echo "${ECHO_T}$result" >&6; }
5545
5546
5547
5548 enablestring=disable
5549 defaultval=
5550 if test -z "$defaultval"; then
5551 if test x"$enablestring" = xdisable; then
5552 defaultval=yes
5553 else
5554 defaultval=no
5555 fi
5556 fi
5557
5558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5560 # Check whether --enable-rpath was given.
5561 if test "${enable_rpath+set}" = set; then
5562 enableval=$enable_rpath;
5563 if test "$enableval" = yes; then
5564 wx_cv_use_rpath='wxUSE_RPATH=yes'
5565 else
5566 wx_cv_use_rpath='wxUSE_RPATH=no'
5567 fi
5568
5569 else
5570
5571 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5572
5573 fi
5574
5575
5576 eval "$wx_cv_use_rpath"
5577
5578 if test x"$enablestring" = xdisable; then
5579 if test $wxUSE_RPATH = no; then
5580 result=yes
5581 else
5582 result=no
5583 fi
5584 else
5585 result=$wxUSE_RPATH
5586 fi
5587
5588 { echo "$as_me:$LINENO: result: $result" >&5
5589 echo "${ECHO_T}$result" >&6; }
5590
5591
5592
5593 enablestring=
5594 defaultval=
5595 if test -z "$defaultval"; then
5596 if test x"$enablestring" = xdisable; then
5597 defaultval=yes
5598 else
5599 defaultval=no
5600 fi
5601 fi
5602
5603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5605 # Check whether --enable-objc_uniquifying was given.
5606 if test "${enable_objc_uniquifying+set}" = set; then
5607 enableval=$enable_objc_uniquifying;
5608 if test "$enableval" = yes; then
5609 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5610 else
5611 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5612 fi
5613
5614 else
5615
5616 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5617
5618 fi
5619
5620
5621 eval "$wx_cv_use_objc_uniquifying"
5622
5623 if test x"$enablestring" = xdisable; then
5624 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5625 result=yes
5626 else
5627 result=no
5628 fi
5629 else
5630 result=$wxUSE_OBJC_UNIQUIFYING
5631 fi
5632
5633 { echo "$as_me:$LINENO: result: $result" >&5
5634 echo "${ECHO_T}$result" >&6; }
5635
5636
5637
5638 enablestring=disable
5639 defaultval=
5640 if test -z "$defaultval"; then
5641 if test x"$enablestring" = xdisable; then
5642 defaultval=yes
5643 else
5644 defaultval=no
5645 fi
5646 fi
5647
5648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5650 # Check whether --enable-visibility was given.
5651 if test "${enable_visibility+set}" = set; then
5652 enableval=$enable_visibility;
5653 if test "$enableval" = yes; then
5654 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5655 else
5656 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5657 fi
5658
5659 else
5660
5661 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5662
5663 fi
5664
5665
5666 eval "$wx_cv_use_visibility"
5667
5668 if test x"$enablestring" = xdisable; then
5669 if test $wxUSE_VISIBILITY = no; then
5670 result=yes
5671 else
5672 result=no
5673 fi
5674 else
5675 result=$wxUSE_VISIBILITY
5676 fi
5677
5678 { echo "$as_me:$LINENO: result: $result" >&5
5679 echo "${ECHO_T}$result" >&6; }
5680
5681
5682 enablestring=disable
5683 defaultval=
5684 if test -z "$defaultval"; then
5685 if test x"$enablestring" = xdisable; then
5686 defaultval=yes
5687 else
5688 defaultval=no
5689 fi
5690 fi
5691
5692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5694 # Check whether --enable-tls was given.
5695 if test "${enable_tls+set}" = set; then
5696 enableval=$enable_tls;
5697 if test "$enableval" = yes; then
5698 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5699 else
5700 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5701 fi
5702
5703 else
5704
5705 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5706
5707 fi
5708
5709
5710 eval "$wx_cv_use_tls"
5711
5712 if test x"$enablestring" = xdisable; then
5713 if test $wxUSE_COMPILER_TLS = no; then
5714 result=yes
5715 else
5716 result=no
5717 fi
5718 else
5719 result=$wxUSE_COMPILER_TLS
5720 fi
5721
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5724
5725
5726
5727
5728 enablestring=
5729 defaultval=$wxUSE_ALL_FEATURES
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5732 defaultval=yes
5733 else
5734 defaultval=no
5735 fi
5736 fi
5737
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5740 # Check whether --enable-intl was given.
5741 if test "${enable_intl+set}" = set; then
5742 enableval=$enable_intl;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_intl='wxUSE_INTL=yes'
5745 else
5746 wx_cv_use_intl='wxUSE_INTL=no'
5747 fi
5748
5749 else
5750
5751 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5752
5753 fi
5754
5755
5756 eval "$wx_cv_use_intl"
5757
5758 if test x"$enablestring" = xdisable; then
5759 if test $wxUSE_INTL = no; then
5760 result=yes
5761 else
5762 result=no
5763 fi
5764 else
5765 result=$wxUSE_INTL
5766 fi
5767
5768 { echo "$as_me:$LINENO: result: $result" >&5
5769 echo "${ECHO_T}$result" >&6; }
5770
5771
5772 enablestring=
5773 defaultval=$wxUSE_ALL_FEATURES
5774 if test -z "$defaultval"; then
5775 if test x"$enablestring" = xdisable; then
5776 defaultval=yes
5777 else
5778 defaultval=no
5779 fi
5780 fi
5781
5782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5783 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5784 # Check whether --enable-xlocale was given.
5785 if test "${enable_xlocale+set}" = set; then
5786 enableval=$enable_xlocale;
5787 if test "$enableval" = yes; then
5788 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5789 else
5790 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5791 fi
5792
5793 else
5794
5795 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5796
5797 fi
5798
5799
5800 eval "$wx_cv_use_xlocale"
5801
5802 if test x"$enablestring" = xdisable; then
5803 if test $wxUSE_XLOCALE = no; then
5804 result=yes
5805 else
5806 result=no
5807 fi
5808 else
5809 result=$wxUSE_XLOCALE
5810 fi
5811
5812 { echo "$as_me:$LINENO: result: $result" >&5
5813 echo "${ECHO_T}$result" >&6; }
5814
5815
5816 enablestring=
5817 defaultval=$wxUSE_ALL_FEATURES
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5820 defaultval=yes
5821 else
5822 defaultval=no
5823 fi
5824 fi
5825
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5828 # Check whether --enable-config was given.
5829 if test "${enable_config+set}" = set; then
5830 enableval=$enable_config;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_config='wxUSE_CONFIG=yes'
5833 else
5834 wx_cv_use_config='wxUSE_CONFIG=no'
5835 fi
5836
5837 else
5838
5839 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5840
5841 fi
5842
5843
5844 eval "$wx_cv_use_config"
5845
5846 if test x"$enablestring" = xdisable; then
5847 if test $wxUSE_CONFIG = no; then
5848 result=yes
5849 else
5850 result=no
5851 fi
5852 else
5853 result=$wxUSE_CONFIG
5854 fi
5855
5856 { echo "$as_me:$LINENO: result: $result" >&5
5857 echo "${ECHO_T}$result" >&6; }
5858
5859
5860
5861 enablestring=
5862 defaultval=$wxUSE_ALL_FEATURES
5863 if test -z "$defaultval"; then
5864 if test x"$enablestring" = xdisable; then
5865 defaultval=yes
5866 else
5867 defaultval=no
5868 fi
5869 fi
5870
5871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5872 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5873 # Check whether --enable-protocols was given.
5874 if test "${enable_protocols+set}" = set; then
5875 enableval=$enable_protocols;
5876 if test "$enableval" = yes; then
5877 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5878 else
5879 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5880 fi
5881
5882 else
5883
5884 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5885
5886 fi
5887
5888
5889 eval "$wx_cv_use_protocols"
5890
5891 if test x"$enablestring" = xdisable; then
5892 if test $wxUSE_PROTOCOL = no; then
5893 result=yes
5894 else
5895 result=no
5896 fi
5897 else
5898 result=$wxUSE_PROTOCOL
5899 fi
5900
5901 { echo "$as_me:$LINENO: result: $result" >&5
5902 echo "${ECHO_T}$result" >&6; }
5903
5904
5905 enablestring=
5906 defaultval=$wxUSE_ALL_FEATURES
5907 if test -z "$defaultval"; then
5908 if test x"$enablestring" = xdisable; then
5909 defaultval=yes
5910 else
5911 defaultval=no
5912 fi
5913 fi
5914
5915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5916 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5917 # Check whether --enable-ftp was given.
5918 if test "${enable_ftp+set}" = set; then
5919 enableval=$enable_ftp;
5920 if test "$enableval" = yes; then
5921 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5922 else
5923 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5924 fi
5925
5926 else
5927
5928 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5929
5930 fi
5931
5932
5933 eval "$wx_cv_use_ftp"
5934
5935 if test x"$enablestring" = xdisable; then
5936 if test $wxUSE_PROTOCOL_FTP = no; then
5937 result=yes
5938 else
5939 result=no
5940 fi
5941 else
5942 result=$wxUSE_PROTOCOL_FTP
5943 fi
5944
5945 { echo "$as_me:$LINENO: result: $result" >&5
5946 echo "${ECHO_T}$result" >&6; }
5947
5948
5949 enablestring=
5950 defaultval=$wxUSE_ALL_FEATURES
5951 if test -z "$defaultval"; then
5952 if test x"$enablestring" = xdisable; then
5953 defaultval=yes
5954 else
5955 defaultval=no
5956 fi
5957 fi
5958
5959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5960 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5961 # Check whether --enable-http was given.
5962 if test "${enable_http+set}" = set; then
5963 enableval=$enable_http;
5964 if test "$enableval" = yes; then
5965 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5966 else
5967 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5968 fi
5969
5970 else
5971
5972 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5973
5974 fi
5975
5976
5977 eval "$wx_cv_use_http"
5978
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_PROTOCOL_HTTP = no; then
5981 result=yes
5982 else
5983 result=no
5984 fi
5985 else
5986 result=$wxUSE_PROTOCOL_HTTP
5987 fi
5988
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5991
5992
5993 enablestring=
5994 defaultval=$wxUSE_ALL_FEATURES
5995 if test -z "$defaultval"; then
5996 if test x"$enablestring" = xdisable; then
5997 defaultval=yes
5998 else
5999 defaultval=no
6000 fi
6001 fi
6002
6003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6004 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6005 # Check whether --enable-fileproto was given.
6006 if test "${enable_fileproto+set}" = set; then
6007 enableval=$enable_fileproto;
6008 if test "$enableval" = yes; then
6009 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6010 else
6011 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6012 fi
6013
6014 else
6015
6016 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6017
6018 fi
6019
6020
6021 eval "$wx_cv_use_fileproto"
6022
6023 if test x"$enablestring" = xdisable; then
6024 if test $wxUSE_PROTOCOL_FILE = no; then
6025 result=yes
6026 else
6027 result=no
6028 fi
6029 else
6030 result=$wxUSE_PROTOCOL_FILE
6031 fi
6032
6033 { echo "$as_me:$LINENO: result: $result" >&5
6034 echo "${ECHO_T}$result" >&6; }
6035
6036
6037 enablestring=
6038 defaultval=$wxUSE_ALL_FEATURES
6039 if test -z "$defaultval"; then
6040 if test x"$enablestring" = xdisable; then
6041 defaultval=yes
6042 else
6043 defaultval=no
6044 fi
6045 fi
6046
6047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6048 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6049 # Check whether --enable-sockets was given.
6050 if test "${enable_sockets+set}" = set; then
6051 enableval=$enable_sockets;
6052 if test "$enableval" = yes; then
6053 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6054 else
6055 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6056 fi
6057
6058 else
6059
6060 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6061
6062 fi
6063
6064
6065 eval "$wx_cv_use_sockets"
6066
6067 if test x"$enablestring" = xdisable; then
6068 if test $wxUSE_SOCKETS = no; then
6069 result=yes
6070 else
6071 result=no
6072 fi
6073 else
6074 result=$wxUSE_SOCKETS
6075 fi
6076
6077 { echo "$as_me:$LINENO: result: $result" >&5
6078 echo "${ECHO_T}$result" >&6; }
6079
6080
6081 enablestring=
6082 defaultval=$wxUSE_ALL_FEATURES
6083 if test -z "$defaultval"; then
6084 if test x"$enablestring" = xdisable; then
6085 defaultval=yes
6086 else
6087 defaultval=no
6088 fi
6089 fi
6090
6091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6093 # Check whether --enable-ipv6 was given.
6094 if test "${enable_ipv6+set}" = set; then
6095 enableval=$enable_ipv6;
6096 if test "$enableval" = yes; then
6097 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6098 else
6099 wx_cv_use_ipv6='wxUSE_IPV6=no'
6100 fi
6101
6102 else
6103
6104 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6105
6106 fi
6107
6108
6109 eval "$wx_cv_use_ipv6"
6110
6111 if test x"$enablestring" = xdisable; then
6112 if test $wxUSE_IPV6 = no; then
6113 result=yes
6114 else
6115 result=no
6116 fi
6117 else
6118 result=$wxUSE_IPV6
6119 fi
6120
6121 { echo "$as_me:$LINENO: result: $result" >&5
6122 echo "${ECHO_T}$result" >&6; }
6123
6124
6125 enablestring=
6126 defaultval=$wxUSE_ALL_FEATURES
6127 if test -z "$defaultval"; then
6128 if test x"$enablestring" = xdisable; then
6129 defaultval=yes
6130 else
6131 defaultval=no
6132 fi
6133 fi
6134
6135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6137 # Check whether --enable-ole was given.
6138 if test "${enable_ole+set}" = set; then
6139 enableval=$enable_ole;
6140 if test "$enableval" = yes; then
6141 wx_cv_use_ole='wxUSE_OLE=yes'
6142 else
6143 wx_cv_use_ole='wxUSE_OLE=no'
6144 fi
6145
6146 else
6147
6148 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6149
6150 fi
6151
6152
6153 eval "$wx_cv_use_ole"
6154
6155 if test x"$enablestring" = xdisable; then
6156 if test $wxUSE_OLE = no; then
6157 result=yes
6158 else
6159 result=no
6160 fi
6161 else
6162 result=$wxUSE_OLE
6163 fi
6164
6165 { echo "$as_me:$LINENO: result: $result" >&5
6166 echo "${ECHO_T}$result" >&6; }
6167
6168
6169 enablestring=
6170 defaultval=$wxUSE_ALL_FEATURES
6171 if test -z "$defaultval"; then
6172 if test x"$enablestring" = xdisable; then
6173 defaultval=yes
6174 else
6175 defaultval=no
6176 fi
6177 fi
6178
6179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6181 # Check whether --enable-dataobj was given.
6182 if test "${enable_dataobj+set}" = set; then
6183 enableval=$enable_dataobj;
6184 if test "$enableval" = yes; then
6185 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6186 else
6187 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6188 fi
6189
6190 else
6191
6192 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6193
6194 fi
6195
6196
6197 eval "$wx_cv_use_dataobj"
6198
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_DATAOBJ = no; then
6201 result=yes
6202 else
6203 result=no
6204 fi
6205 else
6206 result=$wxUSE_DATAOBJ
6207 fi
6208
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6211
6212
6213
6214 enablestring=
6215 defaultval=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x"$enablestring" = xdisable; then
6218 defaultval=yes
6219 else
6220 defaultval=no
6221 fi
6222 fi
6223
6224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6225 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6226 # Check whether --enable-ipc was given.
6227 if test "${enable_ipc+set}" = set; then
6228 enableval=$enable_ipc;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_ipc='wxUSE_IPC=yes'
6231 else
6232 wx_cv_use_ipc='wxUSE_IPC=no'
6233 fi
6234
6235 else
6236
6237 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6238
6239 fi
6240
6241
6242 eval "$wx_cv_use_ipc"
6243
6244 if test x"$enablestring" = xdisable; then
6245 if test $wxUSE_IPC = no; then
6246 result=yes
6247 else
6248 result=no
6249 fi
6250 else
6251 result=$wxUSE_IPC
6252 fi
6253
6254 { echo "$as_me:$LINENO: result: $result" >&5
6255 echo "${ECHO_T}$result" >&6; }
6256
6257
6258
6259 enablestring=
6260 defaultval=$wxUSE_ALL_FEATURES
6261 if test -z "$defaultval"; then
6262 if test x"$enablestring" = xdisable; then
6263 defaultval=yes
6264 else
6265 defaultval=no
6266 fi
6267 fi
6268
6269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6271 # Check whether --enable-baseevtloop was given.
6272 if test "${enable_baseevtloop+set}" = set; then
6273 enableval=$enable_baseevtloop;
6274 if test "$enableval" = yes; then
6275 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6276 else
6277 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6278 fi
6279
6280 else
6281
6282 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6283
6284 fi
6285
6286
6287 eval "$wx_cv_use_baseevtloop"
6288
6289 if test x"$enablestring" = xdisable; then
6290 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6291 result=yes
6292 else
6293 result=no
6294 fi
6295 else
6296 result=$wxUSE_CONSOLE_EVENTLOOP
6297 fi
6298
6299 { echo "$as_me:$LINENO: result: $result" >&5
6300 echo "${ECHO_T}$result" >&6; }
6301
6302
6303 enablestring=
6304 defaultval=$wxUSE_ALL_FEATURES
6305 if test -z "$defaultval"; then
6306 if test x"$enablestring" = xdisable; then
6307 defaultval=yes
6308 else
6309 defaultval=no
6310 fi
6311 fi
6312
6313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6315 # Check whether --enable-epollloop was given.
6316 if test "${enable_epollloop+set}" = set; then
6317 enableval=$enable_epollloop;
6318 if test "$enableval" = yes; then
6319 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6320 else
6321 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6322 fi
6323
6324 else
6325
6326 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6327
6328 fi
6329
6330
6331 eval "$wx_cv_use_epollloop"
6332
6333 if test x"$enablestring" = xdisable; then
6334 if test $wxUSE_EPOLL_DISPATCHER = no; then
6335 result=yes
6336 else
6337 result=no
6338 fi
6339 else
6340 result=$wxUSE_EPOLL_DISPATCHER
6341 fi
6342
6343 { echo "$as_me:$LINENO: result: $result" >&5
6344 echo "${ECHO_T}$result" >&6; }
6345
6346
6347 enablestring=
6348 defaultval=$wxUSE_ALL_FEATURES
6349 if test -z "$defaultval"; then
6350 if test x"$enablestring" = xdisable; then
6351 defaultval=yes
6352 else
6353 defaultval=no
6354 fi
6355 fi
6356
6357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6359 # Check whether --enable-selectloop was given.
6360 if test "${enable_selectloop+set}" = set; then
6361 enableval=$enable_selectloop;
6362 if test "$enableval" = yes; then
6363 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6364 else
6365 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6366 fi
6367
6368 else
6369
6370 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6371
6372 fi
6373
6374
6375 eval "$wx_cv_use_selectloop"
6376
6377 if test x"$enablestring" = xdisable; then
6378 if test $wxUSE_SELECT_DISPATCHER = no; then
6379 result=yes
6380 else
6381 result=no
6382 fi
6383 else
6384 result=$wxUSE_SELECT_DISPATCHER
6385 fi
6386
6387 { echo "$as_me:$LINENO: result: $result" >&5
6388 echo "${ECHO_T}$result" >&6; }
6389
6390
6391
6392 enablestring=
6393 defaultval=$wxUSE_ALL_FEATURES
6394 if test -z "$defaultval"; then
6395 if test x"$enablestring" = xdisable; then
6396 defaultval=yes
6397 else
6398 defaultval=no
6399 fi
6400 fi
6401
6402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6404 # Check whether --enable-any was given.
6405 if test "${enable_any+set}" = set; then
6406 enableval=$enable_any;
6407 if test "$enableval" = yes; then
6408 wx_cv_use_any='wxUSE_ANY=yes'
6409 else
6410 wx_cv_use_any='wxUSE_ANY=no'
6411 fi
6412
6413 else
6414
6415 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6416
6417 fi
6418
6419
6420 eval "$wx_cv_use_any"
6421
6422 if test x"$enablestring" = xdisable; then
6423 if test $wxUSE_ANY = no; then
6424 result=yes
6425 else
6426 result=no
6427 fi
6428 else
6429 result=$wxUSE_ANY
6430 fi
6431
6432 { echo "$as_me:$LINENO: result: $result" >&5
6433 echo "${ECHO_T}$result" >&6; }
6434
6435
6436 enablestring=
6437 defaultval=$wxUSE_ALL_FEATURES
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6440 defaultval=yes
6441 else
6442 defaultval=no
6443 fi
6444 fi
6445
6446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6448 # Check whether --enable-apple_ieee was given.
6449 if test "${enable_apple_ieee+set}" = set; then
6450 enableval=$enable_apple_ieee;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6453 else
6454 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6455 fi
6456
6457 else
6458
6459 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6460
6461 fi
6462
6463
6464 eval "$wx_cv_use_apple_ieee"
6465
6466 if test x"$enablestring" = xdisable; then
6467 if test $wxUSE_APPLE_IEEE = no; then
6468 result=yes
6469 else
6470 result=no
6471 fi
6472 else
6473 result=$wxUSE_APPLE_IEEE
6474 fi
6475
6476 { echo "$as_me:$LINENO: result: $result" >&5
6477 echo "${ECHO_T}$result" >&6; }
6478
6479
6480 enablestring=
6481 defaultval=$wxUSE_ALL_FEATURES
6482 if test -z "$defaultval"; then
6483 if test x"$enablestring" = xdisable; then
6484 defaultval=yes
6485 else
6486 defaultval=no
6487 fi
6488 fi
6489
6490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6492 # Check whether --enable-arcstream was given.
6493 if test "${enable_arcstream+set}" = set; then
6494 enableval=$enable_arcstream;
6495 if test "$enableval" = yes; then
6496 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6497 else
6498 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6499 fi
6500
6501 else
6502
6503 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6504
6505 fi
6506
6507
6508 eval "$wx_cv_use_arcstream"
6509
6510 if test x"$enablestring" = xdisable; then
6511 if test $wxUSE_ARCHIVE_STREAMS = no; then
6512 result=yes
6513 else
6514 result=no
6515 fi
6516 else
6517 result=$wxUSE_ARCHIVE_STREAMS
6518 fi
6519
6520 { echo "$as_me:$LINENO: result: $result" >&5
6521 echo "${ECHO_T}$result" >&6; }
6522
6523
6524 enablestring=
6525 defaultval=$wxUSE_ALL_FEATURES
6526 if test -z "$defaultval"; then
6527 if test x"$enablestring" = xdisable; then
6528 defaultval=yes
6529 else
6530 defaultval=no
6531 fi
6532 fi
6533
6534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6535 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6536 # Check whether --enable-base64 was given.
6537 if test "${enable_base64+set}" = set; then
6538 enableval=$enable_base64;
6539 if test "$enableval" = yes; then
6540 wx_cv_use_base64='wxUSE_BASE64=yes'
6541 else
6542 wx_cv_use_base64='wxUSE_BASE64=no'
6543 fi
6544
6545 else
6546
6547 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6548
6549 fi
6550
6551
6552 eval "$wx_cv_use_base64"
6553
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_BASE64 = no; then
6556 result=yes
6557 else
6558 result=no
6559 fi
6560 else
6561 result=$wxUSE_BASE64
6562 fi
6563
6564 { echo "$as_me:$LINENO: result: $result" >&5
6565 echo "${ECHO_T}$result" >&6; }
6566
6567
6568 enablestring=
6569 defaultval=$wxUSE_ALL_FEATURES
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6572 defaultval=yes
6573 else
6574 defaultval=no
6575 fi
6576 fi
6577
6578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6580 # Check whether --enable-backtrace was given.
6581 if test "${enable_backtrace+set}" = set; then
6582 enableval=$enable_backtrace;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6585 else
6586 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6587 fi
6588
6589 else
6590
6591 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6592
6593 fi
6594
6595
6596 eval "$wx_cv_use_backtrace"
6597
6598 if test x"$enablestring" = xdisable; then
6599 if test $wxUSE_STACKWALKER = no; then
6600 result=yes
6601 else
6602 result=no
6603 fi
6604 else
6605 result=$wxUSE_STACKWALKER
6606 fi
6607
6608 { echo "$as_me:$LINENO: result: $result" >&5
6609 echo "${ECHO_T}$result" >&6; }
6610
6611
6612 enablestring=
6613 defaultval=$wxUSE_ALL_FEATURES
6614 if test -z "$defaultval"; then
6615 if test x"$enablestring" = xdisable; then
6616 defaultval=yes
6617 else
6618 defaultval=no
6619 fi
6620 fi
6621
6622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6624 # Check whether --enable-catch_segvs was given.
6625 if test "${enable_catch_segvs+set}" = set; then
6626 enableval=$enable_catch_segvs;
6627 if test "$enableval" = yes; then
6628 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6629 else
6630 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6631 fi
6632
6633 else
6634
6635 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6636
6637 fi
6638
6639
6640 eval "$wx_cv_use_catch_segvs"
6641
6642 if test x"$enablestring" = xdisable; then
6643 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6644 result=yes
6645 else
6646 result=no
6647 fi
6648 else
6649 result=$wxUSE_ON_FATAL_EXCEPTION
6650 fi
6651
6652 { echo "$as_me:$LINENO: result: $result" >&5
6653 echo "${ECHO_T}$result" >&6; }
6654
6655
6656 enablestring=
6657 defaultval=$wxUSE_ALL_FEATURES
6658 if test -z "$defaultval"; then
6659 if test x"$enablestring" = xdisable; then
6660 defaultval=yes
6661 else
6662 defaultval=no
6663 fi
6664 fi
6665
6666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6668 # Check whether --enable-cmdline was given.
6669 if test "${enable_cmdline+set}" = set; then
6670 enableval=$enable_cmdline;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6673 else
6674 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6675 fi
6676
6677 else
6678
6679 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6680
6681 fi
6682
6683
6684 eval "$wx_cv_use_cmdline"
6685
6686 if test x"$enablestring" = xdisable; then
6687 if test $wxUSE_CMDLINE_PARSER = no; then
6688 result=yes
6689 else
6690 result=no
6691 fi
6692 else
6693 result=$wxUSE_CMDLINE_PARSER
6694 fi
6695
6696 { echo "$as_me:$LINENO: result: $result" >&5
6697 echo "${ECHO_T}$result" >&6; }
6698
6699
6700 enablestring=
6701 defaultval=$wxUSE_ALL_FEATURES
6702 if test -z "$defaultval"; then
6703 if test x"$enablestring" = xdisable; then
6704 defaultval=yes
6705 else
6706 defaultval=no
6707 fi
6708 fi
6709
6710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6712 # Check whether --enable-datetime was given.
6713 if test "${enable_datetime+set}" = set; then
6714 enableval=$enable_datetime;
6715 if test "$enableval" = yes; then
6716 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6717 else
6718 wx_cv_use_datetime='wxUSE_DATETIME=no'
6719 fi
6720
6721 else
6722
6723 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6724
6725 fi
6726
6727
6728 eval "$wx_cv_use_datetime"
6729
6730 if test x"$enablestring" = xdisable; then
6731 if test $wxUSE_DATETIME = no; then
6732 result=yes
6733 else
6734 result=no
6735 fi
6736 else
6737 result=$wxUSE_DATETIME
6738 fi
6739
6740 { echo "$as_me:$LINENO: result: $result" >&5
6741 echo "${ECHO_T}$result" >&6; }
6742
6743
6744 enablestring=
6745 defaultval=$wxUSE_ALL_FEATURES
6746 if test -z "$defaultval"; then
6747 if test x"$enablestring" = xdisable; then
6748 defaultval=yes
6749 else
6750 defaultval=no
6751 fi
6752 fi
6753
6754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6756 # Check whether --enable-debugreport was given.
6757 if test "${enable_debugreport+set}" = set; then
6758 enableval=$enable_debugreport;
6759 if test "$enableval" = yes; then
6760 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6761 else
6762 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6763 fi
6764
6765 else
6766
6767 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6768
6769 fi
6770
6771
6772 eval "$wx_cv_use_debugreport"
6773
6774 if test x"$enablestring" = xdisable; then
6775 if test $wxUSE_DEBUGREPORT = no; then
6776 result=yes
6777 else
6778 result=no
6779 fi
6780 else
6781 result=$wxUSE_DEBUGREPORT
6782 fi
6783
6784 { echo "$as_me:$LINENO: result: $result" >&5
6785 echo "${ECHO_T}$result" >&6; }
6786
6787
6788 enablestring=
6789 defaultval=$wxUSE_ALL_FEATURES
6790 if test -z "$defaultval"; then
6791 if test x"$enablestring" = xdisable; then
6792 defaultval=yes
6793 else
6794 defaultval=no
6795 fi
6796 fi
6797
6798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6800 # Check whether --enable-dialupman was given.
6801 if test "${enable_dialupman+set}" = set; then
6802 enableval=$enable_dialupman;
6803 if test "$enableval" = yes; then
6804 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6805 else
6806 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6807 fi
6808
6809 else
6810
6811 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6812
6813 fi
6814
6815
6816 eval "$wx_cv_use_dialupman"
6817
6818 if test x"$enablestring" = xdisable; then
6819 if test $wxUSE_DIALUP_MANAGER = no; then
6820 result=yes
6821 else
6822 result=no
6823 fi
6824 else
6825 result=$wxUSE_DIALUP_MANAGER
6826 fi
6827
6828 { echo "$as_me:$LINENO: result: $result" >&5
6829 echo "${ECHO_T}$result" >&6; }
6830
6831
6832 enablestring=
6833 defaultval=$wxUSE_ALL_FEATURES
6834 if test -z "$defaultval"; then
6835 if test x"$enablestring" = xdisable; then
6836 defaultval=yes
6837 else
6838 defaultval=no
6839 fi
6840 fi
6841
6842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6843 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6844 # Check whether --enable-dynlib was given.
6845 if test "${enable_dynlib+set}" = set; then
6846 enableval=$enable_dynlib;
6847 if test "$enableval" = yes; then
6848 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6849 else
6850 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6851 fi
6852
6853 else
6854
6855 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6856
6857 fi
6858
6859
6860 eval "$wx_cv_use_dynlib"
6861
6862 if test x"$enablestring" = xdisable; then
6863 if test $wxUSE_DYNLIB_CLASS = no; then
6864 result=yes
6865 else
6866 result=no
6867 fi
6868 else
6869 result=$wxUSE_DYNLIB_CLASS
6870 fi
6871
6872 { echo "$as_me:$LINENO: result: $result" >&5
6873 echo "${ECHO_T}$result" >&6; }
6874
6875
6876 enablestring=
6877 defaultval=$wxUSE_ALL_FEATURES
6878 if test -z "$defaultval"; then
6879 if test x"$enablestring" = xdisable; then
6880 defaultval=yes
6881 else
6882 defaultval=no
6883 fi
6884 fi
6885
6886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6888 # Check whether --enable-dynamicloader was given.
6889 if test "${enable_dynamicloader+set}" = set; then
6890 enableval=$enable_dynamicloader;
6891 if test "$enableval" = yes; then
6892 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6893 else
6894 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6895 fi
6896
6897 else
6898
6899 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6900
6901 fi
6902
6903
6904 eval "$wx_cv_use_dynamicloader"
6905
6906 if test x"$enablestring" = xdisable; then
6907 if test $wxUSE_DYNAMIC_LOADER = no; then
6908 result=yes
6909 else
6910 result=no
6911 fi
6912 else
6913 result=$wxUSE_DYNAMIC_LOADER
6914 fi
6915
6916 { echo "$as_me:$LINENO: result: $result" >&5
6917 echo "${ECHO_T}$result" >&6; }
6918
6919
6920 enablestring=
6921 defaultval=$wxUSE_ALL_FEATURES
6922 if test -z "$defaultval"; then
6923 if test x"$enablestring" = xdisable; then
6924 defaultval=yes
6925 else
6926 defaultval=no
6927 fi
6928 fi
6929
6930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6932 # Check whether --enable-exceptions was given.
6933 if test "${enable_exceptions+set}" = set; then
6934 enableval=$enable_exceptions;
6935 if test "$enableval" = yes; then
6936 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6937 else
6938 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6939 fi
6940
6941 else
6942
6943 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6944
6945 fi
6946
6947
6948 eval "$wx_cv_use_exceptions"
6949
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_EXCEPTIONS = no; then
6952 result=yes
6953 else
6954 result=no
6955 fi
6956 else
6957 result=$wxUSE_EXCEPTIONS
6958 fi
6959
6960 { echo "$as_me:$LINENO: result: $result" >&5
6961 echo "${ECHO_T}$result" >&6; }
6962
6963
6964 enablestring=
6965 defaultval=$wxUSE_ALL_FEATURES
6966 if test -z "$defaultval"; then
6967 if test x"$enablestring" = xdisable; then
6968 defaultval=yes
6969 else
6970 defaultval=no
6971 fi
6972 fi
6973
6974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6976 # Check whether --enable-ffile was given.
6977 if test "${enable_ffile+set}" = set; then
6978 enableval=$enable_ffile;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_ffile='wxUSE_FFILE=yes'
6981 else
6982 wx_cv_use_ffile='wxUSE_FFILE=no'
6983 fi
6984
6985 else
6986
6987 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6988
6989 fi
6990
6991
6992 eval "$wx_cv_use_ffile"
6993
6994 if test x"$enablestring" = xdisable; then
6995 if test $wxUSE_FFILE = no; then
6996 result=yes
6997 else
6998 result=no
6999 fi
7000 else
7001 result=$wxUSE_FFILE
7002 fi
7003
7004 { echo "$as_me:$LINENO: result: $result" >&5
7005 echo "${ECHO_T}$result" >&6; }
7006
7007
7008 enablestring=
7009 defaultval=$wxUSE_ALL_FEATURES
7010 if test -z "$defaultval"; then
7011 if test x"$enablestring" = xdisable; then
7012 defaultval=yes
7013 else
7014 defaultval=no
7015 fi
7016 fi
7017
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7020 # Check whether --enable-file was given.
7021 if test "${enable_file+set}" = set; then
7022 enableval=$enable_file;
7023 if test "$enableval" = yes; then
7024 wx_cv_use_file='wxUSE_FILE=yes'
7025 else
7026 wx_cv_use_file='wxUSE_FILE=no'
7027 fi
7028
7029 else
7030
7031 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7032
7033 fi
7034
7035
7036 eval "$wx_cv_use_file"
7037
7038 if test x"$enablestring" = xdisable; then
7039 if test $wxUSE_FILE = no; then
7040 result=yes
7041 else
7042 result=no
7043 fi
7044 else
7045 result=$wxUSE_FILE
7046 fi
7047
7048 { echo "$as_me:$LINENO: result: $result" >&5
7049 echo "${ECHO_T}$result" >&6; }
7050
7051
7052 enablestring=
7053 defaultval=$wxUSE_ALL_FEATURES
7054 if test -z "$defaultval"; then
7055 if test x"$enablestring" = xdisable; then
7056 defaultval=yes
7057 else
7058 defaultval=no
7059 fi
7060 fi
7061
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7064 # Check whether --enable-filehistory was given.
7065 if test "${enable_filehistory+set}" = set; then
7066 enableval=$enable_filehistory;
7067 if test "$enableval" = yes; then
7068 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7069 else
7070 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7071 fi
7072
7073 else
7074
7075 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7076
7077 fi
7078
7079
7080 eval "$wx_cv_use_filehistory"
7081
7082 if test x"$enablestring" = xdisable; then
7083 if test $wxUSE_FILE_HISTORY = no; then
7084 result=yes
7085 else
7086 result=no
7087 fi
7088 else
7089 result=$wxUSE_FILE_HISTORY
7090 fi
7091
7092 { echo "$as_me:$LINENO: result: $result" >&5
7093 echo "${ECHO_T}$result" >&6; }
7094
7095
7096 enablestring=
7097 defaultval=$wxUSE_ALL_FEATURES
7098 if test -z "$defaultval"; then
7099 if test x"$enablestring" = xdisable; then
7100 defaultval=yes
7101 else
7102 defaultval=no
7103 fi
7104 fi
7105
7106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7108 # Check whether --enable-filesystem was given.
7109 if test "${enable_filesystem+set}" = set; then
7110 enableval=$enable_filesystem;
7111 if test "$enableval" = yes; then
7112 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7113 else
7114 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7115 fi
7116
7117 else
7118
7119 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7120
7121 fi
7122
7123
7124 eval "$wx_cv_use_filesystem"
7125
7126 if test x"$enablestring" = xdisable; then
7127 if test $wxUSE_FILESYSTEM = no; then
7128 result=yes
7129 else
7130 result=no
7131 fi
7132 else
7133 result=$wxUSE_FILESYSTEM
7134 fi
7135
7136 { echo "$as_me:$LINENO: result: $result" >&5
7137 echo "${ECHO_T}$result" >&6; }
7138
7139
7140 enablestring=
7141 defaultval=$wxUSE_ALL_FEATURES
7142 if test -z "$defaultval"; then
7143 if test x"$enablestring" = xdisable; then
7144 defaultval=yes
7145 else
7146 defaultval=no
7147 fi
7148 fi
7149
7150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7152 # Check whether --enable-fontenum was given.
7153 if test "${enable_fontenum+set}" = set; then
7154 enableval=$enable_fontenum;
7155 if test "$enableval" = yes; then
7156 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7157 else
7158 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7159 fi
7160
7161 else
7162
7163 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7164
7165 fi
7166
7167
7168 eval "$wx_cv_use_fontenum"
7169
7170 if test x"$enablestring" = xdisable; then
7171 if test $wxUSE_FONTENUM = no; then
7172 result=yes
7173 else
7174 result=no
7175 fi
7176 else
7177 result=$wxUSE_FONTENUM
7178 fi
7179
7180 { echo "$as_me:$LINENO: result: $result" >&5
7181 echo "${ECHO_T}$result" >&6; }
7182
7183
7184 enablestring=
7185 defaultval=$wxUSE_ALL_FEATURES
7186 if test -z "$defaultval"; then
7187 if test x"$enablestring" = xdisable; then
7188 defaultval=yes
7189 else
7190 defaultval=no
7191 fi
7192 fi
7193
7194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7196 # Check whether --enable-fontmap was given.
7197 if test "${enable_fontmap+set}" = set; then
7198 enableval=$enable_fontmap;
7199 if test "$enableval" = yes; then
7200 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7201 else
7202 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7203 fi
7204
7205 else
7206
7207 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7208
7209 fi
7210
7211
7212 eval "$wx_cv_use_fontmap"
7213
7214 if test x"$enablestring" = xdisable; then
7215 if test $wxUSE_FONTMAP = no; then
7216 result=yes
7217 else
7218 result=no
7219 fi
7220 else
7221 result=$wxUSE_FONTMAP
7222 fi
7223
7224 { echo "$as_me:$LINENO: result: $result" >&5
7225 echo "${ECHO_T}$result" >&6; }
7226
7227
7228 enablestring=
7229 defaultval=$wxUSE_ALL_FEATURES
7230 if test -z "$defaultval"; then
7231 if test x"$enablestring" = xdisable; then
7232 defaultval=yes
7233 else
7234 defaultval=no
7235 fi
7236 fi
7237
7238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7239 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7240 # Check whether --enable-fs_archive was given.
7241 if test "${enable_fs_archive+set}" = set; then
7242 enableval=$enable_fs_archive;
7243 if test "$enableval" = yes; then
7244 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7245 else
7246 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7247 fi
7248
7249 else
7250
7251 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7252
7253 fi
7254
7255
7256 eval "$wx_cv_use_fs_archive"
7257
7258 if test x"$enablestring" = xdisable; then
7259 if test $wxUSE_FS_ARCHIVE = no; then
7260 result=yes
7261 else
7262 result=no
7263 fi
7264 else
7265 result=$wxUSE_FS_ARCHIVE
7266 fi
7267
7268 { echo "$as_me:$LINENO: result: $result" >&5
7269 echo "${ECHO_T}$result" >&6; }
7270
7271
7272 enablestring=
7273 defaultval=$wxUSE_ALL_FEATURES
7274 if test -z "$defaultval"; then
7275 if test x"$enablestring" = xdisable; then
7276 defaultval=yes
7277 else
7278 defaultval=no
7279 fi
7280 fi
7281
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7284 # Check whether --enable-fs_inet was given.
7285 if test "${enable_fs_inet+set}" = set; then
7286 enableval=$enable_fs_inet;
7287 if test "$enableval" = yes; then
7288 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7289 else
7290 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7291 fi
7292
7293 else
7294
7295 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7296
7297 fi
7298
7299
7300 eval "$wx_cv_use_fs_inet"
7301
7302 if test x"$enablestring" = xdisable; then
7303 if test $wxUSE_FS_INET = no; then
7304 result=yes
7305 else
7306 result=no
7307 fi
7308 else
7309 result=$wxUSE_FS_INET
7310 fi
7311
7312 { echo "$as_me:$LINENO: result: $result" >&5
7313 echo "${ECHO_T}$result" >&6; }
7314
7315
7316 enablestring=
7317 defaultval=$wxUSE_ALL_FEATURES
7318 if test -z "$defaultval"; then
7319 if test x"$enablestring" = xdisable; then
7320 defaultval=yes
7321 else
7322 defaultval=no
7323 fi
7324 fi
7325
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7328 # Check whether --enable-fs_zip was given.
7329 if test "${enable_fs_zip+set}" = set; then
7330 enableval=$enable_fs_zip;
7331 if test "$enableval" = yes; then
7332 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7333 else
7334 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7335 fi
7336
7337 else
7338
7339 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7340
7341 fi
7342
7343
7344 eval "$wx_cv_use_fs_zip"
7345
7346 if test x"$enablestring" = xdisable; then
7347 if test $wxUSE_FS_ZIP = no; then
7348 result=yes
7349 else
7350 result=no
7351 fi
7352 else
7353 result=$wxUSE_FS_ZIP
7354 fi
7355
7356 { echo "$as_me:$LINENO: result: $result" >&5
7357 echo "${ECHO_T}$result" >&6; }
7358
7359
7360 enablestring=
7361 defaultval=$wxUSE_ALL_FEATURES
7362 if test -z "$defaultval"; then
7363 if test x"$enablestring" = xdisable; then
7364 defaultval=yes
7365 else
7366 defaultval=no
7367 fi
7368 fi
7369
7370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7372 # Check whether --enable-fswatcher was given.
7373 if test "${enable_fswatcher+set}" = set; then
7374 enableval=$enable_fswatcher;
7375 if test "$enableval" = yes; then
7376 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7377 else
7378 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7379 fi
7380
7381 else
7382
7383 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7384
7385 fi
7386
7387
7388 eval "$wx_cv_use_fswatcher"
7389
7390 if test x"$enablestring" = xdisable; then
7391 if test $wxUSE_FSWATCHER = no; then
7392 result=yes
7393 else
7394 result=no
7395 fi
7396 else
7397 result=$wxUSE_FSWATCHER
7398 fi
7399
7400 { echo "$as_me:$LINENO: result: $result" >&5
7401 echo "${ECHO_T}$result" >&6; }
7402
7403
7404 enablestring=
7405 defaultval=$wxUSE_ALL_FEATURES
7406 if test -z "$defaultval"; then
7407 if test x"$enablestring" = xdisable; then
7408 defaultval=yes
7409 else
7410 defaultval=no
7411 fi
7412 fi
7413
7414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7416 # Check whether --enable-geometry was given.
7417 if test "${enable_geometry+set}" = set; then
7418 enableval=$enable_geometry;
7419 if test "$enableval" = yes; then
7420 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7421 else
7422 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7423 fi
7424
7425 else
7426
7427 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7428
7429 fi
7430
7431
7432 eval "$wx_cv_use_geometry"
7433
7434 if test x"$enablestring" = xdisable; then
7435 if test $wxUSE_GEOMETRY = no; then
7436 result=yes
7437 else
7438 result=no
7439 fi
7440 else
7441 result=$wxUSE_GEOMETRY
7442 fi
7443
7444 { echo "$as_me:$LINENO: result: $result" >&5
7445 echo "${ECHO_T}$result" >&6; }
7446
7447
7448 enablestring=
7449 defaultval=$wxUSE_ALL_FEATURES
7450 if test -z "$defaultval"; then
7451 if test x"$enablestring" = xdisable; then
7452 defaultval=yes
7453 else
7454 defaultval=no
7455 fi
7456 fi
7457
7458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7460 # Check whether --enable-log was given.
7461 if test "${enable_log+set}" = set; then
7462 enableval=$enable_log;
7463 if test "$enableval" = yes; then
7464 wx_cv_use_log='wxUSE_LOG=yes'
7465 else
7466 wx_cv_use_log='wxUSE_LOG=no'
7467 fi
7468
7469 else
7470
7471 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7472
7473 fi
7474
7475
7476 eval "$wx_cv_use_log"
7477
7478 if test x"$enablestring" = xdisable; then
7479 if test $wxUSE_LOG = no; then
7480 result=yes
7481 else
7482 result=no
7483 fi
7484 else
7485 result=$wxUSE_LOG
7486 fi
7487
7488 { echo "$as_me:$LINENO: result: $result" >&5
7489 echo "${ECHO_T}$result" >&6; }
7490
7491
7492 enablestring=
7493 defaultval=$wxUSE_ALL_FEATURES
7494 if test -z "$defaultval"; then
7495 if test x"$enablestring" = xdisable; then
7496 defaultval=yes
7497 else
7498 defaultval=no
7499 fi
7500 fi
7501
7502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7504 # Check whether --enable-longlong was given.
7505 if test "${enable_longlong+set}" = set; then
7506 enableval=$enable_longlong;
7507 if test "$enableval" = yes; then
7508 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7509 else
7510 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7511 fi
7512
7513 else
7514
7515 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7516
7517 fi
7518
7519
7520 eval "$wx_cv_use_longlong"
7521
7522 if test x"$enablestring" = xdisable; then
7523 if test $wxUSE_LONGLONG = no; then
7524 result=yes
7525 else
7526 result=no
7527 fi
7528 else
7529 result=$wxUSE_LONGLONG
7530 fi
7531
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7534
7535
7536 enablestring=
7537 defaultval=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x"$enablestring" = xdisable; then
7540 defaultval=yes
7541 else
7542 defaultval=no
7543 fi
7544 fi
7545
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7548 # Check whether --enable-mimetype was given.
7549 if test "${enable_mimetype+set}" = set; then
7550 enableval=$enable_mimetype;
7551 if test "$enableval" = yes; then
7552 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7553 else
7554 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7555 fi
7556
7557 else
7558
7559 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7560
7561 fi
7562
7563
7564 eval "$wx_cv_use_mimetype"
7565
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_MIMETYPE = no; then
7568 result=yes
7569 else
7570 result=no
7571 fi
7572 else
7573 result=$wxUSE_MIMETYPE
7574 fi
7575
7576 { echo "$as_me:$LINENO: result: $result" >&5
7577 echo "${ECHO_T}$result" >&6; }
7578
7579
7580 enablestring=
7581 defaultval=$wxUSE_ALL_FEATURES
7582 if test -z "$defaultval"; then
7583 if test x"$enablestring" = xdisable; then
7584 defaultval=yes
7585 else
7586 defaultval=no
7587 fi
7588 fi
7589
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7592 # Check whether --enable-printfposparam was given.
7593 if test "${enable_printfposparam+set}" = set; then
7594 enableval=$enable_printfposparam;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7597 else
7598 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7599 fi
7600
7601 else
7602
7603 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7604
7605 fi
7606
7607
7608 eval "$wx_cv_use_printfposparam"
7609
7610 if test x"$enablestring" = xdisable; then
7611 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7612 result=yes
7613 else
7614 result=no
7615 fi
7616 else
7617 result=$wxUSE_PRINTF_POS_PARAMS
7618 fi
7619
7620 { echo "$as_me:$LINENO: result: $result" >&5
7621 echo "${ECHO_T}$result" >&6; }
7622
7623
7624 enablestring=
7625 defaultval=$wxUSE_ALL_FEATURES
7626 if test -z "$defaultval"; then
7627 if test x"$enablestring" = xdisable; then
7628 defaultval=yes
7629 else
7630 defaultval=no
7631 fi
7632 fi
7633
7634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7635 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7636 # Check whether --enable-snglinst was given.
7637 if test "${enable_snglinst+set}" = set; then
7638 enableval=$enable_snglinst;
7639 if test "$enableval" = yes; then
7640 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7641 else
7642 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7643 fi
7644
7645 else
7646
7647 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7648
7649 fi
7650
7651
7652 eval "$wx_cv_use_snglinst"
7653
7654 if test x"$enablestring" = xdisable; then
7655 if test $wxUSE_SNGLINST_CHECKER = no; then
7656 result=yes
7657 else
7658 result=no
7659 fi
7660 else
7661 result=$wxUSE_SNGLINST_CHECKER
7662 fi
7663
7664 { echo "$as_me:$LINENO: result: $result" >&5
7665 echo "${ECHO_T}$result" >&6; }
7666
7667
7668 enablestring=
7669 defaultval=$wxUSE_ALL_FEATURES
7670 if test -z "$defaultval"; then
7671 if test x"$enablestring" = xdisable; then
7672 defaultval=yes
7673 else
7674 defaultval=no
7675 fi
7676 fi
7677
7678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7680 # Check whether --enable-sound was given.
7681 if test "${enable_sound+set}" = set; then
7682 enableval=$enable_sound;
7683 if test "$enableval" = yes; then
7684 wx_cv_use_sound='wxUSE_SOUND=yes'
7685 else
7686 wx_cv_use_sound='wxUSE_SOUND=no'
7687 fi
7688
7689 else
7690
7691 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7692
7693 fi
7694
7695
7696 eval "$wx_cv_use_sound"
7697
7698 if test x"$enablestring" = xdisable; then
7699 if test $wxUSE_SOUND = no; then
7700 result=yes
7701 else
7702 result=no
7703 fi
7704 else
7705 result=$wxUSE_SOUND
7706 fi
7707
7708 { echo "$as_me:$LINENO: result: $result" >&5
7709 echo "${ECHO_T}$result" >&6; }
7710
7711
7712 enablestring=
7713 defaultval=$wxUSE_ALL_FEATURES
7714 if test -z "$defaultval"; then
7715 if test x"$enablestring" = xdisable; then
7716 defaultval=yes
7717 else
7718 defaultval=no
7719 fi
7720 fi
7721
7722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7723 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7724 # Check whether --enable-stdpaths was given.
7725 if test "${enable_stdpaths+set}" = set; then
7726 enableval=$enable_stdpaths;
7727 if test "$enableval" = yes; then
7728 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7729 else
7730 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7731 fi
7732
7733 else
7734
7735 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7736
7737 fi
7738
7739
7740 eval "$wx_cv_use_stdpaths"
7741
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_STDPATHS = no; then
7744 result=yes
7745 else
7746 result=no
7747 fi
7748 else
7749 result=$wxUSE_STDPATHS
7750 fi
7751
7752 { echo "$as_me:$LINENO: result: $result" >&5
7753 echo "${ECHO_T}$result" >&6; }
7754
7755
7756 enablestring=
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7760 defaultval=yes
7761 else
7762 defaultval=no
7763 fi
7764 fi
7765
7766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7768 # Check whether --enable-stopwatch was given.
7769 if test "${enable_stopwatch+set}" = set; then
7770 enableval=$enable_stopwatch;
7771 if test "$enableval" = yes; then
7772 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7773 else
7774 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7775 fi
7776
7777 else
7778
7779 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7780
7781 fi
7782
7783
7784 eval "$wx_cv_use_stopwatch"
7785
7786 if test x"$enablestring" = xdisable; then
7787 if test $wxUSE_STOPWATCH = no; then
7788 result=yes
7789 else
7790 result=no
7791 fi
7792 else
7793 result=$wxUSE_STOPWATCH
7794 fi
7795
7796 { echo "$as_me:$LINENO: result: $result" >&5
7797 echo "${ECHO_T}$result" >&6; }
7798
7799
7800 enablestring=
7801 defaultval=$wxUSE_ALL_FEATURES
7802 if test -z "$defaultval"; then
7803 if test x"$enablestring" = xdisable; then
7804 defaultval=yes
7805 else
7806 defaultval=no
7807 fi
7808 fi
7809
7810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7812 # Check whether --enable-streams was given.
7813 if test "${enable_streams+set}" = set; then
7814 enableval=$enable_streams;
7815 if test "$enableval" = yes; then
7816 wx_cv_use_streams='wxUSE_STREAMS=yes'
7817 else
7818 wx_cv_use_streams='wxUSE_STREAMS=no'
7819 fi
7820
7821 else
7822
7823 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7824
7825 fi
7826
7827
7828 eval "$wx_cv_use_streams"
7829
7830 if test x"$enablestring" = xdisable; then
7831 if test $wxUSE_STREAMS = no; then
7832 result=yes
7833 else
7834 result=no
7835 fi
7836 else
7837 result=$wxUSE_STREAMS
7838 fi
7839
7840 { echo "$as_me:$LINENO: result: $result" >&5
7841 echo "${ECHO_T}$result" >&6; }
7842
7843
7844 enablestring=
7845 defaultval=$wxUSE_ALL_FEATURES
7846 if test -z "$defaultval"; then
7847 if test x"$enablestring" = xdisable; then
7848 defaultval=yes
7849 else
7850 defaultval=no
7851 fi
7852 fi
7853
7854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7856 # Check whether --enable-sysoptions was given.
7857 if test "${enable_sysoptions+set}" = set; then
7858 enableval=$enable_sysoptions;
7859 if test "$enableval" = yes; then
7860 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7861 else
7862 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7863 fi
7864
7865 else
7866
7867 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7868
7869 fi
7870
7871
7872 eval "$wx_cv_use_sysoptions"
7873
7874 if test x"$enablestring" = xdisable; then
7875 if test $wxUSE_SYSTEM_OPTIONS = no; then
7876 result=yes
7877 else
7878 result=no
7879 fi
7880 else
7881 result=$wxUSE_SYSTEM_OPTIONS
7882 fi
7883
7884 { echo "$as_me:$LINENO: result: $result" >&5
7885 echo "${ECHO_T}$result" >&6; }
7886
7887
7888 enablestring=
7889 defaultval=$wxUSE_ALL_FEATURES
7890 if test -z "$defaultval"; then
7891 if test x"$enablestring" = xdisable; then
7892 defaultval=yes
7893 else
7894 defaultval=no
7895 fi
7896 fi
7897
7898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7899 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7900 # Check whether --enable-tarstream was given.
7901 if test "${enable_tarstream+set}" = set; then
7902 enableval=$enable_tarstream;
7903 if test "$enableval" = yes; then
7904 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7905 else
7906 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7907 fi
7908
7909 else
7910
7911 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7912
7913 fi
7914
7915
7916 eval "$wx_cv_use_tarstream"
7917
7918 if test x"$enablestring" = xdisable; then
7919 if test $wxUSE_TARSTREAM = no; then
7920 result=yes
7921 else
7922 result=no
7923 fi
7924 else
7925 result=$wxUSE_TARSTREAM
7926 fi
7927
7928 { echo "$as_me:$LINENO: result: $result" >&5
7929 echo "${ECHO_T}$result" >&6; }
7930
7931
7932 enablestring=
7933 defaultval=$wxUSE_ALL_FEATURES
7934 if test -z "$defaultval"; then
7935 if test x"$enablestring" = xdisable; then
7936 defaultval=yes
7937 else
7938 defaultval=no
7939 fi
7940 fi
7941
7942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7943 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7944 # Check whether --enable-textbuf was given.
7945 if test "${enable_textbuf+set}" = set; then
7946 enableval=$enable_textbuf;
7947 if test "$enableval" = yes; then
7948 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7949 else
7950 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7951 fi
7952
7953 else
7954
7955 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7956
7957 fi
7958
7959
7960 eval "$wx_cv_use_textbuf"
7961
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_TEXTBUFFER = no; then
7964 result=yes
7965 else
7966 result=no
7967 fi
7968 else
7969 result=$wxUSE_TEXTBUFFER
7970 fi
7971
7972 { echo "$as_me:$LINENO: result: $result" >&5
7973 echo "${ECHO_T}$result" >&6; }
7974
7975
7976 enablestring=
7977 defaultval=$wxUSE_ALL_FEATURES
7978 if test -z "$defaultval"; then
7979 if test x"$enablestring" = xdisable; then
7980 defaultval=yes
7981 else
7982 defaultval=no
7983 fi
7984 fi
7985
7986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7988 # Check whether --enable-textfile was given.
7989 if test "${enable_textfile+set}" = set; then
7990 enableval=$enable_textfile;
7991 if test "$enableval" = yes; then
7992 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7993 else
7994 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7995 fi
7996
7997 else
7998
7999 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8000
8001 fi
8002
8003
8004 eval "$wx_cv_use_textfile"
8005
8006 if test x"$enablestring" = xdisable; then
8007 if test $wxUSE_TEXTFILE = no; then
8008 result=yes
8009 else
8010 result=no
8011 fi
8012 else
8013 result=$wxUSE_TEXTFILE
8014 fi
8015
8016 { echo "$as_me:$LINENO: result: $result" >&5
8017 echo "${ECHO_T}$result" >&6; }
8018
8019
8020 enablestring=
8021 defaultval=$wxUSE_ALL_FEATURES
8022 if test -z "$defaultval"; then
8023 if test x"$enablestring" = xdisable; then
8024 defaultval=yes
8025 else
8026 defaultval=no
8027 fi
8028 fi
8029
8030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8032 # Check whether --enable-timer was given.
8033 if test "${enable_timer+set}" = set; then
8034 enableval=$enable_timer;
8035 if test "$enableval" = yes; then
8036 wx_cv_use_timer='wxUSE_TIMER=yes'
8037 else
8038 wx_cv_use_timer='wxUSE_TIMER=no'
8039 fi
8040
8041 else
8042
8043 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8044
8045 fi
8046
8047
8048 eval "$wx_cv_use_timer"
8049
8050 if test x"$enablestring" = xdisable; then
8051 if test $wxUSE_TIMER = no; then
8052 result=yes
8053 else
8054 result=no
8055 fi
8056 else
8057 result=$wxUSE_TIMER
8058 fi
8059
8060 { echo "$as_me:$LINENO: result: $result" >&5
8061 echo "${ECHO_T}$result" >&6; }
8062
8063
8064 enablestring=
8065 defaultval=$wxUSE_ALL_FEATURES
8066 if test -z "$defaultval"; then
8067 if test x"$enablestring" = xdisable; then
8068 defaultval=yes
8069 else
8070 defaultval=no
8071 fi
8072 fi
8073
8074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8076 # Check whether --enable-variant was given.
8077 if test "${enable_variant+set}" = set; then
8078 enableval=$enable_variant;
8079 if test "$enableval" = yes; then
8080 wx_cv_use_variant='wxUSE_VARIANT=yes'
8081 else
8082 wx_cv_use_variant='wxUSE_VARIANT=no'
8083 fi
8084
8085 else
8086
8087 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8088
8089 fi
8090
8091
8092 eval "$wx_cv_use_variant"
8093
8094 if test x"$enablestring" = xdisable; then
8095 if test $wxUSE_VARIANT = no; then
8096 result=yes
8097 else
8098 result=no
8099 fi
8100 else
8101 result=$wxUSE_VARIANT
8102 fi
8103
8104 { echo "$as_me:$LINENO: result: $result" >&5
8105 echo "${ECHO_T}$result" >&6; }
8106
8107
8108 enablestring=
8109 defaultval=$wxUSE_ALL_FEATURES
8110 if test -z "$defaultval"; then
8111 if test x"$enablestring" = xdisable; then
8112 defaultval=yes
8113 else
8114 defaultval=no
8115 fi
8116 fi
8117
8118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8120 # Check whether --enable-zipstream was given.
8121 if test "${enable_zipstream+set}" = set; then
8122 enableval=$enable_zipstream;
8123 if test "$enableval" = yes; then
8124 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8125 else
8126 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8127 fi
8128
8129 else
8130
8131 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8132
8133 fi
8134
8135
8136 eval "$wx_cv_use_zipstream"
8137
8138 if test x"$enablestring" = xdisable; then
8139 if test $wxUSE_ZIPSTREAM = no; then
8140 result=yes
8141 else
8142 result=no
8143 fi
8144 else
8145 result=$wxUSE_ZIPSTREAM
8146 fi
8147
8148 { echo "$as_me:$LINENO: result: $result" >&5
8149 echo "${ECHO_T}$result" >&6; }
8150
8151
8152
8153 enablestring=
8154 defaultval=$wxUSE_ALL_FEATURES
8155 if test -z "$defaultval"; then
8156 if test x"$enablestring" = xdisable; then
8157 defaultval=yes
8158 else
8159 defaultval=no
8160 fi
8161 fi
8162
8163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8165 # Check whether --enable-url was given.
8166 if test "${enable_url+set}" = set; then
8167 enableval=$enable_url;
8168 if test "$enableval" = yes; then
8169 wx_cv_use_url='wxUSE_URL=yes'
8170 else
8171 wx_cv_use_url='wxUSE_URL=no'
8172 fi
8173
8174 else
8175
8176 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8177
8178 fi
8179
8180
8181 eval "$wx_cv_use_url"
8182
8183 if test x"$enablestring" = xdisable; then
8184 if test $wxUSE_URL = no; then
8185 result=yes
8186 else
8187 result=no
8188 fi
8189 else
8190 result=$wxUSE_URL
8191 fi
8192
8193 { echo "$as_me:$LINENO: result: $result" >&5
8194 echo "${ECHO_T}$result" >&6; }
8195
8196
8197 enablestring=
8198 defaultval=$wxUSE_ALL_FEATURES
8199 if test -z "$defaultval"; then
8200 if test x"$enablestring" = xdisable; then
8201 defaultval=yes
8202 else
8203 defaultval=no
8204 fi
8205 fi
8206
8207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8208 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8209 # Check whether --enable-protocol was given.
8210 if test "${enable_protocol+set}" = set; then
8211 enableval=$enable_protocol;
8212 if test "$enableval" = yes; then
8213 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8214 else
8215 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8216 fi
8217
8218 else
8219
8220 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8221
8222 fi
8223
8224
8225 eval "$wx_cv_use_protocol"
8226
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_PROTOCOL = no; then
8229 result=yes
8230 else
8231 result=no
8232 fi
8233 else
8234 result=$wxUSE_PROTOCOL
8235 fi
8236
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8239
8240
8241 enablestring=
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8245 defaultval=yes
8246 else
8247 defaultval=no
8248 fi
8249 fi
8250
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8253 # Check whether --enable-protocol_http was given.
8254 if test "${enable_protocol_http+set}" = set; then
8255 enableval=$enable_protocol_http;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8258 else
8259 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8260 fi
8261
8262 else
8263
8264 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8265
8266 fi
8267
8268
8269 eval "$wx_cv_use_protocol_http"
8270
8271 if test x"$enablestring" = xdisable; then
8272 if test $wxUSE_PROTOCOL_HTTP = no; then
8273 result=yes
8274 else
8275 result=no
8276 fi
8277 else
8278 result=$wxUSE_PROTOCOL_HTTP
8279 fi
8280
8281 { echo "$as_me:$LINENO: result: $result" >&5
8282 echo "${ECHO_T}$result" >&6; }
8283
8284
8285 enablestring=
8286 defaultval=$wxUSE_ALL_FEATURES
8287 if test -z "$defaultval"; then
8288 if test x"$enablestring" = xdisable; then
8289 defaultval=yes
8290 else
8291 defaultval=no
8292 fi
8293 fi
8294
8295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8296 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8297 # Check whether --enable-protocol_ftp was given.
8298 if test "${enable_protocol_ftp+set}" = set; then
8299 enableval=$enable_protocol_ftp;
8300 if test "$enableval" = yes; then
8301 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8302 else
8303 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8304 fi
8305
8306 else
8307
8308 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8309
8310 fi
8311
8312
8313 eval "$wx_cv_use_protocol_ftp"
8314
8315 if test x"$enablestring" = xdisable; then
8316 if test $wxUSE_PROTOCOL_FTP = no; then
8317 result=yes
8318 else
8319 result=no
8320 fi
8321 else
8322 result=$wxUSE_PROTOCOL_FTP
8323 fi
8324
8325 { echo "$as_me:$LINENO: result: $result" >&5
8326 echo "${ECHO_T}$result" >&6; }
8327
8328
8329 enablestring=
8330 defaultval=$wxUSE_ALL_FEATURES
8331 if test -z "$defaultval"; then
8332 if test x"$enablestring" = xdisable; then
8333 defaultval=yes
8334 else
8335 defaultval=no
8336 fi
8337 fi
8338
8339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8341 # Check whether --enable-protocol_file was given.
8342 if test "${enable_protocol_file+set}" = set; then
8343 enableval=$enable_protocol_file;
8344 if test "$enableval" = yes; then
8345 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8346 else
8347 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8348 fi
8349
8350 else
8351
8352 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8353
8354 fi
8355
8356
8357 eval "$wx_cv_use_protocol_file"
8358
8359 if test x"$enablestring" = xdisable; then
8360 if test $wxUSE_PROTOCOL_FILE = no; then
8361 result=yes
8362 else
8363 result=no
8364 fi
8365 else
8366 result=$wxUSE_PROTOCOL_FILE
8367 fi
8368
8369 { echo "$as_me:$LINENO: result: $result" >&5
8370 echo "${ECHO_T}$result" >&6; }
8371
8372
8373
8374 enablestring=
8375 defaultval=$wxUSE_ALL_FEATURES
8376 if test -z "$defaultval"; then
8377 if test x"$enablestring" = xdisable; then
8378 defaultval=yes
8379 else
8380 defaultval=no
8381 fi
8382 fi
8383
8384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8386 # Check whether --enable-threads was given.
8387 if test "${enable_threads+set}" = set; then
8388 enableval=$enable_threads;
8389 if test "$enableval" = yes; then
8390 wx_cv_use_threads='wxUSE_THREADS=yes'
8391 else
8392 wx_cv_use_threads='wxUSE_THREADS=no'
8393 fi
8394
8395 else
8396
8397 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8398
8399 fi
8400
8401
8402 eval "$wx_cv_use_threads"
8403
8404 if test x"$enablestring" = xdisable; then
8405 if test $wxUSE_THREADS = no; then
8406 result=yes
8407 else
8408 result=no
8409 fi
8410 else
8411 result=$wxUSE_THREADS
8412 fi
8413
8414 { echo "$as_me:$LINENO: result: $result" >&5
8415 echo "${ECHO_T}$result" >&6; }
8416
8417
8418
8419 enablestring=
8420 defaultval=
8421 if test -z "$defaultval"; then
8422 if test x"$enablestring" = xdisable; then
8423 defaultval=yes
8424 else
8425 defaultval=no
8426 fi
8427 fi
8428
8429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8431 # Check whether --enable-iniconf was given.
8432 if test "${enable_iniconf+set}" = set; then
8433 enableval=$enable_iniconf;
8434 if test "$enableval" = yes; then
8435 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8436 else
8437 wx_cv_use_iniconf='wxUSE_INICONF=no'
8438 fi
8439
8440 else
8441
8442 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8443
8444 fi
8445
8446
8447 eval "$wx_cv_use_iniconf"
8448
8449 if test x"$enablestring" = xdisable; then
8450 if test $wxUSE_INICONF = no; then
8451 result=yes
8452 else
8453 result=no
8454 fi
8455 else
8456 result=$wxUSE_INICONF
8457 fi
8458
8459 { echo "$as_me:$LINENO: result: $result" >&5
8460 echo "${ECHO_T}$result" >&6; }
8461
8462
8463 enablestring=
8464 defaultval=$wxUSE_ALL_FEATURES
8465 if test -z "$defaultval"; then
8466 if test x"$enablestring" = xdisable; then
8467 defaultval=yes
8468 else
8469 defaultval=no
8470 fi
8471 fi
8472
8473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8474 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8475 # Check whether --enable-regkey was given.
8476 if test "${enable_regkey+set}" = set; then
8477 enableval=$enable_regkey;
8478 if test "$enableval" = yes; then
8479 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8480 else
8481 wx_cv_use_regkey='wxUSE_REGKEY=no'
8482 fi
8483
8484 else
8485
8486 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8487
8488 fi
8489
8490
8491 eval "$wx_cv_use_regkey"
8492
8493 if test x"$enablestring" = xdisable; then
8494 if test $wxUSE_REGKEY = no; then
8495 result=yes
8496 else
8497 result=no
8498 fi
8499 else
8500 result=$wxUSE_REGKEY
8501 fi
8502
8503 { echo "$as_me:$LINENO: result: $result" >&5
8504 echo "${ECHO_T}$result" >&6; }
8505
8506
8507 if test "$wxUSE_GUI" = "yes"; then
8508
8509
8510
8511 enablestring=
8512 defaultval=$wxUSE_ALL_FEATURES
8513 if test -z "$defaultval"; then
8514 if test x"$enablestring" = xdisable; then
8515 defaultval=yes
8516 else
8517 defaultval=no
8518 fi
8519 fi
8520
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8523 # Check whether --enable-docview was given.
8524 if test "${enable_docview+set}" = set; then
8525 enableval=$enable_docview;
8526 if test "$enableval" = yes; then
8527 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8528 else
8529 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8530 fi
8531
8532 else
8533
8534 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8535
8536 fi
8537
8538
8539 eval "$wx_cv_use_docview"
8540
8541 if test x"$enablestring" = xdisable; then
8542 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8543 result=yes
8544 else
8545 result=no
8546 fi
8547 else
8548 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8549 fi
8550
8551 { echo "$as_me:$LINENO: result: $result" >&5
8552 echo "${ECHO_T}$result" >&6; }
8553
8554
8555 enablestring=
8556 defaultval=$wxUSE_ALL_FEATURES
8557 if test -z "$defaultval"; then
8558 if test x"$enablestring" = xdisable; then
8559 defaultval=yes
8560 else
8561 defaultval=no
8562 fi
8563 fi
8564
8565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8567 # Check whether --enable-help was given.
8568 if test "${enable_help+set}" = set; then
8569 enableval=$enable_help;
8570 if test "$enableval" = yes; then
8571 wx_cv_use_help='wxUSE_HELP=yes'
8572 else
8573 wx_cv_use_help='wxUSE_HELP=no'
8574 fi
8575
8576 else
8577
8578 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8579
8580 fi
8581
8582
8583 eval "$wx_cv_use_help"
8584
8585 if test x"$enablestring" = xdisable; then
8586 if test $wxUSE_HELP = no; then
8587 result=yes
8588 else
8589 result=no
8590 fi
8591 else
8592 result=$wxUSE_HELP
8593 fi
8594
8595 { echo "$as_me:$LINENO: result: $result" >&5
8596 echo "${ECHO_T}$result" >&6; }
8597
8598
8599 enablestring=
8600 defaultval=$wxUSE_ALL_FEATURES
8601 if test -z "$defaultval"; then
8602 if test x"$enablestring" = xdisable; then
8603 defaultval=yes
8604 else
8605 defaultval=no
8606 fi
8607 fi
8608
8609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8611 # Check whether --enable-mshtmlhelp was given.
8612 if test "${enable_mshtmlhelp+set}" = set; then
8613 enableval=$enable_mshtmlhelp;
8614 if test "$enableval" = yes; then
8615 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8616 else
8617 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8618 fi
8619
8620 else
8621
8622 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8623
8624 fi
8625
8626
8627 eval "$wx_cv_use_mshtmlhelp"
8628
8629 if test x"$enablestring" = xdisable; then
8630 if test $wxUSE_MS_HTML_HELP = no; then
8631 result=yes
8632 else
8633 result=no
8634 fi
8635 else
8636 result=$wxUSE_MS_HTML_HELP
8637 fi
8638
8639 { echo "$as_me:$LINENO: result: $result" >&5
8640 echo "${ECHO_T}$result" >&6; }
8641
8642
8643 enablestring=
8644 defaultval=$wxUSE_ALL_FEATURES
8645 if test -z "$defaultval"; then
8646 if test x"$enablestring" = xdisable; then
8647 defaultval=yes
8648 else
8649 defaultval=no
8650 fi
8651 fi
8652
8653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8655 # Check whether --enable-html was given.
8656 if test "${enable_html+set}" = set; then
8657 enableval=$enable_html;
8658 if test "$enableval" = yes; then
8659 wx_cv_use_html='wxUSE_HTML=yes'
8660 else
8661 wx_cv_use_html='wxUSE_HTML=no'
8662 fi
8663
8664 else
8665
8666 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8667
8668 fi
8669
8670
8671 eval "$wx_cv_use_html"
8672
8673 if test x"$enablestring" = xdisable; then
8674 if test $wxUSE_HTML = no; then
8675 result=yes
8676 else
8677 result=no
8678 fi
8679 else
8680 result=$wxUSE_HTML
8681 fi
8682
8683 { echo "$as_me:$LINENO: result: $result" >&5
8684 echo "${ECHO_T}$result" >&6; }
8685
8686
8687 enablestring=
8688 defaultval=$wxUSE_ALL_FEATURES
8689 if test -z "$defaultval"; then
8690 if test x"$enablestring" = xdisable; then
8691 defaultval=yes
8692 else
8693 defaultval=no
8694 fi
8695 fi
8696
8697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8699 # Check whether --enable-htmlhelp was given.
8700 if test "${enable_htmlhelp+set}" = set; then
8701 enableval=$enable_htmlhelp;
8702 if test "$enableval" = yes; then
8703 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8704 else
8705 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8706 fi
8707
8708 else
8709
8710 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8711
8712 fi
8713
8714
8715 eval "$wx_cv_use_htmlhelp"
8716
8717 if test x"$enablestring" = xdisable; then
8718 if test $wxUSE_WXHTML_HELP = no; then
8719 result=yes
8720 else
8721 result=no
8722 fi
8723 else
8724 result=$wxUSE_WXHTML_HELP
8725 fi
8726
8727 { echo "$as_me:$LINENO: result: $result" >&5
8728 echo "${ECHO_T}$result" >&6; }
8729
8730
8731 enablestring=
8732 defaultval=$wxUSE_ALL_FEATURES
8733 if test -z "$defaultval"; then
8734 if test x"$enablestring" = xdisable; then
8735 defaultval=yes
8736 else
8737 defaultval=no
8738 fi
8739 fi
8740
8741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8742 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8743 # Check whether --enable-xrc was given.
8744 if test "${enable_xrc+set}" = set; then
8745 enableval=$enable_xrc;
8746 if test "$enableval" = yes; then
8747 wx_cv_use_xrc='wxUSE_XRC=yes'
8748 else
8749 wx_cv_use_xrc='wxUSE_XRC=no'
8750 fi
8751
8752 else
8753
8754 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8755
8756 fi
8757
8758
8759 eval "$wx_cv_use_xrc"
8760
8761 if test x"$enablestring" = xdisable; then
8762 if test $wxUSE_XRC = no; then
8763 result=yes
8764 else
8765 result=no
8766 fi
8767 else
8768 result=$wxUSE_XRC
8769 fi
8770
8771 { echo "$as_me:$LINENO: result: $result" >&5
8772 echo "${ECHO_T}$result" >&6; }
8773
8774
8775 enablestring=
8776 defaultval=$wxUSE_ALL_FEATURES
8777 if test -z "$defaultval"; then
8778 if test x"$enablestring" = xdisable; then
8779 defaultval=yes
8780 else
8781 defaultval=no
8782 fi
8783 fi
8784
8785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8787 # Check whether --enable-aui was given.
8788 if test "${enable_aui+set}" = set; then
8789 enableval=$enable_aui;
8790 if test "$enableval" = yes; then
8791 wx_cv_use_aui='wxUSE_AUI=yes'
8792 else
8793 wx_cv_use_aui='wxUSE_AUI=no'
8794 fi
8795
8796 else
8797
8798 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8799
8800 fi
8801
8802
8803 eval "$wx_cv_use_aui"
8804
8805 if test x"$enablestring" = xdisable; then
8806 if test $wxUSE_AUI = no; then
8807 result=yes
8808 else
8809 result=no
8810 fi
8811 else
8812 result=$wxUSE_AUI
8813 fi
8814
8815 { echo "$as_me:$LINENO: result: $result" >&5
8816 echo "${ECHO_T}$result" >&6; }
8817
8818
8819 enablestring=
8820 defaultval=$wxUSE_ALL_FEATURES
8821 if test -z "$defaultval"; then
8822 if test x"$enablestring" = xdisable; then
8823 defaultval=yes
8824 else
8825 defaultval=no
8826 fi
8827 fi
8828
8829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8831 # Check whether --enable-propgrid was given.
8832 if test "${enable_propgrid+set}" = set; then
8833 enableval=$enable_propgrid;
8834 if test "$enableval" = yes; then
8835 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8836 else
8837 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8838 fi
8839
8840 else
8841
8842 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8843
8844 fi
8845
8846
8847 eval "$wx_cv_use_propgrid"
8848
8849 if test x"$enablestring" = xdisable; then
8850 if test $wxUSE_PROPGRID = no; then
8851 result=yes
8852 else
8853 result=no
8854 fi
8855 else
8856 result=$wxUSE_PROPGRID
8857 fi
8858
8859 { echo "$as_me:$LINENO: result: $result" >&5
8860 echo "${ECHO_T}$result" >&6; }
8861
8862
8863 enablestring=
8864 defaultval=$wxUSE_ALL_FEATURES
8865 if test -z "$defaultval"; then
8866 if test x"$enablestring" = xdisable; then
8867 defaultval=yes
8868 else
8869 defaultval=no
8870 fi
8871 fi
8872
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8875 # Check whether --enable-ribbon was given.
8876 if test "${enable_ribbon+set}" = set; then
8877 enableval=$enable_ribbon;
8878 if test "$enableval" = yes; then
8879 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8880 else
8881 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8882 fi
8883
8884 else
8885
8886 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8887
8888 fi
8889
8890
8891 eval "$wx_cv_use_ribbon"
8892
8893 if test x"$enablestring" = xdisable; then
8894 if test $wxUSE_RIBBON = no; then
8895 result=yes
8896 else
8897 result=no
8898 fi
8899 else
8900 result=$wxUSE_RIBBON
8901 fi
8902
8903 { echo "$as_me:$LINENO: result: $result" >&5
8904 echo "${ECHO_T}$result" >&6; }
8905
8906
8907 enablestring=
8908 defaultval=$wxUSE_ALL_FEATURES
8909 if test -z "$defaultval"; then
8910 if test x"$enablestring" = xdisable; then
8911 defaultval=yes
8912 else
8913 defaultval=no
8914 fi
8915 fi
8916
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8919 # Check whether --enable-stc was given.
8920 if test "${enable_stc+set}" = set; then
8921 enableval=$enable_stc;
8922 if test "$enableval" = yes; then
8923 wx_cv_use_stc='wxUSE_STC=yes'
8924 else
8925 wx_cv_use_stc='wxUSE_STC=no'
8926 fi
8927
8928 else
8929
8930 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8931
8932 fi
8933
8934
8935 eval "$wx_cv_use_stc"
8936
8937 if test x"$enablestring" = xdisable; then
8938 if test $wxUSE_STC = no; then
8939 result=yes
8940 else
8941 result=no
8942 fi
8943 else
8944 result=$wxUSE_STC
8945 fi
8946
8947 { echo "$as_me:$LINENO: result: $result" >&5
8948 echo "${ECHO_T}$result" >&6; }
8949
8950
8951 enablestring=
8952 defaultval=$wxUSE_ALL_FEATURES
8953 if test -z "$defaultval"; then
8954 if test x"$enablestring" = xdisable; then
8955 defaultval=yes
8956 else
8957 defaultval=no
8958 fi
8959 fi
8960
8961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8962 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8963 # Check whether --enable-constraints was given.
8964 if test "${enable_constraints+set}" = set; then
8965 enableval=$enable_constraints;
8966 if test "$enableval" = yes; then
8967 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8968 else
8969 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8970 fi
8971
8972 else
8973
8974 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8975
8976 fi
8977
8978
8979 eval "$wx_cv_use_constraints"
8980
8981 if test x"$enablestring" = xdisable; then
8982 if test $wxUSE_CONSTRAINTS = no; then
8983 result=yes
8984 else
8985 result=no
8986 fi
8987 else
8988 result=$wxUSE_CONSTRAINTS
8989 fi
8990
8991 { echo "$as_me:$LINENO: result: $result" >&5
8992 echo "${ECHO_T}$result" >&6; }
8993
8994
8995 enablestring=
8996 defaultval=$wxUSE_ALL_FEATURES
8997 if test -z "$defaultval"; then
8998 if test x"$enablestring" = xdisable; then
8999 defaultval=yes
9000 else
9001 defaultval=no
9002 fi
9003 fi
9004
9005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9007 # Check whether --enable-loggui was given.
9008 if test "${enable_loggui+set}" = set; then
9009 enableval=$enable_loggui;
9010 if test "$enableval" = yes; then
9011 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9012 else
9013 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9014 fi
9015
9016 else
9017
9018 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9019
9020 fi
9021
9022
9023 eval "$wx_cv_use_loggui"
9024
9025 if test x"$enablestring" = xdisable; then
9026 if test $wxUSE_LOGGUI = no; then
9027 result=yes
9028 else
9029 result=no
9030 fi
9031 else
9032 result=$wxUSE_LOGGUI
9033 fi
9034
9035 { echo "$as_me:$LINENO: result: $result" >&5
9036 echo "${ECHO_T}$result" >&6; }
9037
9038
9039 enablestring=
9040 defaultval=$wxUSE_ALL_FEATURES
9041 if test -z "$defaultval"; then
9042 if test x"$enablestring" = xdisable; then
9043 defaultval=yes
9044 else
9045 defaultval=no
9046 fi
9047 fi
9048
9049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9050 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9051 # Check whether --enable-logwin was given.
9052 if test "${enable_logwin+set}" = set; then
9053 enableval=$enable_logwin;
9054 if test "$enableval" = yes; then
9055 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9056 else
9057 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9058 fi
9059
9060 else
9061
9062 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9063
9064 fi
9065
9066
9067 eval "$wx_cv_use_logwin"
9068
9069 if test x"$enablestring" = xdisable; then
9070 if test $wxUSE_LOGWINDOW = no; then
9071 result=yes
9072 else
9073 result=no
9074 fi
9075 else
9076 result=$wxUSE_LOGWINDOW
9077 fi
9078
9079 { echo "$as_me:$LINENO: result: $result" >&5
9080 echo "${ECHO_T}$result" >&6; }
9081
9082
9083 enablestring=
9084 defaultval=$wxUSE_ALL_FEATURES
9085 if test -z "$defaultval"; then
9086 if test x"$enablestring" = xdisable; then
9087 defaultval=yes
9088 else
9089 defaultval=no
9090 fi
9091 fi
9092
9093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9094 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9095 # Check whether --enable-logdialog was given.
9096 if test "${enable_logdialog+set}" = set; then
9097 enableval=$enable_logdialog;
9098 if test "$enableval" = yes; then
9099 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9100 else
9101 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9102 fi
9103
9104 else
9105
9106 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9107
9108 fi
9109
9110
9111 eval "$wx_cv_use_logdialog"
9112
9113 if test x"$enablestring" = xdisable; then
9114 if test $wxUSE_LOGDIALOG = no; then
9115 result=yes
9116 else
9117 result=no
9118 fi
9119 else
9120 result=$wxUSE_LOGDIALOG
9121 fi
9122
9123 { echo "$as_me:$LINENO: result: $result" >&5
9124 echo "${ECHO_T}$result" >&6; }
9125
9126
9127 enablestring=
9128 defaultval=$wxUSE_ALL_FEATURES
9129 if test -z "$defaultval"; then
9130 if test x"$enablestring" = xdisable; then
9131 defaultval=yes
9132 else
9133 defaultval=no
9134 fi
9135 fi
9136
9137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9139 # Check whether --enable-mdi was given.
9140 if test "${enable_mdi+set}" = set; then
9141 enableval=$enable_mdi;
9142 if test "$enableval" = yes; then
9143 wx_cv_use_mdi='wxUSE_MDI=yes'
9144 else
9145 wx_cv_use_mdi='wxUSE_MDI=no'
9146 fi
9147
9148 else
9149
9150 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9151
9152 fi
9153
9154
9155 eval "$wx_cv_use_mdi"
9156
9157 if test x"$enablestring" = xdisable; then
9158 if test $wxUSE_MDI = no; then
9159 result=yes
9160 else
9161 result=no
9162 fi
9163 else
9164 result=$wxUSE_MDI
9165 fi
9166
9167 { echo "$as_me:$LINENO: result: $result" >&5
9168 echo "${ECHO_T}$result" >&6; }
9169
9170
9171 enablestring=
9172 defaultval=$wxUSE_ALL_FEATURES
9173 if test -z "$defaultval"; then
9174 if test x"$enablestring" = xdisable; then
9175 defaultval=yes
9176 else
9177 defaultval=no
9178 fi
9179 fi
9180
9181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9183 # Check whether --enable-mdidoc was given.
9184 if test "${enable_mdidoc+set}" = set; then
9185 enableval=$enable_mdidoc;
9186 if test "$enableval" = yes; then
9187 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9188 else
9189 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9190 fi
9191
9192 else
9193
9194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9195
9196 fi
9197
9198
9199 eval "$wx_cv_use_mdidoc"
9200
9201 if test x"$enablestring" = xdisable; then
9202 if test $wxUSE_MDI_ARCHITECTURE = no; then
9203 result=yes
9204 else
9205 result=no
9206 fi
9207 else
9208 result=$wxUSE_MDI_ARCHITECTURE
9209 fi
9210
9211 { echo "$as_me:$LINENO: result: $result" >&5
9212 echo "${ECHO_T}$result" >&6; }
9213
9214
9215 enablestring=
9216 defaultval=$wxUSE_ALL_FEATURES
9217 if test -z "$defaultval"; then
9218 if test x"$enablestring" = xdisable; then
9219 defaultval=yes
9220 else
9221 defaultval=no
9222 fi
9223 fi
9224
9225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9227 # Check whether --enable-mediactrl was given.
9228 if test "${enable_mediactrl+set}" = set; then
9229 enableval=$enable_mediactrl;
9230 if test "$enableval" = yes; then
9231 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9232 else
9233 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9234 fi
9235
9236 else
9237
9238 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9239
9240 fi
9241
9242
9243 eval "$wx_cv_use_mediactrl"
9244
9245 if test x"$enablestring" = xdisable; then
9246 if test $wxUSE_MEDIACTRL = no; then
9247 result=yes
9248 else
9249 result=no
9250 fi
9251 else
9252 result=$wxUSE_MEDIACTRL
9253 fi
9254
9255 { echo "$as_me:$LINENO: result: $result" >&5
9256 echo "${ECHO_T}$result" >&6; }
9257
9258
9259 enablestring=
9260 defaultval=$wxUSE_ALL_FEATURES
9261 if test -z "$defaultval"; then
9262 if test x"$enablestring" = xdisable; then
9263 defaultval=yes
9264 else
9265 defaultval=no
9266 fi
9267 fi
9268
9269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9271 # Check whether --enable-gstreamer8 was given.
9272 if test "${enable_gstreamer8+set}" = set; then
9273 enableval=$enable_gstreamer8;
9274 if test "$enableval" = yes; then
9275 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9276 else
9277 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9278 fi
9279
9280 else
9281
9282 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9283
9284 fi
9285
9286
9287 eval "$wx_cv_use_gstreamer8"
9288
9289 if test x"$enablestring" = xdisable; then
9290 if test $wxUSE_GSTREAMER8 = no; then
9291 result=yes
9292 else
9293 result=no
9294 fi
9295 else
9296 result=$wxUSE_GSTREAMER8
9297 fi
9298
9299 { echo "$as_me:$LINENO: result: $result" >&5
9300 echo "${ECHO_T}$result" >&6; }
9301
9302
9303 enablestring=
9304 defaultval=$wxUSE_ALL_FEATURES
9305 if test -z "$defaultval"; then
9306 if test x"$enablestring" = xdisable; then
9307 defaultval=yes
9308 else
9309 defaultval=no
9310 fi
9311 fi
9312
9313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9315 # Check whether --enable-webkit was given.
9316 if test "${enable_webkit+set}" = set; then
9317 enableval=$enable_webkit;
9318 if test "$enableval" = yes; then
9319 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9320 else
9321 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9322 fi
9323
9324 else
9325
9326 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9327
9328 fi
9329
9330
9331 eval "$wx_cv_use_webkit"
9332
9333 if test x"$enablestring" = xdisable; then
9334 if test $wxUSE_WEBKIT = no; then
9335 result=yes
9336 else
9337 result=no
9338 fi
9339 else
9340 result=$wxUSE_WEBKIT
9341 fi
9342
9343 { echo "$as_me:$LINENO: result: $result" >&5
9344 echo "${ECHO_T}$result" >&6; }
9345
9346
9347 enablestring=
9348 defaultval=$wxUSE_ALL_FEATURES
9349 if test -z "$defaultval"; then
9350 if test x"$enablestring" = xdisable; then
9351 defaultval=yes
9352 else
9353 defaultval=no
9354 fi
9355 fi
9356
9357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9358 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9359 # Check whether --enable-richtext was given.
9360 if test "${enable_richtext+set}" = set; then
9361 enableval=$enable_richtext;
9362 if test "$enableval" = yes; then
9363 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9364 else
9365 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9366 fi
9367
9368 else
9369
9370 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9371
9372 fi
9373
9374
9375 eval "$wx_cv_use_richtext"
9376
9377 if test x"$enablestring" = xdisable; then
9378 if test $wxUSE_RICHTEXT = no; then
9379 result=yes
9380 else
9381 result=no
9382 fi
9383 else
9384 result=$wxUSE_RICHTEXT
9385 fi
9386
9387 { echo "$as_me:$LINENO: result: $result" >&5
9388 echo "${ECHO_T}$result" >&6; }
9389
9390
9391 enablestring=
9392 defaultval=$wxUSE_ALL_FEATURES
9393 if test -z "$defaultval"; then
9394 if test x"$enablestring" = xdisable; then
9395 defaultval=yes
9396 else
9397 defaultval=no
9398 fi
9399 fi
9400
9401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9402 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9403 # Check whether --enable-postscript was given.
9404 if test "${enable_postscript+set}" = set; then
9405 enableval=$enable_postscript;
9406 if test "$enableval" = yes; then
9407 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9408 else
9409 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9410 fi
9411
9412 else
9413
9414 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9415
9416 fi
9417
9418
9419 eval "$wx_cv_use_postscript"
9420
9421 if test x"$enablestring" = xdisable; then
9422 if test $wxUSE_POSTSCRIPT = no; then
9423 result=yes
9424 else
9425 result=no
9426 fi
9427 else
9428 result=$wxUSE_POSTSCRIPT
9429 fi
9430
9431 { echo "$as_me:$LINENO: result: $result" >&5
9432 echo "${ECHO_T}$result" >&6; }
9433
9434
9435 enablestring=
9436 defaultval=$wxUSE_ALL_FEATURES
9437 if test -z "$defaultval"; then
9438 if test x"$enablestring" = xdisable; then
9439 defaultval=yes
9440 else
9441 defaultval=no
9442 fi
9443 fi
9444
9445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9446 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9447 # Check whether --enable-printarch was given.
9448 if test "${enable_printarch+set}" = set; then
9449 enableval=$enable_printarch;
9450 if test "$enableval" = yes; then
9451 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9452 else
9453 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9454 fi
9455
9456 else
9457
9458 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9459
9460 fi
9461
9462
9463 eval "$wx_cv_use_printarch"
9464
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9467 result=yes
9468 else
9469 result=no
9470 fi
9471 else
9472 result=$wxUSE_PRINTING_ARCHITECTURE
9473 fi
9474
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9477
9478
9479 enablestring=
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9483 defaultval=yes
9484 else
9485 defaultval=no
9486 fi
9487 fi
9488
9489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9491 # Check whether --enable-svg was given.
9492 if test "${enable_svg+set}" = set; then
9493 enableval=$enable_svg;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_svg='wxUSE_SVG=yes'
9496 else
9497 wx_cv_use_svg='wxUSE_SVG=no'
9498 fi
9499
9500 else
9501
9502 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9503
9504 fi
9505
9506
9507 eval "$wx_cv_use_svg"
9508
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_SVG = no; then
9511 result=yes
9512 else
9513 result=no
9514 fi
9515 else
9516 result=$wxUSE_SVG
9517 fi
9518
9519 { echo "$as_me:$LINENO: result: $result" >&5
9520 echo "${ECHO_T}$result" >&6; }
9521
9522
9523 if test "$wxUSE_MAC" != 1; then
9524
9525 enablestring=
9526 defaultval=$wxUSE_ALL_FEATURES
9527 if test -z "$defaultval"; then
9528 if test x"$enablestring" = xdisable; then
9529 defaultval=yes
9530 else
9531 defaultval=no
9532 fi
9533 fi
9534
9535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9536 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9537 # Check whether --enable-graphics_ctx was given.
9538 if test "${enable_graphics_ctx+set}" = set; then
9539 enableval=$enable_graphics_ctx;
9540 if test "$enableval" = yes; then
9541 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9542 else
9543 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9544 fi
9545
9546 else
9547
9548 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9549
9550 fi
9551
9552
9553 eval "$wx_cv_use_graphics_ctx"
9554
9555 if test x"$enablestring" = xdisable; then
9556 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9557 result=yes
9558 else
9559 result=no
9560 fi
9561 else
9562 result=$wxUSE_GRAPHICS_CONTEXT
9563 fi
9564
9565 { echo "$as_me:$LINENO: result: $result" >&5
9566 echo "${ECHO_T}$result" >&6; }
9567
9568 fi
9569
9570
9571
9572 enablestring=
9573 defaultval=$wxUSE_ALL_FEATURES
9574 if test -z "$defaultval"; then
9575 if test x"$enablestring" = xdisable; then
9576 defaultval=yes
9577 else
9578 defaultval=no
9579 fi
9580 fi
9581
9582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9583 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9584 # Check whether --enable-clipboard was given.
9585 if test "${enable_clipboard+set}" = set; then
9586 enableval=$enable_clipboard;
9587 if test "$enableval" = yes; then
9588 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9589 else
9590 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9591 fi
9592
9593 else
9594
9595 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9596
9597 fi
9598
9599
9600 eval "$wx_cv_use_clipboard"
9601
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_CLIPBOARD = no; then
9604 result=yes
9605 else
9606 result=no
9607 fi
9608 else
9609 result=$wxUSE_CLIPBOARD
9610 fi
9611
9612 { echo "$as_me:$LINENO: result: $result" >&5
9613 echo "${ECHO_T}$result" >&6; }
9614
9615
9616 enablestring=
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9620 defaultval=yes
9621 else
9622 defaultval=no
9623 fi
9624 fi
9625
9626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9628 # Check whether --enable-dnd was given.
9629 if test "${enable_dnd+set}" = set; then
9630 enableval=$enable_dnd;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9633 else
9634 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9635 fi
9636
9637 else
9638
9639 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9640
9641 fi
9642
9643
9644 eval "$wx_cv_use_dnd"
9645
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_DRAG_AND_DROP = no; then
9648 result=yes
9649 else
9650 result=no
9651 fi
9652 else
9653 result=$wxUSE_DRAG_AND_DROP
9654 fi
9655
9656 { echo "$as_me:$LINENO: result: $result" >&5
9657 echo "${ECHO_T}$result" >&6; }
9658
9659
9660 enablestring=
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9664 defaultval=yes
9665 else
9666 defaultval=no
9667 fi
9668 fi
9669
9670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9672 # Check whether --enable-metafile was given.
9673 if test "${enable_metafile+set}" = set; then
9674 enableval=$enable_metafile;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9677 else
9678 wx_cv_use_metafile='wxUSE_METAFILE=no'
9679 fi
9680
9681 else
9682
9683 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9684
9685 fi
9686
9687
9688 eval "$wx_cv_use_metafile"
9689
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_METAFILE = no; then
9692 result=yes
9693 else
9694 result=no
9695 fi
9696 else
9697 result=$wxUSE_METAFILE
9698 fi
9699
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9702
9703
9704
9705 DEFAULT_wxUSE_CONTROLS=none
9706
9707 enablestring=disable
9708 defaultval=
9709 if test -z "$defaultval"; then
9710 if test x"$enablestring" = xdisable; then
9711 defaultval=yes
9712 else
9713 defaultval=no
9714 fi
9715 fi
9716
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9719 # Check whether --enable-controls was given.
9720 if test "${enable_controls+set}" = set; then
9721 enableval=$enable_controls;
9722 if test "$enableval" = yes; then
9723 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9724 else
9725 wx_cv_use_controls='wxUSE_CONTROLS=no'
9726 fi
9727
9728 else
9729
9730 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9731
9732 fi
9733
9734
9735 eval "$wx_cv_use_controls"
9736
9737 if test x"$enablestring" = xdisable; then
9738 if test $wxUSE_CONTROLS = no; then
9739 result=yes
9740 else
9741 result=no
9742 fi
9743 else
9744 result=$wxUSE_CONTROLS
9745 fi
9746
9747 { echo "$as_me:$LINENO: result: $result" >&5
9748 echo "${ECHO_T}$result" >&6; }
9749
9750
9751 if test "$wxUSE_CONTROLS" = "no"; then
9752 DEFAULT_wxUSE_ACCEL=no
9753 DEFAULT_wxUSE_ANIMATIONCTRL=no
9754 DEFAULT_wxUSE_BMPBUTTON=no
9755 DEFAULT_wxUSE_BUTTON=no
9756 DEFAULT_wxUSE_CALCTRL=no
9757 DEFAULT_wxUSE_CARET=no
9758 DEFAULT_wxUSE_CHECKBOX=no
9759 DEFAULT_wxUSE_CHECKLISTBOX=no
9760 DEFAULT_wxUSE_CHOICE=no
9761 DEFAULT_wxUSE_CHOICEBOOK=no
9762 DEFAULT_wxUSE_COLLPANE=no
9763 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9764 DEFAULT_wxUSE_COMBOBOX=no
9765 DEFAULT_wxUSE_COMBOBOX=no
9766 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9767 DEFAULT_wxUSE_DATAVIEWCTRL=no
9768 DEFAULT_wxUSE_DATEPICKCTRL=no
9769 DEFAULT_wxUSE_DETECT_SM=no
9770 DEFAULT_wxUSE_DIRPICKERCTRL=no
9771 DEFAULT_wxUSE_DISPLAY=no
9772 DEFAULT_wxUSE_FILECTRL=no
9773 DEFAULT_wxUSE_FILEPICKERCTRL=no
9774 DEFAULT_wxUSE_FONTPICKERCTRL=no
9775 DEFAULT_wxUSE_GAUGE=no
9776 DEFAULT_wxUSE_GRID=no
9777 DEFAULT_wxUSE_HEADERCTRL=no
9778 DEFAULT_wxUSE_HYPERLINKCTRL=no
9779 DEFAULT_wxUSE_IMAGLIST=no
9780 DEFAULT_wxUSE_LISTBOOK=no
9781 DEFAULT_wxUSE_LISTBOX=no
9782 DEFAULT_wxUSE_LISTCTRL=no
9783 DEFAULT_wxUSE_NOTEBOOK=no
9784 DEFAULT_wxUSE_POPUPWIN=no
9785 DEFAULT_wxUSE_RADIOBOX=no
9786 DEFAULT_wxUSE_RADIOBTN=no
9787 DEFAULT_wxUSE_RICHMSGDLG=no
9788 DEFAULT_wxUSE_REARRANGECTRL=no
9789 DEFAULT_wxUSE_SASH=no
9790 DEFAULT_wxUSE_SCROLLBAR=no
9791 DEFAULT_wxUSE_SEARCHCTRL=no
9792 DEFAULT_wxUSE_SLIDER=no
9793 DEFAULT_wxUSE_SPINBTN=no
9794 DEFAULT_wxUSE_SPINCTRL=no
9795 DEFAULT_wxUSE_SPLITTER=no
9796 DEFAULT_wxUSE_STATBMP=no
9797 DEFAULT_wxUSE_STATBOX=no
9798 DEFAULT_wxUSE_STATLINE=no
9799 DEFAULT_wxUSE_STATUSBAR=no
9800 DEFAULT_wxUSE_TIPWINDOW=no
9801 DEFAULT_wxUSE_TOGGLEBTN=no
9802 DEFAULT_wxUSE_TOOLBAR=no
9803 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9804 DEFAULT_wxUSE_TOOLBOOK=no
9805 DEFAULT_wxUSE_TOOLTIPS=no
9806 DEFAULT_wxUSE_TREEBOOK=no
9807 DEFAULT_wxUSE_TREECTRL=no
9808 fi
9809
9810
9811 enablestring=
9812 defaultval=$wxUSE_ALL_FEATURES
9813 if test -z "$defaultval"; then
9814 if test x"$enablestring" = xdisable; then
9815 defaultval=yes
9816 else
9817 defaultval=no
9818 fi
9819 fi
9820
9821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9822 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9823 # Check whether --enable-accel was given.
9824 if test "${enable_accel+set}" = set; then
9825 enableval=$enable_accel;
9826 if test "$enableval" = yes; then
9827 wx_cv_use_accel='wxUSE_ACCEL=yes'
9828 else
9829 wx_cv_use_accel='wxUSE_ACCEL=no'
9830 fi
9831
9832 else
9833
9834 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9835
9836 fi
9837
9838
9839 eval "$wx_cv_use_accel"
9840
9841 if test x"$enablestring" = xdisable; then
9842 if test $wxUSE_ACCEL = no; then
9843 result=yes
9844 else
9845 result=no
9846 fi
9847 else
9848 result=$wxUSE_ACCEL
9849 fi
9850
9851 { echo "$as_me:$LINENO: result: $result" >&5
9852 echo "${ECHO_T}$result" >&6; }
9853
9854
9855 enablestring=
9856 defaultval=$wxUSE_ALL_FEATURES
9857 if test -z "$defaultval"; then
9858 if test x"$enablestring" = xdisable; then
9859 defaultval=yes
9860 else
9861 defaultval=no
9862 fi
9863 fi
9864
9865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9866 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9867 # Check whether --enable-animatectrl was given.
9868 if test "${enable_animatectrl+set}" = set; then
9869 enableval=$enable_animatectrl;
9870 if test "$enableval" = yes; then
9871 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9872 else
9873 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9874 fi
9875
9876 else
9877
9878 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9879
9880 fi
9881
9882
9883 eval "$wx_cv_use_animatectrl"
9884
9885 if test x"$enablestring" = xdisable; then
9886 if test $wxUSE_ANIMATIONCTRL = no; then
9887 result=yes
9888 else
9889 result=no
9890 fi
9891 else
9892 result=$wxUSE_ANIMATIONCTRL
9893 fi
9894
9895 { echo "$as_me:$LINENO: result: $result" >&5
9896 echo "${ECHO_T}$result" >&6; }
9897
9898
9899 enablestring=
9900 defaultval=$wxUSE_ALL_FEATURES
9901 if test -z "$defaultval"; then
9902 if test x"$enablestring" = xdisable; then
9903 defaultval=yes
9904 else
9905 defaultval=no
9906 fi
9907 fi
9908
9909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9911 # Check whether --enable-bmpbutton was given.
9912 if test "${enable_bmpbutton+set}" = set; then
9913 enableval=$enable_bmpbutton;
9914 if test "$enableval" = yes; then
9915 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9916 else
9917 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9918 fi
9919
9920 else
9921
9922 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9923
9924 fi
9925
9926
9927 eval "$wx_cv_use_bmpbutton"
9928
9929 if test x"$enablestring" = xdisable; then
9930 if test $wxUSE_BMPBUTTON = no; then
9931 result=yes
9932 else
9933 result=no
9934 fi
9935 else
9936 result=$wxUSE_BMPBUTTON
9937 fi
9938
9939 { echo "$as_me:$LINENO: result: $result" >&5
9940 echo "${ECHO_T}$result" >&6; }
9941
9942
9943 enablestring=
9944 defaultval=$wxUSE_ALL_FEATURES
9945 if test -z "$defaultval"; then
9946 if test x"$enablestring" = xdisable; then
9947 defaultval=yes
9948 else
9949 defaultval=no
9950 fi
9951 fi
9952
9953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9954 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9955 # Check whether --enable-bmpcombobox was given.
9956 if test "${enable_bmpcombobox+set}" = set; then
9957 enableval=$enable_bmpcombobox;
9958 if test "$enableval" = yes; then
9959 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9960 else
9961 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9962 fi
9963
9964 else
9965
9966 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9967
9968 fi
9969
9970
9971 eval "$wx_cv_use_bmpcombobox"
9972
9973 if test x"$enablestring" = xdisable; then
9974 if test $wxUSE_BITMAPCOMBOBOX = no; then
9975 result=yes
9976 else
9977 result=no
9978 fi
9979 else
9980 result=$wxUSE_BITMAPCOMBOBOX
9981 fi
9982
9983 { echo "$as_me:$LINENO: result: $result" >&5
9984 echo "${ECHO_T}$result" >&6; }
9985
9986
9987 enablestring=
9988 defaultval=$wxUSE_ALL_FEATURES
9989 if test -z "$defaultval"; then
9990 if test x"$enablestring" = xdisable; then
9991 defaultval=yes
9992 else
9993 defaultval=no
9994 fi
9995 fi
9996
9997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9998 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9999 # Check whether --enable-button was given.
10000 if test "${enable_button+set}" = set; then
10001 enableval=$enable_button;
10002 if test "$enableval" = yes; then
10003 wx_cv_use_button='wxUSE_BUTTON=yes'
10004 else
10005 wx_cv_use_button='wxUSE_BUTTON=no'
10006 fi
10007
10008 else
10009
10010 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10011
10012 fi
10013
10014
10015 eval "$wx_cv_use_button"
10016
10017 if test x"$enablestring" = xdisable; then
10018 if test $wxUSE_BUTTON = no; then
10019 result=yes
10020 else
10021 result=no
10022 fi
10023 else
10024 result=$wxUSE_BUTTON
10025 fi
10026
10027 { echo "$as_me:$LINENO: result: $result" >&5
10028 echo "${ECHO_T}$result" >&6; }
10029
10030
10031 enablestring=
10032 defaultval=$wxUSE_ALL_FEATURES
10033 if test -z "$defaultval"; then
10034 if test x"$enablestring" = xdisable; then
10035 defaultval=yes
10036 else
10037 defaultval=no
10038 fi
10039 fi
10040
10041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10042 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10043 # Check whether --enable-calendar was given.
10044 if test "${enable_calendar+set}" = set; then
10045 enableval=$enable_calendar;
10046 if test "$enableval" = yes; then
10047 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10048 else
10049 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10050 fi
10051
10052 else
10053
10054 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10055
10056 fi
10057
10058
10059 eval "$wx_cv_use_calendar"
10060
10061 if test x"$enablestring" = xdisable; then
10062 if test $wxUSE_CALCTRL = no; then
10063 result=yes
10064 else
10065 result=no
10066 fi
10067 else
10068 result=$wxUSE_CALCTRL
10069 fi
10070
10071 { echo "$as_me:$LINENO: result: $result" >&5
10072 echo "${ECHO_T}$result" >&6; }
10073
10074
10075 enablestring=
10076 defaultval=$wxUSE_ALL_FEATURES
10077 if test -z "$defaultval"; then
10078 if test x"$enablestring" = xdisable; then
10079 defaultval=yes
10080 else
10081 defaultval=no
10082 fi
10083 fi
10084
10085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10086 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10087 # Check whether --enable-caret was given.
10088 if test "${enable_caret+set}" = set; then
10089 enableval=$enable_caret;
10090 if test "$enableval" = yes; then
10091 wx_cv_use_caret='wxUSE_CARET=yes'
10092 else
10093 wx_cv_use_caret='wxUSE_CARET=no'
10094 fi
10095
10096 else
10097
10098 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10099
10100 fi
10101
10102
10103 eval "$wx_cv_use_caret"
10104
10105 if test x"$enablestring" = xdisable; then
10106 if test $wxUSE_CARET = no; then
10107 result=yes
10108 else
10109 result=no
10110 fi
10111 else
10112 result=$wxUSE_CARET
10113 fi
10114
10115 { echo "$as_me:$LINENO: result: $result" >&5
10116 echo "${ECHO_T}$result" >&6; }
10117
10118
10119 enablestring=
10120 defaultval=$wxUSE_ALL_FEATURES
10121 if test -z "$defaultval"; then
10122 if test x"$enablestring" = xdisable; then
10123 defaultval=yes
10124 else
10125 defaultval=no
10126 fi
10127 fi
10128
10129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10130 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10131 # Check whether --enable-checkbox was given.
10132 if test "${enable_checkbox+set}" = set; then
10133 enableval=$enable_checkbox;
10134 if test "$enableval" = yes; then
10135 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10136 else
10137 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10138 fi
10139
10140 else
10141
10142 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10143
10144 fi
10145
10146
10147 eval "$wx_cv_use_checkbox"
10148
10149 if test x"$enablestring" = xdisable; then
10150 if test $wxUSE_CHECKBOX = no; then
10151 result=yes
10152 else
10153 result=no
10154 fi
10155 else
10156 result=$wxUSE_CHECKBOX
10157 fi
10158
10159 { echo "$as_me:$LINENO: result: $result" >&5
10160 echo "${ECHO_T}$result" >&6; }
10161
10162
10163 enablestring=
10164 defaultval=$wxUSE_ALL_FEATURES
10165 if test -z "$defaultval"; then
10166 if test x"$enablestring" = xdisable; then
10167 defaultval=yes
10168 else
10169 defaultval=no
10170 fi
10171 fi
10172
10173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10175 # Check whether --enable-checklst was given.
10176 if test "${enable_checklst+set}" = set; then
10177 enableval=$enable_checklst;
10178 if test "$enableval" = yes; then
10179 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10180 else
10181 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10182 fi
10183
10184 else
10185
10186 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10187
10188 fi
10189
10190
10191 eval "$wx_cv_use_checklst"
10192
10193 if test x"$enablestring" = xdisable; then
10194 if test $wxUSE_CHECKLST = no; then
10195 result=yes
10196 else
10197 result=no
10198 fi
10199 else
10200 result=$wxUSE_CHECKLST
10201 fi
10202
10203 { echo "$as_me:$LINENO: result: $result" >&5
10204 echo "${ECHO_T}$result" >&6; }
10205
10206
10207 enablestring=
10208 defaultval=$wxUSE_ALL_FEATURES
10209 if test -z "$defaultval"; then
10210 if test x"$enablestring" = xdisable; then
10211 defaultval=yes
10212 else
10213 defaultval=no
10214 fi
10215 fi
10216
10217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10219 # Check whether --enable-choice was given.
10220 if test "${enable_choice+set}" = set; then
10221 enableval=$enable_choice;
10222 if test "$enableval" = yes; then
10223 wx_cv_use_choice='wxUSE_CHOICE=yes'
10224 else
10225 wx_cv_use_choice='wxUSE_CHOICE=no'
10226 fi
10227
10228 else
10229
10230 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10231
10232 fi
10233
10234
10235 eval "$wx_cv_use_choice"
10236
10237 if test x"$enablestring" = xdisable; then
10238 if test $wxUSE_CHOICE = no; then
10239 result=yes
10240 else
10241 result=no
10242 fi
10243 else
10244 result=$wxUSE_CHOICE
10245 fi
10246
10247 { echo "$as_me:$LINENO: result: $result" >&5
10248 echo "${ECHO_T}$result" >&6; }
10249
10250
10251 enablestring=
10252 defaultval=$wxUSE_ALL_FEATURES
10253 if test -z "$defaultval"; then
10254 if test x"$enablestring" = xdisable; then
10255 defaultval=yes
10256 else
10257 defaultval=no
10258 fi
10259 fi
10260
10261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10262 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10263 # Check whether --enable-choicebook was given.
10264 if test "${enable_choicebook+set}" = set; then
10265 enableval=$enable_choicebook;
10266 if test "$enableval" = yes; then
10267 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10268 else
10269 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10270 fi
10271
10272 else
10273
10274 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10275
10276 fi
10277
10278
10279 eval "$wx_cv_use_choicebook"
10280
10281 if test x"$enablestring" = xdisable; then
10282 if test $wxUSE_CHOICEBOOK = no; then
10283 result=yes
10284 else
10285 result=no
10286 fi
10287 else
10288 result=$wxUSE_CHOICEBOOK
10289 fi
10290
10291 { echo "$as_me:$LINENO: result: $result" >&5
10292 echo "${ECHO_T}$result" >&6; }
10293
10294
10295 enablestring=
10296 defaultval=$wxUSE_ALL_FEATURES
10297 if test -z "$defaultval"; then
10298 if test x"$enablestring" = xdisable; then
10299 defaultval=yes
10300 else
10301 defaultval=no
10302 fi
10303 fi
10304
10305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10306 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10307 # Check whether --enable-collpane was given.
10308 if test "${enable_collpane+set}" = set; then
10309 enableval=$enable_collpane;
10310 if test "$enableval" = yes; then
10311 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10312 else
10313 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10314 fi
10315
10316 else
10317
10318 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10319
10320 fi
10321
10322
10323 eval "$wx_cv_use_collpane"
10324
10325 if test x"$enablestring" = xdisable; then
10326 if test $wxUSE_COLLPANE = no; then
10327 result=yes
10328 else
10329 result=no
10330 fi
10331 else
10332 result=$wxUSE_COLLPANE
10333 fi
10334
10335 { echo "$as_me:$LINENO: result: $result" >&5
10336 echo "${ECHO_T}$result" >&6; }
10337
10338
10339 enablestring=
10340 defaultval=$wxUSE_ALL_FEATURES
10341 if test -z "$defaultval"; then
10342 if test x"$enablestring" = xdisable; then
10343 defaultval=yes
10344 else
10345 defaultval=no
10346 fi
10347 fi
10348
10349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10350 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10351 # Check whether --enable-colourpicker was given.
10352 if test "${enable_colourpicker+set}" = set; then
10353 enableval=$enable_colourpicker;
10354 if test "$enableval" = yes; then
10355 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10356 else
10357 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10358 fi
10359
10360 else
10361
10362 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10363
10364 fi
10365
10366
10367 eval "$wx_cv_use_colourpicker"
10368
10369 if test x"$enablestring" = xdisable; then
10370 if test $wxUSE_COLOURPICKERCTRL = no; then
10371 result=yes
10372 else
10373 result=no
10374 fi
10375 else
10376 result=$wxUSE_COLOURPICKERCTRL
10377 fi
10378
10379 { echo "$as_me:$LINENO: result: $result" >&5
10380 echo "${ECHO_T}$result" >&6; }
10381
10382
10383 enablestring=
10384 defaultval=$wxUSE_ALL_FEATURES
10385 if test -z "$defaultval"; then
10386 if test x"$enablestring" = xdisable; then
10387 defaultval=yes
10388 else
10389 defaultval=no
10390 fi
10391 fi
10392
10393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10395 # Check whether --enable-combobox was given.
10396 if test "${enable_combobox+set}" = set; then
10397 enableval=$enable_combobox;
10398 if test "$enableval" = yes; then
10399 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10400 else
10401 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10402 fi
10403
10404 else
10405
10406 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10407
10408 fi
10409
10410
10411 eval "$wx_cv_use_combobox"
10412
10413 if test x"$enablestring" = xdisable; then
10414 if test $wxUSE_COMBOBOX = no; then
10415 result=yes
10416 else
10417 result=no
10418 fi
10419 else
10420 result=$wxUSE_COMBOBOX
10421 fi
10422
10423 { echo "$as_me:$LINENO: result: $result" >&5
10424 echo "${ECHO_T}$result" >&6; }
10425
10426
10427 enablestring=
10428 defaultval=$wxUSE_ALL_FEATURES
10429 if test -z "$defaultval"; then
10430 if test x"$enablestring" = xdisable; then
10431 defaultval=yes
10432 else
10433 defaultval=no
10434 fi
10435 fi
10436
10437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10438 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10439 # Check whether --enable-comboctrl was given.
10440 if test "${enable_comboctrl+set}" = set; then
10441 enableval=$enable_comboctrl;
10442 if test "$enableval" = yes; then
10443 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10444 else
10445 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10446 fi
10447
10448 else
10449
10450 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10451
10452 fi
10453
10454
10455 eval "$wx_cv_use_comboctrl"
10456
10457 if test x"$enablestring" = xdisable; then
10458 if test $wxUSE_COMBOCTRL = no; then
10459 result=yes
10460 else
10461 result=no
10462 fi
10463 else
10464 result=$wxUSE_COMBOCTRL
10465 fi
10466
10467 { echo "$as_me:$LINENO: result: $result" >&5
10468 echo "${ECHO_T}$result" >&6; }
10469
10470
10471 enablestring=
10472 defaultval=$wxUSE_ALL_FEATURES
10473 if test -z "$defaultval"; then
10474 if test x"$enablestring" = xdisable; then
10475 defaultval=yes
10476 else
10477 defaultval=no
10478 fi
10479 fi
10480
10481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10482 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10483 # Check whether --enable-commandlinkbutton was given.
10484 if test "${enable_commandlinkbutton+set}" = set; then
10485 enableval=$enable_commandlinkbutton;
10486 if test "$enableval" = yes; then
10487 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10488 else
10489 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10490 fi
10491
10492 else
10493
10494 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10495
10496 fi
10497
10498
10499 eval "$wx_cv_use_commandlinkbutton"
10500
10501 if test x"$enablestring" = xdisable; then
10502 if test $wxUSE_COMMANDLINKBUTTON = no; then
10503 result=yes
10504 else
10505 result=no
10506 fi
10507 else
10508 result=$wxUSE_COMMANDLINKBUTTON
10509 fi
10510
10511 { echo "$as_me:$LINENO: result: $result" >&5
10512 echo "${ECHO_T}$result" >&6; }
10513
10514
10515 enablestring=
10516 defaultval=$wxUSE_ALL_FEATURES
10517 if test -z "$defaultval"; then
10518 if test x"$enablestring" = xdisable; then
10519 defaultval=yes
10520 else
10521 defaultval=no
10522 fi
10523 fi
10524
10525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10526 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10527 # Check whether --enable-dataviewctrl was given.
10528 if test "${enable_dataviewctrl+set}" = set; then
10529 enableval=$enable_dataviewctrl;
10530 if test "$enableval" = yes; then
10531 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10532 else
10533 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10534 fi
10535
10536 else
10537
10538 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10539
10540 fi
10541
10542
10543 eval "$wx_cv_use_dataviewctrl"
10544
10545 if test x"$enablestring" = xdisable; then
10546 if test $wxUSE_DATAVIEWCTRL = no; then
10547 result=yes
10548 else
10549 result=no
10550 fi
10551 else
10552 result=$wxUSE_DATAVIEWCTRL
10553 fi
10554
10555 { echo "$as_me:$LINENO: result: $result" >&5
10556 echo "${ECHO_T}$result" >&6; }
10557
10558
10559 enablestring=
10560 defaultval=$wxUSE_ALL_FEATURES
10561 if test -z "$defaultval"; then
10562 if test x"$enablestring" = xdisable; then
10563 defaultval=yes
10564 else
10565 defaultval=no
10566 fi
10567 fi
10568
10569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10570 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10571 # Check whether --enable-datepick was given.
10572 if test "${enable_datepick+set}" = set; then
10573 enableval=$enable_datepick;
10574 if test "$enableval" = yes; then
10575 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10576 else
10577 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10578 fi
10579
10580 else
10581
10582 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10583
10584 fi
10585
10586
10587 eval "$wx_cv_use_datepick"
10588
10589 if test x"$enablestring" = xdisable; then
10590 if test $wxUSE_DATEPICKCTRL = no; then
10591 result=yes
10592 else
10593 result=no
10594 fi
10595 else
10596 result=$wxUSE_DATEPICKCTRL
10597 fi
10598
10599 { echo "$as_me:$LINENO: result: $result" >&5
10600 echo "${ECHO_T}$result" >&6; }
10601
10602
10603 enablestring=
10604 defaultval=$wxUSE_ALL_FEATURES
10605 if test -z "$defaultval"; then
10606 if test x"$enablestring" = xdisable; then
10607 defaultval=yes
10608 else
10609 defaultval=no
10610 fi
10611 fi
10612
10613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10614 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10615 # Check whether --enable-detect_sm was given.
10616 if test "${enable_detect_sm+set}" = set; then
10617 enableval=$enable_detect_sm;
10618 if test "$enableval" = yes; then
10619 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10620 else
10621 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10622 fi
10623
10624 else
10625
10626 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10627
10628 fi
10629
10630
10631 eval "$wx_cv_use_detect_sm"
10632
10633 if test x"$enablestring" = xdisable; then
10634 if test $wxUSE_DETECT_SM = no; then
10635 result=yes
10636 else
10637 result=no
10638 fi
10639 else
10640 result=$wxUSE_DETECT_SM
10641 fi
10642
10643 { echo "$as_me:$LINENO: result: $result" >&5
10644 echo "${ECHO_T}$result" >&6; }
10645
10646
10647 enablestring=
10648 defaultval=$wxUSE_ALL_FEATURES
10649 if test -z "$defaultval"; then
10650 if test x"$enablestring" = xdisable; then
10651 defaultval=yes
10652 else
10653 defaultval=no
10654 fi
10655 fi
10656
10657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10658 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10659 # Check whether --enable-dirpicker was given.
10660 if test "${enable_dirpicker+set}" = set; then
10661 enableval=$enable_dirpicker;
10662 if test "$enableval" = yes; then
10663 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10664 else
10665 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10666 fi
10667
10668 else
10669
10670 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10671
10672 fi
10673
10674
10675 eval "$wx_cv_use_dirpicker"
10676
10677 if test x"$enablestring" = xdisable; then
10678 if test $wxUSE_DIRPICKERCTRL = no; then
10679 result=yes
10680 else
10681 result=no
10682 fi
10683 else
10684 result=$wxUSE_DIRPICKERCTRL
10685 fi
10686
10687 { echo "$as_me:$LINENO: result: $result" >&5
10688 echo "${ECHO_T}$result" >&6; }
10689
10690
10691 enablestring=
10692 defaultval=$wxUSE_ALL_FEATURES
10693 if test -z "$defaultval"; then
10694 if test x"$enablestring" = xdisable; then
10695 defaultval=yes
10696 else
10697 defaultval=no
10698 fi
10699 fi
10700
10701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10702 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10703 # Check whether --enable-display was given.
10704 if test "${enable_display+set}" = set; then
10705 enableval=$enable_display;
10706 if test "$enableval" = yes; then
10707 wx_cv_use_display='wxUSE_DISPLAY=yes'
10708 else
10709 wx_cv_use_display='wxUSE_DISPLAY=no'
10710 fi
10711
10712 else
10713
10714 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10715
10716 fi
10717
10718
10719 eval "$wx_cv_use_display"
10720
10721 if test x"$enablestring" = xdisable; then
10722 if test $wxUSE_DISPLAY = no; then
10723 result=yes
10724 else
10725 result=no
10726 fi
10727 else
10728 result=$wxUSE_DISPLAY
10729 fi
10730
10731 { echo "$as_me:$LINENO: result: $result" >&5
10732 echo "${ECHO_T}$result" >&6; }
10733
10734
10735 enablestring=
10736 defaultval=$wxUSE_ALL_FEATURES
10737 if test -z "$defaultval"; then
10738 if test x"$enablestring" = xdisable; then
10739 defaultval=yes
10740 else
10741 defaultval=no
10742 fi
10743 fi
10744
10745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10747 # Check whether --enable-editablebox was given.
10748 if test "${enable_editablebox+set}" = set; then
10749 enableval=$enable_editablebox;
10750 if test "$enableval" = yes; then
10751 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10752 else
10753 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10754 fi
10755
10756 else
10757
10758 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10759
10760 fi
10761
10762
10763 eval "$wx_cv_use_editablebox"
10764
10765 if test x"$enablestring" = xdisable; then
10766 if test $wxUSE_EDITABLELISTBOX = no; then
10767 result=yes
10768 else
10769 result=no
10770 fi
10771 else
10772 result=$wxUSE_EDITABLELISTBOX
10773 fi
10774
10775 { echo "$as_me:$LINENO: result: $result" >&5
10776 echo "${ECHO_T}$result" >&6; }
10777
10778
10779 enablestring=
10780 defaultval=$wxUSE_ALL_FEATURES
10781 if test -z "$defaultval"; then
10782 if test x"$enablestring" = xdisable; then
10783 defaultval=yes
10784 else
10785 defaultval=no
10786 fi
10787 fi
10788
10789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10790 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10791 # Check whether --enable-filectrl was given.
10792 if test "${enable_filectrl+set}" = set; then
10793 enableval=$enable_filectrl;
10794 if test "$enableval" = yes; then
10795 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10796 else
10797 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10798 fi
10799
10800 else
10801
10802 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10803
10804 fi
10805
10806
10807 eval "$wx_cv_use_filectrl"
10808
10809 if test x"$enablestring" = xdisable; then
10810 if test $wxUSE_FILECTRL = no; then
10811 result=yes
10812 else
10813 result=no
10814 fi
10815 else
10816 result=$wxUSE_FILECTRL
10817 fi
10818
10819 { echo "$as_me:$LINENO: result: $result" >&5
10820 echo "${ECHO_T}$result" >&6; }
10821
10822
10823 enablestring=
10824 defaultval=$wxUSE_ALL_FEATURES
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10827 defaultval=yes
10828 else
10829 defaultval=no
10830 fi
10831 fi
10832
10833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10834 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10835 # Check whether --enable-filepicker was given.
10836 if test "${enable_filepicker+set}" = set; then
10837 enableval=$enable_filepicker;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10840 else
10841 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10842 fi
10843
10844 else
10845
10846 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10847
10848 fi
10849
10850
10851 eval "$wx_cv_use_filepicker"
10852
10853 if test x"$enablestring" = xdisable; then
10854 if test $wxUSE_FILEPICKERCTRL = no; then
10855 result=yes
10856 else
10857 result=no
10858 fi
10859 else
10860 result=$wxUSE_FILEPICKERCTRL
10861 fi
10862
10863 { echo "$as_me:$LINENO: result: $result" >&5
10864 echo "${ECHO_T}$result" >&6; }
10865
10866
10867 enablestring=
10868 defaultval=$wxUSE_ALL_FEATURES
10869 if test -z "$defaultval"; then
10870 if test x"$enablestring" = xdisable; then
10871 defaultval=yes
10872 else
10873 defaultval=no
10874 fi
10875 fi
10876
10877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10878 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10879 # Check whether --enable-fontpicker was given.
10880 if test "${enable_fontpicker+set}" = set; then
10881 enableval=$enable_fontpicker;
10882 if test "$enableval" = yes; then
10883 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10884 else
10885 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10886 fi
10887
10888 else
10889
10890 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10891
10892 fi
10893
10894
10895 eval "$wx_cv_use_fontpicker"
10896
10897 if test x"$enablestring" = xdisable; then
10898 if test $wxUSE_FONTPICKERCTRL = no; then
10899 result=yes
10900 else
10901 result=no
10902 fi
10903 else
10904 result=$wxUSE_FONTPICKERCTRL
10905 fi
10906
10907 { echo "$as_me:$LINENO: result: $result" >&5
10908 echo "${ECHO_T}$result" >&6; }
10909
10910
10911 enablestring=
10912 defaultval=$wxUSE_ALL_FEATURES
10913 if test -z "$defaultval"; then
10914 if test x"$enablestring" = xdisable; then
10915 defaultval=yes
10916 else
10917 defaultval=no
10918 fi
10919 fi
10920
10921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10922 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10923 # Check whether --enable-gauge was given.
10924 if test "${enable_gauge+set}" = set; then
10925 enableval=$enable_gauge;
10926 if test "$enableval" = yes; then
10927 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10928 else
10929 wx_cv_use_gauge='wxUSE_GAUGE=no'
10930 fi
10931
10932 else
10933
10934 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10935
10936 fi
10937
10938
10939 eval "$wx_cv_use_gauge"
10940
10941 if test x"$enablestring" = xdisable; then
10942 if test $wxUSE_GAUGE = no; then
10943 result=yes
10944 else
10945 result=no
10946 fi
10947 else
10948 result=$wxUSE_GAUGE
10949 fi
10950
10951 { echo "$as_me:$LINENO: result: $result" >&5
10952 echo "${ECHO_T}$result" >&6; }
10953
10954
10955 enablestring=
10956 defaultval=$wxUSE_ALL_FEATURES
10957 if test -z "$defaultval"; then
10958 if test x"$enablestring" = xdisable; then
10959 defaultval=yes
10960 else
10961 defaultval=no
10962 fi
10963 fi
10964
10965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10966 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10967 # Check whether --enable-grid was given.
10968 if test "${enable_grid+set}" = set; then
10969 enableval=$enable_grid;
10970 if test "$enableval" = yes; then
10971 wx_cv_use_grid='wxUSE_GRID=yes'
10972 else
10973 wx_cv_use_grid='wxUSE_GRID=no'
10974 fi
10975
10976 else
10977
10978 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10979
10980 fi
10981
10982
10983 eval "$wx_cv_use_grid"
10984
10985 if test x"$enablestring" = xdisable; then
10986 if test $wxUSE_GRID = no; then
10987 result=yes
10988 else
10989 result=no
10990 fi
10991 else
10992 result=$wxUSE_GRID
10993 fi
10994
10995 { echo "$as_me:$LINENO: result: $result" >&5
10996 echo "${ECHO_T}$result" >&6; }
10997
10998
10999 enablestring=
11000 defaultval=$wxUSE_ALL_FEATURES
11001 if test -z "$defaultval"; then
11002 if test x"$enablestring" = xdisable; then
11003 defaultval=yes
11004 else
11005 defaultval=no
11006 fi
11007 fi
11008
11009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11010 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11011 # Check whether --enable-headerctrl was given.
11012 if test "${enable_headerctrl+set}" = set; then
11013 enableval=$enable_headerctrl;
11014 if test "$enableval" = yes; then
11015 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11016 else
11017 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11018 fi
11019
11020 else
11021
11022 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11023
11024 fi
11025
11026
11027 eval "$wx_cv_use_headerctrl"
11028
11029 if test x"$enablestring" = xdisable; then
11030 if test $wxUSE_HEADERCTRL = no; then
11031 result=yes
11032 else
11033 result=no
11034 fi
11035 else
11036 result=$wxUSE_HEADERCTRL
11037 fi
11038
11039 { echo "$as_me:$LINENO: result: $result" >&5
11040 echo "${ECHO_T}$result" >&6; }
11041
11042
11043 enablestring=
11044 defaultval=$wxUSE_ALL_FEATURES
11045 if test -z "$defaultval"; then
11046 if test x"$enablestring" = xdisable; then
11047 defaultval=yes
11048 else
11049 defaultval=no
11050 fi
11051 fi
11052
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11055 # Check whether --enable-hyperlink was given.
11056 if test "${enable_hyperlink+set}" = set; then
11057 enableval=$enable_hyperlink;
11058 if test "$enableval" = yes; then
11059 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11060 else
11061 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11062 fi
11063
11064 else
11065
11066 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11067
11068 fi
11069
11070
11071 eval "$wx_cv_use_hyperlink"
11072
11073 if test x"$enablestring" = xdisable; then
11074 if test $wxUSE_HYPERLINKCTRL = no; then
11075 result=yes
11076 else
11077 result=no
11078 fi
11079 else
11080 result=$wxUSE_HYPERLINKCTRL
11081 fi
11082
11083 { echo "$as_me:$LINENO: result: $result" >&5
11084 echo "${ECHO_T}$result" >&6; }
11085
11086
11087 enablestring=
11088 defaultval=$wxUSE_ALL_FEATURES
11089 if test -z "$defaultval"; then
11090 if test x"$enablestring" = xdisable; then
11091 defaultval=yes
11092 else
11093 defaultval=no
11094 fi
11095 fi
11096
11097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11099 # Check whether --enable-imaglist was given.
11100 if test "${enable_imaglist+set}" = set; then
11101 enableval=$enable_imaglist;
11102 if test "$enableval" = yes; then
11103 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11104 else
11105 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11106 fi
11107
11108 else
11109
11110 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11111
11112 fi
11113
11114
11115 eval "$wx_cv_use_imaglist"
11116
11117 if test x"$enablestring" = xdisable; then
11118 if test $wxUSE_IMAGLIST = no; then
11119 result=yes
11120 else
11121 result=no
11122 fi
11123 else
11124 result=$wxUSE_IMAGLIST
11125 fi
11126
11127 { echo "$as_me:$LINENO: result: $result" >&5
11128 echo "${ECHO_T}$result" >&6; }
11129
11130
11131 enablestring=
11132 defaultval=$wxUSE_ALL_FEATURES
11133 if test -z "$defaultval"; then
11134 if test x"$enablestring" = xdisable; then
11135 defaultval=yes
11136 else
11137 defaultval=no
11138 fi
11139 fi
11140
11141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11142 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11143 # Check whether --enable-infobar was given.
11144 if test "${enable_infobar+set}" = set; then
11145 enableval=$enable_infobar;
11146 if test "$enableval" = yes; then
11147 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11148 else
11149 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11150 fi
11151
11152 else
11153
11154 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11155
11156 fi
11157
11158
11159 eval "$wx_cv_use_infobar"
11160
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_INFOBAR = no; then
11163 result=yes
11164 else
11165 result=no
11166 fi
11167 else
11168 result=$wxUSE_INFOBAR
11169 fi
11170
11171 { echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6; }
11173
11174
11175 enablestring=
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11179 defaultval=yes
11180 else
11181 defaultval=no
11182 fi
11183 fi
11184
11185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11187 # Check whether --enable-listbook was given.
11188 if test "${enable_listbook+set}" = set; then
11189 enableval=$enable_listbook;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11192 else
11193 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11194 fi
11195
11196 else
11197
11198 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11199
11200 fi
11201
11202
11203 eval "$wx_cv_use_listbook"
11204
11205 if test x"$enablestring" = xdisable; then
11206 if test $wxUSE_LISTBOOK = no; then
11207 result=yes
11208 else
11209 result=no
11210 fi
11211 else
11212 result=$wxUSE_LISTBOOK
11213 fi
11214
11215 { echo "$as_me:$LINENO: result: $result" >&5
11216 echo "${ECHO_T}$result" >&6; }
11217
11218
11219 enablestring=
11220 defaultval=$wxUSE_ALL_FEATURES
11221 if test -z "$defaultval"; then
11222 if test x"$enablestring" = xdisable; then
11223 defaultval=yes
11224 else
11225 defaultval=no
11226 fi
11227 fi
11228
11229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11230 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11231 # Check whether --enable-listbox was given.
11232 if test "${enable_listbox+set}" = set; then
11233 enableval=$enable_listbox;
11234 if test "$enableval" = yes; then
11235 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11236 else
11237 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11238 fi
11239
11240 else
11241
11242 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11243
11244 fi
11245
11246
11247 eval "$wx_cv_use_listbox"
11248
11249 if test x"$enablestring" = xdisable; then
11250 if test $wxUSE_LISTBOX = no; then
11251 result=yes
11252 else
11253 result=no
11254 fi
11255 else
11256 result=$wxUSE_LISTBOX
11257 fi
11258
11259 { echo "$as_me:$LINENO: result: $result" >&5
11260 echo "${ECHO_T}$result" >&6; }
11261
11262
11263 enablestring=
11264 defaultval=$wxUSE_ALL_FEATURES
11265 if test -z "$defaultval"; then
11266 if test x"$enablestring" = xdisable; then
11267 defaultval=yes
11268 else
11269 defaultval=no
11270 fi
11271 fi
11272
11273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11275 # Check whether --enable-listctrl was given.
11276 if test "${enable_listctrl+set}" = set; then
11277 enableval=$enable_listctrl;
11278 if test "$enableval" = yes; then
11279 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11280 else
11281 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11282 fi
11283
11284 else
11285
11286 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11287
11288 fi
11289
11290
11291 eval "$wx_cv_use_listctrl"
11292
11293 if test x"$enablestring" = xdisable; then
11294 if test $wxUSE_LISTCTRL = no; then
11295 result=yes
11296 else
11297 result=no
11298 fi
11299 else
11300 result=$wxUSE_LISTCTRL
11301 fi
11302
11303 { echo "$as_me:$LINENO: result: $result" >&5
11304 echo "${ECHO_T}$result" >&6; }
11305
11306
11307 enablestring=
11308 defaultval=$wxUSE_ALL_FEATURES
11309 if test -z "$defaultval"; then
11310 if test x"$enablestring" = xdisable; then
11311 defaultval=yes
11312 else
11313 defaultval=no
11314 fi
11315 fi
11316
11317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11319 # Check whether --enable-notebook was given.
11320 if test "${enable_notebook+set}" = set; then
11321 enableval=$enable_notebook;
11322 if test "$enableval" = yes; then
11323 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11324 else
11325 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11326 fi
11327
11328 else
11329
11330 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11331
11332 fi
11333
11334
11335 eval "$wx_cv_use_notebook"
11336
11337 if test x"$enablestring" = xdisable; then
11338 if test $wxUSE_NOTEBOOK = no; then
11339 result=yes
11340 else
11341 result=no
11342 fi
11343 else
11344 result=$wxUSE_NOTEBOOK
11345 fi
11346
11347 { echo "$as_me:$LINENO: result: $result" >&5
11348 echo "${ECHO_T}$result" >&6; }
11349
11350
11351 enablestring=
11352 defaultval=$wxUSE_ALL_FEATURES
11353 if test -z "$defaultval"; then
11354 if test x"$enablestring" = xdisable; then
11355 defaultval=yes
11356 else
11357 defaultval=no
11358 fi
11359 fi
11360
11361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11362 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11363 # Check whether --enable-notifmsg was given.
11364 if test "${enable_notifmsg+set}" = set; then
11365 enableval=$enable_notifmsg;
11366 if test "$enableval" = yes; then
11367 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11368 else
11369 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11370 fi
11371
11372 else
11373
11374 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11375
11376 fi
11377
11378
11379 eval "$wx_cv_use_notifmsg"
11380
11381 if test x"$enablestring" = xdisable; then
11382 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11383 result=yes
11384 else
11385 result=no
11386 fi
11387 else
11388 result=$wxUSE_NOTIFICATION_MESSAGE
11389 fi
11390
11391 { echo "$as_me:$LINENO: result: $result" >&5
11392 echo "${ECHO_T}$result" >&6; }
11393
11394
11395 enablestring=
11396 defaultval=$wxUSE_ALL_FEATURES
11397 if test -z "$defaultval"; then
11398 if test x"$enablestring" = xdisable; then
11399 defaultval=yes
11400 else
11401 defaultval=no
11402 fi
11403 fi
11404
11405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11406 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11407 # Check whether --enable-odcombobox was given.
11408 if test "${enable_odcombobox+set}" = set; then
11409 enableval=$enable_odcombobox;
11410 if test "$enableval" = yes; then
11411 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11412 else
11413 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11414 fi
11415
11416 else
11417
11418 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11419
11420 fi
11421
11422
11423 eval "$wx_cv_use_odcombobox"
11424
11425 if test x"$enablestring" = xdisable; then
11426 if test $wxUSE_ODCOMBOBOX = no; then
11427 result=yes
11428 else
11429 result=no
11430 fi
11431 else
11432 result=$wxUSE_ODCOMBOBOX
11433 fi
11434
11435 { echo "$as_me:$LINENO: result: $result" >&5
11436 echo "${ECHO_T}$result" >&6; }
11437
11438
11439 enablestring=
11440 defaultval=$wxUSE_ALL_FEATURES
11441 if test -z "$defaultval"; then
11442 if test x"$enablestring" = xdisable; then
11443 defaultval=yes
11444 else
11445 defaultval=no
11446 fi
11447 fi
11448
11449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11450 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11451 # Check whether --enable-popupwin was given.
11452 if test "${enable_popupwin+set}" = set; then
11453 enableval=$enable_popupwin;
11454 if test "$enableval" = yes; then
11455 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11456 else
11457 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11458 fi
11459
11460 else
11461
11462 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11463
11464 fi
11465
11466
11467 eval "$wx_cv_use_popupwin"
11468
11469 if test x"$enablestring" = xdisable; then
11470 if test $wxUSE_POPUPWIN = no; then
11471 result=yes
11472 else
11473 result=no
11474 fi
11475 else
11476 result=$wxUSE_POPUPWIN
11477 fi
11478
11479 { echo "$as_me:$LINENO: result: $result" >&5
11480 echo "${ECHO_T}$result" >&6; }
11481
11482
11483 enablestring=
11484 defaultval=$wxUSE_ALL_FEATURES
11485 if test -z "$defaultval"; then
11486 if test x"$enablestring" = xdisable; then
11487 defaultval=yes
11488 else
11489 defaultval=no
11490 fi
11491 fi
11492
11493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11494 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11495 # Check whether --enable-radiobox was given.
11496 if test "${enable_radiobox+set}" = set; then
11497 enableval=$enable_radiobox;
11498 if test "$enableval" = yes; then
11499 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11500 else
11501 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11502 fi
11503
11504 else
11505
11506 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11507
11508 fi
11509
11510
11511 eval "$wx_cv_use_radiobox"
11512
11513 if test x"$enablestring" = xdisable; then
11514 if test $wxUSE_RADIOBOX = no; then
11515 result=yes
11516 else
11517 result=no
11518 fi
11519 else
11520 result=$wxUSE_RADIOBOX
11521 fi
11522
11523 { echo "$as_me:$LINENO: result: $result" >&5
11524 echo "${ECHO_T}$result" >&6; }
11525
11526
11527 enablestring=
11528 defaultval=$wxUSE_ALL_FEATURES
11529 if test -z "$defaultval"; then
11530 if test x"$enablestring" = xdisable; then
11531 defaultval=yes
11532 else
11533 defaultval=no
11534 fi
11535 fi
11536
11537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11538 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11539 # Check whether --enable-radiobtn was given.
11540 if test "${enable_radiobtn+set}" = set; then
11541 enableval=$enable_radiobtn;
11542 if test "$enableval" = yes; then
11543 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11544 else
11545 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11546 fi
11547
11548 else
11549
11550 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11551
11552 fi
11553
11554
11555 eval "$wx_cv_use_radiobtn"
11556
11557 if test x"$enablestring" = xdisable; then
11558 if test $wxUSE_RADIOBTN = no; then
11559 result=yes
11560 else
11561 result=no
11562 fi
11563 else
11564 result=$wxUSE_RADIOBTN
11565 fi
11566
11567 { echo "$as_me:$LINENO: result: $result" >&5
11568 echo "${ECHO_T}$result" >&6; }
11569
11570
11571 enablestring=
11572 defaultval=$wxUSE_ALL_FEATURES
11573 if test -z "$defaultval"; then
11574 if test x"$enablestring" = xdisable; then
11575 defaultval=yes
11576 else
11577 defaultval=no
11578 fi
11579 fi
11580
11581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11582 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11583 # Check whether --enable-richmsgdlg was given.
11584 if test "${enable_richmsgdlg+set}" = set; then
11585 enableval=$enable_richmsgdlg;
11586 if test "$enableval" = yes; then
11587 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11588 else
11589 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11590 fi
11591
11592 else
11593
11594 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11595
11596 fi
11597
11598
11599 eval "$wx_cv_use_richmsgdlg"
11600
11601 if test x"$enablestring" = xdisable; then
11602 if test $wxUSE_RICHMSGDLG = no; then
11603 result=yes
11604 else
11605 result=no
11606 fi
11607 else
11608 result=$wxUSE_RICHMSGDLG
11609 fi
11610
11611 { echo "$as_me:$LINENO: result: $result" >&5
11612 echo "${ECHO_T}$result" >&6; }
11613
11614
11615 enablestring=
11616 defaultval=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x"$enablestring" = xdisable; then
11619 defaultval=yes
11620 else
11621 defaultval=no
11622 fi
11623 fi
11624
11625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11626 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11627 # Check whether --enable-rearrangectrl was given.
11628 if test "${enable_rearrangectrl+set}" = set; then
11629 enableval=$enable_rearrangectrl;
11630 if test "$enableval" = yes; then
11631 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11632 else
11633 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11634 fi
11635
11636 else
11637
11638 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11639
11640 fi
11641
11642
11643 eval "$wx_cv_use_rearrangectrl"
11644
11645 if test x"$enablestring" = xdisable; then
11646 if test $wxUSE_REARRANGECTRL = no; then
11647 result=yes
11648 else
11649 result=no
11650 fi
11651 else
11652 result=$wxUSE_REARRANGECTRL
11653 fi
11654
11655 { echo "$as_me:$LINENO: result: $result" >&5
11656 echo "${ECHO_T}$result" >&6; }
11657
11658
11659 enablestring=
11660 defaultval=$wxUSE_ALL_FEATURES
11661 if test -z "$defaultval"; then
11662 if test x"$enablestring" = xdisable; then
11663 defaultval=yes
11664 else
11665 defaultval=no
11666 fi
11667 fi
11668
11669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11670 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11671 # Check whether --enable-sash was given.
11672 if test "${enable_sash+set}" = set; then
11673 enableval=$enable_sash;
11674 if test "$enableval" = yes; then
11675 wx_cv_use_sash='wxUSE_SASH=yes'
11676 else
11677 wx_cv_use_sash='wxUSE_SASH=no'
11678 fi
11679
11680 else
11681
11682 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11683
11684 fi
11685
11686
11687 eval "$wx_cv_use_sash"
11688
11689 if test x"$enablestring" = xdisable; then
11690 if test $wxUSE_SASH = no; then
11691 result=yes
11692 else
11693 result=no
11694 fi
11695 else
11696 result=$wxUSE_SASH
11697 fi
11698
11699 { echo "$as_me:$LINENO: result: $result" >&5
11700 echo "${ECHO_T}$result" >&6; }
11701
11702
11703 enablestring=
11704 defaultval=$wxUSE_ALL_FEATURES
11705 if test -z "$defaultval"; then
11706 if test x"$enablestring" = xdisable; then
11707 defaultval=yes
11708 else
11709 defaultval=no
11710 fi
11711 fi
11712
11713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11714 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11715 # Check whether --enable-scrollbar was given.
11716 if test "${enable_scrollbar+set}" = set; then
11717 enableval=$enable_scrollbar;
11718 if test "$enableval" = yes; then
11719 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11720 else
11721 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11722 fi
11723
11724 else
11725
11726 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11727
11728 fi
11729
11730
11731 eval "$wx_cv_use_scrollbar"
11732
11733 if test x"$enablestring" = xdisable; then
11734 if test $wxUSE_SCROLLBAR = no; then
11735 result=yes
11736 else
11737 result=no
11738 fi
11739 else
11740 result=$wxUSE_SCROLLBAR
11741 fi
11742
11743 { echo "$as_me:$LINENO: result: $result" >&5
11744 echo "${ECHO_T}$result" >&6; }
11745
11746
11747 enablestring=
11748 defaultval=$wxUSE_ALL_FEATURES
11749 if test -z "$defaultval"; then
11750 if test x"$enablestring" = xdisable; then
11751 defaultval=yes
11752 else
11753 defaultval=no
11754 fi
11755 fi
11756
11757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11758 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11759 # Check whether --enable-searchctrl was given.
11760 if test "${enable_searchctrl+set}" = set; then
11761 enableval=$enable_searchctrl;
11762 if test "$enableval" = yes; then
11763 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11764 else
11765 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11766 fi
11767
11768 else
11769
11770 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11771
11772 fi
11773
11774
11775 eval "$wx_cv_use_searchctrl"
11776
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_SEARCHCTRL = no; then
11779 result=yes
11780 else
11781 result=no
11782 fi
11783 else
11784 result=$wxUSE_SEARCHCTRL
11785 fi
11786
11787 { echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11789
11790
11791 enablestring=
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11795 defaultval=yes
11796 else
11797 defaultval=no
11798 fi
11799 fi
11800
11801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11803 # Check whether --enable-slider was given.
11804 if test "${enable_slider+set}" = set; then
11805 enableval=$enable_slider;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_slider='wxUSE_SLIDER=yes'
11808 else
11809 wx_cv_use_slider='wxUSE_SLIDER=no'
11810 fi
11811
11812 else
11813
11814 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11815
11816 fi
11817
11818
11819 eval "$wx_cv_use_slider"
11820
11821 if test x"$enablestring" = xdisable; then
11822 if test $wxUSE_SLIDER = no; then
11823 result=yes
11824 else
11825 result=no
11826 fi
11827 else
11828 result=$wxUSE_SLIDER
11829 fi
11830
11831 { echo "$as_me:$LINENO: result: $result" >&5
11832 echo "${ECHO_T}$result" >&6; }
11833
11834
11835 enablestring=
11836 defaultval=$wxUSE_ALL_FEATURES
11837 if test -z "$defaultval"; then
11838 if test x"$enablestring" = xdisable; then
11839 defaultval=yes
11840 else
11841 defaultval=no
11842 fi
11843 fi
11844
11845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11846 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11847 # Check whether --enable-spinbtn was given.
11848 if test "${enable_spinbtn+set}" = set; then
11849 enableval=$enable_spinbtn;
11850 if test "$enableval" = yes; then
11851 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11852 else
11853 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11854 fi
11855
11856 else
11857
11858 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11859
11860 fi
11861
11862
11863 eval "$wx_cv_use_spinbtn"
11864
11865 if test x"$enablestring" = xdisable; then
11866 if test $wxUSE_SPINBTN = no; then
11867 result=yes
11868 else
11869 result=no
11870 fi
11871 else
11872 result=$wxUSE_SPINBTN
11873 fi
11874
11875 { echo "$as_me:$LINENO: result: $result" >&5
11876 echo "${ECHO_T}$result" >&6; }
11877
11878
11879 enablestring=
11880 defaultval=$wxUSE_ALL_FEATURES
11881 if test -z "$defaultval"; then
11882 if test x"$enablestring" = xdisable; then
11883 defaultval=yes
11884 else
11885 defaultval=no
11886 fi
11887 fi
11888
11889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11890 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11891 # Check whether --enable-spinctrl was given.
11892 if test "${enable_spinctrl+set}" = set; then
11893 enableval=$enable_spinctrl;
11894 if test "$enableval" = yes; then
11895 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11896 else
11897 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11898 fi
11899
11900 else
11901
11902 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11903
11904 fi
11905
11906
11907 eval "$wx_cv_use_spinctrl"
11908
11909 if test x"$enablestring" = xdisable; then
11910 if test $wxUSE_SPINCTRL = no; then
11911 result=yes
11912 else
11913 result=no
11914 fi
11915 else
11916 result=$wxUSE_SPINCTRL
11917 fi
11918
11919 { echo "$as_me:$LINENO: result: $result" >&5
11920 echo "${ECHO_T}$result" >&6; }
11921
11922
11923 enablestring=
11924 defaultval=$wxUSE_ALL_FEATURES
11925 if test -z "$defaultval"; then
11926 if test x"$enablestring" = xdisable; then
11927 defaultval=yes
11928 else
11929 defaultval=no
11930 fi
11931 fi
11932
11933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11934 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11935 # Check whether --enable-splitter was given.
11936 if test "${enable_splitter+set}" = set; then
11937 enableval=$enable_splitter;
11938 if test "$enableval" = yes; then
11939 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11940 else
11941 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11942 fi
11943
11944 else
11945
11946 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11947
11948 fi
11949
11950
11951 eval "$wx_cv_use_splitter"
11952
11953 if test x"$enablestring" = xdisable; then
11954 if test $wxUSE_SPLITTER = no; then
11955 result=yes
11956 else
11957 result=no
11958 fi
11959 else
11960 result=$wxUSE_SPLITTER
11961 fi
11962
11963 { echo "$as_me:$LINENO: result: $result" >&5
11964 echo "${ECHO_T}$result" >&6; }
11965
11966
11967 enablestring=
11968 defaultval=$wxUSE_ALL_FEATURES
11969 if test -z "$defaultval"; then
11970 if test x"$enablestring" = xdisable; then
11971 defaultval=yes
11972 else
11973 defaultval=no
11974 fi
11975 fi
11976
11977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11978 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11979 # Check whether --enable-statbmp was given.
11980 if test "${enable_statbmp+set}" = set; then
11981 enableval=$enable_statbmp;
11982 if test "$enableval" = yes; then
11983 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11984 else
11985 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11986 fi
11987
11988 else
11989
11990 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11991
11992 fi
11993
11994
11995 eval "$wx_cv_use_statbmp"
11996
11997 if test x"$enablestring" = xdisable; then
11998 if test $wxUSE_STATBMP = no; then
11999 result=yes
12000 else
12001 result=no
12002 fi
12003 else
12004 result=$wxUSE_STATBMP
12005 fi
12006
12007 { echo "$as_me:$LINENO: result: $result" >&5
12008 echo "${ECHO_T}$result" >&6; }
12009
12010
12011 enablestring=
12012 defaultval=$wxUSE_ALL_FEATURES
12013 if test -z "$defaultval"; then
12014 if test x"$enablestring" = xdisable; then
12015 defaultval=yes
12016 else
12017 defaultval=no
12018 fi
12019 fi
12020
12021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12022 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12023 # Check whether --enable-statbox was given.
12024 if test "${enable_statbox+set}" = set; then
12025 enableval=$enable_statbox;
12026 if test "$enableval" = yes; then
12027 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12028 else
12029 wx_cv_use_statbox='wxUSE_STATBOX=no'
12030 fi
12031
12032 else
12033
12034 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12035
12036 fi
12037
12038
12039 eval "$wx_cv_use_statbox"
12040
12041 if test x"$enablestring" = xdisable; then
12042 if test $wxUSE_STATBOX = no; then
12043 result=yes
12044 else
12045 result=no
12046 fi
12047 else
12048 result=$wxUSE_STATBOX
12049 fi
12050
12051 { echo "$as_me:$LINENO: result: $result" >&5
12052 echo "${ECHO_T}$result" >&6; }
12053
12054
12055 enablestring=
12056 defaultval=$wxUSE_ALL_FEATURES
12057 if test -z "$defaultval"; then
12058 if test x"$enablestring" = xdisable; then
12059 defaultval=yes
12060 else
12061 defaultval=no
12062 fi
12063 fi
12064
12065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12066 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12067 # Check whether --enable-statline was given.
12068 if test "${enable_statline+set}" = set; then
12069 enableval=$enable_statline;
12070 if test "$enableval" = yes; then
12071 wx_cv_use_statline='wxUSE_STATLINE=yes'
12072 else
12073 wx_cv_use_statline='wxUSE_STATLINE=no'
12074 fi
12075
12076 else
12077
12078 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12079
12080 fi
12081
12082
12083 eval "$wx_cv_use_statline"
12084
12085 if test x"$enablestring" = xdisable; then
12086 if test $wxUSE_STATLINE = no; then
12087 result=yes
12088 else
12089 result=no
12090 fi
12091 else
12092 result=$wxUSE_STATLINE
12093 fi
12094
12095 { echo "$as_me:$LINENO: result: $result" >&5
12096 echo "${ECHO_T}$result" >&6; }
12097
12098
12099 enablestring=
12100 defaultval=$wxUSE_ALL_FEATURES
12101 if test -z "$defaultval"; then
12102 if test x"$enablestring" = xdisable; then
12103 defaultval=yes
12104 else
12105 defaultval=no
12106 fi
12107 fi
12108
12109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12110 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12111 # Check whether --enable-stattext was given.
12112 if test "${enable_stattext+set}" = set; then
12113 enableval=$enable_stattext;
12114 if test "$enableval" = yes; then
12115 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12116 else
12117 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12118 fi
12119
12120 else
12121
12122 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12123
12124 fi
12125
12126
12127 eval "$wx_cv_use_stattext"
12128
12129 if test x"$enablestring" = xdisable; then
12130 if test $wxUSE_STATTEXT = no; then
12131 result=yes
12132 else
12133 result=no
12134 fi
12135 else
12136 result=$wxUSE_STATTEXT
12137 fi
12138
12139 { echo "$as_me:$LINENO: result: $result" >&5
12140 echo "${ECHO_T}$result" >&6; }
12141
12142
12143 enablestring=
12144 defaultval=$wxUSE_ALL_FEATURES
12145 if test -z "$defaultval"; then
12146 if test x"$enablestring" = xdisable; then
12147 defaultval=yes
12148 else
12149 defaultval=no
12150 fi
12151 fi
12152
12153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12154 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12155 # Check whether --enable-statusbar was given.
12156 if test "${enable_statusbar+set}" = set; then
12157 enableval=$enable_statusbar;
12158 if test "$enableval" = yes; then
12159 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12160 else
12161 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12162 fi
12163
12164 else
12165
12166 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12167
12168 fi
12169
12170
12171 eval "$wx_cv_use_statusbar"
12172
12173 if test x"$enablestring" = xdisable; then
12174 if test $wxUSE_STATUSBAR = no; then
12175 result=yes
12176 else
12177 result=no
12178 fi
12179 else
12180 result=$wxUSE_STATUSBAR
12181 fi
12182
12183 { echo "$as_me:$LINENO: result: $result" >&5
12184 echo "${ECHO_T}$result" >&6; }
12185
12186
12187 enablestring=
12188 defaultval=$wxUSE_ALL_FEATURES
12189 if test -z "$defaultval"; then
12190 if test x"$enablestring" = xdisable; then
12191 defaultval=yes
12192 else
12193 defaultval=no
12194 fi
12195 fi
12196
12197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12198 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12199 # Check whether --enable-taskbaricon was given.
12200 if test "${enable_taskbaricon+set}" = set; then
12201 enableval=$enable_taskbaricon;
12202 if test "$enableval" = yes; then
12203 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12204 else
12205 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12206 fi
12207
12208 else
12209
12210 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12211
12212 fi
12213
12214
12215 eval "$wx_cv_use_taskbaricon"
12216
12217 if test x"$enablestring" = xdisable; then
12218 if test $wxUSE_TASKBARICON = no; then
12219 result=yes
12220 else
12221 result=no
12222 fi
12223 else
12224 result=$wxUSE_TASKBARICON
12225 fi
12226
12227 { echo "$as_me:$LINENO: result: $result" >&5
12228 echo "${ECHO_T}$result" >&6; }
12229
12230
12231 enablestring=
12232 defaultval=$wxUSE_ALL_FEATURES
12233 if test -z "$defaultval"; then
12234 if test x"$enablestring" = xdisable; then
12235 defaultval=yes
12236 else
12237 defaultval=no
12238 fi
12239 fi
12240
12241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12242 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12243 # Check whether --enable-tbarnative was given.
12244 if test "${enable_tbarnative+set}" = set; then
12245 enableval=$enable_tbarnative;
12246 if test "$enableval" = yes; then
12247 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12248 else
12249 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12250 fi
12251
12252 else
12253
12254 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12255
12256 fi
12257
12258
12259 eval "$wx_cv_use_tbarnative"
12260
12261 if test x"$enablestring" = xdisable; then
12262 if test $wxUSE_TOOLBAR_NATIVE = no; then
12263 result=yes
12264 else
12265 result=no
12266 fi
12267 else
12268 result=$wxUSE_TOOLBAR_NATIVE
12269 fi
12270
12271 { echo "$as_me:$LINENO: result: $result" >&5
12272 echo "${ECHO_T}$result" >&6; }
12273
12274
12275 enablestring=
12276 defaultval=$wxUSE_ALL_FEATURES
12277 if test -z "$defaultval"; then
12278 if test x"$enablestring" = xdisable; then
12279 defaultval=yes
12280 else
12281 defaultval=no
12282 fi
12283 fi
12284
12285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12286 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12287 # Check whether --enable-textctrl was given.
12288 if test "${enable_textctrl+set}" = set; then
12289 enableval=$enable_textctrl;
12290 if test "$enableval" = yes; then
12291 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12292 else
12293 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12294 fi
12295
12296 else
12297
12298 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12299
12300 fi
12301
12302
12303 eval "$wx_cv_use_textctrl"
12304
12305 if test x"$enablestring" = xdisable; then
12306 if test $wxUSE_TEXTCTRL = no; then
12307 result=yes
12308 else
12309 result=no
12310 fi
12311 else
12312 result=$wxUSE_TEXTCTRL
12313 fi
12314
12315 { echo "$as_me:$LINENO: result: $result" >&5
12316 echo "${ECHO_T}$result" >&6; }
12317
12318
12319 enablestring=
12320 defaultval=$wxUSE_ALL_FEATURES
12321 if test -z "$defaultval"; then
12322 if test x"$enablestring" = xdisable; then
12323 defaultval=yes
12324 else
12325 defaultval=no
12326 fi
12327 fi
12328
12329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12330 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12331 # Check whether --enable-tipwindow was given.
12332 if test "${enable_tipwindow+set}" = set; then
12333 enableval=$enable_tipwindow;
12334 if test "$enableval" = yes; then
12335 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12336 else
12337 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12338 fi
12339
12340 else
12341
12342 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12343
12344 fi
12345
12346
12347 eval "$wx_cv_use_tipwindow"
12348
12349 if test x"$enablestring" = xdisable; then
12350 if test $wxUSE_TIPWINDOW = no; then
12351 result=yes
12352 else
12353 result=no
12354 fi
12355 else
12356 result=$wxUSE_TIPWINDOW
12357 fi
12358
12359 { echo "$as_me:$LINENO: result: $result" >&5
12360 echo "${ECHO_T}$result" >&6; }
12361
12362
12363 enablestring=
12364 defaultval=$wxUSE_ALL_FEATURES
12365 if test -z "$defaultval"; then
12366 if test x"$enablestring" = xdisable; then
12367 defaultval=yes
12368 else
12369 defaultval=no
12370 fi
12371 fi
12372
12373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12374 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12375 # Check whether --enable-togglebtn was given.
12376 if test "${enable_togglebtn+set}" = set; then
12377 enableval=$enable_togglebtn;
12378 if test "$enableval" = yes; then
12379 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12380 else
12381 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12382 fi
12383
12384 else
12385
12386 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12387
12388 fi
12389
12390
12391 eval "$wx_cv_use_togglebtn"
12392
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_TOGGLEBTN = no; then
12395 result=yes
12396 else
12397 result=no
12398 fi
12399 else
12400 result=$wxUSE_TOGGLEBTN
12401 fi
12402
12403 { echo "$as_me:$LINENO: result: $result" >&5
12404 echo "${ECHO_T}$result" >&6; }
12405
12406
12407 enablestring=
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12411 defaultval=yes
12412 else
12413 defaultval=no
12414 fi
12415 fi
12416
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12419 # Check whether --enable-toolbar was given.
12420 if test "${enable_toolbar+set}" = set; then
12421 enableval=$enable_toolbar;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12424 else
12425 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12426 fi
12427
12428 else
12429
12430 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12431
12432 fi
12433
12434
12435 eval "$wx_cv_use_toolbar"
12436
12437 if test x"$enablestring" = xdisable; then
12438 if test $wxUSE_TOOLBAR = no; then
12439 result=yes
12440 else
12441 result=no
12442 fi
12443 else
12444 result=$wxUSE_TOOLBAR
12445 fi
12446
12447 { echo "$as_me:$LINENO: result: $result" >&5
12448 echo "${ECHO_T}$result" >&6; }
12449
12450
12451 enablestring=
12452 defaultval=$wxUSE_ALL_FEATURES
12453 if test -z "$defaultval"; then
12454 if test x"$enablestring" = xdisable; then
12455 defaultval=yes
12456 else
12457 defaultval=no
12458 fi
12459 fi
12460
12461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12462 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12463 # Check whether --enable-toolbook was given.
12464 if test "${enable_toolbook+set}" = set; then
12465 enableval=$enable_toolbook;
12466 if test "$enableval" = yes; then
12467 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12468 else
12469 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12470 fi
12471
12472 else
12473
12474 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12475
12476 fi
12477
12478
12479 eval "$wx_cv_use_toolbook"
12480
12481 if test x"$enablestring" = xdisable; then
12482 if test $wxUSE_TOOLBOOK = no; then
12483 result=yes
12484 else
12485 result=no
12486 fi
12487 else
12488 result=$wxUSE_TOOLBOOK
12489 fi
12490
12491 { echo "$as_me:$LINENO: result: $result" >&5
12492 echo "${ECHO_T}$result" >&6; }
12493
12494
12495 enablestring=
12496 defaultval=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x"$enablestring" = xdisable; then
12499 defaultval=yes
12500 else
12501 defaultval=no
12502 fi
12503 fi
12504
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12507 # Check whether --enable-treebook was given.
12508 if test "${enable_treebook+set}" = set; then
12509 enableval=$enable_treebook;
12510 if test "$enableval" = yes; then
12511 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12512 else
12513 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12514 fi
12515
12516 else
12517
12518 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12519
12520 fi
12521
12522
12523 eval "$wx_cv_use_treebook"
12524
12525 if test x"$enablestring" = xdisable; then
12526 if test $wxUSE_TREEBOOK = no; then
12527 result=yes
12528 else
12529 result=no
12530 fi
12531 else
12532 result=$wxUSE_TREEBOOK
12533 fi
12534
12535 { echo "$as_me:$LINENO: result: $result" >&5
12536 echo "${ECHO_T}$result" >&6; }
12537
12538
12539 enablestring=
12540 defaultval=$wxUSE_ALL_FEATURES
12541 if test -z "$defaultval"; then
12542 if test x"$enablestring" = xdisable; then
12543 defaultval=yes
12544 else
12545 defaultval=no
12546 fi
12547 fi
12548
12549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12550 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12551 # Check whether --enable-treectrl was given.
12552 if test "${enable_treectrl+set}" = set; then
12553 enableval=$enable_treectrl;
12554 if test "$enableval" = yes; then
12555 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12556 else
12557 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12558 fi
12559
12560 else
12561
12562 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12563
12564 fi
12565
12566
12567 eval "$wx_cv_use_treectrl"
12568
12569 if test x"$enablestring" = xdisable; then
12570 if test $wxUSE_TREECTRL = no; then
12571 result=yes
12572 else
12573 result=no
12574 fi
12575 else
12576 result=$wxUSE_TREECTRL
12577 fi
12578
12579 { echo "$as_me:$LINENO: result: $result" >&5
12580 echo "${ECHO_T}$result" >&6; }
12581
12582
12583
12584
12585 enablestring=
12586 defaultval=$wxUSE_ALL_FEATURES
12587 if test -z "$defaultval"; then
12588 if test x"$enablestring" = xdisable; then
12589 defaultval=yes
12590 else
12591 defaultval=no
12592 fi
12593 fi
12594
12595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12596 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12597 # Check whether --enable-commondlg was given.
12598 if test "${enable_commondlg+set}" = set; then
12599 enableval=$enable_commondlg;
12600 if test "$enableval" = yes; then
12601 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12602 else
12603 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12604 fi
12605
12606 else
12607
12608 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12609
12610 fi
12611
12612
12613 eval "$wx_cv_use_commondlg"
12614
12615 if test x"$enablestring" = xdisable; then
12616 if test $wxUSE_COMMONDLGS = no; then
12617 result=yes
12618 else
12619 result=no
12620 fi
12621 else
12622 result=$wxUSE_COMMONDLGS
12623 fi
12624
12625 { echo "$as_me:$LINENO: result: $result" >&5
12626 echo "${ECHO_T}$result" >&6; }
12627
12628
12629 enablestring=
12630 defaultval=$wxUSE_ALL_FEATURES
12631 if test -z "$defaultval"; then
12632 if test x"$enablestring" = xdisable; then
12633 defaultval=yes
12634 else
12635 defaultval=no
12636 fi
12637 fi
12638
12639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12640 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12641 # Check whether --enable-aboutdlg was given.
12642 if test "${enable_aboutdlg+set}" = set; then
12643 enableval=$enable_aboutdlg;
12644 if test "$enableval" = yes; then
12645 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12646 else
12647 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12648 fi
12649
12650 else
12651
12652 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12653
12654 fi
12655
12656
12657 eval "$wx_cv_use_aboutdlg"
12658
12659 if test x"$enablestring" = xdisable; then
12660 if test $wxUSE_ABOUTDLG = no; then
12661 result=yes
12662 else
12663 result=no
12664 fi
12665 else
12666 result=$wxUSE_ABOUTDLG
12667 fi
12668
12669 { echo "$as_me:$LINENO: result: $result" >&5
12670 echo "${ECHO_T}$result" >&6; }
12671
12672
12673 enablestring=
12674 defaultval=$wxUSE_ALL_FEATURES
12675 if test -z "$defaultval"; then
12676 if test x"$enablestring" = xdisable; then
12677 defaultval=yes
12678 else
12679 defaultval=no
12680 fi
12681 fi
12682
12683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12684 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12685 # Check whether --enable-choicedlg was given.
12686 if test "${enable_choicedlg+set}" = set; then
12687 enableval=$enable_choicedlg;
12688 if test "$enableval" = yes; then
12689 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12690 else
12691 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12692 fi
12693
12694 else
12695
12696 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12697
12698 fi
12699
12700
12701 eval "$wx_cv_use_choicedlg"
12702
12703 if test x"$enablestring" = xdisable; then
12704 if test $wxUSE_CHOICEDLG = no; then
12705 result=yes
12706 else
12707 result=no
12708 fi
12709 else
12710 result=$wxUSE_CHOICEDLG
12711 fi
12712
12713 { echo "$as_me:$LINENO: result: $result" >&5
12714 echo "${ECHO_T}$result" >&6; }
12715
12716
12717 enablestring=
12718 defaultval=$wxUSE_ALL_FEATURES
12719 if test -z "$defaultval"; then
12720 if test x"$enablestring" = xdisable; then
12721 defaultval=yes
12722 else
12723 defaultval=no
12724 fi
12725 fi
12726
12727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12728 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12729 # Check whether --enable-coldlg was given.
12730 if test "${enable_coldlg+set}" = set; then
12731 enableval=$enable_coldlg;
12732 if test "$enableval" = yes; then
12733 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12734 else
12735 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12736 fi
12737
12738 else
12739
12740 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12741
12742 fi
12743
12744
12745 eval "$wx_cv_use_coldlg"
12746
12747 if test x"$enablestring" = xdisable; then
12748 if test $wxUSE_COLOURDLG = no; then
12749 result=yes
12750 else
12751 result=no
12752 fi
12753 else
12754 result=$wxUSE_COLOURDLG
12755 fi
12756
12757 { echo "$as_me:$LINENO: result: $result" >&5
12758 echo "${ECHO_T}$result" >&6; }
12759
12760
12761 enablestring=
12762 defaultval=$wxUSE_ALL_FEATURES
12763 if test -z "$defaultval"; then
12764 if test x"$enablestring" = xdisable; then
12765 defaultval=yes
12766 else
12767 defaultval=no
12768 fi
12769 fi
12770
12771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12772 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12773 # Check whether --enable-filedlg was given.
12774 if test "${enable_filedlg+set}" = set; then
12775 enableval=$enable_filedlg;
12776 if test "$enableval" = yes; then
12777 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12778 else
12779 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12780 fi
12781
12782 else
12783
12784 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12785
12786 fi
12787
12788
12789 eval "$wx_cv_use_filedlg"
12790
12791 if test x"$enablestring" = xdisable; then
12792 if test $wxUSE_FILEDLG = no; then
12793 result=yes
12794 else
12795 result=no
12796 fi
12797 else
12798 result=$wxUSE_FILEDLG
12799 fi
12800
12801 { echo "$as_me:$LINENO: result: $result" >&5
12802 echo "${ECHO_T}$result" >&6; }
12803
12804
12805 enablestring=
12806 defaultval=$wxUSE_ALL_FEATURES
12807 if test -z "$defaultval"; then
12808 if test x"$enablestring" = xdisable; then
12809 defaultval=yes
12810 else
12811 defaultval=no
12812 fi
12813 fi
12814
12815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12816 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12817 # Check whether --enable-finddlg was given.
12818 if test "${enable_finddlg+set}" = set; then
12819 enableval=$enable_finddlg;
12820 if test "$enableval" = yes; then
12821 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12822 else
12823 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12824 fi
12825
12826 else
12827
12828 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12829
12830 fi
12831
12832
12833 eval "$wx_cv_use_finddlg"
12834
12835 if test x"$enablestring" = xdisable; then
12836 if test $wxUSE_FINDREPLDLG = no; then
12837 result=yes
12838 else
12839 result=no
12840 fi
12841 else
12842 result=$wxUSE_FINDREPLDLG
12843 fi
12844
12845 { echo "$as_me:$LINENO: result: $result" >&5
12846 echo "${ECHO_T}$result" >&6; }
12847
12848
12849 enablestring=
12850 defaultval=$wxUSE_ALL_FEATURES
12851 if test -z "$defaultval"; then
12852 if test x"$enablestring" = xdisable; then
12853 defaultval=yes
12854 else
12855 defaultval=no
12856 fi
12857 fi
12858
12859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12860 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12861 # Check whether --enable-fontdlg was given.
12862 if test "${enable_fontdlg+set}" = set; then
12863 enableval=$enable_fontdlg;
12864 if test "$enableval" = yes; then
12865 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12866 else
12867 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12868 fi
12869
12870 else
12871
12872 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12873
12874 fi
12875
12876
12877 eval "$wx_cv_use_fontdlg"
12878
12879 if test x"$enablestring" = xdisable; then
12880 if test $wxUSE_FONTDLG = no; then
12881 result=yes
12882 else
12883 result=no
12884 fi
12885 else
12886 result=$wxUSE_FONTDLG
12887 fi
12888
12889 { echo "$as_me:$LINENO: result: $result" >&5
12890 echo "${ECHO_T}$result" >&6; }
12891
12892
12893 enablestring=
12894 defaultval=$wxUSE_ALL_FEATURES
12895 if test -z "$defaultval"; then
12896 if test x"$enablestring" = xdisable; then
12897 defaultval=yes
12898 else
12899 defaultval=no
12900 fi
12901 fi
12902
12903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12904 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12905 # Check whether --enable-dirdlg was given.
12906 if test "${enable_dirdlg+set}" = set; then
12907 enableval=$enable_dirdlg;
12908 if test "$enableval" = yes; then
12909 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12910 else
12911 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12912 fi
12913
12914 else
12915
12916 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12917
12918 fi
12919
12920
12921 eval "$wx_cv_use_dirdlg"
12922
12923 if test x"$enablestring" = xdisable; then
12924 if test $wxUSE_DIRDLG = no; then
12925 result=yes
12926 else
12927 result=no
12928 fi
12929 else
12930 result=$wxUSE_DIRDLG
12931 fi
12932
12933 { echo "$as_me:$LINENO: result: $result" >&5
12934 echo "${ECHO_T}$result" >&6; }
12935
12936
12937 enablestring=
12938 defaultval=$wxUSE_ALL_FEATURES
12939 if test -z "$defaultval"; then
12940 if test x"$enablestring" = xdisable; then
12941 defaultval=yes
12942 else
12943 defaultval=no
12944 fi
12945 fi
12946
12947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12948 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12949 # Check whether --enable-msgdlg was given.
12950 if test "${enable_msgdlg+set}" = set; then
12951 enableval=$enable_msgdlg;
12952 if test "$enableval" = yes; then
12953 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12954 else
12955 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12956 fi
12957
12958 else
12959
12960 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12961
12962 fi
12963
12964
12965 eval "$wx_cv_use_msgdlg"
12966
12967 if test x"$enablestring" = xdisable; then
12968 if test $wxUSE_MSGDLG = no; then
12969 result=yes
12970 else
12971 result=no
12972 fi
12973 else
12974 result=$wxUSE_MSGDLG
12975 fi
12976
12977 { echo "$as_me:$LINENO: result: $result" >&5
12978 echo "${ECHO_T}$result" >&6; }
12979
12980
12981 enablestring=
12982 defaultval=$wxUSE_ALL_FEATURES
12983 if test -z "$defaultval"; then
12984 if test x"$enablestring" = xdisable; then
12985 defaultval=yes
12986 else
12987 defaultval=no
12988 fi
12989 fi
12990
12991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12992 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12993 # Check whether --enable-numberdlg was given.
12994 if test "${enable_numberdlg+set}" = set; then
12995 enableval=$enable_numberdlg;
12996 if test "$enableval" = yes; then
12997 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12998 else
12999 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13000 fi
13001
13002 else
13003
13004 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13005
13006 fi
13007
13008
13009 eval "$wx_cv_use_numberdlg"
13010
13011 if test x"$enablestring" = xdisable; then
13012 if test $wxUSE_NUMBERDLG = no; then
13013 result=yes
13014 else
13015 result=no
13016 fi
13017 else
13018 result=$wxUSE_NUMBERDLG
13019 fi
13020
13021 { echo "$as_me:$LINENO: result: $result" >&5
13022 echo "${ECHO_T}$result" >&6; }
13023
13024
13025 enablestring=
13026 defaultval=$wxUSE_ALL_FEATURES
13027 if test -z "$defaultval"; then
13028 if test x"$enablestring" = xdisable; then
13029 defaultval=yes
13030 else
13031 defaultval=no
13032 fi
13033 fi
13034
13035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13036 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13037 # Check whether --enable-splash was given.
13038 if test "${enable_splash+set}" = set; then
13039 enableval=$enable_splash;
13040 if test "$enableval" = yes; then
13041 wx_cv_use_splash='wxUSE_SPLASH=yes'
13042 else
13043 wx_cv_use_splash='wxUSE_SPLASH=no'
13044 fi
13045
13046 else
13047
13048 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13049
13050 fi
13051
13052
13053 eval "$wx_cv_use_splash"
13054
13055 if test x"$enablestring" = xdisable; then
13056 if test $wxUSE_SPLASH = no; then
13057 result=yes
13058 else
13059 result=no
13060 fi
13061 else
13062 result=$wxUSE_SPLASH
13063 fi
13064
13065 { echo "$as_me:$LINENO: result: $result" >&5
13066 echo "${ECHO_T}$result" >&6; }
13067
13068
13069 enablestring=
13070 defaultval=$wxUSE_ALL_FEATURES
13071 if test -z "$defaultval"; then
13072 if test x"$enablestring" = xdisable; then
13073 defaultval=yes
13074 else
13075 defaultval=no
13076 fi
13077 fi
13078
13079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13080 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13081 # Check whether --enable-textdlg was given.
13082 if test "${enable_textdlg+set}" = set; then
13083 enableval=$enable_textdlg;
13084 if test "$enableval" = yes; then
13085 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13086 else
13087 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13088 fi
13089
13090 else
13091
13092 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13093
13094 fi
13095
13096
13097 eval "$wx_cv_use_textdlg"
13098
13099 if test x"$enablestring" = xdisable; then
13100 if test $wxUSE_TEXTDLG = no; then
13101 result=yes
13102 else
13103 result=no
13104 fi
13105 else
13106 result=$wxUSE_TEXTDLG
13107 fi
13108
13109 { echo "$as_me:$LINENO: result: $result" >&5
13110 echo "${ECHO_T}$result" >&6; }
13111
13112
13113 enablestring=
13114 defaultval=$wxUSE_ALL_FEATURES
13115 if test -z "$defaultval"; then
13116 if test x"$enablestring" = xdisable; then
13117 defaultval=yes
13118 else
13119 defaultval=no
13120 fi
13121 fi
13122
13123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13124 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13125 # Check whether --enable-tipdlg was given.
13126 if test "${enable_tipdlg+set}" = set; then
13127 enableval=$enable_tipdlg;
13128 if test "$enableval" = yes; then
13129 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13130 else
13131 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13132 fi
13133
13134 else
13135
13136 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13137
13138 fi
13139
13140
13141 eval "$wx_cv_use_tipdlg"
13142
13143 if test x"$enablestring" = xdisable; then
13144 if test $wxUSE_STARTUP_TIPS = no; then
13145 result=yes
13146 else
13147 result=no
13148 fi
13149 else
13150 result=$wxUSE_STARTUP_TIPS
13151 fi
13152
13153 { echo "$as_me:$LINENO: result: $result" >&5
13154 echo "${ECHO_T}$result" >&6; }
13155
13156
13157 enablestring=
13158 defaultval=$wxUSE_ALL_FEATURES
13159 if test -z "$defaultval"; then
13160 if test x"$enablestring" = xdisable; then
13161 defaultval=yes
13162 else
13163 defaultval=no
13164 fi
13165 fi
13166
13167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13168 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13169 # Check whether --enable-progressdlg was given.
13170 if test "${enable_progressdlg+set}" = set; then
13171 enableval=$enable_progressdlg;
13172 if test "$enableval" = yes; then
13173 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13174 else
13175 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13176 fi
13177
13178 else
13179
13180 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13181
13182 fi
13183
13184
13185 eval "$wx_cv_use_progressdlg"
13186
13187 if test x"$enablestring" = xdisable; then
13188 if test $wxUSE_PROGRESSDLG = no; then
13189 result=yes
13190 else
13191 result=no
13192 fi
13193 else
13194 result=$wxUSE_PROGRESSDLG
13195 fi
13196
13197 { echo "$as_me:$LINENO: result: $result" >&5
13198 echo "${ECHO_T}$result" >&6; }
13199
13200
13201 enablestring=
13202 defaultval=$wxUSE_ALL_FEATURES
13203 if test -z "$defaultval"; then
13204 if test x"$enablestring" = xdisable; then
13205 defaultval=yes
13206 else
13207 defaultval=no
13208 fi
13209 fi
13210
13211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13212 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13213 # Check whether --enable-wizarddlg was given.
13214 if test "${enable_wizarddlg+set}" = set; then
13215 enableval=$enable_wizarddlg;
13216 if test "$enableval" = yes; then
13217 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13218 else
13219 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13220 fi
13221
13222 else
13223
13224 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13225
13226 fi
13227
13228
13229 eval "$wx_cv_use_wizarddlg"
13230
13231 if test x"$enablestring" = xdisable; then
13232 if test $wxUSE_WIZARDDLG = no; then
13233 result=yes
13234 else
13235 result=no
13236 fi
13237 else
13238 result=$wxUSE_WIZARDDLG
13239 fi
13240
13241 { echo "$as_me:$LINENO: result: $result" >&5
13242 echo "${ECHO_T}$result" >&6; }
13243
13244
13245
13246
13247 enablestring=
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13251 defaultval=yes
13252 else
13253 defaultval=no
13254 fi
13255 fi
13256
13257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13258 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13259 # Check whether --enable-menus was given.
13260 if test "${enable_menus+set}" = set; then
13261 enableval=$enable_menus;
13262 if test "$enableval" = yes; then
13263 wx_cv_use_menus='wxUSE_MENUS=yes'
13264 else
13265 wx_cv_use_menus='wxUSE_MENUS=no'
13266 fi
13267
13268 else
13269
13270 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13271
13272 fi
13273
13274
13275 eval "$wx_cv_use_menus"
13276
13277 if test x"$enablestring" = xdisable; then
13278 if test $wxUSE_MENUS = no; then
13279 result=yes
13280 else
13281 result=no
13282 fi
13283 else
13284 result=$wxUSE_MENUS
13285 fi
13286
13287 { echo "$as_me:$LINENO: result: $result" >&5
13288 echo "${ECHO_T}$result" >&6; }
13289
13290
13291 enablestring=
13292 defaultval=$wxUSE_ALL_FEATURES
13293 if test -z "$defaultval"; then
13294 if test x"$enablestring" = xdisable; then
13295 defaultval=yes
13296 else
13297 defaultval=no
13298 fi
13299 fi
13300
13301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13302 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13303 # Check whether --enable-miniframe was given.
13304 if test "${enable_miniframe+set}" = set; then
13305 enableval=$enable_miniframe;
13306 if test "$enableval" = yes; then
13307 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13308 else
13309 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13310 fi
13311
13312 else
13313
13314 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13315
13316 fi
13317
13318
13319 eval "$wx_cv_use_miniframe"
13320
13321 if test x"$enablestring" = xdisable; then
13322 if test $wxUSE_MINIFRAME = no; then
13323 result=yes
13324 else
13325 result=no
13326 fi
13327 else
13328 result=$wxUSE_MINIFRAME
13329 fi
13330
13331 { echo "$as_me:$LINENO: result: $result" >&5
13332 echo "${ECHO_T}$result" >&6; }
13333
13334
13335 enablestring=
13336 defaultval=$wxUSE_ALL_FEATURES
13337 if test -z "$defaultval"; then
13338 if test x"$enablestring" = xdisable; then
13339 defaultval=yes
13340 else
13341 defaultval=no
13342 fi
13343 fi
13344
13345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13346 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13347 # Check whether --enable-tooltips was given.
13348 if test "${enable_tooltips+set}" = set; then
13349 enableval=$enable_tooltips;
13350 if test "$enableval" = yes; then
13351 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13352 else
13353 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13354 fi
13355
13356 else
13357
13358 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13359
13360 fi
13361
13362
13363 eval "$wx_cv_use_tooltips"
13364
13365 if test x"$enablestring" = xdisable; then
13366 if test $wxUSE_TOOLTIPS = no; then
13367 result=yes
13368 else
13369 result=no
13370 fi
13371 else
13372 result=$wxUSE_TOOLTIPS
13373 fi
13374
13375 { echo "$as_me:$LINENO: result: $result" >&5
13376 echo "${ECHO_T}$result" >&6; }
13377
13378
13379 enablestring=
13380 defaultval=$wxUSE_ALL_FEATURES
13381 if test -z "$defaultval"; then
13382 if test x"$enablestring" = xdisable; then
13383 defaultval=yes
13384 else
13385 defaultval=no
13386 fi
13387 fi
13388
13389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13390 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13391 # Check whether --enable-splines was given.
13392 if test "${enable_splines+set}" = set; then
13393 enableval=$enable_splines;
13394 if test "$enableval" = yes; then
13395 wx_cv_use_splines='wxUSE_SPLINES=yes'
13396 else
13397 wx_cv_use_splines='wxUSE_SPLINES=no'
13398 fi
13399
13400 else
13401
13402 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13403
13404 fi
13405
13406
13407 eval "$wx_cv_use_splines"
13408
13409 if test x"$enablestring" = xdisable; then
13410 if test $wxUSE_SPLINES = no; then
13411 result=yes
13412 else
13413 result=no
13414 fi
13415 else
13416 result=$wxUSE_SPLINES
13417 fi
13418
13419 { echo "$as_me:$LINENO: result: $result" >&5
13420 echo "${ECHO_T}$result" >&6; }
13421
13422
13423 enablestring=
13424 defaultval=$wxUSE_ALL_FEATURES
13425 if test -z "$defaultval"; then
13426 if test x"$enablestring" = xdisable; then
13427 defaultval=yes
13428 else
13429 defaultval=no
13430 fi
13431 fi
13432
13433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13434 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13435 # Check whether --enable-mousewheel was given.
13436 if test "${enable_mousewheel+set}" = set; then
13437 enableval=$enable_mousewheel;
13438 if test "$enableval" = yes; then
13439 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13440 else
13441 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13442 fi
13443
13444 else
13445
13446 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13447
13448 fi
13449
13450
13451 eval "$wx_cv_use_mousewheel"
13452
13453 if test x"$enablestring" = xdisable; then
13454 if test $wxUSE_MOUSEWHEEL = no; then
13455 result=yes
13456 else
13457 result=no
13458 fi
13459 else
13460 result=$wxUSE_MOUSEWHEEL
13461 fi
13462
13463 { echo "$as_me:$LINENO: result: $result" >&5
13464 echo "${ECHO_T}$result" >&6; }
13465
13466
13467 enablestring=
13468 defaultval=$wxUSE_ALL_FEATURES
13469 if test -z "$defaultval"; then
13470 if test x"$enablestring" = xdisable; then
13471 defaultval=yes
13472 else
13473 defaultval=no
13474 fi
13475 fi
13476
13477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13478 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13479 # Check whether --enable-validators was given.
13480 if test "${enable_validators+set}" = set; then
13481 enableval=$enable_validators;
13482 if test "$enableval" = yes; then
13483 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13484 else
13485 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13486 fi
13487
13488 else
13489
13490 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13491
13492 fi
13493
13494
13495 eval "$wx_cv_use_validators"
13496
13497 if test x"$enablestring" = xdisable; then
13498 if test $wxUSE_VALIDATORS = no; then
13499 result=yes
13500 else
13501 result=no
13502 fi
13503 else
13504 result=$wxUSE_VALIDATORS
13505 fi
13506
13507 { echo "$as_me:$LINENO: result: $result" >&5
13508 echo "${ECHO_T}$result" >&6; }
13509
13510
13511 enablestring=
13512 defaultval=$wxUSE_ALL_FEATURES
13513 if test -z "$defaultval"; then
13514 if test x"$enablestring" = xdisable; then
13515 defaultval=yes
13516 else
13517 defaultval=no
13518 fi
13519 fi
13520
13521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13522 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13523 # Check whether --enable-busyinfo was given.
13524 if test "${enable_busyinfo+set}" = set; then
13525 enableval=$enable_busyinfo;
13526 if test "$enableval" = yes; then
13527 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13528 else
13529 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13530 fi
13531
13532 else
13533
13534 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13535
13536 fi
13537
13538
13539 eval "$wx_cv_use_busyinfo"
13540
13541 if test x"$enablestring" = xdisable; then
13542 if test $wxUSE_BUSYINFO = no; then
13543 result=yes
13544 else
13545 result=no
13546 fi
13547 else
13548 result=$wxUSE_BUSYINFO
13549 fi
13550
13551 { echo "$as_me:$LINENO: result: $result" >&5
13552 echo "${ECHO_T}$result" >&6; }
13553
13554
13555 enablestring=
13556 defaultval=$wxUSE_ALL_FEATURES
13557 if test -z "$defaultval"; then
13558 if test x"$enablestring" = xdisable; then
13559 defaultval=yes
13560 else
13561 defaultval=no
13562 fi
13563 fi
13564
13565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13566 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13567 # Check whether --enable-joystick was given.
13568 if test "${enable_joystick+set}" = set; then
13569 enableval=$enable_joystick;
13570 if test "$enableval" = yes; then
13571 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13572 else
13573 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13574 fi
13575
13576 else
13577
13578 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13579
13580 fi
13581
13582
13583 eval "$wx_cv_use_joystick"
13584
13585 if test x"$enablestring" = xdisable; then
13586 if test $wxUSE_JOYSTICK = no; then
13587 result=yes
13588 else
13589 result=no
13590 fi
13591 else
13592 result=$wxUSE_JOYSTICK
13593 fi
13594
13595 { echo "$as_me:$LINENO: result: $result" >&5
13596 echo "${ECHO_T}$result" >&6; }
13597
13598
13599 enablestring=
13600 defaultval=$wxUSE_ALL_FEATURES
13601 if test -z "$defaultval"; then
13602 if test x"$enablestring" = xdisable; then
13603 defaultval=yes
13604 else
13605 defaultval=no
13606 fi
13607 fi
13608
13609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13610 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13611 # Check whether --enable-metafile was given.
13612 if test "${enable_metafile+set}" = set; then
13613 enableval=$enable_metafile;
13614 if test "$enableval" = yes; then
13615 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13616 else
13617 wx_cv_use_metafile='wxUSE_METAFILE=no'
13618 fi
13619
13620 else
13621
13622 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13623
13624 fi
13625
13626
13627 eval "$wx_cv_use_metafile"
13628
13629 if test x"$enablestring" = xdisable; then
13630 if test $wxUSE_METAFILE = no; then
13631 result=yes
13632 else
13633 result=no
13634 fi
13635 else
13636 result=$wxUSE_METAFILE
13637 fi
13638
13639 { echo "$as_me:$LINENO: result: $result" >&5
13640 echo "${ECHO_T}$result" >&6; }
13641
13642
13643 enablestring=
13644 defaultval=$wxUSE_ALL_FEATURES
13645 if test -z "$defaultval"; then
13646 if test x"$enablestring" = xdisable; then
13647 defaultval=yes
13648 else
13649 defaultval=no
13650 fi
13651 fi
13652
13653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13654 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13655 # Check whether --enable-dragimage was given.
13656 if test "${enable_dragimage+set}" = set; then
13657 enableval=$enable_dragimage;
13658 if test "$enableval" = yes; then
13659 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13660 else
13661 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13662 fi
13663
13664 else
13665
13666 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13667
13668 fi
13669
13670
13671 eval "$wx_cv_use_dragimage"
13672
13673 if test x"$enablestring" = xdisable; then
13674 if test $wxUSE_DRAGIMAGE = no; then
13675 result=yes
13676 else
13677 result=no
13678 fi
13679 else
13680 result=$wxUSE_DRAGIMAGE
13681 fi
13682
13683 { echo "$as_me:$LINENO: result: $result" >&5
13684 echo "${ECHO_T}$result" >&6; }
13685
13686
13687 enablestring=
13688 defaultval=$wxUSE_ALL_FEATURES
13689 if test -z "$defaultval"; then
13690 if test x"$enablestring" = xdisable; then
13691 defaultval=yes
13692 else
13693 defaultval=no
13694 fi
13695 fi
13696
13697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13698 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13699 # Check whether --enable-accessibility was given.
13700 if test "${enable_accessibility+set}" = set; then
13701 enableval=$enable_accessibility;
13702 if test "$enableval" = yes; then
13703 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13704 else
13705 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13706 fi
13707
13708 else
13709
13710 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13711
13712 fi
13713
13714
13715 eval "$wx_cv_use_accessibility"
13716
13717 if test x"$enablestring" = xdisable; then
13718 if test $wxUSE_ACCESSIBILITY = no; then
13719 result=yes
13720 else
13721 result=no
13722 fi
13723 else
13724 result=$wxUSE_ACCESSIBILITY
13725 fi
13726
13727 { echo "$as_me:$LINENO: result: $result" >&5
13728 echo "${ECHO_T}$result" >&6; }
13729
13730
13731 enablestring=
13732 defaultval=$wxUSE_ALL_FEATURES
13733 if test -z "$defaultval"; then
13734 if test x"$enablestring" = xdisable; then
13735 defaultval=yes
13736 else
13737 defaultval=no
13738 fi
13739 fi
13740
13741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13742 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13743 # Check whether --enable-uiactionsim was given.
13744 if test "${enable_uiactionsim+set}" = set; then
13745 enableval=$enable_uiactionsim;
13746 if test "$enableval" = yes; then
13747 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13748 else
13749 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13750 fi
13751
13752 else
13753
13754 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13755
13756 fi
13757
13758
13759 eval "$wx_cv_use_uiactionsim"
13760
13761 if test x"$enablestring" = xdisable; then
13762 if test $wxUSE_UIACTIONSIMULATOR = no; then
13763 result=yes
13764 else
13765 result=no
13766 fi
13767 else
13768 result=$wxUSE_UIACTIONSIMULATOR
13769 fi
13770
13771 { echo "$as_me:$LINENO: result: $result" >&5
13772 echo "${ECHO_T}$result" >&6; }
13773
13774
13775
13776
13777 enablestring=
13778 defaultval=$wxUSE_ALL_FEATURES
13779 if test -z "$defaultval"; then
13780 if test x"$enablestring" = xdisable; then
13781 defaultval=yes
13782 else
13783 defaultval=no
13784 fi
13785 fi
13786
13787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13788 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13789 # Check whether --enable-palette was given.
13790 if test "${enable_palette+set}" = set; then
13791 enableval=$enable_palette;
13792 if test "$enableval" = yes; then
13793 wx_cv_use_palette='wxUSE_PALETTE=yes'
13794 else
13795 wx_cv_use_palette='wxUSE_PALETTE=no'
13796 fi
13797
13798 else
13799
13800 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13801
13802 fi
13803
13804
13805 eval "$wx_cv_use_palette"
13806
13807 if test x"$enablestring" = xdisable; then
13808 if test $wxUSE_PALETTE = no; then
13809 result=yes
13810 else
13811 result=no
13812 fi
13813 else
13814 result=$wxUSE_PALETTE
13815 fi
13816
13817 { echo "$as_me:$LINENO: result: $result" >&5
13818 echo "${ECHO_T}$result" >&6; }
13819
13820
13821 enablestring=
13822 defaultval=$wxUSE_ALL_FEATURES
13823 if test -z "$defaultval"; then
13824 if test x"$enablestring" = xdisable; then
13825 defaultval=yes
13826 else
13827 defaultval=no
13828 fi
13829 fi
13830
13831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13832 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13833 # Check whether --enable-image was given.
13834 if test "${enable_image+set}" = set; then
13835 enableval=$enable_image;
13836 if test "$enableval" = yes; then
13837 wx_cv_use_image='wxUSE_IMAGE=yes'
13838 else
13839 wx_cv_use_image='wxUSE_IMAGE=no'
13840 fi
13841
13842 else
13843
13844 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13845
13846 fi
13847
13848
13849 eval "$wx_cv_use_image"
13850
13851 if test x"$enablestring" = xdisable; then
13852 if test $wxUSE_IMAGE = no; then
13853 result=yes
13854 else
13855 result=no
13856 fi
13857 else
13858 result=$wxUSE_IMAGE
13859 fi
13860
13861 { echo "$as_me:$LINENO: result: $result" >&5
13862 echo "${ECHO_T}$result" >&6; }
13863
13864
13865 enablestring=
13866 defaultval=$wxUSE_ALL_FEATURES
13867 if test -z "$defaultval"; then
13868 if test x"$enablestring" = xdisable; then
13869 defaultval=yes
13870 else
13871 defaultval=no
13872 fi
13873 fi
13874
13875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13876 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13877 # Check whether --enable-gif was given.
13878 if test "${enable_gif+set}" = set; then
13879 enableval=$enable_gif;
13880 if test "$enableval" = yes; then
13881 wx_cv_use_gif='wxUSE_GIF=yes'
13882 else
13883 wx_cv_use_gif='wxUSE_GIF=no'
13884 fi
13885
13886 else
13887
13888 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13889
13890 fi
13891
13892
13893 eval "$wx_cv_use_gif"
13894
13895 if test x"$enablestring" = xdisable; then
13896 if test $wxUSE_GIF = no; then
13897 result=yes
13898 else
13899 result=no
13900 fi
13901 else
13902 result=$wxUSE_GIF
13903 fi
13904
13905 { echo "$as_me:$LINENO: result: $result" >&5
13906 echo "${ECHO_T}$result" >&6; }
13907
13908
13909 enablestring=
13910 defaultval=$wxUSE_ALL_FEATURES
13911 if test -z "$defaultval"; then
13912 if test x"$enablestring" = xdisable; then
13913 defaultval=yes
13914 else
13915 defaultval=no
13916 fi
13917 fi
13918
13919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13920 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13921 # Check whether --enable-pcx was given.
13922 if test "${enable_pcx+set}" = set; then
13923 enableval=$enable_pcx;
13924 if test "$enableval" = yes; then
13925 wx_cv_use_pcx='wxUSE_PCX=yes'
13926 else
13927 wx_cv_use_pcx='wxUSE_PCX=no'
13928 fi
13929
13930 else
13931
13932 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13933
13934 fi
13935
13936
13937 eval "$wx_cv_use_pcx"
13938
13939 if test x"$enablestring" = xdisable; then
13940 if test $wxUSE_PCX = no; then
13941 result=yes
13942 else
13943 result=no
13944 fi
13945 else
13946 result=$wxUSE_PCX
13947 fi
13948
13949 { echo "$as_me:$LINENO: result: $result" >&5
13950 echo "${ECHO_T}$result" >&6; }
13951
13952
13953 enablestring=
13954 defaultval=$wxUSE_ALL_FEATURES
13955 if test -z "$defaultval"; then
13956 if test x"$enablestring" = xdisable; then
13957 defaultval=yes
13958 else
13959 defaultval=no
13960 fi
13961 fi
13962
13963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13964 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13965 # Check whether --enable-tga was given.
13966 if test "${enable_tga+set}" = set; then
13967 enableval=$enable_tga;
13968 if test "$enableval" = yes; then
13969 wx_cv_use_tga='wxUSE_TGA=yes'
13970 else
13971 wx_cv_use_tga='wxUSE_TGA=no'
13972 fi
13973
13974 else
13975
13976 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13977
13978 fi
13979
13980
13981 eval "$wx_cv_use_tga"
13982
13983 if test x"$enablestring" = xdisable; then
13984 if test $wxUSE_TGA = no; then
13985 result=yes
13986 else
13987 result=no
13988 fi
13989 else
13990 result=$wxUSE_TGA
13991 fi
13992
13993 { echo "$as_me:$LINENO: result: $result" >&5
13994 echo "${ECHO_T}$result" >&6; }
13995
13996
13997 enablestring=
13998 defaultval=$wxUSE_ALL_FEATURES
13999 if test -z "$defaultval"; then
14000 if test x"$enablestring" = xdisable; then
14001 defaultval=yes
14002 else
14003 defaultval=no
14004 fi
14005 fi
14006
14007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14008 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14009 # Check whether --enable-iff was given.
14010 if test "${enable_iff+set}" = set; then
14011 enableval=$enable_iff;
14012 if test "$enableval" = yes; then
14013 wx_cv_use_iff='wxUSE_IFF=yes'
14014 else
14015 wx_cv_use_iff='wxUSE_IFF=no'
14016 fi
14017
14018 else
14019
14020 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14021
14022 fi
14023
14024
14025 eval "$wx_cv_use_iff"
14026
14027 if test x"$enablestring" = xdisable; then
14028 if test $wxUSE_IFF = no; then
14029 result=yes
14030 else
14031 result=no
14032 fi
14033 else
14034 result=$wxUSE_IFF
14035 fi
14036
14037 { echo "$as_me:$LINENO: result: $result" >&5
14038 echo "${ECHO_T}$result" >&6; }
14039
14040
14041 enablestring=
14042 defaultval=$wxUSE_ALL_FEATURES
14043 if test -z "$defaultval"; then
14044 if test x"$enablestring" = xdisable; then
14045 defaultval=yes
14046 else
14047 defaultval=no
14048 fi
14049 fi
14050
14051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14052 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14053 # Check whether --enable-pnm was given.
14054 if test "${enable_pnm+set}" = set; then
14055 enableval=$enable_pnm;
14056 if test "$enableval" = yes; then
14057 wx_cv_use_pnm='wxUSE_PNM=yes'
14058 else
14059 wx_cv_use_pnm='wxUSE_PNM=no'
14060 fi
14061
14062 else
14063
14064 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14065
14066 fi
14067
14068
14069 eval "$wx_cv_use_pnm"
14070
14071 if test x"$enablestring" = xdisable; then
14072 if test $wxUSE_PNM = no; then
14073 result=yes
14074 else
14075 result=no
14076 fi
14077 else
14078 result=$wxUSE_PNM
14079 fi
14080
14081 { echo "$as_me:$LINENO: result: $result" >&5
14082 echo "${ECHO_T}$result" >&6; }
14083
14084
14085 enablestring=
14086 defaultval=$wxUSE_ALL_FEATURES
14087 if test -z "$defaultval"; then
14088 if test x"$enablestring" = xdisable; then
14089 defaultval=yes
14090 else
14091 defaultval=no
14092 fi
14093 fi
14094
14095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14096 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14097 # Check whether --enable-xpm was given.
14098 if test "${enable_xpm+set}" = set; then
14099 enableval=$enable_xpm;
14100 if test "$enableval" = yes; then
14101 wx_cv_use_xpm='wxUSE_XPM=yes'
14102 else
14103 wx_cv_use_xpm='wxUSE_XPM=no'
14104 fi
14105
14106 else
14107
14108 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14109
14110 fi
14111
14112
14113 eval "$wx_cv_use_xpm"
14114
14115 if test x"$enablestring" = xdisable; then
14116 if test $wxUSE_XPM = no; then
14117 result=yes
14118 else
14119 result=no
14120 fi
14121 else
14122 result=$wxUSE_XPM
14123 fi
14124
14125 { echo "$as_me:$LINENO: result: $result" >&5
14126 echo "${ECHO_T}$result" >&6; }
14127
14128
14129 enablestring=
14130 defaultval=$wxUSE_ALL_FEATURES
14131 if test -z "$defaultval"; then
14132 if test x"$enablestring" = xdisable; then
14133 defaultval=yes
14134 else
14135 defaultval=no
14136 fi
14137 fi
14138
14139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14140 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14141 # Check whether --enable-ico_cur was given.
14142 if test "${enable_ico_cur+set}" = set; then
14143 enableval=$enable_ico_cur;
14144 if test "$enableval" = yes; then
14145 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14146 else
14147 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14148 fi
14149
14150 else
14151
14152 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14153
14154 fi
14155
14156
14157 eval "$wx_cv_use_ico_cur"
14158
14159 if test x"$enablestring" = xdisable; then
14160 if test $wxUSE_ICO_CUR = no; then
14161 result=yes
14162 else
14163 result=no
14164 fi
14165 else
14166 result=$wxUSE_ICO_CUR
14167 fi
14168
14169 { echo "$as_me:$LINENO: result: $result" >&5
14170 echo "${ECHO_T}$result" >&6; }
14171
14172
14173
14174
14175 enablestring=
14176 defaultval=$wxUSE_ALL_FEATURES
14177 if test -z "$defaultval"; then
14178 if test x"$enablestring" = xdisable; then
14179 defaultval=yes
14180 else
14181 defaultval=no
14182 fi
14183 fi
14184
14185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14186 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14187 # Check whether --enable-dccache was given.
14188 if test "${enable_dccache+set}" = set; then
14189 enableval=$enable_dccache;
14190 if test "$enableval" = yes; then
14191 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14192 else
14193 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14194 fi
14195
14196 else
14197
14198 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14199
14200 fi
14201
14202
14203 eval "$wx_cv_use_dccache"
14204
14205 if test x"$enablestring" = xdisable; then
14206 if test $wxUSE_DC_CACHEING = no; then
14207 result=yes
14208 else
14209 result=no
14210 fi
14211 else
14212 result=$wxUSE_DC_CACHEING
14213 fi
14214
14215 { echo "$as_me:$LINENO: result: $result" >&5
14216 echo "${ECHO_T}$result" >&6; }
14217
14218
14219 enablestring=
14220 defaultval=$wxUSE_ALL_FEATURES
14221 if test -z "$defaultval"; then
14222 if test x"$enablestring" = xdisable; then
14223 defaultval=yes
14224 else
14225 defaultval=no
14226 fi
14227 fi
14228
14229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14230 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14231 # Check whether --enable-ps-in-msw was given.
14232 if test "${enable_ps_in_msw+set}" = set; then
14233 enableval=$enable_ps_in_msw;
14234 if test "$enableval" = yes; then
14235 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14236 else
14237 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14238 fi
14239
14240 else
14241
14242 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14243
14244 fi
14245
14246
14247 eval "$wx_cv_use_ps_in_msw"
14248
14249 if test x"$enablestring" = xdisable; then
14250 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14251 result=yes
14252 else
14253 result=no
14254 fi
14255 else
14256 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14257 fi
14258
14259 { echo "$as_me:$LINENO: result: $result" >&5
14260 echo "${ECHO_T}$result" >&6; }
14261
14262
14263 enablestring=
14264 defaultval=$wxUSE_ALL_FEATURES
14265 if test -z "$defaultval"; then
14266 if test x"$enablestring" = xdisable; then
14267 defaultval=yes
14268 else
14269 defaultval=no
14270 fi
14271 fi
14272
14273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14274 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14275 # Check whether --enable-ownerdrawn was given.
14276 if test "${enable_ownerdrawn+set}" = set; then
14277 enableval=$enable_ownerdrawn;
14278 if test "$enableval" = yes; then
14279 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14280 else
14281 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14282 fi
14283
14284 else
14285
14286 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14287
14288 fi
14289
14290
14291 eval "$wx_cv_use_ownerdrawn"
14292
14293 if test x"$enablestring" = xdisable; then
14294 if test $wxUSE_OWNER_DRAWN = no; then
14295 result=yes
14296 else
14297 result=no
14298 fi
14299 else
14300 result=$wxUSE_OWNER_DRAWN
14301 fi
14302
14303 { echo "$as_me:$LINENO: result: $result" >&5
14304 echo "${ECHO_T}$result" >&6; }
14305
14306
14307 enablestring=
14308 defaultval=$wxUSE_ALL_FEATURES
14309 if test -z "$defaultval"; then
14310 if test x"$enablestring" = xdisable; then
14311 defaultval=yes
14312 else
14313 defaultval=no
14314 fi
14315 fi
14316
14317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14318 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14319 # Check whether --enable-uxtheme was given.
14320 if test "${enable_uxtheme+set}" = set; then
14321 enableval=$enable_uxtheme;
14322 if test "$enableval" = yes; then
14323 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14324 else
14325 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14326 fi
14327
14328 else
14329
14330 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14331
14332 fi
14333
14334
14335 eval "$wx_cv_use_uxtheme"
14336
14337 if test x"$enablestring" = xdisable; then
14338 if test $wxUSE_UXTHEME = no; then
14339 result=yes
14340 else
14341 result=no
14342 fi
14343 else
14344 result=$wxUSE_UXTHEME
14345 fi
14346
14347 { echo "$as_me:$LINENO: result: $result" >&5
14348 echo "${ECHO_T}$result" >&6; }
14349
14350
14351 enablestring=
14352 defaultval=$wxUSE_ALL_FEATURES
14353 if test -z "$defaultval"; then
14354 if test x"$enablestring" = xdisable; then
14355 defaultval=yes
14356 else
14357 defaultval=no
14358 fi
14359 fi
14360
14361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14362 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14363 # Check whether --enable-wxdib was given.
14364 if test "${enable_wxdib+set}" = set; then
14365 enableval=$enable_wxdib;
14366 if test "$enableval" = yes; then
14367 wx_cv_use_wxdib='wxUSE_DIB=yes'
14368 else
14369 wx_cv_use_wxdib='wxUSE_DIB=no'
14370 fi
14371
14372 else
14373
14374 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14375
14376 fi
14377
14378
14379 eval "$wx_cv_use_wxdib"
14380
14381 if test x"$enablestring" = xdisable; then
14382 if test $wxUSE_DIB = no; then
14383 result=yes
14384 else
14385 result=no
14386 fi
14387 else
14388 result=$wxUSE_DIB
14389 fi
14390
14391 { echo "$as_me:$LINENO: result: $result" >&5
14392 echo "${ECHO_T}$result" >&6; }
14393
14394
14395 if test "$wxUSE_MSW" != 1; then
14396 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14397 fi
14398
14399
14400 enablestring=
14401 defaultval=$wxUSE_ALL_FEATURES
14402 if test -z "$defaultval"; then
14403 if test x"$enablestring" = xdisable; then
14404 defaultval=yes
14405 else
14406 defaultval=no
14407 fi
14408 fi
14409
14410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14411 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14412 # Check whether --enable-autoidman was given.
14413 if test "${enable_autoidman+set}" = set; then
14414 enableval=$enable_autoidman;
14415 if test "$enableval" = yes; then
14416 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14417 else
14418 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14419 fi
14420
14421 else
14422
14423 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14424
14425 fi
14426
14427
14428 eval "$wx_cv_use_autoidman"
14429
14430 if test x"$enablestring" = xdisable; then
14431 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14432 result=yes
14433 else
14434 result=no
14435 fi
14436 else
14437 result=$wxUSE_AUTOID_MANAGEMENT
14438 fi
14439
14440 { echo "$as_me:$LINENO: result: $result" >&5
14441 echo "${ECHO_T}$result" >&6; }
14442
14443
14444 fi
14445
14446
14447 cat >confcache <<\_ACEOF
14448 # This file is a shell script that caches the results of configure
14449 # tests run on this system so they can be shared between configure
14450 # scripts and configure runs, see configure's option --config-cache.
14451 # It is not useful on other systems. If it contains results you don't
14452 # want to keep, you may remove or edit it.
14453 #
14454 # config.status only pays attention to the cache file if you give it
14455 # the --recheck option to rerun configure.
14456 #
14457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14459 # following values.
14460
14461 _ACEOF
14462
14463 # The following way of writing the cache mishandles newlines in values,
14464 # but we know of no workaround that is simple, portable, and efficient.
14465 # So, we kill variables containing newlines.
14466 # Ultrix sh set writes to stderr and can't be redirected directly,
14467 # and sets the high bit in the cache file unless we assign to the vars.
14468 (
14469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14470 eval ac_val=\$$ac_var
14471 case $ac_val in #(
14472 *${as_nl}*)
14473 case $ac_var in #(
14474 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14475 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14476 esac
14477 case $ac_var in #(
14478 _ | IFS | as_nl) ;; #(
14479 *) $as_unset $ac_var ;;
14480 esac ;;
14481 esac
14482 done
14483
14484 (set) 2>&1 |
14485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14486 *${as_nl}ac_space=\ *)
14487 # `set' does not quote correctly, so add quotes (double-quote
14488 # substitution turns \\\\ into \\, and sed turns \\ into \).
14489 sed -n \
14490 "s/'/'\\\\''/g;
14491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14492 ;; #(
14493 *)
14494 # `set' quotes correctly as required by POSIX, so do not add quotes.
14495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14496 ;;
14497 esac |
14498 sort
14499 ) |
14500 sed '
14501 /^ac_cv_env_/b end
14502 t clear
14503 :clear
14504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14505 t end
14506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14507 :end' >>confcache
14508 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14509 if test -w "$cache_file"; then
14510 test "x$cache_file" != "x/dev/null" &&
14511 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14512 echo "$as_me: updating cache $cache_file" >&6;}
14513 cat confcache >$cache_file
14514 else
14515 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14516 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14517 fi
14518 fi
14519 rm -f confcache
14520
14521 CFLAGS=${CFLAGS:=}
14522 ac_ext=c
14523 ac_cpp='$CPP $CPPFLAGS'
14524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14527 if test -n "$ac_tool_prefix"; then
14528 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14529 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14532 if test "${ac_cv_prog_CC+set}" = set; then
14533 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 else
14535 if test -n "$CC"; then
14536 ac_cv_prog_CC="$CC" # Let the user override the test.
14537 else
14538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14539 for as_dir in $PATH
14540 do
14541 IFS=$as_save_IFS
14542 test -z "$as_dir" && as_dir=.
14543 for ac_exec_ext in '' $ac_executable_extensions; do
14544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14545 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14547 break 2
14548 fi
14549 done
14550 done
14551 IFS=$as_save_IFS
14552
14553 fi
14554 fi
14555 CC=$ac_cv_prog_CC
14556 if test -n "$CC"; then
14557 { echo "$as_me:$LINENO: result: $CC" >&5
14558 echo "${ECHO_T}$CC" >&6; }
14559 else
14560 { echo "$as_me:$LINENO: result: no" >&5
14561 echo "${ECHO_T}no" >&6; }
14562 fi
14563
14564
14565 fi
14566 if test -z "$ac_cv_prog_CC"; then
14567 ac_ct_CC=$CC
14568 # Extract the first word of "gcc", so it can be a program name with args.
14569 set dummy gcc; ac_word=$2
14570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 else
14575 if test -n "$ac_ct_CC"; then
14576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14577 else
14578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14579 for as_dir in $PATH
14580 do
14581 IFS=$as_save_IFS
14582 test -z "$as_dir" && as_dir=.
14583 for ac_exec_ext in '' $ac_executable_extensions; do
14584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14585 ac_cv_prog_ac_ct_CC="gcc"
14586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14587 break 2
14588 fi
14589 done
14590 done
14591 IFS=$as_save_IFS
14592
14593 fi
14594 fi
14595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14596 if test -n "$ac_ct_CC"; then
14597 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14598 echo "${ECHO_T}$ac_ct_CC" >&6; }
14599 else
14600 { echo "$as_me:$LINENO: result: no" >&5
14601 echo "${ECHO_T}no" >&6; }
14602 fi
14603
14604 if test "x$ac_ct_CC" = x; then
14605 CC=""
14606 else
14607 case $cross_compiling:$ac_tool_warned in
14608 yes:)
14609 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14610 whose name does not start with the host triplet. If you think this
14611 configuration is useful to you, please write to autoconf@gnu.org." >&5
14612 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14613 whose name does not start with the host triplet. If you think this
14614 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14615 ac_tool_warned=yes ;;
14616 esac
14617 CC=$ac_ct_CC
14618 fi
14619 else
14620 CC="$ac_cv_prog_CC"
14621 fi
14622
14623 if test -z "$CC"; then
14624 if test -n "$ac_tool_prefix"; then
14625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14626 set dummy ${ac_tool_prefix}cc; ac_word=$2
14627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14629 if test "${ac_cv_prog_CC+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 else
14632 if test -n "$CC"; then
14633 ac_cv_prog_CC="$CC" # Let the user override the test.
14634 else
14635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14636 for as_dir in $PATH
14637 do
14638 IFS=$as_save_IFS
14639 test -z "$as_dir" && as_dir=.
14640 for ac_exec_ext in '' $ac_executable_extensions; do
14641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14642 ac_cv_prog_CC="${ac_tool_prefix}cc"
14643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14644 break 2
14645 fi
14646 done
14647 done
14648 IFS=$as_save_IFS
14649
14650 fi
14651 fi
14652 CC=$ac_cv_prog_CC
14653 if test -n "$CC"; then
14654 { echo "$as_me:$LINENO: result: $CC" >&5
14655 echo "${ECHO_T}$CC" >&6; }
14656 else
14657 { echo "$as_me:$LINENO: result: no" >&5
14658 echo "${ECHO_T}no" >&6; }
14659 fi
14660
14661
14662 fi
14663 fi
14664 if test -z "$CC"; then
14665 # Extract the first word of "cc", so it can be a program name with args.
14666 set dummy cc; ac_word=$2
14667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14669 if test "${ac_cv_prog_CC+set}" = set; then
14670 echo $ECHO_N "(cached) $ECHO_C" >&6
14671 else
14672 if test -n "$CC"; then
14673 ac_cv_prog_CC="$CC" # Let the user override the test.
14674 else
14675 ac_prog_rejected=no
14676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14677 for as_dir in $PATH
14678 do
14679 IFS=$as_save_IFS
14680 test -z "$as_dir" && as_dir=.
14681 for ac_exec_ext in '' $ac_executable_extensions; do
14682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14684 ac_prog_rejected=yes
14685 continue
14686 fi
14687 ac_cv_prog_CC="cc"
14688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14689 break 2
14690 fi
14691 done
14692 done
14693 IFS=$as_save_IFS
14694
14695 if test $ac_prog_rejected = yes; then
14696 # We found a bogon in the path, so make sure we never use it.
14697 set dummy $ac_cv_prog_CC
14698 shift
14699 if test $# != 0; then
14700 # We chose a different compiler from the bogus one.
14701 # However, it has the same basename, so the bogon will be chosen
14702 # first if we set CC to just the basename; use the full file name.
14703 shift
14704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14705 fi
14706 fi
14707 fi
14708 fi
14709 CC=$ac_cv_prog_CC
14710 if test -n "$CC"; then
14711 { echo "$as_me:$LINENO: result: $CC" >&5
14712 echo "${ECHO_T}$CC" >&6; }
14713 else
14714 { echo "$as_me:$LINENO: result: no" >&5
14715 echo "${ECHO_T}no" >&6; }
14716 fi
14717
14718
14719 fi
14720 if test -z "$CC"; then
14721 if test -n "$ac_tool_prefix"; then
14722 for ac_prog in cl.exe
14723 do
14724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14728 if test "${ac_cv_prog_CC+set}" = set; then
14729 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 else
14731 if test -n "$CC"; then
14732 ac_cv_prog_CC="$CC" # Let the user override the test.
14733 else
14734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14735 for as_dir in $PATH
14736 do
14737 IFS=$as_save_IFS
14738 test -z "$as_dir" && as_dir=.
14739 for ac_exec_ext in '' $ac_executable_extensions; do
14740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14743 break 2
14744 fi
14745 done
14746 done
14747 IFS=$as_save_IFS
14748
14749 fi
14750 fi
14751 CC=$ac_cv_prog_CC
14752 if test -n "$CC"; then
14753 { echo "$as_me:$LINENO: result: $CC" >&5
14754 echo "${ECHO_T}$CC" >&6; }
14755 else
14756 { echo "$as_me:$LINENO: result: no" >&5
14757 echo "${ECHO_T}no" >&6; }
14758 fi
14759
14760
14761 test -n "$CC" && break
14762 done
14763 fi
14764 if test -z "$CC"; then
14765 ac_ct_CC=$CC
14766 for ac_prog in cl.exe
14767 do
14768 # Extract the first word of "$ac_prog", so it can be a program name with args.
14769 set dummy $ac_prog; ac_word=$2
14770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 if test -n "$ac_ct_CC"; then
14776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14777 else
14778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14779 for as_dir in $PATH
14780 do
14781 IFS=$as_save_IFS
14782 test -z "$as_dir" && as_dir=.
14783 for ac_exec_ext in '' $ac_executable_extensions; do
14784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14785 ac_cv_prog_ac_ct_CC="$ac_prog"
14786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14787 break 2
14788 fi
14789 done
14790 done
14791 IFS=$as_save_IFS
14792
14793 fi
14794 fi
14795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14796 if test -n "$ac_ct_CC"; then
14797 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14798 echo "${ECHO_T}$ac_ct_CC" >&6; }
14799 else
14800 { echo "$as_me:$LINENO: result: no" >&5
14801 echo "${ECHO_T}no" >&6; }
14802 fi
14803
14804
14805 test -n "$ac_ct_CC" && break
14806 done
14807
14808 if test "x$ac_ct_CC" = x; then
14809 CC=""
14810 else
14811 case $cross_compiling:$ac_tool_warned in
14812 yes:)
14813 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14814 whose name does not start with the host triplet. If you think this
14815 configuration is useful to you, please write to autoconf@gnu.org." >&5
14816 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14817 whose name does not start with the host triplet. If you think this
14818 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14819 ac_tool_warned=yes ;;
14820 esac
14821 CC=$ac_ct_CC
14822 fi
14823 fi
14824
14825 fi
14826
14827
14828 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14829 See \`config.log' for more details." >&5
14830 echo "$as_me: error: no acceptable C compiler found in \$PATH
14831 See \`config.log' for more details." >&2;}
14832 { (exit 1); exit 1; }; }
14833
14834 # Provide some information about the compiler.
14835 echo "$as_me:$LINENO: checking for C compiler version" >&5
14836 ac_compiler=`set X $ac_compile; echo $2`
14837 { (ac_try="$ac_compiler --version >&5"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14840 *) ac_try_echo=$ac_try;;
14841 esac
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_compiler --version >&5") 2>&5
14844 ac_status=$?
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); }
14847 { (ac_try="$ac_compiler -v >&5"
14848 case "(($ac_try" in
14849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14850 *) ac_try_echo=$ac_try;;
14851 esac
14852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14853 (eval "$ac_compiler -v >&5") 2>&5
14854 ac_status=$?
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }
14857 { (ac_try="$ac_compiler -V >&5"
14858 case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14861 esac
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_compiler -V >&5") 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }
14867
14868 cat >conftest.$ac_ext <<_ACEOF
14869 /* confdefs.h. */
14870 _ACEOF
14871 cat confdefs.h >>conftest.$ac_ext
14872 cat >>conftest.$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14874
14875 int
14876 main ()
14877 {
14878
14879 ;
14880 return 0;
14881 }
14882 _ACEOF
14883 ac_clean_files_save=$ac_clean_files
14884 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14885 # Try to create an executable without -o first, disregard a.out.
14886 # It will help us diagnose broken compilers, and finding out an intuition
14887 # of exeext.
14888 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14889 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14890 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14891 #
14892 # List of possible output files, starting from the most likely.
14893 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14894 # only as a last resort. b.out is created by i960 compilers.
14895 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14896 #
14897 # The IRIX 6 linker writes into existing files which may not be
14898 # executable, retaining their permissions. Remove them first so a
14899 # subsequent execution test works.
14900 ac_rmfiles=
14901 for ac_file in $ac_files
14902 do
14903 case $ac_file in
14904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14905 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14906 esac
14907 done
14908 rm -f $ac_rmfiles
14909
14910 if { (ac_try="$ac_link_default"
14911 case "(($ac_try" in
14912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14913 *) ac_try_echo=$ac_try;;
14914 esac
14915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14916 (eval "$ac_link_default") 2>&5
14917 ac_status=$?
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; then
14920 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14921 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14922 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14923 # so that the user can short-circuit this test for compilers unknown to
14924 # Autoconf.
14925 for ac_file in $ac_files ''
14926 do
14927 test -f "$ac_file" || continue
14928 case $ac_file in
14929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14930 ;;
14931 [ab].out )
14932 # We found the default executable, but exeext='' is most
14933 # certainly right.
14934 break;;
14935 *.* )
14936 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14937 then :; else
14938 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14939 fi
14940 # We set ac_cv_exeext here because the later test for it is not
14941 # safe: cross compilers may not add the suffix if given an `-o'
14942 # argument, so we may need to know it at that point already.
14943 # Even if this section looks crufty: it has the advantage of
14944 # actually working.
14945 break;;
14946 * )
14947 break;;
14948 esac
14949 done
14950 test "$ac_cv_exeext" = no && ac_cv_exeext=
14951
14952 else
14953 ac_file=''
14954 fi
14955
14956 { echo "$as_me:$LINENO: result: $ac_file" >&5
14957 echo "${ECHO_T}$ac_file" >&6; }
14958 if test -z "$ac_file"; then
14959 echo "$as_me: failed program was:" >&5
14960 sed 's/^/| /' conftest.$ac_ext >&5
14961
14962 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14963 See \`config.log' for more details." >&5
14964 echo "$as_me: error: C compiler cannot create executables
14965 See \`config.log' for more details." >&2;}
14966 { (exit 77); exit 77; }; }
14967 fi
14968
14969 ac_exeext=$ac_cv_exeext
14970
14971 # Check that the compiler produces executables we can run. If not, either
14972 # the compiler is broken, or we cross compile.
14973 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14974 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14975 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14976 # If not cross compiling, check that we can run a simple program.
14977 if test "$cross_compiling" != yes; then
14978 if { ac_try='./$ac_file'
14979 { (case "(($ac_try" in
14980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14981 *) ac_try_echo=$ac_try;;
14982 esac
14983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14984 (eval "$ac_try") 2>&5
14985 ac_status=$?
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14988 cross_compiling=no
14989 else
14990 if test "$cross_compiling" = maybe; then
14991 cross_compiling=yes
14992 else
14993 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14994 If you meant to cross compile, use \`--host'.
14995 See \`config.log' for more details." >&5
14996 echo "$as_me: error: cannot run C compiled programs.
14997 If you meant to cross compile, use \`--host'.
14998 See \`config.log' for more details." >&2;}
14999 { (exit 1); exit 1; }; }
15000 fi
15001 fi
15002 fi
15003 { echo "$as_me:$LINENO: result: yes" >&5
15004 echo "${ECHO_T}yes" >&6; }
15005
15006 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15007 ac_clean_files=$ac_clean_files_save
15008 # Check that the compiler produces executables we can run. If not, either
15009 # the compiler is broken, or we cross compile.
15010 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15011 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15012 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15013 echo "${ECHO_T}$cross_compiling" >&6; }
15014
15015 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15016 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15017 if { (ac_try="$ac_link"
15018 case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15021 esac
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_link") 2>&5
15024 ac_status=$?
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; then
15027 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15028 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15029 # work properly (i.e., refer to `conftest.exe'), while it won't with
15030 # `rm'.
15031 for ac_file in conftest.exe conftest conftest.*; do
15032 test -f "$ac_file" || continue
15033 case $ac_file in
15034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15035 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15036 break;;
15037 * ) break;;
15038 esac
15039 done
15040 else
15041 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15042 See \`config.log' for more details." >&5
15043 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15044 See \`config.log' for more details." >&2;}
15045 { (exit 1); exit 1; }; }
15046 fi
15047
15048 rm -f conftest$ac_cv_exeext
15049 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15050 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15051
15052 rm -f conftest.$ac_ext
15053 EXEEXT=$ac_cv_exeext
15054 ac_exeext=$EXEEXT
15055 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15056 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15057 if test "${ac_cv_objext+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 else
15060 cat >conftest.$ac_ext <<_ACEOF
15061 /* confdefs.h. */
15062 _ACEOF
15063 cat confdefs.h >>conftest.$ac_ext
15064 cat >>conftest.$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15066
15067 int
15068 main ()
15069 {
15070
15071 ;
15072 return 0;
15073 }
15074 _ACEOF
15075 rm -f conftest.o conftest.obj
15076 if { (ac_try="$ac_compile"
15077 case "(($ac_try" in
15078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15079 *) ac_try_echo=$ac_try;;
15080 esac
15081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15082 (eval "$ac_compile") 2>&5
15083 ac_status=$?
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; then
15086 for ac_file in conftest.o conftest.obj conftest.*; do
15087 test -f "$ac_file" || continue;
15088 case $ac_file in
15089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15090 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15091 break;;
15092 esac
15093 done
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15097
15098 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15099 See \`config.log' for more details." >&5
15100 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15101 See \`config.log' for more details." >&2;}
15102 { (exit 1); exit 1; }; }
15103 fi
15104
15105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15106 fi
15107 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15108 echo "${ECHO_T}$ac_cv_objext" >&6; }
15109 OBJEXT=$ac_cv_objext
15110 ac_objext=$OBJEXT
15111 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15112 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15113 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 else
15116 cat >conftest.$ac_ext <<_ACEOF
15117 /* confdefs.h. */
15118 _ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15122
15123 int
15124 main ()
15125 {
15126 #ifndef __GNUC__
15127 choke me
15128 #endif
15129
15130 ;
15131 return 0;
15132 }
15133 _ACEOF
15134 rm -f conftest.$ac_objext
15135 if { (ac_try="$ac_compile"
15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15139 esac
15140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_compile") 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } && {
15148 test -z "$ac_c_werror_flag" ||
15149 test ! -s conftest.err
15150 } && test -s conftest.$ac_objext; then
15151 ac_compiler_gnu=yes
15152 else
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15155
15156 ac_compiler_gnu=no
15157 fi
15158
15159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15161
15162 fi
15163 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15164 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15165 GCC=`test $ac_compiler_gnu = yes && echo yes`
15166 ac_test_CFLAGS=${CFLAGS+set}
15167 ac_save_CFLAGS=$CFLAGS
15168 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15169 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15170 if test "${ac_cv_prog_cc_g+set}" = set; then
15171 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 else
15173 ac_save_c_werror_flag=$ac_c_werror_flag
15174 ac_c_werror_flag=yes
15175 ac_cv_prog_cc_g=no
15176 CFLAGS="-g"
15177 cat >conftest.$ac_ext <<_ACEOF
15178 /* confdefs.h. */
15179 _ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15183
15184 int
15185 main ()
15186 {
15187
15188 ;
15189 return 0;
15190 }
15191 _ACEOF
15192 rm -f conftest.$ac_objext
15193 if { (ac_try="$ac_compile"
15194 case "(($ac_try" in
15195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15196 *) ac_try_echo=$ac_try;;
15197 esac
15198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15199 (eval "$ac_compile") 2>conftest.er1
15200 ac_status=$?
15201 grep -v '^ *+' conftest.er1 >conftest.err
15202 rm -f conftest.er1
15203 cat conftest.err >&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); } && {
15206 test -z "$ac_c_werror_flag" ||
15207 test ! -s conftest.err
15208 } && test -s conftest.$ac_objext; then
15209 ac_cv_prog_cc_g=yes
15210 else
15211 echo "$as_me: failed program was:" >&5
15212 sed 's/^/| /' conftest.$ac_ext >&5
15213
15214 CFLAGS=""
15215 cat >conftest.$ac_ext <<_ACEOF
15216 /* confdefs.h. */
15217 _ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221
15222 int
15223 main ()
15224 {
15225
15226 ;
15227 return 0;
15228 }
15229 _ACEOF
15230 rm -f conftest.$ac_objext
15231 if { (ac_try="$ac_compile"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15235 esac
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_compile") 2>conftest.er1
15238 ac_status=$?
15239 grep -v '^ *+' conftest.er1 >conftest.err
15240 rm -f conftest.er1
15241 cat conftest.err >&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); } && {
15244 test -z "$ac_c_werror_flag" ||
15245 test ! -s conftest.err
15246 } && test -s conftest.$ac_objext; then
15247 :
15248 else
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.$ac_ext >&5
15251
15252 ac_c_werror_flag=$ac_save_c_werror_flag
15253 CFLAGS="-g"
15254 cat >conftest.$ac_ext <<_ACEOF
15255 /* confdefs.h. */
15256 _ACEOF
15257 cat confdefs.h >>conftest.$ac_ext
15258 cat >>conftest.$ac_ext <<_ACEOF
15259 /* end confdefs.h. */
15260
15261 int
15262 main ()
15263 {
15264
15265 ;
15266 return 0;
15267 }
15268 _ACEOF
15269 rm -f conftest.$ac_objext
15270 if { (ac_try="$ac_compile"
15271 case "(($ac_try" in
15272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 *) ac_try_echo=$ac_try;;
15274 esac
15275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15276 (eval "$ac_compile") 2>conftest.er1
15277 ac_status=$?
15278 grep -v '^ *+' conftest.er1 >conftest.err
15279 rm -f conftest.er1
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); } && {
15283 test -z "$ac_c_werror_flag" ||
15284 test ! -s conftest.err
15285 } && test -s conftest.$ac_objext; then
15286 ac_cv_prog_cc_g=yes
15287 else
15288 echo "$as_me: failed program was:" >&5
15289 sed 's/^/| /' conftest.$ac_ext >&5
15290
15291
15292 fi
15293
15294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15295 fi
15296
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15298 fi
15299
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301 ac_c_werror_flag=$ac_save_c_werror_flag
15302 fi
15303 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15304 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15305 if test "$ac_test_CFLAGS" = set; then
15306 CFLAGS=$ac_save_CFLAGS
15307 elif test $ac_cv_prog_cc_g = yes; then
15308 if test "$GCC" = yes; then
15309 CFLAGS="-g -O2"
15310 else
15311 CFLAGS="-g"
15312 fi
15313 else
15314 if test "$GCC" = yes; then
15315 CFLAGS="-O2"
15316 else
15317 CFLAGS=
15318 fi
15319 fi
15320 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15321 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15322 if test "${ac_cv_prog_cc_c89+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 else
15325 ac_cv_prog_cc_c89=no
15326 ac_save_CC=$CC
15327 cat >conftest.$ac_ext <<_ACEOF
15328 /* confdefs.h. */
15329 _ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333 #include <stdarg.h>
15334 #include <stdio.h>
15335 #include <sys/types.h>
15336 #include <sys/stat.h>
15337 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15338 struct buf { int x; };
15339 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15340 static char *e (p, i)
15341 char **p;
15342 int i;
15343 {
15344 return p[i];
15345 }
15346 static char *f (char * (*g) (char **, int), char **p, ...)
15347 {
15348 char *s;
15349 va_list v;
15350 va_start (v,p);
15351 s = g (p, va_arg (v,int));
15352 va_end (v);
15353 return s;
15354 }
15355
15356 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15357 function prototypes and stuff, but not '\xHH' hex character constants.
15358 These don't provoke an error unfortunately, instead are silently treated
15359 as 'x'. The following induces an error, until -std is added to get
15360 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15361 array size at least. It's necessary to write '\x00'==0 to get something
15362 that's true only with -std. */
15363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15364
15365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15366 inside strings and character constants. */
15367 #define FOO(x) 'x'
15368 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15369
15370 int test (int i, double x);
15371 struct s1 {int (*f) (int a);};
15372 struct s2 {int (*f) (double a);};
15373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15374 int argc;
15375 char **argv;
15376 int
15377 main ()
15378 {
15379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15380 ;
15381 return 0;
15382 }
15383 _ACEOF
15384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15385 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15386 do
15387 CC="$ac_save_CC $ac_arg"
15388 rm -f conftest.$ac_objext
15389 if { (ac_try="$ac_compile"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compile") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest.$ac_objext; then
15405 ac_cv_prog_cc_c89=$ac_arg
15406 else
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15409
15410
15411 fi
15412
15413 rm -f core conftest.err conftest.$ac_objext
15414 test "x$ac_cv_prog_cc_c89" != "xno" && break
15415 done
15416 rm -f conftest.$ac_ext
15417 CC=$ac_save_CC
15418
15419 fi
15420 # AC_CACHE_VAL
15421 case "x$ac_cv_prog_cc_c89" in
15422 x)
15423 { echo "$as_me:$LINENO: result: none needed" >&5
15424 echo "${ECHO_T}none needed" >&6; } ;;
15425 xno)
15426 { echo "$as_me:$LINENO: result: unsupported" >&5
15427 echo "${ECHO_T}unsupported" >&6; } ;;
15428 *)
15429 CC="$CC $ac_cv_prog_cc_c89"
15430 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15431 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15432 esac
15433
15434
15435 ac_ext=c
15436 ac_cpp='$CPP $CPPFLAGS'
15437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15440
15441
15442
15443
15444
15445
15446
15447
15448 ac_ext=c
15449 ac_cpp='$CPP $CPPFLAGS'
15450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15453
15454 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15455 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15456 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 else
15459 cat >conftest.$ac_ext <<_ACEOF
15460 /* confdefs.h. */
15461 _ACEOF
15462 cat confdefs.h >>conftest.$ac_ext
15463 cat >>conftest.$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15465
15466 int
15467 main ()
15468 {
15469
15470 #ifndef __INTEL_COMPILER
15471 choke me
15472 #endif
15473
15474 ;
15475 return 0;
15476 }
15477 _ACEOF
15478 rm -f conftest.$ac_objext
15479 if { (ac_try="$ac_compile"
15480 case "(($ac_try" in
15481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15482 *) ac_try_echo=$ac_try;;
15483 esac
15484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15485 (eval "$ac_compile") 2>conftest.er1
15486 ac_status=$?
15487 grep -v '^ *+' conftest.er1 >conftest.err
15488 rm -f conftest.er1
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } && {
15492 test -z "$ac_c_werror_flag" ||
15493 test ! -s conftest.err
15494 } && test -s conftest.$ac_objext; then
15495 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15496 else
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15499
15500 bakefile_cv_c_compiler___INTEL_COMPILER=no
15501
15502 fi
15503
15504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15505
15506
15507 fi
15508 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15509 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15510 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15511 :; INTELCC=yes
15512 else
15513 :;
15514 fi
15515 ac_ext=c
15516 ac_cpp='$CPP $CPPFLAGS'
15517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15520
15521
15522
15523
15524 if test "$INTELCC" = "yes"; then
15525
15526
15527 ac_ext=c
15528 ac_cpp='$CPP $CPPFLAGS'
15529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15532
15533 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15534 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15535 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 else
15538 cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h. */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544
15545 int
15546 main ()
15547 {
15548
15549 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15550 choke me
15551 #endif
15552
15553 ;
15554 return 0;
15555 }
15556 _ACEOF
15557 rm -f conftest.$ac_objext
15558 if { (ac_try="$ac_compile"
15559 case "(($ac_try" in
15560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15561 *) ac_try_echo=$ac_try;;
15562 esac
15563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15564 (eval "$ac_compile") 2>conftest.er1
15565 ac_status=$?
15566 grep -v '^ *+' conftest.er1 >conftest.err
15567 rm -f conftest.er1
15568 cat conftest.err >&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); } && {
15571 test -z "$ac_c_werror_flag" ||
15572 test ! -s conftest.err
15573 } && test -s conftest.$ac_objext; then
15574 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15575 else
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.$ac_ext >&5
15578
15579 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15580
15581 fi
15582
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584
15585
15586 fi
15587 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15588 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15589 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15590 :; INTELCC8=yes
15591 else
15592 :;
15593 fi
15594 ac_ext=c
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599
15600
15601
15602
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15611 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621
15622 int
15623 main ()
15624 {
15625
15626 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15627 choke me
15628 #endif
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15639 esac
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15655
15656 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15657
15658 fi
15659
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661
15662
15663 fi
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15666 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15667 :; INTELCC10=yes
15668 else
15669 :;
15670 fi
15671 ac_ext=c
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676
15677
15678
15679 fi
15680
15681 if test "x$GCC" != "xyes"; then
15682 if test "xCC" = "xC"; then
15683 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15684 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15685 if test "${bakefile_cv_c_exto+set}" = set; then
15686 echo $ECHO_N "(cached) $ECHO_C" >&6
15687 else
15688 cat >conftest.$ac_ext <<_ACEOF
15689 /* confdefs.h. */
15690 _ACEOF
15691 cat confdefs.h >>conftest.$ac_ext
15692 cat >>conftest.$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694
15695 int
15696 main ()
15697 {
15698
15699 ;
15700 return 0;
15701 }
15702 _ACEOF
15703 rm -f conftest.$ac_objext conftest.$ac_ext.o
15704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15705 (eval $ac_compile) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; then
15709 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15710 case $ac_file in
15711 conftest.$ac_ext.o)
15712 bakefile_cv_c_exto="-ext o"
15713 ;;
15714 *)
15715 ;;
15716 esac
15717 done
15718 else
15719 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15720 See \`config.log' for more details." >&5
15721 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15722 See \`config.log' for more details." >&2;}
15723 { (exit 1); exit 1; }; }
15724
15725 fi
15726
15727 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15728
15729 fi
15730 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15731 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15732 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15733 if test "c" = "c"; then
15734 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15735 fi
15736 if test "c" = "cxx"; then
15737 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15738 fi
15739 fi
15740
15741 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15742 unset ac_cv_prog_cc_g
15743 ac_test_CFLAGS=${CFLAGS+set}
15744 ac_save_CFLAGS=$CFLAGS
15745 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15746 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15747 if test "${ac_cv_prog_cc_g+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15749 else
15750 ac_save_c_werror_flag=$ac_c_werror_flag
15751 ac_c_werror_flag=yes
15752 ac_cv_prog_cc_g=no
15753 CFLAGS="-g"
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760
15761 int
15762 main ()
15763 {
15764
15765 ;
15766 return 0;
15767 }
15768 _ACEOF
15769 rm -f conftest.$ac_objext
15770 if { (ac_try="$ac_compile"
15771 case "(($ac_try" in
15772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15773 *) ac_try_echo=$ac_try;;
15774 esac
15775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15776 (eval "$ac_compile") 2>conftest.er1
15777 ac_status=$?
15778 grep -v '^ *+' conftest.er1 >conftest.err
15779 rm -f conftest.er1
15780 cat conftest.err >&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } && {
15783 test -z "$ac_c_werror_flag" ||
15784 test ! -s conftest.err
15785 } && test -s conftest.$ac_objext; then
15786 ac_cv_prog_cc_g=yes
15787 else
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.$ac_ext >&5
15790
15791 CFLAGS=""
15792 cat >conftest.$ac_ext <<_ACEOF
15793 /* confdefs.h. */
15794 _ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798
15799 int
15800 main ()
15801 {
15802
15803 ;
15804 return 0;
15805 }
15806 _ACEOF
15807 rm -f conftest.$ac_objext
15808 if { (ac_try="$ac_compile"
15809 case "(($ac_try" in
15810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15811 *) ac_try_echo=$ac_try;;
15812 esac
15813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15814 (eval "$ac_compile") 2>conftest.er1
15815 ac_status=$?
15816 grep -v '^ *+' conftest.er1 >conftest.err
15817 rm -f conftest.er1
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } && {
15821 test -z "$ac_c_werror_flag" ||
15822 test ! -s conftest.err
15823 } && test -s conftest.$ac_objext; then
15824 :
15825 else
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.$ac_ext >&5
15828
15829 ac_c_werror_flag=$ac_save_c_werror_flag
15830 CFLAGS="-g"
15831 cat >conftest.$ac_ext <<_ACEOF
15832 /* confdefs.h. */
15833 _ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15837
15838 int
15839 main ()
15840 {
15841
15842 ;
15843 return 0;
15844 }
15845 _ACEOF
15846 rm -f conftest.$ac_objext
15847 if { (ac_try="$ac_compile"
15848 case "(($ac_try" in
15849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15850 *) ac_try_echo=$ac_try;;
15851 esac
15852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 (eval "$ac_compile") 2>conftest.er1
15854 ac_status=$?
15855 grep -v '^ *+' conftest.er1 >conftest.err
15856 rm -f conftest.er1
15857 cat conftest.err >&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } && {
15860 test -z "$ac_c_werror_flag" ||
15861 test ! -s conftest.err
15862 } && test -s conftest.$ac_objext; then
15863 ac_cv_prog_cc_g=yes
15864 else
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.$ac_ext >&5
15867
15868
15869 fi
15870
15871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15872 fi
15873
15874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15875 fi
15876
15877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15878 ac_c_werror_flag=$ac_save_c_werror_flag
15879 fi
15880 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15881 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15882 if test "$ac_test_CFLAGS" = set; then
15883 CFLAGS=$ac_save_CFLAGS
15884 elif test $ac_cv_prog_cc_g = yes; then
15885 if test "$GCC" = yes; then
15886 CFLAGS="-g -O2"
15887 else
15888 CFLAGS="-g"
15889 fi
15890 else
15891 if test "$GCC" = yes; then
15892 CFLAGS="-O2"
15893 else
15894 CFLAGS=
15895 fi
15896 fi
15897 fi
15898 fi
15899
15900 case `uname -s` in
15901 AIX*)
15902
15903
15904 ac_ext=c
15905 ac_cpp='$CPP $CPPFLAGS'
15906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15909
15910 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15911 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15912 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15913 echo $ECHO_N "(cached) $ECHO_C" >&6
15914 else
15915 cat >conftest.$ac_ext <<_ACEOF
15916 /* confdefs.h. */
15917 _ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921
15922 int
15923 main ()
15924 {
15925
15926 #ifndef __xlC__
15927 choke me
15928 #endif
15929
15930 ;
15931 return 0;
15932 }
15933 _ACEOF
15934 rm -f conftest.$ac_objext
15935 if { (ac_try="$ac_compile"
15936 case "(($ac_try" in
15937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15938 *) ac_try_echo=$ac_try;;
15939 esac
15940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15941 (eval "$ac_compile") 2>conftest.er1
15942 ac_status=$?
15943 grep -v '^ *+' conftest.er1 >conftest.err
15944 rm -f conftest.er1
15945 cat conftest.err >&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); } && {
15948 test -z "$ac_c_werror_flag" ||
15949 test ! -s conftest.err
15950 } && test -s conftest.$ac_objext; then
15951 bakefile_cv_c_compiler___xlC__=yes
15952 else
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.$ac_ext >&5
15955
15956 bakefile_cv_c_compiler___xlC__=no
15957
15958 fi
15959
15960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15961
15962
15963 fi
15964 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15965 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15966 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15967 :; XLCC=yes
15968 else
15969 :;
15970 fi
15971 ac_ext=c
15972 ac_cpp='$CPP $CPPFLAGS'
15973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15976
15977
15978
15979 ;;
15980
15981 Darwin)
15982
15983
15984 ac_ext=c
15985 ac_cpp='$CPP $CPPFLAGS'
15986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15989
15990 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15991 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15992 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 else
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001
16002 int
16003 main ()
16004 {
16005
16006 #ifndef __MWERKS__
16007 choke me
16008 #endif
16009
16010 ;
16011 return 0;
16012 }
16013 _ACEOF
16014 rm -f conftest.$ac_objext
16015 if { (ac_try="$ac_compile"
16016 case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16019 esac
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_compile") 2>conftest.er1
16022 ac_status=$?
16023 grep -v '^ *+' conftest.er1 >conftest.err
16024 rm -f conftest.er1
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } && {
16028 test -z "$ac_c_werror_flag" ||
16029 test ! -s conftest.err
16030 } && test -s conftest.$ac_objext; then
16031 bakefile_cv_c_compiler___MWERKS__=yes
16032 else
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.$ac_ext >&5
16035
16036 bakefile_cv_c_compiler___MWERKS__=no
16037
16038 fi
16039
16040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16041
16042
16043 fi
16044 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16045 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16046 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16047 :; MWCC=yes
16048 else
16049 :;
16050 fi
16051 ac_ext=c
16052 ac_cpp='$CPP $CPPFLAGS'
16053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16056
16057
16058
16059 if test "$MWCC" != "yes"; then
16060
16061
16062 ac_ext=c
16063 ac_cpp='$CPP $CPPFLAGS'
16064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16067
16068 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16069 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16070 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 else
16073 cat >conftest.$ac_ext <<_ACEOF
16074 /* confdefs.h. */
16075 _ACEOF
16076 cat confdefs.h >>conftest.$ac_ext
16077 cat >>conftest.$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16079
16080 int
16081 main ()
16082 {
16083
16084 #ifndef __xlC__
16085 choke me
16086 #endif
16087
16088 ;
16089 return 0;
16090 }
16091 _ACEOF
16092 rm -f conftest.$ac_objext
16093 if { (ac_try="$ac_compile"
16094 case "(($ac_try" in
16095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16096 *) ac_try_echo=$ac_try;;
16097 esac
16098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16099 (eval "$ac_compile") 2>conftest.er1
16100 ac_status=$?
16101 grep -v '^ *+' conftest.er1 >conftest.err
16102 rm -f conftest.er1
16103 cat conftest.err >&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && {
16106 test -z "$ac_c_werror_flag" ||
16107 test ! -s conftest.err
16108 } && test -s conftest.$ac_objext; then
16109 bakefile_cv_c_compiler___xlC__=yes
16110 else
16111 echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.$ac_ext >&5
16113
16114 bakefile_cv_c_compiler___xlC__=no
16115
16116 fi
16117
16118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16119
16120
16121 fi
16122 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16123 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16124 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16125 :; XLCC=yes
16126 else
16127 :;
16128 fi
16129 ac_ext=c
16130 ac_cpp='$CPP $CPPFLAGS'
16131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16134
16135
16136
16137 fi
16138 ;;
16139
16140 IRIX*)
16141
16142
16143 ac_ext=c
16144 ac_cpp='$CPP $CPPFLAGS'
16145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16148
16149 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16150 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16151 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16152 echo $ECHO_N "(cached) $ECHO_C" >&6
16153 else
16154 cat >conftest.$ac_ext <<_ACEOF
16155 /* confdefs.h. */
16156 _ACEOF
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16160
16161 int
16162 main ()
16163 {
16164
16165 #ifndef _SGI_COMPILER_VERSION
16166 choke me
16167 #endif
16168
16169 ;
16170 return 0;
16171 }
16172 _ACEOF
16173 rm -f conftest.$ac_objext
16174 if { (ac_try="$ac_compile"
16175 case "(($ac_try" in
16176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16177 *) ac_try_echo=$ac_try;;
16178 esac
16179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16180 (eval "$ac_compile") 2>conftest.er1
16181 ac_status=$?
16182 grep -v '^ *+' conftest.er1 >conftest.err
16183 rm -f conftest.er1
16184 cat conftest.err >&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } && {
16187 test -z "$ac_c_werror_flag" ||
16188 test ! -s conftest.err
16189 } && test -s conftest.$ac_objext; then
16190 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16191 else
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.$ac_ext >&5
16194
16195 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16196
16197 fi
16198
16199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16200
16201
16202 fi
16203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16204 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16205 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16206 :; SGICC=yes
16207 else
16208 :;
16209 fi
16210 ac_ext=c
16211 ac_cpp='$CPP $CPPFLAGS'
16212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16215
16216
16217
16218 ;;
16219
16220 Linux*)
16221 if test "$INTELCC" != "yes"; then
16222
16223
16224 ac_ext=c
16225 ac_cpp='$CPP $CPPFLAGS'
16226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16229
16230 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16231 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16232 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16233 echo $ECHO_N "(cached) $ECHO_C" >&6
16234 else
16235 cat >conftest.$ac_ext <<_ACEOF
16236 /* confdefs.h. */
16237 _ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241
16242 int
16243 main ()
16244 {
16245
16246 #ifndef __SUNPRO_C
16247 choke me
16248 #endif
16249
16250 ;
16251 return 0;
16252 }
16253 _ACEOF
16254 rm -f conftest.$ac_objext
16255 if { (ac_try="$ac_compile"
16256 case "(($ac_try" in
16257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16258 *) ac_try_echo=$ac_try;;
16259 esac
16260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 (eval "$ac_compile") 2>conftest.er1
16262 ac_status=$?
16263 grep -v '^ *+' conftest.er1 >conftest.err
16264 rm -f conftest.er1
16265 cat conftest.err >&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } && {
16268 test -z "$ac_c_werror_flag" ||
16269 test ! -s conftest.err
16270 } && test -s conftest.$ac_objext; then
16271 bakefile_cv_c_compiler___SUNPRO_C=yes
16272 else
16273 echo "$as_me: failed program was:" >&5
16274 sed 's/^/| /' conftest.$ac_ext >&5
16275
16276 bakefile_cv_c_compiler___SUNPRO_C=no
16277
16278 fi
16279
16280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16281
16282
16283 fi
16284 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16285 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16286 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16287 :; SUNCC=yes
16288 else
16289 :;
16290 fi
16291 ac_ext=c
16292 ac_cpp='$CPP $CPPFLAGS'
16293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16296
16297
16298
16299 fi
16300 ;;
16301
16302 HP-UX*)
16303
16304
16305 ac_ext=c
16306 ac_cpp='$CPP $CPPFLAGS'
16307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16310
16311 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16312 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16313 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316 cat >conftest.$ac_ext <<_ACEOF
16317 /* confdefs.h. */
16318 _ACEOF
16319 cat confdefs.h >>conftest.$ac_ext
16320 cat >>conftest.$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16322
16323 int
16324 main ()
16325 {
16326
16327 #ifndef __HP_cc
16328 choke me
16329 #endif
16330
16331 ;
16332 return 0;
16333 }
16334 _ACEOF
16335 rm -f conftest.$ac_objext
16336 if { (ac_try="$ac_compile"
16337 case "(($ac_try" in
16338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16339 *) ac_try_echo=$ac_try;;
16340 esac
16341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16342 (eval "$ac_compile") 2>conftest.er1
16343 ac_status=$?
16344 grep -v '^ *+' conftest.er1 >conftest.err
16345 rm -f conftest.er1
16346 cat conftest.err >&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } && {
16349 test -z "$ac_c_werror_flag" ||
16350 test ! -s conftest.err
16351 } && test -s conftest.$ac_objext; then
16352 bakefile_cv_c_compiler___HP_cc=yes
16353 else
16354 echo "$as_me: failed program was:" >&5
16355 sed 's/^/| /' conftest.$ac_ext >&5
16356
16357 bakefile_cv_c_compiler___HP_cc=no
16358
16359 fi
16360
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362
16363
16364 fi
16365 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16366 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16367 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16368 :; HPCC=yes
16369 else
16370 :;
16371 fi
16372 ac_ext=c
16373 ac_cpp='$CPP $CPPFLAGS'
16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16377
16378
16379
16380 ;;
16381
16382 OSF1)
16383
16384
16385 ac_ext=c
16386 ac_cpp='$CPP $CPPFLAGS'
16387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16390
16391 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16392 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16393 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16395 else
16396 cat >conftest.$ac_ext <<_ACEOF
16397 /* confdefs.h. */
16398 _ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402
16403 int
16404 main ()
16405 {
16406
16407 #ifndef __DECC
16408 choke me
16409 #endif
16410
16411 ;
16412 return 0;
16413 }
16414 _ACEOF
16415 rm -f conftest.$ac_objext
16416 if { (ac_try="$ac_compile"
16417 case "(($ac_try" in
16418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16419 *) ac_try_echo=$ac_try;;
16420 esac
16421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16422 (eval "$ac_compile") 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && {
16429 test -z "$ac_c_werror_flag" ||
16430 test ! -s conftest.err
16431 } && test -s conftest.$ac_objext; then
16432 bakefile_cv_c_compiler___DECC=yes
16433 else
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16436
16437 bakefile_cv_c_compiler___DECC=no
16438
16439 fi
16440
16441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16442
16443
16444 fi
16445 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16446 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16447 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16448 :; COMPAQCC=yes
16449 else
16450 :;
16451 fi
16452 ac_ext=c
16453 ac_cpp='$CPP $CPPFLAGS'
16454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16457
16458
16459
16460 ;;
16461
16462 SunOS)
16463
16464
16465 ac_ext=c
16466 ac_cpp='$CPP $CPPFLAGS'
16467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16470
16471 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16472 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16473 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16474 echo $ECHO_N "(cached) $ECHO_C" >&6
16475 else
16476 cat >conftest.$ac_ext <<_ACEOF
16477 /* confdefs.h. */
16478 _ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482
16483 int
16484 main ()
16485 {
16486
16487 #ifndef __SUNPRO_C
16488 choke me
16489 #endif
16490
16491 ;
16492 return 0;
16493 }
16494 _ACEOF
16495 rm -f conftest.$ac_objext
16496 if { (ac_try="$ac_compile"
16497 case "(($ac_try" in
16498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16499 *) ac_try_echo=$ac_try;;
16500 esac
16501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16502 (eval "$ac_compile") 2>conftest.er1
16503 ac_status=$?
16504 grep -v '^ *+' conftest.er1 >conftest.err
16505 rm -f conftest.er1
16506 cat conftest.err >&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } && {
16509 test -z "$ac_c_werror_flag" ||
16510 test ! -s conftest.err
16511 } && test -s conftest.$ac_objext; then
16512 bakefile_cv_c_compiler___SUNPRO_C=yes
16513 else
16514 echo "$as_me: failed program was:" >&5
16515 sed 's/^/| /' conftest.$ac_ext >&5
16516
16517 bakefile_cv_c_compiler___SUNPRO_C=no
16518
16519 fi
16520
16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16522
16523
16524 fi
16525 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16526 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16527 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16528 :; SUNCC=yes
16529 else
16530 :;
16531 fi
16532 ac_ext=c
16533 ac_cpp='$CPP $CPPFLAGS'
16534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16537
16538
16539
16540 ;;
16541 esac
16542 fi
16543
16544
16545
16546 ac_ext=c
16547 ac_cpp='$CPP $CPPFLAGS'
16548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16551 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16552 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16553 # On Suns, sometimes $CPP names a directory.
16554 if test -n "$CPP" && test -d "$CPP"; then
16555 CPP=
16556 fi
16557 if test -z "$CPP"; then
16558 if test "${ac_cv_prog_CPP+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 else
16561 # Double quotes because CPP needs to be expanded
16562 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16563 do
16564 ac_preproc_ok=false
16565 for ac_c_preproc_warn_flag in '' yes
16566 do
16567 # Use a header file that comes with gcc, so configuring glibc
16568 # with a fresh cross-compiler works.
16569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16570 # <limits.h> exists even on freestanding compilers.
16571 # On the NeXT, cc -E runs the code through the compiler's parser,
16572 # not just through cpp. "Syntax error" is here to catch this case.
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 #ifdef __STDC__
16580 # include <limits.h>
16581 #else
16582 # include <assert.h>
16583 #endif
16584 Syntax error
16585 _ACEOF
16586 if { (ac_try="$ac_cpp conftest.$ac_ext"
16587 case "(($ac_try" in
16588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16589 *) ac_try_echo=$ac_try;;
16590 esac
16591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16593 ac_status=$?
16594 grep -v '^ *+' conftest.er1 >conftest.err
16595 rm -f conftest.er1
16596 cat conftest.err >&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } >/dev/null && {
16599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16600 test ! -s conftest.err
16601 }; then
16602 :
16603 else
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16606
16607 # Broken: fails on valid input.
16608 continue
16609 fi
16610
16611 rm -f conftest.err conftest.$ac_ext
16612
16613 # OK, works on sane cases. Now check whether nonexistent headers
16614 # can be detected and how.
16615 cat >conftest.$ac_ext <<_ACEOF
16616 /* confdefs.h. */
16617 _ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621 #include <ac_nonexistent.h>
16622 _ACEOF
16623 if { (ac_try="$ac_cpp conftest.$ac_ext"
16624 case "(($ac_try" in
16625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16626 *) ac_try_echo=$ac_try;;
16627 esac
16628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16630 ac_status=$?
16631 grep -v '^ *+' conftest.er1 >conftest.err
16632 rm -f conftest.er1
16633 cat conftest.err >&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } >/dev/null && {
16636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16637 test ! -s conftest.err
16638 }; then
16639 # Broken: success on invalid input.
16640 continue
16641 else
16642 echo "$as_me: failed program was:" >&5
16643 sed 's/^/| /' conftest.$ac_ext >&5
16644
16645 # Passes both tests.
16646 ac_preproc_ok=:
16647 break
16648 fi
16649
16650 rm -f conftest.err conftest.$ac_ext
16651
16652 done
16653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16654 rm -f conftest.err conftest.$ac_ext
16655 if $ac_preproc_ok; then
16656 break
16657 fi
16658
16659 done
16660 ac_cv_prog_CPP=$CPP
16661
16662 fi
16663 CPP=$ac_cv_prog_CPP
16664 else
16665 ac_cv_prog_CPP=$CPP
16666 fi
16667 { echo "$as_me:$LINENO: result: $CPP" >&5
16668 echo "${ECHO_T}$CPP" >&6; }
16669 ac_preproc_ok=false
16670 for ac_c_preproc_warn_flag in '' yes
16671 do
16672 # Use a header file that comes with gcc, so configuring glibc
16673 # with a fresh cross-compiler works.
16674 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16675 # <limits.h> exists even on freestanding compilers.
16676 # On the NeXT, cc -E runs the code through the compiler's parser,
16677 # not just through cpp. "Syntax error" is here to catch this case.
16678 cat >conftest.$ac_ext <<_ACEOF
16679 /* confdefs.h. */
16680 _ACEOF
16681 cat confdefs.h >>conftest.$ac_ext
16682 cat >>conftest.$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16684 #ifdef __STDC__
16685 # include <limits.h>
16686 #else
16687 # include <assert.h>
16688 #endif
16689 Syntax error
16690 _ACEOF
16691 if { (ac_try="$ac_cpp conftest.$ac_ext"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16695 esac
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16698 ac_status=$?
16699 grep -v '^ *+' conftest.er1 >conftest.err
16700 rm -f conftest.er1
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } >/dev/null && {
16704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 }; then
16707 :
16708 else
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16711
16712 # Broken: fails on valid input.
16713 continue
16714 fi
16715
16716 rm -f conftest.err conftest.$ac_ext
16717
16718 # OK, works on sane cases. Now check whether nonexistent headers
16719 # can be detected and how.
16720 cat >conftest.$ac_ext <<_ACEOF
16721 /* confdefs.h. */
16722 _ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 #include <ac_nonexistent.h>
16727 _ACEOF
16728 if { (ac_try="$ac_cpp conftest.$ac_ext"
16729 case "(($ac_try" in
16730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16731 *) ac_try_echo=$ac_try;;
16732 esac
16733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16735 ac_status=$?
16736 grep -v '^ *+' conftest.er1 >conftest.err
16737 rm -f conftest.er1
16738 cat conftest.err >&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); } >/dev/null && {
16741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16742 test ! -s conftest.err
16743 }; then
16744 # Broken: success on invalid input.
16745 continue
16746 else
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.$ac_ext >&5
16749
16750 # Passes both tests.
16751 ac_preproc_ok=:
16752 break
16753 fi
16754
16755 rm -f conftest.err conftest.$ac_ext
16756
16757 done
16758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16759 rm -f conftest.err conftest.$ac_ext
16760 if $ac_preproc_ok; then
16761 :
16762 else
16763 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16764 See \`config.log' for more details." >&5
16765 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16766 See \`config.log' for more details." >&2;}
16767 { (exit 1); exit 1; }; }
16768 fi
16769
16770 ac_ext=c
16771 ac_cpp='$CPP $CPPFLAGS'
16772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16775
16776
16777 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16778 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16779 if test "${ac_cv_path_GREP+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16781 else
16782 # Extract the first word of "grep ggrep" to use in msg output
16783 if test -z "$GREP"; then
16784 set dummy grep ggrep; ac_prog_name=$2
16785 if test "${ac_cv_path_GREP+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 else
16788 ac_path_GREP_found=false
16789 # Loop through the user's path and test for each of PROGNAME-LIST
16790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16791 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16792 do
16793 IFS=$as_save_IFS
16794 test -z "$as_dir" && as_dir=.
16795 for ac_prog in grep ggrep; do
16796 for ac_exec_ext in '' $ac_executable_extensions; do
16797 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16798 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16799 # Check for GNU ac_path_GREP and select it if it is found.
16800 # Check for GNU $ac_path_GREP
16801 case `"$ac_path_GREP" --version 2>&1` in
16802 *GNU*)
16803 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16804 *)
16805 ac_count=0
16806 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16807 while :
16808 do
16809 cat "conftest.in" "conftest.in" >"conftest.tmp"
16810 mv "conftest.tmp" "conftest.in"
16811 cp "conftest.in" "conftest.nl"
16812 echo 'GREP' >> "conftest.nl"
16813 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16814 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16815 ac_count=`expr $ac_count + 1`
16816 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16817 # Best one so far, save it but keep looking for a better one
16818 ac_cv_path_GREP="$ac_path_GREP"
16819 ac_path_GREP_max=$ac_count
16820 fi
16821 # 10*(2^10) chars as input seems more than enough
16822 test $ac_count -gt 10 && break
16823 done
16824 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16825 esac
16826
16827
16828 $ac_path_GREP_found && break 3
16829 done
16830 done
16831
16832 done
16833 IFS=$as_save_IFS
16834
16835
16836 fi
16837
16838 GREP="$ac_cv_path_GREP"
16839 if test -z "$GREP"; then
16840 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16841 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16842 { (exit 1); exit 1; }; }
16843 fi
16844
16845 else
16846 ac_cv_path_GREP=$GREP
16847 fi
16848
16849
16850 fi
16851 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16852 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16853 GREP="$ac_cv_path_GREP"
16854
16855
16856 { echo "$as_me:$LINENO: checking for egrep" >&5
16857 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16858 if test "${ac_cv_path_EGREP+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16860 else
16861 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16862 then ac_cv_path_EGREP="$GREP -E"
16863 else
16864 # Extract the first word of "egrep" to use in msg output
16865 if test -z "$EGREP"; then
16866 set dummy egrep; ac_prog_name=$2
16867 if test "${ac_cv_path_EGREP+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870 ac_path_EGREP_found=false
16871 # Loop through the user's path and test for each of PROGNAME-LIST
16872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16873 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16874 do
16875 IFS=$as_save_IFS
16876 test -z "$as_dir" && as_dir=.
16877 for ac_prog in egrep; do
16878 for ac_exec_ext in '' $ac_executable_extensions; do
16879 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16880 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16881 # Check for GNU ac_path_EGREP and select it if it is found.
16882 # Check for GNU $ac_path_EGREP
16883 case `"$ac_path_EGREP" --version 2>&1` in
16884 *GNU*)
16885 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16886 *)
16887 ac_count=0
16888 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16889 while :
16890 do
16891 cat "conftest.in" "conftest.in" >"conftest.tmp"
16892 mv "conftest.tmp" "conftest.in"
16893 cp "conftest.in" "conftest.nl"
16894 echo 'EGREP' >> "conftest.nl"
16895 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16896 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16897 ac_count=`expr $ac_count + 1`
16898 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16899 # Best one so far, save it but keep looking for a better one
16900 ac_cv_path_EGREP="$ac_path_EGREP"
16901 ac_path_EGREP_max=$ac_count
16902 fi
16903 # 10*(2^10) chars as input seems more than enough
16904 test $ac_count -gt 10 && break
16905 done
16906 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16907 esac
16908
16909
16910 $ac_path_EGREP_found && break 3
16911 done
16912 done
16913
16914 done
16915 IFS=$as_save_IFS
16916
16917
16918 fi
16919
16920 EGREP="$ac_cv_path_EGREP"
16921 if test -z "$EGREP"; then
16922 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16923 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16924 { (exit 1); exit 1; }; }
16925 fi
16926
16927 else
16928 ac_cv_path_EGREP=$EGREP
16929 fi
16930
16931
16932 fi
16933 fi
16934 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16935 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16936 EGREP="$ac_cv_path_EGREP"
16937
16938
16939 if test $ac_cv_c_compiler_gnu = yes; then
16940 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16941 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16942 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16943 echo $ECHO_N "(cached) $ECHO_C" >&6
16944 else
16945 ac_pattern="Autoconf.*'x'"
16946 cat >conftest.$ac_ext <<_ACEOF
16947 /* confdefs.h. */
16948 _ACEOF
16949 cat confdefs.h >>conftest.$ac_ext
16950 cat >>conftest.$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16952 #include <sgtty.h>
16953 Autoconf TIOCGETP
16954 _ACEOF
16955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16956 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16957 ac_cv_prog_gcc_traditional=yes
16958 else
16959 ac_cv_prog_gcc_traditional=no
16960 fi
16961 rm -f -r conftest*
16962
16963
16964 if test $ac_cv_prog_gcc_traditional = no; then
16965 cat >conftest.$ac_ext <<_ACEOF
16966 /* confdefs.h. */
16967 _ACEOF
16968 cat confdefs.h >>conftest.$ac_ext
16969 cat >>conftest.$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16971 #include <termio.h>
16972 Autoconf TCGETA
16973 _ACEOF
16974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16975 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16976 ac_cv_prog_gcc_traditional=yes
16977 fi
16978 rm -f -r conftest*
16979
16980 fi
16981 fi
16982 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16983 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16984 if test $ac_cv_prog_gcc_traditional = yes; then
16985 CC="$CC -traditional"
16986 fi
16987 fi
16988
16989
16990 CXXFLAGS=${CXXFLAGS:=}
16991 ac_ext=cpp
16992 ac_cpp='$CXXCPP $CPPFLAGS'
16993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16996 if test -z "$CXX"; then
16997 if test -n "$CCC"; then
16998 CXX=$CCC
16999 else
17000 if test -n "$ac_tool_prefix"; then
17001 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17002 do
17003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17007 if test "${ac_cv_prog_CXX+set}" = set; then
17008 echo $ECHO_N "(cached) $ECHO_C" >&6
17009 else
17010 if test -n "$CXX"; then
17011 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17012 else
17013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17014 for as_dir in $PATH
17015 do
17016 IFS=$as_save_IFS
17017 test -z "$as_dir" && as_dir=.
17018 for ac_exec_ext in '' $ac_executable_extensions; do
17019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17020 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17022 break 2
17023 fi
17024 done
17025 done
17026 IFS=$as_save_IFS
17027
17028 fi
17029 fi
17030 CXX=$ac_cv_prog_CXX
17031 if test -n "$CXX"; then
17032 { echo "$as_me:$LINENO: result: $CXX" >&5
17033 echo "${ECHO_T}$CXX" >&6; }
17034 else
17035 { echo "$as_me:$LINENO: result: no" >&5
17036 echo "${ECHO_T}no" >&6; }
17037 fi
17038
17039
17040 test -n "$CXX" && break
17041 done
17042 fi
17043 if test -z "$CXX"; then
17044 ac_ct_CXX=$CXX
17045 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17046 do
17047 # Extract the first word of "$ac_prog", so it can be a program name with args.
17048 set dummy $ac_prog; ac_word=$2
17049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17051 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 else
17054 if test -n "$ac_ct_CXX"; then
17055 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17056 else
17057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17058 for as_dir in $PATH
17059 do
17060 IFS=$as_save_IFS
17061 test -z "$as_dir" && as_dir=.
17062 for ac_exec_ext in '' $ac_executable_extensions; do
17063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17064 ac_cv_prog_ac_ct_CXX="$ac_prog"
17065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17066 break 2
17067 fi
17068 done
17069 done
17070 IFS=$as_save_IFS
17071
17072 fi
17073 fi
17074 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17075 if test -n "$ac_ct_CXX"; then
17076 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17077 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17078 else
17079 { echo "$as_me:$LINENO: result: no" >&5
17080 echo "${ECHO_T}no" >&6; }
17081 fi
17082
17083
17084 test -n "$ac_ct_CXX" && break
17085 done
17086
17087 if test "x$ac_ct_CXX" = x; then
17088 CXX="g++"
17089 else
17090 case $cross_compiling:$ac_tool_warned in
17091 yes:)
17092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17093 whose name does not start with the host triplet. If you think this
17094 configuration is useful to you, please write to autoconf@gnu.org." >&5
17095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17096 whose name does not start with the host triplet. If you think this
17097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17098 ac_tool_warned=yes ;;
17099 esac
17100 CXX=$ac_ct_CXX
17101 fi
17102 fi
17103
17104 fi
17105 fi
17106 # Provide some information about the compiler.
17107 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17108 ac_compiler=`set X $ac_compile; echo $2`
17109 { (ac_try="$ac_compiler --version >&5"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17113 esac
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_compiler --version >&5") 2>&5
17116 ac_status=$?
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }
17119 { (ac_try="$ac_compiler -v >&5"
17120 case "(($ac_try" in
17121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17122 *) ac_try_echo=$ac_try;;
17123 esac
17124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17125 (eval "$ac_compiler -v >&5") 2>&5
17126 ac_status=$?
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }
17129 { (ac_try="$ac_compiler -V >&5"
17130 case "(($ac_try" in
17131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17132 *) ac_try_echo=$ac_try;;
17133 esac
17134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17135 (eval "$ac_compiler -V >&5") 2>&5
17136 ac_status=$?
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }
17139
17140 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17141 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17142 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 else
17145 cat >conftest.$ac_ext <<_ACEOF
17146 /* confdefs.h. */
17147 _ACEOF
17148 cat confdefs.h >>conftest.$ac_ext
17149 cat >>conftest.$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17151
17152 int
17153 main ()
17154 {
17155 #ifndef __GNUC__
17156 choke me
17157 #endif
17158
17159 ;
17160 return 0;
17161 }
17162 _ACEOF
17163 rm -f conftest.$ac_objext
17164 if { (ac_try="$ac_compile"
17165 case "(($ac_try" in
17166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17168 esac
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_compile") 2>conftest.er1
17171 ac_status=$?
17172 grep -v '^ *+' conftest.er1 >conftest.err
17173 rm -f conftest.er1
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_cxx_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest.$ac_objext; then
17180 ac_compiler_gnu=yes
17181 else
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17184
17185 ac_compiler_gnu=no
17186 fi
17187
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17189 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17190
17191 fi
17192 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17193 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17194 GXX=`test $ac_compiler_gnu = yes && echo yes`
17195 ac_test_CXXFLAGS=${CXXFLAGS+set}
17196 ac_save_CXXFLAGS=$CXXFLAGS
17197 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17198 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17199 if test "${ac_cv_prog_cxx_g+set}" = set; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 else
17202 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17203 ac_cxx_werror_flag=yes
17204 ac_cv_prog_cxx_g=no
17205 CXXFLAGS="-g"
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212
17213 int
17214 main ()
17215 {
17216
17217 ;
17218 return 0;
17219 }
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (ac_try="$ac_compile"
17223 case "(($ac_try" in
17224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17225 *) ac_try_echo=$ac_try;;
17226 esac
17227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228 (eval "$ac_compile") 2>conftest.er1
17229 ac_status=$?
17230 grep -v '^ *+' conftest.er1 >conftest.err
17231 rm -f conftest.er1
17232 cat conftest.err >&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } && {
17235 test -z "$ac_cxx_werror_flag" ||
17236 test ! -s conftest.err
17237 } && test -s conftest.$ac_objext; then
17238 ac_cv_prog_cxx_g=yes
17239 else
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17242
17243 CXXFLAGS=""
17244 cat >conftest.$ac_ext <<_ACEOF
17245 /* confdefs.h. */
17246 _ACEOF
17247 cat confdefs.h >>conftest.$ac_ext
17248 cat >>conftest.$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17250
17251 int
17252 main ()
17253 {
17254
17255 ;
17256 return 0;
17257 }
17258 _ACEOF
17259 rm -f conftest.$ac_objext
17260 if { (ac_try="$ac_compile"
17261 case "(($ac_try" in
17262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17263 *) ac_try_echo=$ac_try;;
17264 esac
17265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17266 (eval "$ac_compile") 2>conftest.er1
17267 ac_status=$?
17268 grep -v '^ *+' conftest.er1 >conftest.err
17269 rm -f conftest.er1
17270 cat conftest.err >&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); } && {
17273 test -z "$ac_cxx_werror_flag" ||
17274 test ! -s conftest.err
17275 } && test -s conftest.$ac_objext; then
17276 :
17277 else
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17280
17281 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17282 CXXFLAGS="-g"
17283 cat >conftest.$ac_ext <<_ACEOF
17284 /* confdefs.h. */
17285 _ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289
17290 int
17291 main ()
17292 {
17293
17294 ;
17295 return 0;
17296 }
17297 _ACEOF
17298 rm -f conftest.$ac_objext
17299 if { (ac_try="$ac_compile"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17303 esac
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_compile") 2>conftest.er1
17306 ac_status=$?
17307 grep -v '^ *+' conftest.er1 >conftest.err
17308 rm -f conftest.er1
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_cxx_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest.$ac_objext; then
17315 ac_cv_prog_cxx_g=yes
17316 else
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17319
17320
17321 fi
17322
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17324 fi
17325
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17331 fi
17332 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17333 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17334 if test "$ac_test_CXXFLAGS" = set; then
17335 CXXFLAGS=$ac_save_CXXFLAGS
17336 elif test $ac_cv_prog_cxx_g = yes; then
17337 if test "$GXX" = yes; then
17338 CXXFLAGS="-g -O2"
17339 else
17340 CXXFLAGS="-g"
17341 fi
17342 else
17343 if test "$GXX" = yes; then
17344 CXXFLAGS="-O2"
17345 else
17346 CXXFLAGS=
17347 fi
17348 fi
17349 ac_ext=c
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354
17355
17356
17357
17358
17359
17360
17361
17362 ac_ext=cpp
17363 ac_cpp='$CXXCPP $CPPFLAGS'
17364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17367
17368 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 else
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379
17380 int
17381 main ()
17382 {
17383
17384 #ifndef __INTEL_COMPILER
17385 choke me
17386 #endif
17387
17388 ;
17389 return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_cxx_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17415
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419
17420
17421 fi
17422 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17425 :; INTELCXX=yes
17426 else
17427 :;
17428 fi
17429 ac_ext=c
17430 ac_cpp='$CPP $CPPFLAGS'
17431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17434
17435
17436
17437
17438 if test "$INTELCXX" = "yes"; then
17439
17440
17441 ac_ext=cpp
17442 ac_cpp='$CXXCPP $CPPFLAGS'
17443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17446
17447 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17448 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17449 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 cat >conftest.$ac_ext <<_ACEOF
17453 /* confdefs.h. */
17454 _ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458
17459 int
17460 main ()
17461 {
17462
17463 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17464 choke me
17465 #endif
17466
17467 ;
17468 return 0;
17469 }
17470 _ACEOF
17471 rm -f conftest.$ac_objext
17472 if { (ac_try="$ac_compile"
17473 case "(($ac_try" in
17474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17475 *) ac_try_echo=$ac_try;;
17476 esac
17477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17478 (eval "$ac_compile") 2>conftest.er1
17479 ac_status=$?
17480 grep -v '^ *+' conftest.er1 >conftest.err
17481 rm -f conftest.er1
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } && {
17485 test -z "$ac_cxx_werror_flag" ||
17486 test ! -s conftest.err
17487 } && test -s conftest.$ac_objext; then
17488 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17489 else
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17492
17493 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17494
17495 fi
17496
17497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498
17499
17500 fi
17501 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17502 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17503 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17504 :; INTELCXX8=yes
17505 else
17506 :;
17507 fi
17508 ac_ext=c
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513
17514
17515
17516
17517
17518 ac_ext=cpp
17519 ac_cpp='$CXXCPP $CPPFLAGS'
17520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17523
17524 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17525 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17526 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 cat >conftest.$ac_ext <<_ACEOF
17530 /* confdefs.h. */
17531 _ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535
17536 int
17537 main ()
17538 {
17539
17540 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17541 choke me
17542 #endif
17543
17544 ;
17545 return 0;
17546 }
17547 _ACEOF
17548 rm -f conftest.$ac_objext
17549 if { (ac_try="$ac_compile"
17550 case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17553 esac
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_compile") 2>conftest.er1
17556 ac_status=$?
17557 grep -v '^ *+' conftest.er1 >conftest.err
17558 rm -f conftest.er1
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } && {
17562 test -z "$ac_cxx_werror_flag" ||
17563 test ! -s conftest.err
17564 } && test -s conftest.$ac_objext; then
17565 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17566 else
17567 echo "$as_me: failed program was:" >&5
17568 sed 's/^/| /' conftest.$ac_ext >&5
17569
17570 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17571
17572 fi
17573
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575
17576
17577 fi
17578 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17579 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17580 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17581 :; INTELCXX10=yes
17582 else
17583 :;
17584 fi
17585 ac_ext=c
17586 ac_cpp='$CPP $CPPFLAGS'
17587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17590
17591
17592
17593 fi
17594
17595 if test "x$GCXX" != "xyes"; then
17596 if test "xCXX" = "xC"; then
17597 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17598 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17599 if test "${bakefile_cv_c_exto+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 else
17602 cat >conftest.$ac_ext <<_ACEOF
17603 /* confdefs.h. */
17604 _ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17608
17609 int
17610 main ()
17611 {
17612
17613 ;
17614 return 0;
17615 }
17616 _ACEOF
17617 rm -f conftest.$ac_objext conftest.$ac_ext.o
17618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17619 (eval $ac_compile) 2>&5
17620 ac_status=$?
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; then
17623 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17624 case $ac_file in
17625 conftest.$ac_ext.o)
17626 bakefile_cv_c_exto="-ext o"
17627 ;;
17628 *)
17629 ;;
17630 esac
17631 done
17632 else
17633 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17634 See \`config.log' for more details." >&5
17635 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17636 See \`config.log' for more details." >&2;}
17637 { (exit 1); exit 1; }; }
17638
17639 fi
17640
17641 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17642
17643 fi
17644 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17645 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17646 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17647 if test "c" = "c"; then
17648 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17649 fi
17650 if test "c" = "cxx"; then
17651 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17652 fi
17653 fi
17654
17655 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17656 unset ac_cv_prog_cc_g
17657 ac_test_CFLAGS=${CFLAGS+set}
17658 ac_save_CFLAGS=$CFLAGS
17659 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17660 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17661 if test "${ac_cv_prog_cc_g+set}" = set; then
17662 echo $ECHO_N "(cached) $ECHO_C" >&6
17663 else
17664 ac_save_c_werror_flag=$ac_c_werror_flag
17665 ac_c_werror_flag=yes
17666 ac_cv_prog_cc_g=no
17667 CFLAGS="-g"
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h. */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674
17675 int
17676 main ()
17677 {
17678
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 rm -f conftest.$ac_objext
17684 if { (ac_try="$ac_compile"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17688 esac
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_compile") 2>conftest.er1
17691 ac_status=$?
17692 grep -v '^ *+' conftest.er1 >conftest.err
17693 rm -f conftest.er1
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest.$ac_objext; then
17700 ac_cv_prog_cc_g=yes
17701 else
17702 echo "$as_me: failed program was:" >&5
17703 sed 's/^/| /' conftest.$ac_ext >&5
17704
17705 CFLAGS=""
17706 cat >conftest.$ac_ext <<_ACEOF
17707 /* confdefs.h. */
17708 _ACEOF
17709 cat confdefs.h >>conftest.$ac_ext
17710 cat >>conftest.$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17712
17713 int
17714 main ()
17715 {
17716
17717 ;
17718 return 0;
17719 }
17720 _ACEOF
17721 rm -f conftest.$ac_objext
17722 if { (ac_try="$ac_compile"
17723 case "(($ac_try" in
17724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17725 *) ac_try_echo=$ac_try;;
17726 esac
17727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17728 (eval "$ac_compile") 2>conftest.er1
17729 ac_status=$?
17730 grep -v '^ *+' conftest.er1 >conftest.err
17731 rm -f conftest.er1
17732 cat conftest.err >&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); } && {
17735 test -z "$ac_c_werror_flag" ||
17736 test ! -s conftest.err
17737 } && test -s conftest.$ac_objext; then
17738 :
17739 else
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.$ac_ext >&5
17742
17743 ac_c_werror_flag=$ac_save_c_werror_flag
17744 CFLAGS="-g"
17745 cat >conftest.$ac_ext <<_ACEOF
17746 /* confdefs.h. */
17747 _ACEOF
17748 cat confdefs.h >>conftest.$ac_ext
17749 cat >>conftest.$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751
17752 int
17753 main ()
17754 {
17755
17756 ;
17757 return 0;
17758 }
17759 _ACEOF
17760 rm -f conftest.$ac_objext
17761 if { (ac_try="$ac_compile"
17762 case "(($ac_try" in
17763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17764 *) ac_try_echo=$ac_try;;
17765 esac
17766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17767 (eval "$ac_compile") 2>conftest.er1
17768 ac_status=$?
17769 grep -v '^ *+' conftest.er1 >conftest.err
17770 rm -f conftest.er1
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } && {
17774 test -z "$ac_c_werror_flag" ||
17775 test ! -s conftest.err
17776 } && test -s conftest.$ac_objext; then
17777 ac_cv_prog_cc_g=yes
17778 else
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17781
17782
17783 fi
17784
17785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 fi
17787
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789 fi
17790
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792 ac_c_werror_flag=$ac_save_c_werror_flag
17793 fi
17794 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17795 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17796 if test "$ac_test_CFLAGS" = set; then
17797 CFLAGS=$ac_save_CFLAGS
17798 elif test $ac_cv_prog_cc_g = yes; then
17799 if test "$GCC" = yes; then
17800 CFLAGS="-g -O2"
17801 else
17802 CFLAGS="-g"
17803 fi
17804 else
17805 if test "$GCC" = yes; then
17806 CFLAGS="-O2"
17807 else
17808 CFLAGS=
17809 fi
17810 fi
17811 fi
17812 fi
17813
17814 case `uname -s` in
17815 AIX*)
17816
17817
17818 ac_ext=cpp
17819 ac_cpp='$CXXCPP $CPPFLAGS'
17820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17823
17824 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17825 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17826 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17828 else
17829 cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h. */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835
17836 int
17837 main ()
17838 {
17839
17840 #ifndef __xlC__
17841 choke me
17842 #endif
17843
17844 ;
17845 return 0;
17846 }
17847 _ACEOF
17848 rm -f conftest.$ac_objext
17849 if { (ac_try="$ac_compile"
17850 case "(($ac_try" in
17851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17852 *) ac_try_echo=$ac_try;;
17853 esac
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_compile") 2>conftest.er1
17856 ac_status=$?
17857 grep -v '^ *+' conftest.er1 >conftest.err
17858 rm -f conftest.er1
17859 cat conftest.err >&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } && {
17862 test -z "$ac_cxx_werror_flag" ||
17863 test ! -s conftest.err
17864 } && test -s conftest.$ac_objext; then
17865 bakefile_cv_cxx_compiler___xlC__=yes
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17869
17870 bakefile_cv_cxx_compiler___xlC__=no
17871
17872 fi
17873
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875
17876
17877 fi
17878 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17879 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17880 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17881 :; XLCXX=yes
17882 else
17883 :;
17884 fi
17885 ac_ext=c
17886 ac_cpp='$CPP $CPPFLAGS'
17887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17890
17891
17892
17893 ;;
17894
17895 Darwin)
17896
17897
17898 ac_ext=cpp
17899 ac_cpp='$CXXCPP $CPPFLAGS'
17900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17903
17904 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17905 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17906 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17907 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 else
17909 cat >conftest.$ac_ext <<_ACEOF
17910 /* confdefs.h. */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915
17916 int
17917 main ()
17918 {
17919
17920 #ifndef __MWERKS__
17921 choke me
17922 #endif
17923
17924 ;
17925 return 0;
17926 }
17927 _ACEOF
17928 rm -f conftest.$ac_objext
17929 if { (ac_try="$ac_compile"
17930 case "(($ac_try" in
17931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17932 *) ac_try_echo=$ac_try;;
17933 esac
17934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17935 (eval "$ac_compile") 2>conftest.er1
17936 ac_status=$?
17937 grep -v '^ *+' conftest.er1 >conftest.err
17938 rm -f conftest.er1
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } && {
17942 test -z "$ac_cxx_werror_flag" ||
17943 test ! -s conftest.err
17944 } && test -s conftest.$ac_objext; then
17945 bakefile_cv_cxx_compiler___MWERKS__=yes
17946 else
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17949
17950 bakefile_cv_cxx_compiler___MWERKS__=no
17951
17952 fi
17953
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955
17956
17957 fi
17958 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17959 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17960 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17961 :; MWCXX=yes
17962 else
17963 :;
17964 fi
17965 ac_ext=c
17966 ac_cpp='$CPP $CPPFLAGS'
17967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17970
17971
17972
17973 if test "$MWCXX" != "yes"; then
17974
17975
17976 ac_ext=cpp
17977 ac_cpp='$CXXCPP $CPPFLAGS'
17978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17981
17982 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17983 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17984 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17985 echo $ECHO_N "(cached) $ECHO_C" >&6
17986 else
17987 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993
17994 int
17995 main ()
17996 {
17997
17998 #ifndef __xlC__
17999 choke me
18000 #endif
18001
18002 ;
18003 return 0;
18004 }
18005 _ACEOF
18006 rm -f conftest.$ac_objext
18007 if { (ac_try="$ac_compile"
18008 case "(($ac_try" in
18009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18010 *) ac_try_echo=$ac_try;;
18011 esac
18012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18013 (eval "$ac_compile") 2>conftest.er1
18014 ac_status=$?
18015 grep -v '^ *+' conftest.er1 >conftest.err
18016 rm -f conftest.er1
18017 cat conftest.err >&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } && {
18020 test -z "$ac_cxx_werror_flag" ||
18021 test ! -s conftest.err
18022 } && test -s conftest.$ac_objext; then
18023 bakefile_cv_cxx_compiler___xlC__=yes
18024 else
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.$ac_ext >&5
18027
18028 bakefile_cv_cxx_compiler___xlC__=no
18029
18030 fi
18031
18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18033
18034
18035 fi
18036 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18037 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18038 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18039 :; XLCXX=yes
18040 else
18041 :;
18042 fi
18043 ac_ext=c
18044 ac_cpp='$CPP $CPPFLAGS'
18045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18048
18049
18050
18051 fi
18052 ;;
18053
18054 IRIX*)
18055
18056
18057 ac_ext=cpp
18058 ac_cpp='$CXXCPP $CPPFLAGS'
18059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18062
18063 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18064 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18065 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18067 else
18068 cat >conftest.$ac_ext <<_ACEOF
18069 /* confdefs.h. */
18070 _ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18074
18075 int
18076 main ()
18077 {
18078
18079 #ifndef _SGI_COMPILER_VERSION
18080 choke me
18081 #endif
18082
18083 ;
18084 return 0;
18085 }
18086 _ACEOF
18087 rm -f conftest.$ac_objext
18088 if { (ac_try="$ac_compile"
18089 case "(($ac_try" in
18090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18091 *) ac_try_echo=$ac_try;;
18092 esac
18093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18094 (eval "$ac_compile") 2>conftest.er1
18095 ac_status=$?
18096 grep -v '^ *+' conftest.er1 >conftest.err
18097 rm -f conftest.er1
18098 cat conftest.err >&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } && {
18101 test -z "$ac_cxx_werror_flag" ||
18102 test ! -s conftest.err
18103 } && test -s conftest.$ac_objext; then
18104 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18105 else
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18108
18109 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18110
18111 fi
18112
18113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18114
18115
18116 fi
18117 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18118 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18119 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18120 :; SGICXX=yes
18121 else
18122 :;
18123 fi
18124 ac_ext=c
18125 ac_cpp='$CPP $CPPFLAGS'
18126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18129
18130
18131
18132 ;;
18133
18134 Linux*)
18135 if test "$INTELCXX" != "yes"; then
18136
18137
18138 ac_ext=cpp
18139 ac_cpp='$CXXCPP $CPPFLAGS'
18140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18143
18144 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18145 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18146 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 else
18149 cat >conftest.$ac_ext <<_ACEOF
18150 /* confdefs.h. */
18151 _ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155
18156 int
18157 main ()
18158 {
18159
18160 #ifndef __SUNPRO_CC
18161 choke me
18162 #endif
18163
18164 ;
18165 return 0;
18166 }
18167 _ACEOF
18168 rm -f conftest.$ac_objext
18169 if { (ac_try="$ac_compile"
18170 case "(($ac_try" in
18171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18172 *) ac_try_echo=$ac_try;;
18173 esac
18174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18175 (eval "$ac_compile") 2>conftest.er1
18176 ac_status=$?
18177 grep -v '^ *+' conftest.er1 >conftest.err
18178 rm -f conftest.er1
18179 cat conftest.err >&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } && {
18182 test -z "$ac_cxx_werror_flag" ||
18183 test ! -s conftest.err
18184 } && test -s conftest.$ac_objext; then
18185 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18186 else
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.$ac_ext >&5
18189
18190 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18191
18192 fi
18193
18194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18195
18196
18197 fi
18198 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18199 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18200 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18201 :; SUNCXX=yes
18202 else
18203 :;
18204 fi
18205 ac_ext=c
18206 ac_cpp='$CPP $CPPFLAGS'
18207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18210
18211
18212
18213 fi
18214 ;;
18215
18216 HP-UX*)
18217
18218
18219 ac_ext=cpp
18220 ac_cpp='$CXXCPP $CPPFLAGS'
18221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18224
18225 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18226 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18227 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18228 echo $ECHO_N "(cached) $ECHO_C" >&6
18229 else
18230 cat >conftest.$ac_ext <<_ACEOF
18231 /* confdefs.h. */
18232 _ACEOF
18233 cat confdefs.h >>conftest.$ac_ext
18234 cat >>conftest.$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236
18237 int
18238 main ()
18239 {
18240
18241 #ifndef __HP_aCC
18242 choke me
18243 #endif
18244
18245 ;
18246 return 0;
18247 }
18248 _ACEOF
18249 rm -f conftest.$ac_objext
18250 if { (ac_try="$ac_compile"
18251 case "(($ac_try" in
18252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18253 *) ac_try_echo=$ac_try;;
18254 esac
18255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18256 (eval "$ac_compile") 2>conftest.er1
18257 ac_status=$?
18258 grep -v '^ *+' conftest.er1 >conftest.err
18259 rm -f conftest.er1
18260 cat conftest.err >&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } && {
18263 test -z "$ac_cxx_werror_flag" ||
18264 test ! -s conftest.err
18265 } && test -s conftest.$ac_objext; then
18266 bakefile_cv_cxx_compiler___HP_aCC=yes
18267 else
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18270
18271 bakefile_cv_cxx_compiler___HP_aCC=no
18272
18273 fi
18274
18275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18276
18277
18278 fi
18279 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18280 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18281 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18282 :; HPCXX=yes
18283 else
18284 :;
18285 fi
18286 ac_ext=c
18287 ac_cpp='$CPP $CPPFLAGS'
18288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18291
18292
18293
18294 ;;
18295
18296 OSF1)
18297
18298
18299 ac_ext=cpp
18300 ac_cpp='$CXXCPP $CPPFLAGS'
18301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18304
18305 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18306 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18307 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310 cat >conftest.$ac_ext <<_ACEOF
18311 /* confdefs.h. */
18312 _ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316
18317 int
18318 main ()
18319 {
18320
18321 #ifndef __DECCXX
18322 choke me
18323 #endif
18324
18325 ;
18326 return 0;
18327 }
18328 _ACEOF
18329 rm -f conftest.$ac_objext
18330 if { (ac_try="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18333 *) ac_try_echo=$ac_try;;
18334 esac
18335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_cxx_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.$ac_objext; then
18346 bakefile_cv_cxx_compiler___DECCXX=yes
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18350
18351 bakefile_cv_cxx_compiler___DECCXX=no
18352
18353 fi
18354
18355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18356
18357
18358 fi
18359 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18360 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18361 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18362 :; COMPAQCXX=yes
18363 else
18364 :;
18365 fi
18366 ac_ext=c
18367 ac_cpp='$CPP $CPPFLAGS'
18368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18371
18372
18373
18374 ;;
18375
18376 SunOS)
18377
18378
18379 ac_ext=cpp
18380 ac_cpp='$CXXCPP $CPPFLAGS'
18381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18384
18385 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18386 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18387 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 else
18390 cat >conftest.$ac_ext <<_ACEOF
18391 /* confdefs.h. */
18392 _ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18396
18397 int
18398 main ()
18399 {
18400
18401 #ifndef __SUNPRO_CC
18402 choke me
18403 #endif
18404
18405 ;
18406 return 0;
18407 }
18408 _ACEOF
18409 rm -f conftest.$ac_objext
18410 if { (ac_try="$ac_compile"
18411 case "(($ac_try" in
18412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18413 *) ac_try_echo=$ac_try;;
18414 esac
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_compile") 2>conftest.er1
18417 ac_status=$?
18418 grep -v '^ *+' conftest.er1 >conftest.err
18419 rm -f conftest.er1
18420 cat conftest.err >&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } && {
18423 test -z "$ac_cxx_werror_flag" ||
18424 test ! -s conftest.err
18425 } && test -s conftest.$ac_objext; then
18426 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18432
18433 fi
18434
18435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436
18437
18438 fi
18439 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18440 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18441 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18442 :; SUNCXX=yes
18443 else
18444 :;
18445 fi
18446 ac_ext=c
18447 ac_cpp='$CPP $CPPFLAGS'
18448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18451
18452
18453
18454 ;;
18455 esac
18456 fi
18457
18458
18459
18460 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18461 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18462 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18463 { (exit 1); exit 1; }; }
18464 fi
18465
18466 if test "x$SUNCXX" != xyes; then
18467 if test -n "$ac_tool_prefix"; then
18468 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18469 set dummy ${ac_tool_prefix}ar; ac_word=$2
18470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18472 if test "${ac_cv_prog_AR+set}" = set; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 else
18475 if test -n "$AR"; then
18476 ac_cv_prog_AR="$AR" # Let the user override the test.
18477 else
18478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18479 for as_dir in $PATH
18480 do
18481 IFS=$as_save_IFS
18482 test -z "$as_dir" && as_dir=.
18483 for ac_exec_ext in '' $ac_executable_extensions; do
18484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18485 ac_cv_prog_AR="${ac_tool_prefix}ar"
18486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18487 break 2
18488 fi
18489 done
18490 done
18491 IFS=$as_save_IFS
18492
18493 fi
18494 fi
18495 AR=$ac_cv_prog_AR
18496 if test -n "$AR"; then
18497 { echo "$as_me:$LINENO: result: $AR" >&5
18498 echo "${ECHO_T}$AR" >&6; }
18499 else
18500 { echo "$as_me:$LINENO: result: no" >&5
18501 echo "${ECHO_T}no" >&6; }
18502 fi
18503
18504
18505 fi
18506 if test -z "$ac_cv_prog_AR"; then
18507 ac_ct_AR=$AR
18508 # Extract the first word of "ar", so it can be a program name with args.
18509 set dummy ar; ac_word=$2
18510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18512 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 else
18515 if test -n "$ac_ct_AR"; then
18516 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18517 else
18518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18519 for as_dir in $PATH
18520 do
18521 IFS=$as_save_IFS
18522 test -z "$as_dir" && as_dir=.
18523 for ac_exec_ext in '' $ac_executable_extensions; do
18524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18525 ac_cv_prog_ac_ct_AR="ar"
18526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18527 break 2
18528 fi
18529 done
18530 done
18531 IFS=$as_save_IFS
18532
18533 fi
18534 fi
18535 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18536 if test -n "$ac_ct_AR"; then
18537 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18538 echo "${ECHO_T}$ac_ct_AR" >&6; }
18539 else
18540 { echo "$as_me:$LINENO: result: no" >&5
18541 echo "${ECHO_T}no" >&6; }
18542 fi
18543
18544 if test "x$ac_ct_AR" = x; then
18545 AR=""
18546 else
18547 case $cross_compiling:$ac_tool_warned in
18548 yes:)
18549 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18550 whose name does not start with the host triplet. If you think this
18551 configuration is useful to you, please write to autoconf@gnu.org." >&5
18552 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18553 whose name does not start with the host triplet. If you think this
18554 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18555 ac_tool_warned=yes ;;
18556 esac
18557 AR=$ac_ct_AR
18558 fi
18559 else
18560 AR="$ac_cv_prog_AR"
18561 fi
18562
18563 if test "x$AR" = "x" ; then
18564 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18565 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18566 { (exit 1); exit 1; }; }
18567 fi
18568 fi
18569
18570
18571 if test "$wxUSE_MAC" = 1; then
18572
18573 retest_macosx_linking=no
18574
18575 OSX_ARCH_OPTS=""
18576 if test "x$wxUSE_MAC_ARCH" != xno; then
18577 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18578 fi
18579
18580 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18581 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18582 # Implicitly turn on the new --with-macosx-sdk using the default
18583 # SDK which provides the behavior this option has always had.
18584 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18585 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18586 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18587 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18588 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18589 wxUSE_MACOSX_SDK=yes
18590 fi
18591 else
18592 # Complain to user if he specified an argument to --enable-universal_binary
18593 # and also 1) specified --with-macosx-sdk using the default (yes) or
18594 # 2) specified --with-macosx-sdk using a path or 3) specified
18595 # --without-macosx-sdk (no).
18596 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18597 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18598 See \`config.log' for more details." >&5
18599 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18600 See \`config.log' for more details." >&2;}
18601 { (exit 1); exit 1; }; }
18602 else
18603 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18604 # special-case the empty string because the below test simply
18605 # converts "no" to the empty string anyway.
18606 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18607 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18608 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18609 fi
18610 fi
18611 OSX_ARCH_OPTS="-arch ppc -arch i386"
18612 if test "$wxUSE_OSX_COCOA" = 1; then
18613 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18614 fi
18615 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18616 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18617 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18618 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18619
18620 retest_macosx_linking=yes
18621
18622 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18623 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18624 bk_use_pch=no
18625 fi
18626
18627 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18628 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18629 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18630 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18631 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18632
18633 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18634 wxUSE_MACOSX_SDK=
18635 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18636 # TODO: Search for most recent SDK and use it.
18637 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18638 fi
18639
18640
18641 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18642 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18643 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18644 if ! test -d "$wxUSE_MACOSX_SDK"; then
18645 { { echo "$as_me:$LINENO: error: not found
18646 See \`config.log' for more details." >&5
18647 echo "$as_me: error: not found
18648 See \`config.log' for more details." >&2;}
18649 { (exit 1); exit 1; }; }
18650 else
18651 { echo "$as_me:$LINENO: result: exists" >&5
18652 echo "${ECHO_T}exists" >&6; }
18653 fi
18654 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18655 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18656 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18657 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18658 retest_macosx_linking=yes
18659 fi
18660
18661 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18662 wxUSE_MACOSX_VERSION_MIN=
18663 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18664 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18665 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18666 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18667
18668 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/'`
18669
18670 # If that failed, try again with the new key
18671 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18672
18673 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/'`
18674
18675 fi
18676
18677 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18678 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18679 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18680 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18681 else
18682 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18683 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18684 wxUSE_MACOSX_VERSION_MIN=
18685 fi
18686 else
18687 wxUSE_MACOSX_VERSION_MIN=
18688 fi
18689 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18690 for ac_prog in sw_vers
18691 do
18692 # Extract the first word of "$ac_prog", so it can be a program name with args.
18693 set dummy $ac_prog; ac_word=$2
18694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18696 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18697 echo $ECHO_N "(cached) $ECHO_C" >&6
18698 else
18699 if test -n "$OSX_SW_VERS"; then
18700 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18701 else
18702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18703 for as_dir in $PATH
18704 do
18705 IFS=$as_save_IFS
18706 test -z "$as_dir" && as_dir=.
18707 for ac_exec_ext in '' $ac_executable_extensions; do
18708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18709 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18711 break 2
18712 fi
18713 done
18714 done
18715 IFS=$as_save_IFS
18716
18717 fi
18718 fi
18719 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18720 if test -n "$OSX_SW_VERS"; then
18721 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18722 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18723 else
18724 { echo "$as_me:$LINENO: result: no" >&5
18725 echo "${ECHO_T}no" >&6; }
18726 fi
18727
18728
18729 test -n "$OSX_SW_VERS" && break
18730 done
18731
18732 if test "$OSX_SW_VERS" != ""; then
18733 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18734 else
18735 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18736 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18737 OSX_VERSION="10.4"
18738 fi
18739
18740 case "$OSX_VERSION" in
18741 10.4* )
18742 wxUSE_MACOSX_VERSION_MIN=10.4
18743 ;;
18744
18745 * )
18746 if test "$wxUSE_OSX_CARBON" = 1; then
18747 # otherwise configure stops on leopard for universal_binary
18748 wxUSE_MACOSX_VERSION_MIN=10.4
18749 else
18750 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18751 wxUSE_MACOSX_VERSION_MIN=10.5
18752 fi
18753 ;;
18754 esac
18755 fi
18756
18757 NEEDS_GCC40="no"
18758 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18759 NEEDS_GCC40="yes"
18760 fi
18761
18762 if test "$wxUSE_OSX_CARBON" = 1; then
18763 NEEDS_GCC40="yes"
18764 fi
18765
18766 if test "x$NEEDS_GCC40" == "xyes"; then
18767 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18768 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18769 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18770 if test "x$CC" = "xgcc"; then
18771 CCVERSION=`$CC --version | grep 4.[2-9].`
18772 if test "x$CCVERSION" != "x"; then
18773 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18774 CC="/usr/bin/gcc-4.0"
18775 fi
18776 fi
18777
18778 if test "x$CXX" = "xg++"; then
18779 CCVERSION=`$CXX --version | grep 4.[2-9].`
18780 if test "x$CCVERSION" != "x"; then
18781 CXX="/usr/bin/g++-4.0"
18782 fi
18783 fi
18784 fi
18785
18786 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18787 if test "$wxUSE_OSX_IPHONE" = 1; then
18788 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18789 else
18790 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18791 fi
18792 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18793 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18794 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18795 retest_macosx_linking=yes
18796 fi
18797
18798 if test "x$retest_macosx_linking" = "xyes"; then
18799 ac_ext=c
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18804
18805 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18806 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18807 cat >conftest.$ac_ext <<_ACEOF
18808 /* confdefs.h. */
18809 _ACEOF
18810 cat confdefs.h >>conftest.$ac_ext
18811 cat >>conftest.$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18813
18814 int
18815 main ()
18816 {
18817
18818 ;
18819 return 0;
18820 }
18821 _ACEOF
18822 rm -f conftest.$ac_objext conftest$ac_exeext
18823 if { (ac_try="$ac_link"
18824 case "(($ac_try" in
18825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18826 *) ac_try_echo=$ac_try;;
18827 esac
18828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18829 (eval "$ac_link") 2>conftest.er1
18830 ac_status=$?
18831 grep -v '^ *+' conftest.er1 >conftest.err
18832 rm -f conftest.er1
18833 cat conftest.err >&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } && {
18836 test -z "$ac_c_werror_flag" ||
18837 test ! -s conftest.err
18838 } && test -s conftest$ac_exeext &&
18839 $as_test_x conftest$ac_exeext; then
18840 { echo "$as_me:$LINENO: result: yes" >&5
18841 echo "${ECHO_T}yes" >&6; }
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18847 See \`config.log' for more details." >&5
18848 echo "$as_me: error: no. Try a different SDK
18849 See \`config.log' for more details." >&2;}
18850 { (exit 1); exit 1; }; }; exit 1
18851 fi
18852
18853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18854 conftest$ac_exeext conftest.$ac_ext
18855 ac_ext=c
18856 ac_cpp='$CPP $CPPFLAGS'
18857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18860
18861
18862 ac_ext=cpp
18863 ac_cpp='$CXXCPP $CPPFLAGS'
18864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18867
18868 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18869 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18870 cat >conftest.$ac_ext <<_ACEOF
18871 /* confdefs.h. */
18872 _ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876
18877 int
18878 main ()
18879 {
18880
18881 ;
18882 return 0;
18883 }
18884 _ACEOF
18885 rm -f conftest.$ac_objext conftest$ac_exeext
18886 if { (ac_try="$ac_link"
18887 case "(($ac_try" in
18888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18889 *) ac_try_echo=$ac_try;;
18890 esac
18891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18892 (eval "$ac_link") 2>conftest.er1
18893 ac_status=$?
18894 grep -v '^ *+' conftest.er1 >conftest.err
18895 rm -f conftest.er1
18896 cat conftest.err >&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } && {
18899 test -z "$ac_cxx_werror_flag" ||
18900 test ! -s conftest.err
18901 } && test -s conftest$ac_exeext &&
18902 $as_test_x conftest$ac_exeext; then
18903 { echo "$as_me:$LINENO: result: yes" >&5
18904 echo "${ECHO_T}yes" >&6; }
18905 else
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18908
18909 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18910 See \`config.log' for more details." >&5
18911 echo "$as_me: error: no. Try a different SDK
18912 See \`config.log' for more details." >&2;}
18913 { (exit 1); exit 1; }; }; exit 1
18914 fi
18915
18916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18917 conftest$ac_exeext conftest.$ac_ext
18918 ac_ext=c
18919 ac_cpp='$CPP $CPPFLAGS'
18920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18923
18924 fi
18925
18926 fi
18927 case "${host}" in
18928
18929 *-*-darwin* )
18930 INSTALL_PROGRAM="cp -fp"
18931 INSTALL_DATA="cp -fp"
18932 ;;
18933 *)
18934 ;;
18935 esac
18936
18937
18938 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18939 CXXFLAGS="-qunique $CXXFLAGS"
18940 fi
18941
18942 case "${host}" in
18943 powerpc-*-darwin* )
18944 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18945 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18946 cat >conftest.$ac_ext <<_ACEOF
18947 /* confdefs.h. */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952
18953 int
18954 main ()
18955 {
18956 #ifndef __POWERPC__
18957 choke me for lack of PowerPC
18958 #endif
18959
18960 ;
18961 return 0;
18962 }
18963 _ACEOF
18964 rm -f conftest.$ac_objext
18965 if { (ac_try="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18968 *) ac_try_echo=$ac_try;;
18969 esac
18970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18972 ac_status=$?
18973 grep -v '^ *+' conftest.er1 >conftest.err
18974 rm -f conftest.er1
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.$ac_objext; then
18981 { echo "$as_me:$LINENO: result: yes" >&5
18982 echo "${ECHO_T}yes" >&6; }
18983 else
18984 echo "$as_me: failed program was:" >&5
18985 sed 's/^/| /' conftest.$ac_ext >&5
18986
18987 { echo "$as_me:$LINENO: result: no" >&5
18988 echo "${ECHO_T}no" >&6; }
18989 cat >>confdefs.h <<\_ACEOF
18990 #define __POWERPC__ 1
18991 _ACEOF
18992
18993
18994 fi
18995
18996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18997 ;;
18998 esac
18999
19000 case "${host}" in
19001 *-*-darwin* )
19002 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19003 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19004 cat >conftest.$ac_ext <<_ACEOF
19005 /* confdefs.h. */
19006 _ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 #include <CoreFoundation/CFBase.h>
19011
19012 int
19013 main ()
19014 {
19015
19016 ;
19017 return 0;
19018 }
19019 _ACEOF
19020 rm -f conftest.$ac_objext
19021 if { (ac_try="$ac_compile"
19022 case "(($ac_try" in
19023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19024 *) ac_try_echo=$ac_try;;
19025 esac
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_compile") 2>conftest.er1
19028 ac_status=$?
19029 grep -v '^ *+' conftest.er1 >conftest.err
19030 rm -f conftest.er1
19031 cat conftest.err >&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } && {
19034 test -z "$ac_c_werror_flag" ||
19035 test ! -s conftest.err
19036 } && test -s conftest.$ac_objext; then
19037 { echo "$as_me:$LINENO: result: yes" >&5
19038 echo "${ECHO_T}yes" >&6; }
19039 else
19040 echo "$as_me: failed program was:" >&5
19041 sed 's/^/| /' conftest.$ac_ext >&5
19042
19043 { echo "$as_me:$LINENO: result: no" >&5
19044 echo "${ECHO_T}no" >&6; }
19045 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19046 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19047 cat >conftest.$ac_ext <<_ACEOF
19048 /* confdefs.h. */
19049 _ACEOF
19050 cat confdefs.h >>conftest.$ac_ext
19051 cat >>conftest.$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 #define __CF_USE_FRAMEWORK_INCLUDES__
19054 #include <CoreFoundation/CFBase.h>
19055
19056 int
19057 main ()
19058 {
19059
19060 ;
19061 return 0;
19062 }
19063 _ACEOF
19064 rm -f conftest.$ac_objext
19065 if { (ac_try="$ac_compile"
19066 case "(($ac_try" in
19067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19069 esac
19070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_compile") 2>conftest.er1
19072 ac_status=$?
19073 grep -v '^ *+' conftest.er1 >conftest.err
19074 rm -f conftest.er1
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } && {
19078 test -z "$ac_c_werror_flag" ||
19079 test ! -s conftest.err
19080 } && test -s conftest.$ac_objext; then
19081 { echo "$as_me:$LINENO: result: yes" >&5
19082 echo "${ECHO_T}yes" >&6; }
19083 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19089 See \`config.log' for more details." >&5
19090 echo "$as_me: error: no. CoreFoundation not available.
19091 See \`config.log' for more details." >&2;}
19092 { (exit 1); exit 1; }; }
19093
19094 fi
19095
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097
19098
19099 fi
19100
19101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19102 ;;
19103 esac
19104
19105 wants_win32=0
19106 doesnt_want_win32=0
19107 case "${host}" in
19108 *-*-cygwin*)
19109 if test "$wxUSE_MSW" = 1 ; then
19110 wants_win32=1
19111 else
19112 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19113 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19114 if test "${wx_cv_nocygwin+set}" = set; then
19115 echo $ECHO_N "(cached) $ECHO_C" >&6
19116 else
19117
19118 cat >conftest.$ac_ext <<_ACEOF
19119 /* confdefs.h. */
19120 _ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124
19125 int
19126 main ()
19127 {
19128
19129 #ifdef __MINGW32__
19130 choke me
19131 #endif
19132
19133 ;
19134 return 0;
19135 }
19136 _ACEOF
19137 rm -f conftest.$ac_objext
19138 if { (ac_try="$ac_compile"
19139 case "(($ac_try" in
19140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19141 *) ac_try_echo=$ac_try;;
19142 esac
19143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19144 (eval "$ac_compile") 2>conftest.er1
19145 ac_status=$?
19146 grep -v '^ *+' conftest.er1 >conftest.err
19147 rm -f conftest.er1
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } && {
19151 test -z "$ac_c_werror_flag" ||
19152 test ! -s conftest.err
19153 } && test -s conftest.$ac_objext; then
19154 wx_cv_nocygwin=no
19155 else
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19158
19159 wx_cv_nocygwin=yes
19160
19161 fi
19162
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164
19165
19166 fi
19167 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19168 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19169
19170 if test "$wx_cv_nocygwin" = "yes"; then
19171 wants_win32=1
19172 else
19173 doesnt_want_win32=1
19174 fi
19175 fi
19176 if test "$wants_win32" = 1 ; then
19177 BAKEFILE_FORCE_PLATFORM=win32
19178 fi
19179 ;;
19180 *-*-mingw*)
19181 wants_win32=1
19182 ;;
19183 esac
19184
19185 if test "$wxUSE_WINE" = "yes"; then
19186 wants_win32=1
19187 LDFLAGS_GUI="-mwindows"
19188 fi
19189
19190 if test "$wants_win32" = 1 ; then
19191 USE_UNIX=0
19192 USE_WIN32=1
19193 cat >>confdefs.h <<\_ACEOF
19194 #define __WIN32__ 1
19195 _ACEOF
19196
19197 cat >>confdefs.h <<\_ACEOF
19198 #define __WIN95__ 1
19199 _ACEOF
19200
19201 cat >>confdefs.h <<\_ACEOF
19202 #define __WINDOWS__ 1
19203 _ACEOF
19204
19205 cat >>confdefs.h <<\_ACEOF
19206 #define __GNUWIN32__ 1
19207 _ACEOF
19208
19209 cat >>confdefs.h <<\_ACEOF
19210 #define STRICT 1
19211 _ACEOF
19212
19213 fi
19214 if test "$doesnt_want_win32" = 1 ; then
19215 USE_UNIX=1
19216 USE_WIN32=0
19217 fi
19218
19219 if test "$USE_UNIX" = 1 ; then
19220 wxUSE_UNIX=yes
19221 cat >>confdefs.h <<\_ACEOF
19222 #define __UNIX__ 1
19223 _ACEOF
19224
19225 fi
19226
19227 case "${host}" in
19228 *-pc-os2_emx | *-pc-os2-emx )
19229 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19230 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19231 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19232 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 else
19235 ac_check_lib_save_LIBS=$LIBS
19236 LIBS="-lcExt $LIBS"
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243
19244 /* Override any GCC internal prototype to avoid an error.
19245 Use char because int might match the return type of a GCC
19246 builtin and then its argument prototype would still apply. */
19247 #ifdef __cplusplus
19248 extern "C"
19249 #endif
19250 char drand48 ();
19251 int
19252 main ()
19253 {
19254 return drand48 ();
19255 ;
19256 return 0;
19257 }
19258 _ACEOF
19259 rm -f conftest.$ac_objext conftest$ac_exeext
19260 if { (ac_try="$ac_link"
19261 case "(($ac_try" in
19262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19263 *) ac_try_echo=$ac_try;;
19264 esac
19265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19266 (eval "$ac_link") 2>conftest.er1
19267 ac_status=$?
19268 grep -v '^ *+' conftest.er1 >conftest.err
19269 rm -f conftest.er1
19270 cat conftest.err >&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } && {
19273 test -z "$ac_c_werror_flag" ||
19274 test ! -s conftest.err
19275 } && test -s conftest$ac_exeext &&
19276 $as_test_x conftest$ac_exeext; then
19277 ac_cv_lib_cExt_drand48=yes
19278 else
19279 echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19281
19282 ac_cv_lib_cExt_drand48=no
19283 fi
19284
19285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19286 conftest$ac_exeext conftest.$ac_ext
19287 LIBS=$ac_check_lib_save_LIBS
19288 fi
19289 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19290 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19291 if test $ac_cv_lib_cExt_drand48 = yes; then
19292 LIBS="$LIBS -lcExt"
19293 fi
19294
19295 else
19296 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19297 fi
19298 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19299 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19300 if test "${wx_cv_gccversion+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19302 else
19303
19304 if test "$cross_compiling" = yes; then
19305 wx_cv_gccversion="EMX2"
19306
19307 else
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314
19315 #include <stdio.h>
19316
19317 int main()
19318 {
19319 FILE *f=fopen("conftestval", "w");
19320 if (!f) exit(1);
19321 fprintf(f,
19322 #if (__GNUC__ < 3)
19323 "EMX2"
19324 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19325 "EMX3"
19326 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19327 "Innotek5"
19328 #else
19329 "Innotek6"
19330 #endif
19331 );
19332 exit(0);
19333 }
19334
19335 _ACEOF
19336 rm -f conftest$ac_exeext
19337 if { (ac_try="$ac_link"
19338 case "(($ac_try" in
19339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19340 *) ac_try_echo=$ac_try;;
19341 esac
19342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19343 (eval "$ac_link") 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19347 { (case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19350 esac
19351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_try") 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 wx_cv_gccversion=`cat conftestval`
19357 else
19358 echo "$as_me: program exited with status $ac_status" >&5
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19361
19362 ( exit $ac_status )
19363 wx_cv_gccversion="EMX2"
19364 fi
19365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19366 fi
19367
19368
19369
19370 fi
19371 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19372 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19373 if test "$wx_cv_gccversion" = "EMX2"; then
19374 LIBS="$LIBS -lstdcpp"
19375 LDFLAGS="$LDFLAGS -Zsysv-signals"
19376 else
19377 if test "$wx_cv_gccversion" = "EMX3"; then
19378 LIBS="$LIBS -lstdcxx -lgcc"
19379 LDFLAGS="$LDFLAGS -Zsysv-signals"
19380 else
19381 LIBS="$LIBS -lstdc++"
19382 fi
19383 fi
19384 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19385 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19386 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19387 wxUSE_OMF=yes
19388 enable_omf=yes
19389 fi
19390 ;;
19391 *)
19392
19393 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19394 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19395 if test "${ac_cv_string_strcasecmp+set}" = set; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19397 else
19398
19399 cat >conftest.$ac_ext <<_ACEOF
19400 /* confdefs.h. */
19401 _ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405
19406 #include <string.h>
19407
19408 int
19409 main ()
19410 {
19411
19412 strcasecmp("foo", "bar");
19413
19414 ;
19415 return 0;
19416 }
19417 _ACEOF
19418 rm -f conftest.$ac_objext conftest$ac_exeext
19419 if { (ac_try="$ac_link"
19420 case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19423 esac
19424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_link") 2>conftest.er1
19426 ac_status=$?
19427 grep -v '^ *+' conftest.er1 >conftest.err
19428 rm -f conftest.er1
19429 cat conftest.err >&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } && {
19432 test -z "$ac_c_werror_flag" ||
19433 test ! -s conftest.err
19434 } && test -s conftest$ac_exeext &&
19435 $as_test_x conftest$ac_exeext; then
19436 ac_cv_string_strcasecmp=yes
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19440
19441 ac_cv_string_strcasecmp=no
19442
19443 fi
19444
19445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19446 conftest$ac_exeext conftest.$ac_ext
19447
19448 fi
19449 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19450 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19451
19452 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19453 cat >>confdefs.h <<\_ACEOF
19454 #define HAVE_STRCASECMP_IN_STRING_H 1
19455 _ACEOF
19456
19457 else
19458 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19459 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19460 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19461 echo $ECHO_N "(cached) $ECHO_C" >&6
19462 else
19463
19464 cat >conftest.$ac_ext <<_ACEOF
19465 /* confdefs.h. */
19466 _ACEOF
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470
19471 #include <strings.h>
19472
19473 int
19474 main ()
19475 {
19476
19477 strcasecmp("foo", "bar");
19478
19479 ;
19480 return 0;
19481 }
19482 _ACEOF
19483 rm -f conftest.$ac_objext conftest$ac_exeext
19484 if { (ac_try="$ac_link"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19488 esac
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_link") 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest$ac_exeext &&
19500 $as_test_x conftest$ac_exeext; then
19501 ac_cv_strings_strcasecmp=yes
19502 else
19503 echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19505
19506 ac_cv_strings_strcasecmp=no
19507
19508 fi
19509
19510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19511 conftest$ac_exeext conftest.$ac_ext
19512
19513 fi
19514 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19515 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19516
19517 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19518 cat >>confdefs.h <<\_ACEOF
19519 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19520 _ACEOF
19521
19522 else
19523 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19524 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19525 { (exit 1); exit 1; }; }
19526 fi
19527 fi
19528
19529 ;;
19530 esac
19531
19532
19533 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19534 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19535 if test "${ac_cv_header_stdc+set}" = set; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 else
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 #include <stdlib.h>
19545 #include <stdarg.h>
19546 #include <string.h>
19547 #include <float.h>
19548
19549 int
19550 main ()
19551 {
19552
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_cv_header_stdc=yes
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19578
19579 ac_cv_header_stdc=no
19580 fi
19581
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583
19584 if test $ac_cv_header_stdc = yes; then
19585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 #include <string.h>
19593
19594 _ACEOF
19595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19596 $EGREP "memchr" >/dev/null 2>&1; then
19597 :
19598 else
19599 ac_cv_header_stdc=no
19600 fi
19601 rm -f -r conftest*
19602
19603 fi
19604
19605 if test $ac_cv_header_stdc = yes; then
19606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19607 cat >conftest.$ac_ext <<_ACEOF
19608 /* confdefs.h. */
19609 _ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 #include <stdlib.h>
19614
19615 _ACEOF
19616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19617 $EGREP "free" >/dev/null 2>&1; then
19618 :
19619 else
19620 ac_cv_header_stdc=no
19621 fi
19622 rm -f -r conftest*
19623
19624 fi
19625
19626 if test $ac_cv_header_stdc = yes; then
19627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19628 if test "$cross_compiling" = yes; then
19629 :
19630 else
19631 cat >conftest.$ac_ext <<_ACEOF
19632 /* confdefs.h. */
19633 _ACEOF
19634 cat confdefs.h >>conftest.$ac_ext
19635 cat >>conftest.$ac_ext <<_ACEOF
19636 /* end confdefs.h. */
19637 #include <ctype.h>
19638 #include <stdlib.h>
19639 #if ((' ' & 0x0FF) == 0x020)
19640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19642 #else
19643 # define ISLOWER(c) \
19644 (('a' <= (c) && (c) <= 'i') \
19645 || ('j' <= (c) && (c) <= 'r') \
19646 || ('s' <= (c) && (c) <= 'z'))
19647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19648 #endif
19649
19650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19651 int
19652 main ()
19653 {
19654 int i;
19655 for (i = 0; i < 256; i++)
19656 if (XOR (islower (i), ISLOWER (i))
19657 || toupper (i) != TOUPPER (i))
19658 return 2;
19659 return 0;
19660 }
19661 _ACEOF
19662 rm -f conftest$ac_exeext
19663 if { (ac_try="$ac_link"
19664 case "(($ac_try" in
19665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19667 esac
19668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_link") 2>&5
19670 ac_status=$?
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19673 { (case "(($ac_try" in
19674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19675 *) ac_try_echo=$ac_try;;
19676 esac
19677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19678 (eval "$ac_try") 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 :
19683 else
19684 echo "$as_me: program exited with status $ac_status" >&5
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19687
19688 ( exit $ac_status )
19689 ac_cv_header_stdc=no
19690 fi
19691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19692 fi
19693
19694
19695 fi
19696 fi
19697 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19698 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19699 if test $ac_cv_header_stdc = yes; then
19700
19701 cat >>confdefs.h <<\_ACEOF
19702 #define STDC_HEADERS 1
19703 _ACEOF
19704
19705 fi
19706
19707 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19718 inttypes.h stdint.h unistd.h
19719 do
19720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 else
19726 cat >conftest.$ac_ext <<_ACEOF
19727 /* confdefs.h. */
19728 _ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19733
19734 #include <$ac_header>
19735 _ACEOF
19736 rm -f conftest.$ac_objext
19737 if { (ac_try="$ac_compile"
19738 case "(($ac_try" in
19739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19740 *) ac_try_echo=$ac_try;;
19741 esac
19742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_compile") 2>conftest.er1
19744 ac_status=$?
19745 grep -v '^ *+' conftest.er1 >conftest.err
19746 rm -f conftest.er1
19747 cat conftest.err >&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } && {
19750 test -z "$ac_c_werror_flag" ||
19751 test ! -s conftest.err
19752 } && test -s conftest.$ac_objext; then
19753 eval "$as_ac_Header=yes"
19754 else
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19757
19758 eval "$as_ac_Header=no"
19759 fi
19760
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 fi
19763 ac_res=`eval echo '${'$as_ac_Header'}'`
19764 { echo "$as_me:$LINENO: result: $ac_res" >&5
19765 echo "${ECHO_T}$ac_res" >&6; }
19766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19767 cat >>confdefs.h <<_ACEOF
19768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19769 _ACEOF
19770
19771 fi
19772
19773 done
19774
19775
19776
19777
19778 for ac_header in langinfo.h wchar.h
19779 do
19780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19785 else
19786 cat >conftest.$ac_ext <<_ACEOF
19787 /* confdefs.h. */
19788 _ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19792 $ac_includes_default
19793
19794 #include <$ac_header>
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19801 esac
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19804 ac_status=$?
19805 grep -v '^ *+' conftest.er1 >conftest.err
19806 rm -f conftest.er1
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19813 eval "$as_ac_Header=yes"
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19817
19818 eval "$as_ac_Header=no"
19819 fi
19820
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 fi
19823 ac_res=`eval echo '${'$as_ac_Header'}'`
19824 { echo "$as_me:$LINENO: result: $ac_res" >&5
19825 echo "${ECHO_T}$ac_res" >&6; }
19826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19827 cat >>confdefs.h <<_ACEOF
19828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19829 _ACEOF
19830
19831 fi
19832
19833 done
19834
19835
19836 if test "$ac_cv_header_wchar_h" != "yes"; then
19837
19838 for ac_header in wcstr.h
19839 do
19840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 else
19846 cat >conftest.$ac_ext <<_ACEOF
19847 /* confdefs.h. */
19848 _ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 $ac_includes_default
19853
19854 #include <$ac_header>
19855 _ACEOF
19856 rm -f conftest.$ac_objext
19857 if { (ac_try="$ac_compile"
19858 case "(($ac_try" in
19859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19860 *) ac_try_echo=$ac_try;;
19861 esac
19862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19863 (eval "$ac_compile") 2>conftest.er1
19864 ac_status=$?
19865 grep -v '^ *+' conftest.er1 >conftest.err
19866 rm -f conftest.er1
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } && {
19870 test -z "$ac_c_werror_flag" ||
19871 test ! -s conftest.err
19872 } && test -s conftest.$ac_objext; then
19873 eval "$as_ac_Header=yes"
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19877
19878 eval "$as_ac_Header=no"
19879 fi
19880
19881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19882 fi
19883 ac_res=`eval echo '${'$as_ac_Header'}'`
19884 { echo "$as_me:$LINENO: result: $ac_res" >&5
19885 echo "${ECHO_T}$ac_res" >&6; }
19886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19887 cat >>confdefs.h <<_ACEOF
19888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19889 _ACEOF
19890
19891 fi
19892
19893 done
19894
19895 fi
19896
19897 case "${host}" in
19898 *-pc-os2_emx | *-pc-os2-emx )
19899 if test $ac_cv_header_langinfo_h = "yes" \
19900 -a \( "$wx_cv_gccversion" = "EMX2" \
19901 -o "$wx_cv_gccversion" = "EMX3" \
19902 -o "$wx_cv_gccversion" = "Innotek5" \); then
19903 LIBS="$LIBS -lintl"
19904 fi
19905 ;;
19906 esac
19907
19908 if test "$USE_UNIX" = 1 ; then
19909
19910 for ac_header in sys/select.h
19911 do
19912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19913 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19918 cat >conftest.$ac_ext <<_ACEOF
19919 /* confdefs.h. */
19920 _ACEOF
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 $ac_includes_default
19925
19926 #include <$ac_header>
19927 _ACEOF
19928 rm -f conftest.$ac_objext
19929 if { (ac_try="$ac_compile"
19930 case "(($ac_try" in
19931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19932 *) ac_try_echo=$ac_try;;
19933 esac
19934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19935 (eval "$ac_compile") 2>conftest.er1
19936 ac_status=$?
19937 grep -v '^ *+' conftest.er1 >conftest.err
19938 rm -f conftest.er1
19939 cat conftest.err >&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && {
19942 test -z "$ac_c_werror_flag" ||
19943 test ! -s conftest.err
19944 } && test -s conftest.$ac_objext; then
19945 eval "$as_ac_Header=yes"
19946 else
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19949
19950 eval "$as_ac_Header=no"
19951 fi
19952
19953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19954 fi
19955 ac_res=`eval echo '${'$as_ac_Header'}'`
19956 { echo "$as_me:$LINENO: result: $ac_res" >&5
19957 echo "${ECHO_T}$ac_res" >&6; }
19958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19959 cat >>confdefs.h <<_ACEOF
19960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19961 _ACEOF
19962
19963 fi
19964
19965 done
19966
19967 fi
19968
19969
19970 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19971 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19972 if test "${ac_cv_c_const+set}" = set; then
19973 echo $ECHO_N "(cached) $ECHO_C" >&6
19974 else
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981
19982 int
19983 main ()
19984 {
19985 /* FIXME: Include the comments suggested by Paul. */
19986 #ifndef __cplusplus
19987 /* Ultrix mips cc rejects this. */
19988 typedef int charset[2];
19989 const charset cs;
19990 /* SunOS 4.1.1 cc rejects this. */
19991 char const *const *pcpcc;
19992 char **ppc;
19993 /* NEC SVR4.0.2 mips cc rejects this. */
19994 struct point {int x, y;};
19995 static struct point const zero = {0,0};
19996 /* AIX XL C 1.02.0.0 rejects this.
19997 It does not let you subtract one const X* pointer from another in
19998 an arm of an if-expression whose if-part is not a constant
19999 expression */
20000 const char *g = "string";
20001 pcpcc = &g + (g ? g-g : 0);
20002 /* HPUX 7.0 cc rejects these. */
20003 ++pcpcc;
20004 ppc = (char**) pcpcc;
20005 pcpcc = (char const *const *) ppc;
20006 { /* SCO 3.2v4 cc rejects this. */
20007 char *t;
20008 char const *s = 0 ? (char *) 0 : (char const *) 0;
20009
20010 *t++ = 0;
20011 if (s) return 0;
20012 }
20013 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20014 int x[] = {25, 17};
20015 const int *foo = &x[0];
20016 ++foo;
20017 }
20018 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20019 typedef const int *iptr;
20020 iptr p = 0;
20021 ++p;
20022 }
20023 { /* AIX XL C 1.02.0.0 rejects this saying
20024 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20025 struct s { int j; const int *ap[3]; };
20026 struct s *b; b->j = 5;
20027 }
20028 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20029 const int foo = 10;
20030 if (!foo) return 0;
20031 }
20032 return !cs[0] && !zero.x;
20033 #endif
20034
20035 ;
20036 return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest.$ac_objext
20040 if { (ac_try="$ac_compile"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20044 esac
20045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_compile") 2>conftest.er1
20047 ac_status=$?
20048 grep -v '^ *+' conftest.er1 >conftest.err
20049 rm -f conftest.er1
20050 cat conftest.err >&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); } && {
20053 test -z "$ac_c_werror_flag" ||
20054 test ! -s conftest.err
20055 } && test -s conftest.$ac_objext; then
20056 ac_cv_c_const=yes
20057 else
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.$ac_ext >&5
20060
20061 ac_cv_c_const=no
20062 fi
20063
20064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20065 fi
20066 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20067 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20068 if test $ac_cv_c_const = no; then
20069
20070 cat >>confdefs.h <<\_ACEOF
20071 #define const
20072 _ACEOF
20073
20074 fi
20075
20076 { echo "$as_me:$LINENO: checking for inline" >&5
20077 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20078 if test "${ac_cv_c_inline+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 else
20081 ac_cv_c_inline=no
20082 for ac_kw in inline __inline__ __inline; do
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #ifndef __cplusplus
20090 typedef int foo_t;
20091 static $ac_kw foo_t static_foo () {return 0; }
20092 $ac_kw foo_t foo () {return 0; }
20093 #endif
20094
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (ac_try="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20101 esac
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20104 ac_status=$?
20105 grep -v '^ *+' conftest.er1 >conftest.err
20106 rm -f conftest.er1
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20113 ac_cv_c_inline=$ac_kw
20114 else
20115 echo "$as_me: failed program was:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20117
20118
20119 fi
20120
20121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 test "$ac_cv_c_inline" != no && break
20123 done
20124
20125 fi
20126 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20127 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20128
20129
20130 case $ac_cv_c_inline in
20131 inline | yes) ;;
20132 *)
20133 case $ac_cv_c_inline in
20134 no) ac_val=;;
20135 *) ac_val=$ac_cv_c_inline;;
20136 esac
20137 cat >>confdefs.h <<_ACEOF
20138 #ifndef __cplusplus
20139 #define inline $ac_val
20140 #endif
20141 _ACEOF
20142 ;;
20143 esac
20144
20145
20146 { echo "$as_me:$LINENO: checking for short" >&5
20147 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20148 if test "${ac_cv_type_short+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 else
20151 cat >conftest.$ac_ext <<_ACEOF
20152 /* confdefs.h. */
20153 _ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 $ac_includes_default
20158 typedef short ac__type_new_;
20159 int
20160 main ()
20161 {
20162 if ((ac__type_new_ *) 0)
20163 return 0;
20164 if (sizeof (ac__type_new_))
20165 return 0;
20166 ;
20167 return 0;
20168 }
20169 _ACEOF
20170 rm -f conftest.$ac_objext
20171 if { (ac_try="$ac_compile"
20172 case "(($ac_try" in
20173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20174 *) ac_try_echo=$ac_try;;
20175 esac
20176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20177 (eval "$ac_compile") 2>conftest.er1
20178 ac_status=$?
20179 grep -v '^ *+' conftest.er1 >conftest.err
20180 rm -f conftest.er1
20181 cat conftest.err >&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && {
20184 test -z "$ac_c_werror_flag" ||
20185 test ! -s conftest.err
20186 } && test -s conftest.$ac_objext; then
20187 ac_cv_type_short=yes
20188 else
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20191
20192 ac_cv_type_short=no
20193 fi
20194
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196 fi
20197 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20198 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20199
20200 # The cast to long int works around a bug in the HP C Compiler
20201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20203 # This bug is HP SR number 8606223364.
20204 { echo "$as_me:$LINENO: checking size of short" >&5
20205 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20206 if test "${ac_cv_sizeof_short+set}" = set; then
20207 echo $ECHO_N "(cached) $ECHO_C" >&6
20208 else
20209 if test "$cross_compiling" = yes; then
20210 # Depending upon the size, compute the lo and hi bounds.
20211 cat >conftest.$ac_ext <<_ACEOF
20212 /* confdefs.h. */
20213 _ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 $ac_includes_default
20218 typedef short ac__type_sizeof_;
20219 int
20220 main ()
20221 {
20222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20223 test_array [0] = 0
20224
20225 ;
20226 return 0;
20227 }
20228 _ACEOF
20229 rm -f conftest.$ac_objext
20230 if { (ac_try="$ac_compile"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20234 esac
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_compile") 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest.$ac_objext; then
20246 ac_lo=0 ac_mid=0
20247 while :; do
20248 cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h. */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 typedef short ac__type_sizeof_;
20256 int
20257 main ()
20258 {
20259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20260 test_array [0] = 0
20261
20262 ;
20263 return 0;
20264 }
20265 _ACEOF
20266 rm -f conftest.$ac_objext
20267 if { (ac_try="$ac_compile"
20268 case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20271 esac
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_compile") 2>conftest.er1
20274 ac_status=$?
20275 grep -v '^ *+' conftest.er1 >conftest.err
20276 rm -f conftest.er1
20277 cat conftest.err >&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } && {
20280 test -z "$ac_c_werror_flag" ||
20281 test ! -s conftest.err
20282 } && test -s conftest.$ac_objext; then
20283 ac_hi=$ac_mid; break
20284 else
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20287
20288 ac_lo=`expr $ac_mid + 1`
20289 if test $ac_lo -le $ac_mid; then
20290 ac_lo= ac_hi=
20291 break
20292 fi
20293 ac_mid=`expr 2 '*' $ac_mid + 1`
20294 fi
20295
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20297 done
20298 else
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20301
20302 cat >conftest.$ac_ext <<_ACEOF
20303 /* confdefs.h. */
20304 _ACEOF
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20309 typedef short ac__type_sizeof_;
20310 int
20311 main ()
20312 {
20313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20314 test_array [0] = 0
20315
20316 ;
20317 return 0;
20318 }
20319 _ACEOF
20320 rm -f conftest.$ac_objext
20321 if { (ac_try="$ac_compile"
20322 case "(($ac_try" in
20323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20324 *) ac_try_echo=$ac_try;;
20325 esac
20326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20327 (eval "$ac_compile") 2>conftest.er1
20328 ac_status=$?
20329 grep -v '^ *+' conftest.er1 >conftest.err
20330 rm -f conftest.er1
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } && {
20334 test -z "$ac_c_werror_flag" ||
20335 test ! -s conftest.err
20336 } && test -s conftest.$ac_objext; then
20337 ac_hi=-1 ac_mid=-1
20338 while :; do
20339 cat >conftest.$ac_ext <<_ACEOF
20340 /* confdefs.h. */
20341 _ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 $ac_includes_default
20346 typedef short ac__type_sizeof_;
20347 int
20348 main ()
20349 {
20350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20351 test_array [0] = 0
20352
20353 ;
20354 return 0;
20355 }
20356 _ACEOF
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20362 esac
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20365 ac_status=$?
20366 grep -v '^ *+' conftest.er1 >conftest.err
20367 rm -f conftest.er1
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest.$ac_objext; then
20374 ac_lo=$ac_mid; break
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379 ac_hi=`expr '(' $ac_mid ')' - 1`
20380 if test $ac_mid -le $ac_hi; then
20381 ac_lo= ac_hi=
20382 break
20383 fi
20384 ac_mid=`expr 2 '*' $ac_mid`
20385 fi
20386
20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20388 done
20389 else
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20392
20393 ac_lo= ac_hi=
20394 fi
20395
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 fi
20398
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 # Binary search between lo and hi bounds.
20401 while test "x$ac_lo" != "x$ac_hi"; do
20402 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20403 cat >conftest.$ac_ext <<_ACEOF
20404 /* confdefs.h. */
20405 _ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 $ac_includes_default
20410 typedef short ac__type_sizeof_;
20411 int
20412 main ()
20413 {
20414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20415 test_array [0] = 0
20416
20417 ;
20418 return 0;
20419 }
20420 _ACEOF
20421 rm -f conftest.$ac_objext
20422 if { (ac_try="$ac_compile"
20423 case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20426 esac
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_compile") 2>conftest.er1
20429 ac_status=$?
20430 grep -v '^ *+' conftest.er1 >conftest.err
20431 rm -f conftest.er1
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } && {
20435 test -z "$ac_c_werror_flag" ||
20436 test ! -s conftest.err
20437 } && test -s conftest.$ac_objext; then
20438 ac_hi=$ac_mid
20439 else
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20442
20443 ac_lo=`expr '(' $ac_mid ')' + 1`
20444 fi
20445
20446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20447 done
20448 case $ac_lo in
20449 ?*) ac_cv_sizeof_short=$ac_lo;;
20450 '') if test "$ac_cv_type_short" = yes; then
20451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20452 See \`config.log' for more details." >&5
20453 echo "$as_me: error: cannot compute sizeof (short)
20454 See \`config.log' for more details." >&2;}
20455 { (exit 77); exit 77; }; }
20456 else
20457 ac_cv_sizeof_short=0
20458 fi ;;
20459 esac
20460 else
20461 cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h. */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 $ac_includes_default
20468 typedef short ac__type_sizeof_;
20469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20471 #include <stdio.h>
20472 #include <stdlib.h>
20473 int
20474 main ()
20475 {
20476
20477 FILE *f = fopen ("conftest.val", "w");
20478 if (! f)
20479 return 1;
20480 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20481 {
20482 long int i = longval ();
20483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20484 return 1;
20485 fprintf (f, "%ld\n", i);
20486 }
20487 else
20488 {
20489 unsigned long int i = ulongval ();
20490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20491 return 1;
20492 fprintf (f, "%lu\n", i);
20493 }
20494 return ferror (f) || fclose (f) != 0;
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest$ac_exeext
20501 if { (ac_try="$ac_link"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20505 esac
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_link") 2>&5
20508 ac_status=$?
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20511 { (case "(($ac_try" in
20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20514 esac
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_try") 2>&5
20517 ac_status=$?
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); }; }; then
20520 ac_cv_sizeof_short=`cat conftest.val`
20521 else
20522 echo "$as_me: program exited with status $ac_status" >&5
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20525
20526 ( exit $ac_status )
20527 if test "$ac_cv_type_short" = yes; then
20528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20529 See \`config.log' for more details." >&5
20530 echo "$as_me: error: cannot compute sizeof (short)
20531 See \`config.log' for more details." >&2;}
20532 { (exit 77); exit 77; }; }
20533 else
20534 ac_cv_sizeof_short=0
20535 fi
20536 fi
20537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20538 fi
20539 rm -f conftest.val
20540 fi
20541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20542 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20543
20544
20545
20546 cat >>confdefs.h <<_ACEOF
20547 #define SIZEOF_SHORT $ac_cv_sizeof_short
20548 _ACEOF
20549
20550
20551 { echo "$as_me:$LINENO: checking for void *" >&5
20552 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20553 if test "${ac_cv_type_void_p+set}" = set; then
20554 echo $ECHO_N "(cached) $ECHO_C" >&6
20555 else
20556 cat >conftest.$ac_ext <<_ACEOF
20557 /* confdefs.h. */
20558 _ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 $ac_includes_default
20563 typedef void * ac__type_new_;
20564 int
20565 main ()
20566 {
20567 if ((ac__type_new_ *) 0)
20568 return 0;
20569 if (sizeof (ac__type_new_))
20570 return 0;
20571 ;
20572 return 0;
20573 }
20574 _ACEOF
20575 rm -f conftest.$ac_objext
20576 if { (ac_try="$ac_compile"
20577 case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20579 *) ac_try_echo=$ac_try;;
20580 esac
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_compile") 2>conftest.er1
20583 ac_status=$?
20584 grep -v '^ *+' conftest.er1 >conftest.err
20585 rm -f conftest.er1
20586 cat conftest.err >&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } && {
20589 test -z "$ac_c_werror_flag" ||
20590 test ! -s conftest.err
20591 } && test -s conftest.$ac_objext; then
20592 ac_cv_type_void_p=yes
20593 else
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.$ac_ext >&5
20596
20597 ac_cv_type_void_p=no
20598 fi
20599
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601 fi
20602 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20603 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20604
20605 # The cast to long int works around a bug in the HP C Compiler
20606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20608 # This bug is HP SR number 8606223364.
20609 { echo "$as_me:$LINENO: checking size of void *" >&5
20610 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20611 if test "${ac_cv_sizeof_void_p+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 else
20614 if test "$cross_compiling" = yes; then
20615 # Depending upon the size, compute the lo and hi bounds.
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20623 typedef void * ac__type_sizeof_;
20624 int
20625 main ()
20626 {
20627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20628 test_array [0] = 0
20629
20630 ;
20631 return 0;
20632 }
20633 _ACEOF
20634 rm -f conftest.$ac_objext
20635 if { (ac_try="$ac_compile"
20636 case "(($ac_try" in
20637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20638 *) ac_try_echo=$ac_try;;
20639 esac
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_compile") 2>conftest.er1
20642 ac_status=$?
20643 grep -v '^ *+' conftest.er1 >conftest.err
20644 rm -f conftest.er1
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } && {
20648 test -z "$ac_c_werror_flag" ||
20649 test ! -s conftest.err
20650 } && test -s conftest.$ac_objext; then
20651 ac_lo=0 ac_mid=0
20652 while :; do
20653 cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h. */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 $ac_includes_default
20660 typedef void * ac__type_sizeof_;
20661 int
20662 main ()
20663 {
20664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20665 test_array [0] = 0
20666
20667 ;
20668 return 0;
20669 }
20670 _ACEOF
20671 rm -f conftest.$ac_objext
20672 if { (ac_try="$ac_compile"
20673 case "(($ac_try" in
20674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20675 *) ac_try_echo=$ac_try;;
20676 esac
20677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20678 (eval "$ac_compile") 2>conftest.er1
20679 ac_status=$?
20680 grep -v '^ *+' conftest.er1 >conftest.err
20681 rm -f conftest.er1
20682 cat conftest.err >&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } && {
20685 test -z "$ac_c_werror_flag" ||
20686 test ! -s conftest.err
20687 } && test -s conftest.$ac_objext; then
20688 ac_hi=$ac_mid; break
20689 else
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.$ac_ext >&5
20692
20693 ac_lo=`expr $ac_mid + 1`
20694 if test $ac_lo -le $ac_mid; then
20695 ac_lo= ac_hi=
20696 break
20697 fi
20698 ac_mid=`expr 2 '*' $ac_mid + 1`
20699 fi
20700
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20702 done
20703 else
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20706
20707 cat >conftest.$ac_ext <<_ACEOF
20708 /* confdefs.h. */
20709 _ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 $ac_includes_default
20714 typedef void * ac__type_sizeof_;
20715 int
20716 main ()
20717 {
20718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20719 test_array [0] = 0
20720
20721 ;
20722 return 0;
20723 }
20724 _ACEOF
20725 rm -f conftest.$ac_objext
20726 if { (ac_try="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20730 esac
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20733 ac_status=$?
20734 grep -v '^ *+' conftest.er1 >conftest.err
20735 rm -f conftest.er1
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.$ac_objext; then
20742 ac_hi=-1 ac_mid=-1
20743 while :; do
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h. */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 typedef void * ac__type_sizeof_;
20752 int
20753 main ()
20754 {
20755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20756 test_array [0] = 0
20757
20758 ;
20759 return 0;
20760 }
20761 _ACEOF
20762 rm -f conftest.$ac_objext
20763 if { (ac_try="$ac_compile"
20764 case "(($ac_try" in
20765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20766 *) ac_try_echo=$ac_try;;
20767 esac
20768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20769 (eval "$ac_compile") 2>conftest.er1
20770 ac_status=$?
20771 grep -v '^ *+' conftest.er1 >conftest.err
20772 rm -f conftest.er1
20773 cat conftest.err >&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } && {
20776 test -z "$ac_c_werror_flag" ||
20777 test ! -s conftest.err
20778 } && test -s conftest.$ac_objext; then
20779 ac_lo=$ac_mid; break
20780 else
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20783
20784 ac_hi=`expr '(' $ac_mid ')' - 1`
20785 if test $ac_mid -le $ac_hi; then
20786 ac_lo= ac_hi=
20787 break
20788 fi
20789 ac_mid=`expr 2 '*' $ac_mid`
20790 fi
20791
20792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20793 done
20794 else
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20797
20798 ac_lo= ac_hi=
20799 fi
20800
20801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802 fi
20803
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805 # Binary search between lo and hi bounds.
20806 while test "x$ac_lo" != "x$ac_hi"; do
20807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20808 cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h. */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20815 typedef void * ac__type_sizeof_;
20816 int
20817 main ()
20818 {
20819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20820 test_array [0] = 0
20821
20822 ;
20823 return 0;
20824 }
20825 _ACEOF
20826 rm -f conftest.$ac_objext
20827 if { (ac_try="$ac_compile"
20828 case "(($ac_try" in
20829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20830 *) ac_try_echo=$ac_try;;
20831 esac
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833 (eval "$ac_compile") 2>conftest.er1
20834 ac_status=$?
20835 grep -v '^ *+' conftest.er1 >conftest.err
20836 rm -f conftest.er1
20837 cat conftest.err >&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && {
20840 test -z "$ac_c_werror_flag" ||
20841 test ! -s conftest.err
20842 } && test -s conftest.$ac_objext; then
20843 ac_hi=$ac_mid
20844 else
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20847
20848 ac_lo=`expr '(' $ac_mid ')' + 1`
20849 fi
20850
20851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20852 done
20853 case $ac_lo in
20854 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20855 '') if test "$ac_cv_type_void_p" = yes; then
20856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20857 See \`config.log' for more details." >&5
20858 echo "$as_me: error: cannot compute sizeof (void *)
20859 See \`config.log' for more details." >&2;}
20860 { (exit 77); exit 77; }; }
20861 else
20862 ac_cv_sizeof_void_p=0
20863 fi ;;
20864 esac
20865 else
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20873 typedef void * ac__type_sizeof_;
20874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20876 #include <stdio.h>
20877 #include <stdlib.h>
20878 int
20879 main ()
20880 {
20881
20882 FILE *f = fopen ("conftest.val", "w");
20883 if (! f)
20884 return 1;
20885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20886 {
20887 long int i = longval ();
20888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20889 return 1;
20890 fprintf (f, "%ld\n", i);
20891 }
20892 else
20893 {
20894 unsigned long int i = ulongval ();
20895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20896 return 1;
20897 fprintf (f, "%lu\n", i);
20898 }
20899 return ferror (f) || fclose (f) != 0;
20900
20901 ;
20902 return 0;
20903 }
20904 _ACEOF
20905 rm -f conftest$ac_exeext
20906 if { (ac_try="$ac_link"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20910 esac
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_link") 2>&5
20913 ac_status=$?
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20916 { (case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20919 esac
20920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_try") 2>&5
20922 ac_status=$?
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); }; }; then
20925 ac_cv_sizeof_void_p=`cat conftest.val`
20926 else
20927 echo "$as_me: program exited with status $ac_status" >&5
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20930
20931 ( exit $ac_status )
20932 if test "$ac_cv_type_void_p" = yes; then
20933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20934 See \`config.log' for more details." >&5
20935 echo "$as_me: error: cannot compute sizeof (void *)
20936 See \`config.log' for more details." >&2;}
20937 { (exit 77); exit 77; }; }
20938 else
20939 ac_cv_sizeof_void_p=0
20940 fi
20941 fi
20942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20943 fi
20944 rm -f conftest.val
20945 fi
20946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20947 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20948
20949
20950
20951 cat >>confdefs.h <<_ACEOF
20952 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20953 _ACEOF
20954
20955
20956 { echo "$as_me:$LINENO: checking for int" >&5
20957 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20958 if test "${ac_cv_type_int+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20961 cat >conftest.$ac_ext <<_ACEOF
20962 /* confdefs.h. */
20963 _ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20968 typedef int ac__type_new_;
20969 int
20970 main ()
20971 {
20972 if ((ac__type_new_ *) 0)
20973 return 0;
20974 if (sizeof (ac__type_new_))
20975 return 0;
20976 ;
20977 return 0;
20978 }
20979 _ACEOF
20980 rm -f conftest.$ac_objext
20981 if { (ac_try="$ac_compile"
20982 case "(($ac_try" in
20983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984 *) ac_try_echo=$ac_try;;
20985 esac
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_compile") 2>conftest.er1
20988 ac_status=$?
20989 grep -v '^ *+' conftest.er1 >conftest.err
20990 rm -f conftest.er1
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && {
20994 test -z "$ac_c_werror_flag" ||
20995 test ! -s conftest.err
20996 } && test -s conftest.$ac_objext; then
20997 ac_cv_type_int=yes
20998 else
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21001
21002 ac_cv_type_int=no
21003 fi
21004
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 fi
21007 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21008 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21009
21010 # The cast to long int works around a bug in the HP C Compiler
21011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21013 # This bug is HP SR number 8606223364.
21014 { echo "$as_me:$LINENO: checking size of int" >&5
21015 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21016 if test "${ac_cv_sizeof_int+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21018 else
21019 if test "$cross_compiling" = yes; then
21020 # Depending upon the size, compute the lo and hi bounds.
21021 cat >conftest.$ac_ext <<_ACEOF
21022 /* confdefs.h. */
21023 _ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 $ac_includes_default
21028 typedef int ac__type_sizeof_;
21029 int
21030 main ()
21031 {
21032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21033 test_array [0] = 0
21034
21035 ;
21036 return 0;
21037 }
21038 _ACEOF
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043 *) ac_try_echo=$ac_try;;
21044 esac
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && {
21053 test -z "$ac_c_werror_flag" ||
21054 test ! -s conftest.err
21055 } && test -s conftest.$ac_objext; then
21056 ac_lo=0 ac_mid=0
21057 while :; do
21058 cat >conftest.$ac_ext <<_ACEOF
21059 /* confdefs.h. */
21060 _ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21065 typedef int ac__type_sizeof_;
21066 int
21067 main ()
21068 {
21069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21070 test_array [0] = 0
21071
21072 ;
21073 return 0;
21074 }
21075 _ACEOF
21076 rm -f conftest.$ac_objext
21077 if { (ac_try="$ac_compile"
21078 case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080 *) ac_try_echo=$ac_try;;
21081 esac
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_compile") 2>conftest.er1
21084 ac_status=$?
21085 grep -v '^ *+' conftest.er1 >conftest.err
21086 rm -f conftest.er1
21087 cat conftest.err >&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } && {
21090 test -z "$ac_c_werror_flag" ||
21091 test ! -s conftest.err
21092 } && test -s conftest.$ac_objext; then
21093 ac_hi=$ac_mid; break
21094 else
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.$ac_ext >&5
21097
21098 ac_lo=`expr $ac_mid + 1`
21099 if test $ac_lo -le $ac_mid; then
21100 ac_lo= ac_hi=
21101 break
21102 fi
21103 ac_mid=`expr 2 '*' $ac_mid + 1`
21104 fi
21105
21106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107 done
21108 else
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21111
21112 cat >conftest.$ac_ext <<_ACEOF
21113 /* confdefs.h. */
21114 _ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21118 $ac_includes_default
21119 typedef int ac__type_sizeof_;
21120 int
21121 main ()
21122 {
21123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21124 test_array [0] = 0
21125
21126 ;
21127 return 0;
21128 }
21129 _ACEOF
21130 rm -f conftest.$ac_objext
21131 if { (ac_try="$ac_compile"
21132 case "(($ac_try" in
21133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21134 *) ac_try_echo=$ac_try;;
21135 esac
21136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_compile") 2>conftest.er1
21138 ac_status=$?
21139 grep -v '^ *+' conftest.er1 >conftest.err
21140 rm -f conftest.er1
21141 cat conftest.err >&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } && {
21144 test -z "$ac_c_werror_flag" ||
21145 test ! -s conftest.err
21146 } && test -s conftest.$ac_objext; then
21147 ac_hi=-1 ac_mid=-1
21148 while :; do
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef int ac__type_sizeof_;
21157 int
21158 main ()
21159 {
21160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21161 test_array [0] = 0
21162
21163 ;
21164 return 0;
21165 }
21166 _ACEOF
21167 rm -f conftest.$ac_objext
21168 if { (ac_try="$ac_compile"
21169 case "(($ac_try" in
21170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21171 *) ac_try_echo=$ac_try;;
21172 esac
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_compile") 2>conftest.er1
21175 ac_status=$?
21176 grep -v '^ *+' conftest.er1 >conftest.err
21177 rm -f conftest.er1
21178 cat conftest.err >&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } && {
21181 test -z "$ac_c_werror_flag" ||
21182 test ! -s conftest.err
21183 } && test -s conftest.$ac_objext; then
21184 ac_lo=$ac_mid; break
21185 else
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21188
21189 ac_hi=`expr '(' $ac_mid ')' - 1`
21190 if test $ac_mid -le $ac_hi; then
21191 ac_lo= ac_hi=
21192 break
21193 fi
21194 ac_mid=`expr 2 '*' $ac_mid`
21195 fi
21196
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198 done
21199 else
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.$ac_ext >&5
21202
21203 ac_lo= ac_hi=
21204 fi
21205
21206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21207 fi
21208
21209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21210 # Binary search between lo and hi bounds.
21211 while test "x$ac_lo" != "x$ac_hi"; do
21212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21213 cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h. */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 $ac_includes_default
21220 typedef int ac__type_sizeof_;
21221 int
21222 main ()
21223 {
21224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21225 test_array [0] = 0
21226
21227 ;
21228 return 0;
21229 }
21230 _ACEOF
21231 rm -f conftest.$ac_objext
21232 if { (ac_try="$ac_compile"
21233 case "(($ac_try" in
21234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21235 *) ac_try_echo=$ac_try;;
21236 esac
21237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21238 (eval "$ac_compile") 2>conftest.er1
21239 ac_status=$?
21240 grep -v '^ *+' conftest.er1 >conftest.err
21241 rm -f conftest.er1
21242 cat conftest.err >&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } && {
21245 test -z "$ac_c_werror_flag" ||
21246 test ! -s conftest.err
21247 } && test -s conftest.$ac_objext; then
21248 ac_hi=$ac_mid
21249 else
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21252
21253 ac_lo=`expr '(' $ac_mid ')' + 1`
21254 fi
21255
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21257 done
21258 case $ac_lo in
21259 ?*) ac_cv_sizeof_int=$ac_lo;;
21260 '') if test "$ac_cv_type_int" = yes; then
21261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21262 See \`config.log' for more details." >&5
21263 echo "$as_me: error: cannot compute sizeof (int)
21264 See \`config.log' for more details." >&2;}
21265 { (exit 77); exit 77; }; }
21266 else
21267 ac_cv_sizeof_int=0
21268 fi ;;
21269 esac
21270 else
21271 cat >conftest.$ac_ext <<_ACEOF
21272 /* confdefs.h. */
21273 _ACEOF
21274 cat confdefs.h >>conftest.$ac_ext
21275 cat >>conftest.$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 $ac_includes_default
21278 typedef int ac__type_sizeof_;
21279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21281 #include <stdio.h>
21282 #include <stdlib.h>
21283 int
21284 main ()
21285 {
21286
21287 FILE *f = fopen ("conftest.val", "w");
21288 if (! f)
21289 return 1;
21290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21291 {
21292 long int i = longval ();
21293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21294 return 1;
21295 fprintf (f, "%ld\n", i);
21296 }
21297 else
21298 {
21299 unsigned long int i = ulongval ();
21300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21301 return 1;
21302 fprintf (f, "%lu\n", i);
21303 }
21304 return ferror (f) || fclose (f) != 0;
21305
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest$ac_exeext
21311 if { (ac_try="$ac_link"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21315 esac
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_link") 2>&5
21318 ac_status=$?
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21321 { (case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_try") 2>&5
21327 ac_status=$?
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; }; then
21330 ac_cv_sizeof_int=`cat conftest.val`
21331 else
21332 echo "$as_me: program exited with status $ac_status" >&5
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21335
21336 ( exit $ac_status )
21337 if test "$ac_cv_type_int" = yes; then
21338 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21339 See \`config.log' for more details." >&5
21340 echo "$as_me: error: cannot compute sizeof (int)
21341 See \`config.log' for more details." >&2;}
21342 { (exit 77); exit 77; }; }
21343 else
21344 ac_cv_sizeof_int=0
21345 fi
21346 fi
21347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21348 fi
21349 rm -f conftest.val
21350 fi
21351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21352 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21353
21354
21355
21356 cat >>confdefs.h <<_ACEOF
21357 #define SIZEOF_INT $ac_cv_sizeof_int
21358 _ACEOF
21359
21360
21361 { echo "$as_me:$LINENO: checking for long" >&5
21362 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21363 if test "${ac_cv_type_long+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21365 else
21366 cat >conftest.$ac_ext <<_ACEOF
21367 /* confdefs.h. */
21368 _ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 $ac_includes_default
21373 typedef long ac__type_new_;
21374 int
21375 main ()
21376 {
21377 if ((ac__type_new_ *) 0)
21378 return 0;
21379 if (sizeof (ac__type_new_))
21380 return 0;
21381 ;
21382 return 0;
21383 }
21384 _ACEOF
21385 rm -f conftest.$ac_objext
21386 if { (ac_try="$ac_compile"
21387 case "(($ac_try" in
21388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21389 *) ac_try_echo=$ac_try;;
21390 esac
21391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21392 (eval "$ac_compile") 2>conftest.er1
21393 ac_status=$?
21394 grep -v '^ *+' conftest.er1 >conftest.err
21395 rm -f conftest.er1
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } && {
21399 test -z "$ac_c_werror_flag" ||
21400 test ! -s conftest.err
21401 } && test -s conftest.$ac_objext; then
21402 ac_cv_type_long=yes
21403 else
21404 echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.$ac_ext >&5
21406
21407 ac_cv_type_long=no
21408 fi
21409
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411 fi
21412 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21413 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21414
21415 # The cast to long int works around a bug in the HP C Compiler
21416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21418 # This bug is HP SR number 8606223364.
21419 { echo "$as_me:$LINENO: checking size of long" >&5
21420 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21421 if test "${ac_cv_sizeof_long+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21423 else
21424 if test "$cross_compiling" = yes; then
21425 # Depending upon the size, compute the lo and hi bounds.
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 $ac_includes_default
21433 typedef long ac__type_sizeof_;
21434 int
21435 main ()
21436 {
21437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21438 test_array [0] = 0
21439
21440 ;
21441 return 0;
21442 }
21443 _ACEOF
21444 rm -f conftest.$ac_objext
21445 if { (ac_try="$ac_compile"
21446 case "(($ac_try" in
21447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21448 *) ac_try_echo=$ac_try;;
21449 esac
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451 (eval "$ac_compile") 2>conftest.er1
21452 ac_status=$?
21453 grep -v '^ *+' conftest.er1 >conftest.err
21454 rm -f conftest.er1
21455 cat conftest.err >&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } && {
21458 test -z "$ac_c_werror_flag" ||
21459 test ! -s conftest.err
21460 } && test -s conftest.$ac_objext; then
21461 ac_lo=0 ac_mid=0
21462 while :; do
21463 cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h. */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21470 typedef long ac__type_sizeof_;
21471 int
21472 main ()
21473 {
21474 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21475 test_array [0] = 0
21476
21477 ;
21478 return 0;
21479 }
21480 _ACEOF
21481 rm -f conftest.$ac_objext
21482 if { (ac_try="$ac_compile"
21483 case "(($ac_try" in
21484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485 *) ac_try_echo=$ac_try;;
21486 esac
21487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488 (eval "$ac_compile") 2>conftest.er1
21489 ac_status=$?
21490 grep -v '^ *+' conftest.er1 >conftest.err
21491 rm -f conftest.er1
21492 cat conftest.err >&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } && {
21495 test -z "$ac_c_werror_flag" ||
21496 test ! -s conftest.err
21497 } && test -s conftest.$ac_objext; then
21498 ac_hi=$ac_mid; break
21499 else
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.$ac_ext >&5
21502
21503 ac_lo=`expr $ac_mid + 1`
21504 if test $ac_lo -le $ac_mid; then
21505 ac_lo= ac_hi=
21506 break
21507 fi
21508 ac_mid=`expr 2 '*' $ac_mid + 1`
21509 fi
21510
21511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512 done
21513 else
21514 echo "$as_me: failed program was:" >&5
21515 sed 's/^/| /' conftest.$ac_ext >&5
21516
21517 cat >conftest.$ac_ext <<_ACEOF
21518 /* confdefs.h. */
21519 _ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 $ac_includes_default
21524 typedef long ac__type_sizeof_;
21525 int
21526 main ()
21527 {
21528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21529 test_array [0] = 0
21530
21531 ;
21532 return 0;
21533 }
21534 _ACEOF
21535 rm -f conftest.$ac_objext
21536 if { (ac_try="$ac_compile"
21537 case "(($ac_try" in
21538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21539 *) ac_try_echo=$ac_try;;
21540 esac
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_compile") 2>conftest.er1
21543 ac_status=$?
21544 grep -v '^ *+' conftest.er1 >conftest.err
21545 rm -f conftest.er1
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } && {
21549 test -z "$ac_c_werror_flag" ||
21550 test ! -s conftest.err
21551 } && test -s conftest.$ac_objext; then
21552 ac_hi=-1 ac_mid=-1
21553 while :; do
21554 cat >conftest.$ac_ext <<_ACEOF
21555 /* confdefs.h. */
21556 _ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 $ac_includes_default
21561 typedef long ac__type_sizeof_;
21562 int
21563 main ()
21564 {
21565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21566 test_array [0] = 0
21567
21568 ;
21569 return 0;
21570 }
21571 _ACEOF
21572 rm -f conftest.$ac_objext
21573 if { (ac_try="$ac_compile"
21574 case "(($ac_try" in
21575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21576 *) ac_try_echo=$ac_try;;
21577 esac
21578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21579 (eval "$ac_compile") 2>conftest.er1
21580 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } && {
21586 test -z "$ac_c_werror_flag" ||
21587 test ! -s conftest.err
21588 } && test -s conftest.$ac_objext; then
21589 ac_lo=$ac_mid; break
21590 else
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21593
21594 ac_hi=`expr '(' $ac_mid ')' - 1`
21595 if test $ac_mid -le $ac_hi; then
21596 ac_lo= ac_hi=
21597 break
21598 fi
21599 ac_mid=`expr 2 '*' $ac_mid`
21600 fi
21601
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603 done
21604 else
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 ac_lo= ac_hi=
21609 fi
21610
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 fi
21613
21614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 # Binary search between lo and hi bounds.
21616 while test "x$ac_lo" != "x$ac_hi"; do
21617 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21618 cat >conftest.$ac_ext <<_ACEOF
21619 /* confdefs.h. */
21620 _ACEOF
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 $ac_includes_default
21625 typedef long ac__type_sizeof_;
21626 int
21627 main ()
21628 {
21629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21630 test_array [0] = 0
21631
21632 ;
21633 return 0;
21634 }
21635 _ACEOF
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21641 esac
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21644 ac_status=$?
21645 grep -v '^ *+' conftest.er1 >conftest.err
21646 rm -f conftest.er1
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && {
21650 test -z "$ac_c_werror_flag" ||
21651 test ! -s conftest.err
21652 } && test -s conftest.$ac_objext; then
21653 ac_hi=$ac_mid
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658 ac_lo=`expr '(' $ac_mid ')' + 1`
21659 fi
21660
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21662 done
21663 case $ac_lo in
21664 ?*) ac_cv_sizeof_long=$ac_lo;;
21665 '') if test "$ac_cv_type_long" = yes; then
21666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21667 See \`config.log' for more details." >&5
21668 echo "$as_me: error: cannot compute sizeof (long)
21669 See \`config.log' for more details." >&2;}
21670 { (exit 77); exit 77; }; }
21671 else
21672 ac_cv_sizeof_long=0
21673 fi ;;
21674 esac
21675 else
21676 cat >conftest.$ac_ext <<_ACEOF
21677 /* confdefs.h. */
21678 _ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 $ac_includes_default
21683 typedef long ac__type_sizeof_;
21684 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21685 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21686 #include <stdio.h>
21687 #include <stdlib.h>
21688 int
21689 main ()
21690 {
21691
21692 FILE *f = fopen ("conftest.val", "w");
21693 if (! f)
21694 return 1;
21695 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21696 {
21697 long int i = longval ();
21698 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21699 return 1;
21700 fprintf (f, "%ld\n", i);
21701 }
21702 else
21703 {
21704 unsigned long int i = ulongval ();
21705 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21706 return 1;
21707 fprintf (f, "%lu\n", i);
21708 }
21709 return ferror (f) || fclose (f) != 0;
21710
21711 ;
21712 return 0;
21713 }
21714 _ACEOF
21715 rm -f conftest$ac_exeext
21716 if { (ac_try="$ac_link"
21717 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21720 esac
21721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_link") 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21726 { (case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21729 esac
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_try") 2>&5
21732 ac_status=$?
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); }; }; then
21735 ac_cv_sizeof_long=`cat conftest.val`
21736 else
21737 echo "$as_me: program exited with status $ac_status" >&5
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21740
21741 ( exit $ac_status )
21742 if test "$ac_cv_type_long" = yes; then
21743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21744 See \`config.log' for more details." >&5
21745 echo "$as_me: error: cannot compute sizeof (long)
21746 See \`config.log' for more details." >&2;}
21747 { (exit 77); exit 77; }; }
21748 else
21749 ac_cv_sizeof_long=0
21750 fi
21751 fi
21752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21753 fi
21754 rm -f conftest.val
21755 fi
21756 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21757 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21758
21759
21760
21761 cat >>confdefs.h <<_ACEOF
21762 #define SIZEOF_LONG $ac_cv_sizeof_long
21763 _ACEOF
21764
21765
21766 { echo "$as_me:$LINENO: checking for size_t" >&5
21767 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21768 if test "${ac_cv_type_size_t+set}" = set; then
21769 echo $ECHO_N "(cached) $ECHO_C" >&6
21770 else
21771 cat >conftest.$ac_ext <<_ACEOF
21772 /* confdefs.h. */
21773 _ACEOF
21774 cat confdefs.h >>conftest.$ac_ext
21775 cat >>conftest.$ac_ext <<_ACEOF
21776 /* end confdefs.h. */
21777 $ac_includes_default
21778 typedef size_t ac__type_new_;
21779 int
21780 main ()
21781 {
21782 if ((ac__type_new_ *) 0)
21783 return 0;
21784 if (sizeof (ac__type_new_))
21785 return 0;
21786 ;
21787 return 0;
21788 }
21789 _ACEOF
21790 rm -f conftest.$ac_objext
21791 if { (ac_try="$ac_compile"
21792 case "(($ac_try" in
21793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21794 *) ac_try_echo=$ac_try;;
21795 esac
21796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21797 (eval "$ac_compile") 2>conftest.er1
21798 ac_status=$?
21799 grep -v '^ *+' conftest.er1 >conftest.err
21800 rm -f conftest.er1
21801 cat conftest.err >&5
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } && {
21804 test -z "$ac_c_werror_flag" ||
21805 test ! -s conftest.err
21806 } && test -s conftest.$ac_objext; then
21807 ac_cv_type_size_t=yes
21808 else
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21811
21812 ac_cv_type_size_t=no
21813 fi
21814
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 fi
21817 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21818 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21819
21820 # The cast to long int works around a bug in the HP C Compiler
21821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21823 # This bug is HP SR number 8606223364.
21824 { echo "$as_me:$LINENO: checking size of size_t" >&5
21825 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21826 if test "${ac_cv_sizeof_size_t+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 else
21829 if test "$cross_compiling" = yes; then
21830 # Depending upon the size, compute the lo and hi bounds.
21831 cat >conftest.$ac_ext <<_ACEOF
21832 /* confdefs.h. */
21833 _ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21837 $ac_includes_default
21838 typedef size_t ac__type_sizeof_;
21839 int
21840 main ()
21841 {
21842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21843 test_array [0] = 0
21844
21845 ;
21846 return 0;
21847 }
21848 _ACEOF
21849 rm -f conftest.$ac_objext
21850 if { (ac_try="$ac_compile"
21851 case "(($ac_try" in
21852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21853 *) ac_try_echo=$ac_try;;
21854 esac
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_compile") 2>conftest.er1
21857 ac_status=$?
21858 grep -v '^ *+' conftest.er1 >conftest.err
21859 rm -f conftest.er1
21860 cat conftest.err >&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } && {
21863 test -z "$ac_c_werror_flag" ||
21864 test ! -s conftest.err
21865 } && test -s conftest.$ac_objext; then
21866 ac_lo=0 ac_mid=0
21867 while :; do
21868 cat >conftest.$ac_ext <<_ACEOF
21869 /* confdefs.h. */
21870 _ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 $ac_includes_default
21875 typedef size_t ac__type_sizeof_;
21876 int
21877 main ()
21878 {
21879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21880 test_array [0] = 0
21881
21882 ;
21883 return 0;
21884 }
21885 _ACEOF
21886 rm -f conftest.$ac_objext
21887 if { (ac_try="$ac_compile"
21888 case "(($ac_try" in
21889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21890 *) ac_try_echo=$ac_try;;
21891 esac
21892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893 (eval "$ac_compile") 2>conftest.er1
21894 ac_status=$?
21895 grep -v '^ *+' conftest.er1 >conftest.err
21896 rm -f conftest.er1
21897 cat conftest.err >&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } && {
21900 test -z "$ac_c_werror_flag" ||
21901 test ! -s conftest.err
21902 } && test -s conftest.$ac_objext; then
21903 ac_hi=$ac_mid; break
21904 else
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.$ac_ext >&5
21907
21908 ac_lo=`expr $ac_mid + 1`
21909 if test $ac_lo -le $ac_mid; then
21910 ac_lo= ac_hi=
21911 break
21912 fi
21913 ac_mid=`expr 2 '*' $ac_mid + 1`
21914 fi
21915
21916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21917 done
21918 else
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.$ac_ext >&5
21921
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 typedef size_t ac__type_sizeof_;
21930 int
21931 main ()
21932 {
21933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21934 test_array [0] = 0
21935
21936 ;
21937 return 0;
21938 }
21939 _ACEOF
21940 rm -f conftest.$ac_objext
21941 if { (ac_try="$ac_compile"
21942 case "(($ac_try" in
21943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21944 *) ac_try_echo=$ac_try;;
21945 esac
21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_compile") 2>conftest.er1
21948 ac_status=$?
21949 grep -v '^ *+' conftest.er1 >conftest.err
21950 rm -f conftest.er1
21951 cat conftest.err >&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } && {
21954 test -z "$ac_c_werror_flag" ||
21955 test ! -s conftest.err
21956 } && test -s conftest.$ac_objext; then
21957 ac_hi=-1 ac_mid=-1
21958 while :; do
21959 cat >conftest.$ac_ext <<_ACEOF
21960 /* confdefs.h. */
21961 _ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 $ac_includes_default
21966 typedef size_t ac__type_sizeof_;
21967 int
21968 main ()
21969 {
21970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21971 test_array [0] = 0
21972
21973 ;
21974 return 0;
21975 }
21976 _ACEOF
21977 rm -f conftest.$ac_objext
21978 if { (ac_try="$ac_compile"
21979 case "(($ac_try" in
21980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21981 *) ac_try_echo=$ac_try;;
21982 esac
21983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21984 (eval "$ac_compile") 2>conftest.er1
21985 ac_status=$?
21986 grep -v '^ *+' conftest.er1 >conftest.err
21987 rm -f conftest.er1
21988 cat conftest.err >&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } && {
21991 test -z "$ac_c_werror_flag" ||
21992 test ! -s conftest.err
21993 } && test -s conftest.$ac_objext; then
21994 ac_lo=$ac_mid; break
21995 else
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21998
21999 ac_hi=`expr '(' $ac_mid ')' - 1`
22000 if test $ac_mid -le $ac_hi; then
22001 ac_lo= ac_hi=
22002 break
22003 fi
22004 ac_mid=`expr 2 '*' $ac_mid`
22005 fi
22006
22007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22008 done
22009 else
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.$ac_ext >&5
22012
22013 ac_lo= ac_hi=
22014 fi
22015
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 fi
22018
22019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22020 # Binary search between lo and hi bounds.
22021 while test "x$ac_lo" != "x$ac_hi"; do
22022 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22023 cat >conftest.$ac_ext <<_ACEOF
22024 /* confdefs.h. */
22025 _ACEOF
22026 cat confdefs.h >>conftest.$ac_ext
22027 cat >>conftest.$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22029 $ac_includes_default
22030 typedef size_t ac__type_sizeof_;
22031 int
22032 main ()
22033 {
22034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22035 test_array [0] = 0
22036
22037 ;
22038 return 0;
22039 }
22040 _ACEOF
22041 rm -f conftest.$ac_objext
22042 if { (ac_try="$ac_compile"
22043 case "(($ac_try" in
22044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22045 *) ac_try_echo=$ac_try;;
22046 esac
22047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22048 (eval "$ac_compile") 2>conftest.er1
22049 ac_status=$?
22050 grep -v '^ *+' conftest.er1 >conftest.err
22051 rm -f conftest.er1
22052 cat conftest.err >&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } && {
22055 test -z "$ac_c_werror_flag" ||
22056 test ! -s conftest.err
22057 } && test -s conftest.$ac_objext; then
22058 ac_hi=$ac_mid
22059 else
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22062
22063 ac_lo=`expr '(' $ac_mid ')' + 1`
22064 fi
22065
22066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22067 done
22068 case $ac_lo in
22069 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22070 '') if test "$ac_cv_type_size_t" = yes; then
22071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22072 See \`config.log' for more details." >&5
22073 echo "$as_me: error: cannot compute sizeof (size_t)
22074 See \`config.log' for more details." >&2;}
22075 { (exit 77); exit 77; }; }
22076 else
22077 ac_cv_sizeof_size_t=0
22078 fi ;;
22079 esac
22080 else
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef size_t ac__type_sizeof_;
22089 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22090 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22091 #include <stdio.h>
22092 #include <stdlib.h>
22093 int
22094 main ()
22095 {
22096
22097 FILE *f = fopen ("conftest.val", "w");
22098 if (! f)
22099 return 1;
22100 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22101 {
22102 long int i = longval ();
22103 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22104 return 1;
22105 fprintf (f, "%ld\n", i);
22106 }
22107 else
22108 {
22109 unsigned long int i = ulongval ();
22110 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22111 return 1;
22112 fprintf (f, "%lu\n", i);
22113 }
22114 return ferror (f) || fclose (f) != 0;
22115
22116 ;
22117 return 0;
22118 }
22119 _ACEOF
22120 rm -f conftest$ac_exeext
22121 if { (ac_try="$ac_link"
22122 case "(($ac_try" in
22123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22124 *) ac_try_echo=$ac_try;;
22125 esac
22126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22127 (eval "$ac_link") 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22131 { (case "(($ac_try" in
22132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22133 *) ac_try_echo=$ac_try;;
22134 esac
22135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22136 (eval "$ac_try") 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 ac_cv_sizeof_size_t=`cat conftest.val`
22141 else
22142 echo "$as_me: program exited with status $ac_status" >&5
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 ( exit $ac_status )
22147 if test "$ac_cv_type_size_t" = yes; then
22148 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22149 See \`config.log' for more details." >&5
22150 echo "$as_me: error: cannot compute sizeof (size_t)
22151 See \`config.log' for more details." >&2;}
22152 { (exit 77); exit 77; }; }
22153 else
22154 ac_cv_sizeof_size_t=0
22155 fi
22156 fi
22157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22158 fi
22159 rm -f conftest.val
22160 fi
22161 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22162 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22163
22164
22165
22166 cat >>confdefs.h <<_ACEOF
22167 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22168 _ACEOF
22169
22170
22171
22172 case "${host}" in
22173 arm-*-linux* )
22174 { echo "$as_me:$LINENO: checking for long long" >&5
22175 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22176 if test "${ac_cv_type_long_long+set}" = set; then
22177 echo $ECHO_N "(cached) $ECHO_C" >&6
22178 else
22179 cat >conftest.$ac_ext <<_ACEOF
22180 /* confdefs.h. */
22181 _ACEOF
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 $ac_includes_default
22186 typedef long long ac__type_new_;
22187 int
22188 main ()
22189 {
22190 if ((ac__type_new_ *) 0)
22191 return 0;
22192 if (sizeof (ac__type_new_))
22193 return 0;
22194 ;
22195 return 0;
22196 }
22197 _ACEOF
22198 rm -f conftest.$ac_objext
22199 if { (ac_try="$ac_compile"
22200 case "(($ac_try" in
22201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22202 *) ac_try_echo=$ac_try;;
22203 esac
22204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22205 (eval "$ac_compile") 2>conftest.er1
22206 ac_status=$?
22207 grep -v '^ *+' conftest.er1 >conftest.err
22208 rm -f conftest.er1
22209 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } && {
22212 test -z "$ac_c_werror_flag" ||
22213 test ! -s conftest.err
22214 } && test -s conftest.$ac_objext; then
22215 ac_cv_type_long_long=yes
22216 else
22217 echo "$as_me: failed program was:" >&5
22218 sed 's/^/| /' conftest.$ac_ext >&5
22219
22220 ac_cv_type_long_long=no
22221 fi
22222
22223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22224 fi
22225 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22226 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22227
22228 # The cast to long int works around a bug in the HP C Compiler
22229 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22230 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22231 # This bug is HP SR number 8606223364.
22232 { echo "$as_me:$LINENO: checking size of long long" >&5
22233 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22234 if test "${ac_cv_sizeof_long_long+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 else
22237 if test "$cross_compiling" = yes; then
22238 # Depending upon the size, compute the lo and hi bounds.
22239 cat >conftest.$ac_ext <<_ACEOF
22240 /* confdefs.h. */
22241 _ACEOF
22242 cat confdefs.h >>conftest.$ac_ext
22243 cat >>conftest.$ac_ext <<_ACEOF
22244 /* end confdefs.h. */
22245 $ac_includes_default
22246 typedef long long ac__type_sizeof_;
22247 int
22248 main ()
22249 {
22250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22251 test_array [0] = 0
22252
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22262 esac
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.$ac_objext; then
22274 ac_lo=0 ac_mid=0
22275 while :; do
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef long long ac__type_sizeof_;
22284 int
22285 main ()
22286 {
22287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22288 test_array [0] = 0
22289
22290 ;
22291 return 0;
22292 }
22293 _ACEOF
22294 rm -f conftest.$ac_objext
22295 if { (ac_try="$ac_compile"
22296 case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22299 esac
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_compile") 2>conftest.er1
22302 ac_status=$?
22303 grep -v '^ *+' conftest.er1 >conftest.err
22304 rm -f conftest.er1
22305 cat conftest.err >&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } && {
22308 test -z "$ac_c_werror_flag" ||
22309 test ! -s conftest.err
22310 } && test -s conftest.$ac_objext; then
22311 ac_hi=$ac_mid; break
22312 else
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.$ac_ext >&5
22315
22316 ac_lo=`expr $ac_mid + 1`
22317 if test $ac_lo -le $ac_mid; then
22318 ac_lo= ac_hi=
22319 break
22320 fi
22321 ac_mid=`expr 2 '*' $ac_mid + 1`
22322 fi
22323
22324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22325 done
22326 else
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.$ac_ext >&5
22329
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef long long ac__type_sizeof_;
22338 int
22339 main ()
22340 {
22341 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22342 test_array [0] = 0
22343
22344 ;
22345 return 0;
22346 }
22347 _ACEOF
22348 rm -f conftest.$ac_objext
22349 if { (ac_try="$ac_compile"
22350 case "(($ac_try" in
22351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22352 *) ac_try_echo=$ac_try;;
22353 esac
22354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22355 (eval "$ac_compile") 2>conftest.er1
22356 ac_status=$?
22357 grep -v '^ *+' conftest.er1 >conftest.err
22358 rm -f conftest.er1
22359 cat conftest.err >&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); } && {
22362 test -z "$ac_c_werror_flag" ||
22363 test ! -s conftest.err
22364 } && test -s conftest.$ac_objext; then
22365 ac_hi=-1 ac_mid=-1
22366 while :; do
22367 cat >conftest.$ac_ext <<_ACEOF
22368 /* confdefs.h. */
22369 _ACEOF
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22373 $ac_includes_default
22374 typedef long long ac__type_sizeof_;
22375 int
22376 main ()
22377 {
22378 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22379 test_array [0] = 0
22380
22381 ;
22382 return 0;
22383 }
22384 _ACEOF
22385 rm -f conftest.$ac_objext
22386 if { (ac_try="$ac_compile"
22387 case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22389 *) ac_try_echo=$ac_try;;
22390 esac
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_compile") 2>conftest.er1
22393 ac_status=$?
22394 grep -v '^ *+' conftest.er1 >conftest.err
22395 rm -f conftest.er1
22396 cat conftest.err >&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err
22401 } && test -s conftest.$ac_objext; then
22402 ac_lo=$ac_mid; break
22403 else
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22406
22407 ac_hi=`expr '(' $ac_mid ')' - 1`
22408 if test $ac_mid -le $ac_hi; then
22409 ac_lo= ac_hi=
22410 break
22411 fi
22412 ac_mid=`expr 2 '*' $ac_mid`
22413 fi
22414
22415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22416 done
22417 else
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.$ac_ext >&5
22420
22421 ac_lo= ac_hi=
22422 fi
22423
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22425 fi
22426
22427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22428 # Binary search between lo and hi bounds.
22429 while test "x$ac_lo" != "x$ac_hi"; do
22430 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22431 cat >conftest.$ac_ext <<_ACEOF
22432 /* confdefs.h. */
22433 _ACEOF
22434 cat confdefs.h >>conftest.$ac_ext
22435 cat >>conftest.$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22437 $ac_includes_default
22438 typedef long long ac__type_sizeof_;
22439 int
22440 main ()
22441 {
22442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22443 test_array [0] = 0
22444
22445 ;
22446 return 0;
22447 }
22448 _ACEOF
22449 rm -f conftest.$ac_objext
22450 if { (ac_try="$ac_compile"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22454 esac
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_compile") 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest.$ac_objext; then
22466 ac_hi=$ac_mid
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 ac_lo=`expr '(' $ac_mid ')' + 1`
22472 fi
22473
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 done
22476 case $ac_lo in
22477 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22478 '') if test "$ac_cv_type_long_long" = yes; then
22479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22480 See \`config.log' for more details." >&5
22481 echo "$as_me: error: cannot compute sizeof (long long)
22482 See \`config.log' for more details." >&2;}
22483 { (exit 77); exit 77; }; }
22484 else
22485 ac_cv_sizeof_long_long=0
22486 fi ;;
22487 esac
22488 else
22489 cat >conftest.$ac_ext <<_ACEOF
22490 /* confdefs.h. */
22491 _ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495 $ac_includes_default
22496 typedef long long ac__type_sizeof_;
22497 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22498 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22499 #include <stdio.h>
22500 #include <stdlib.h>
22501 int
22502 main ()
22503 {
22504
22505 FILE *f = fopen ("conftest.val", "w");
22506 if (! f)
22507 return 1;
22508 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22509 {
22510 long int i = longval ();
22511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22512 return 1;
22513 fprintf (f, "%ld\n", i);
22514 }
22515 else
22516 {
22517 unsigned long int i = ulongval ();
22518 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22519 return 1;
22520 fprintf (f, "%lu\n", i);
22521 }
22522 return ferror (f) || fclose (f) != 0;
22523
22524 ;
22525 return 0;
22526 }
22527 _ACEOF
22528 rm -f conftest$ac_exeext
22529 if { (ac_try="$ac_link"
22530 case "(($ac_try" in
22531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22532 *) ac_try_echo=$ac_try;;
22533 esac
22534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22535 (eval "$ac_link") 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22539 { (case "(($ac_try" in
22540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22541 *) ac_try_echo=$ac_try;;
22542 esac
22543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22544 (eval "$ac_try") 2>&5
22545 ac_status=$?
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); }; }; then
22548 ac_cv_sizeof_long_long=`cat conftest.val`
22549 else
22550 echo "$as_me: program exited with status $ac_status" >&5
22551 echo "$as_me: failed program was:" >&5
22552 sed 's/^/| /' conftest.$ac_ext >&5
22553
22554 ( exit $ac_status )
22555 if test "$ac_cv_type_long_long" = yes; then
22556 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22557 See \`config.log' for more details." >&5
22558 echo "$as_me: error: cannot compute sizeof (long long)
22559 See \`config.log' for more details." >&2;}
22560 { (exit 77); exit 77; }; }
22561 else
22562 ac_cv_sizeof_long_long=0
22563 fi
22564 fi
22565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22566 fi
22567 rm -f conftest.val
22568 fi
22569 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22570 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22571
22572
22573
22574 cat >>confdefs.h <<_ACEOF
22575 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22576 _ACEOF
22577
22578
22579 ;;
22580 *-hp-hpux* )
22581 { echo "$as_me:$LINENO: checking for long long" >&5
22582 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22583 if test "${ac_cv_type_long_long+set}" = set; then
22584 echo $ECHO_N "(cached) $ECHO_C" >&6
22585 else
22586 cat >conftest.$ac_ext <<_ACEOF
22587 /* confdefs.h. */
22588 _ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef long long ac__type_new_;
22594 int
22595 main ()
22596 {
22597 if ((ac__type_new_ *) 0)
22598 return 0;
22599 if (sizeof (ac__type_new_))
22600 return 0;
22601 ;
22602 return 0;
22603 }
22604 _ACEOF
22605 rm -f conftest.$ac_objext
22606 if { (ac_try="$ac_compile"
22607 case "(($ac_try" in
22608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22609 *) ac_try_echo=$ac_try;;
22610 esac
22611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22612 (eval "$ac_compile") 2>conftest.er1
22613 ac_status=$?
22614 grep -v '^ *+' conftest.er1 >conftest.err
22615 rm -f conftest.er1
22616 cat conftest.err >&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); } && {
22619 test -z "$ac_c_werror_flag" ||
22620 test ! -s conftest.err
22621 } && test -s conftest.$ac_objext; then
22622 ac_cv_type_long_long=yes
22623 else
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22626
22627 ac_cv_type_long_long=no
22628 fi
22629
22630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22631 fi
22632 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22633 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22634
22635 # The cast to long int works around a bug in the HP C Compiler
22636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22638 # This bug is HP SR number 8606223364.
22639 { echo "$as_me:$LINENO: checking size of long long" >&5
22640 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22641 if test "${ac_cv_sizeof_long_long+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22643 else
22644 if test "$cross_compiling" = yes; then
22645 # Depending upon the size, compute the lo and hi bounds.
22646 cat >conftest.$ac_ext <<_ACEOF
22647 /* confdefs.h. */
22648 _ACEOF
22649 cat confdefs.h >>conftest.$ac_ext
22650 cat >>conftest.$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22652 $ac_includes_default
22653 typedef long long ac__type_sizeof_;
22654 int
22655 main ()
22656 {
22657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22658 test_array [0] = 0
22659
22660 ;
22661 return 0;
22662 }
22663 _ACEOF
22664 rm -f conftest.$ac_objext
22665 if { (ac_try="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22669 esac
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_compile") 2>conftest.er1
22672 ac_status=$?
22673 grep -v '^ *+' conftest.er1 >conftest.err
22674 rm -f conftest.er1
22675 cat conftest.err >&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest.$ac_objext; then
22681 ac_lo=0 ac_mid=0
22682 while :; do
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 $ac_includes_default
22690 typedef long long ac__type_sizeof_;
22691 int
22692 main ()
22693 {
22694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22695 test_array [0] = 0
22696
22697 ;
22698 return 0;
22699 }
22700 _ACEOF
22701 rm -f conftest.$ac_objext
22702 if { (ac_try="$ac_compile"
22703 case "(($ac_try" in
22704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22706 esac
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_compile") 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && {
22715 test -z "$ac_c_werror_flag" ||
22716 test ! -s conftest.err
22717 } && test -s conftest.$ac_objext; then
22718 ac_hi=$ac_mid; break
22719 else
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.$ac_ext >&5
22722
22723 ac_lo=`expr $ac_mid + 1`
22724 if test $ac_lo -le $ac_mid; then
22725 ac_lo= ac_hi=
22726 break
22727 fi
22728 ac_mid=`expr 2 '*' $ac_mid + 1`
22729 fi
22730
22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 done
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22745 int
22746 main ()
22747 {
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22749 test_array [0] = 0
22750
22751 ;
22752 return 0;
22753 }
22754 _ACEOF
22755 rm -f conftest.$ac_objext
22756 if { (ac_try="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22760 esac
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22763 ac_status=$?
22764 grep -v '^ *+' conftest.er1 >conftest.err
22765 rm -f conftest.er1
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.$ac_objext; then
22772 ac_hi=-1 ac_mid=-1
22773 while :; do
22774 cat >conftest.$ac_ext <<_ACEOF
22775 /* confdefs.h. */
22776 _ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780 $ac_includes_default
22781 typedef long long ac__type_sizeof_;
22782 int
22783 main ()
22784 {
22785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22786 test_array [0] = 0
22787
22788 ;
22789 return 0;
22790 }
22791 _ACEOF
22792 rm -f conftest.$ac_objext
22793 if { (ac_try="$ac_compile"
22794 case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_compile") 2>conftest.er1
22800 ac_status=$?
22801 grep -v '^ *+' conftest.er1 >conftest.err
22802 rm -f conftest.er1
22803 cat conftest.err >&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && {
22806 test -z "$ac_c_werror_flag" ||
22807 test ! -s conftest.err
22808 } && test -s conftest.$ac_objext; then
22809 ac_lo=$ac_mid; break
22810 else
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.$ac_ext >&5
22813
22814 ac_hi=`expr '(' $ac_mid ')' - 1`
22815 if test $ac_mid -le $ac_hi; then
22816 ac_lo= ac_hi=
22817 break
22818 fi
22819 ac_mid=`expr 2 '*' $ac_mid`
22820 fi
22821
22822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22823 done
22824 else
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22827
22828 ac_lo= ac_hi=
22829 fi
22830
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832 fi
22833
22834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22835 # Binary search between lo and hi bounds.
22836 while test "x$ac_lo" != "x$ac_hi"; do
22837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22838 cat >conftest.$ac_ext <<_ACEOF
22839 /* confdefs.h. */
22840 _ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22844 $ac_includes_default
22845 typedef long long ac__type_sizeof_;
22846 int
22847 main ()
22848 {
22849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22850 test_array [0] = 0
22851
22852 ;
22853 return 0;
22854 }
22855 _ACEOF
22856 rm -f conftest.$ac_objext
22857 if { (ac_try="$ac_compile"
22858 case "(($ac_try" in
22859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22860 *) ac_try_echo=$ac_try;;
22861 esac
22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && {
22870 test -z "$ac_c_werror_flag" ||
22871 test ! -s conftest.err
22872 } && test -s conftest.$ac_objext; then
22873 ac_hi=$ac_mid
22874 else
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22877
22878 ac_lo=`expr '(' $ac_mid ')' + 1`
22879 fi
22880
22881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22882 done
22883 case $ac_lo in
22884 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22885 '') if test "$ac_cv_type_long_long" = yes; then
22886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22887 See \`config.log' for more details." >&5
22888 echo "$as_me: error: cannot compute sizeof (long long)
22889 See \`config.log' for more details." >&2;}
22890 { (exit 77); exit 77; }; }
22891 else
22892 ac_cv_sizeof_long_long=0
22893 fi ;;
22894 esac
22895 else
22896 cat >conftest.$ac_ext <<_ACEOF
22897 /* confdefs.h. */
22898 _ACEOF
22899 cat confdefs.h >>conftest.$ac_ext
22900 cat >>conftest.$ac_ext <<_ACEOF
22901 /* end confdefs.h. */
22902 $ac_includes_default
22903 typedef long long ac__type_sizeof_;
22904 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22905 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22906 #include <stdio.h>
22907 #include <stdlib.h>
22908 int
22909 main ()
22910 {
22911
22912 FILE *f = fopen ("conftest.val", "w");
22913 if (! f)
22914 return 1;
22915 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22916 {
22917 long int i = longval ();
22918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22919 return 1;
22920 fprintf (f, "%ld\n", i);
22921 }
22922 else
22923 {
22924 unsigned long int i = ulongval ();
22925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22926 return 1;
22927 fprintf (f, "%lu\n", i);
22928 }
22929 return ferror (f) || fclose (f) != 0;
22930
22931 ;
22932 return 0;
22933 }
22934 _ACEOF
22935 rm -f conftest$ac_exeext
22936 if { (ac_try="$ac_link"
22937 case "(($ac_try" in
22938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939 *) ac_try_echo=$ac_try;;
22940 esac
22941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_link") 2>&5
22943 ac_status=$?
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22946 { (case "(($ac_try" in
22947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22948 *) ac_try_echo=$ac_try;;
22949 esac
22950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22951 (eval "$ac_try") 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 ac_cv_sizeof_long_long=`cat conftest.val`
22956 else
22957 echo "$as_me: program exited with status $ac_status" >&5
22958 echo "$as_me: failed program was:" >&5
22959 sed 's/^/| /' conftest.$ac_ext >&5
22960
22961 ( exit $ac_status )
22962 if test "$ac_cv_type_long_long" = yes; then
22963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22964 See \`config.log' for more details." >&5
22965 echo "$as_me: error: cannot compute sizeof (long long)
22966 See \`config.log' for more details." >&2;}
22967 { (exit 77); exit 77; }; }
22968 else
22969 ac_cv_sizeof_long_long=0
22970 fi
22971 fi
22972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22973 fi
22974 rm -f conftest.val
22975 fi
22976 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22977 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22978
22979
22980
22981 cat >>confdefs.h <<_ACEOF
22982 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22983 _ACEOF
22984
22985
22986 if test "$ac_cv_sizeof_long_long" != 0; then
22987 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22988 fi
22989 ;;
22990 * )
22991 { echo "$as_me:$LINENO: checking for long long" >&5
22992 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22993 if test "${ac_cv_type_long_long+set}" = set; then
22994 echo $ECHO_N "(cached) $ECHO_C" >&6
22995 else
22996 cat >conftest.$ac_ext <<_ACEOF
22997 /* confdefs.h. */
22998 _ACEOF
22999 cat confdefs.h >>conftest.$ac_ext
23000 cat >>conftest.$ac_ext <<_ACEOF
23001 /* end confdefs.h. */
23002 $ac_includes_default
23003 typedef long long ac__type_new_;
23004 int
23005 main ()
23006 {
23007 if ((ac__type_new_ *) 0)
23008 return 0;
23009 if (sizeof (ac__type_new_))
23010 return 0;
23011 ;
23012 return 0;
23013 }
23014 _ACEOF
23015 rm -f conftest.$ac_objext
23016 if { (ac_try="$ac_compile"
23017 case "(($ac_try" in
23018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019 *) ac_try_echo=$ac_try;;
23020 esac
23021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022 (eval "$ac_compile") 2>conftest.er1
23023 ac_status=$?
23024 grep -v '^ *+' conftest.er1 >conftest.err
23025 rm -f conftest.er1
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } && {
23029 test -z "$ac_c_werror_flag" ||
23030 test ! -s conftest.err
23031 } && test -s conftest.$ac_objext; then
23032 ac_cv_type_long_long=yes
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23036
23037 ac_cv_type_long_long=no
23038 fi
23039
23040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23041 fi
23042 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23043 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23044
23045 # The cast to long int works around a bug in the HP C Compiler
23046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23048 # This bug is HP SR number 8606223364.
23049 { echo "$as_me:$LINENO: checking size of long long" >&5
23050 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23051 if test "${ac_cv_sizeof_long_long+set}" = set; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23053 else
23054 if test "$cross_compiling" = yes; then
23055 # Depending upon the size, compute the lo and hi bounds.
23056 cat >conftest.$ac_ext <<_ACEOF
23057 /* confdefs.h. */
23058 _ACEOF
23059 cat confdefs.h >>conftest.$ac_ext
23060 cat >>conftest.$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23062 $ac_includes_default
23063 typedef long long ac__type_sizeof_;
23064 int
23065 main ()
23066 {
23067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23068 test_array [0] = 0
23069
23070 ;
23071 return 0;
23072 }
23073 _ACEOF
23074 rm -f conftest.$ac_objext
23075 if { (ac_try="$ac_compile"
23076 case "(($ac_try" in
23077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078 *) ac_try_echo=$ac_try;;
23079 esac
23080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_compile") 2>conftest.er1
23082 ac_status=$?
23083 grep -v '^ *+' conftest.er1 >conftest.err
23084 rm -f conftest.er1
23085 cat conftest.err >&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } && {
23088 test -z "$ac_c_werror_flag" ||
23089 test ! -s conftest.err
23090 } && test -s conftest.$ac_objext; then
23091 ac_lo=0 ac_mid=0
23092 while :; do
23093 cat >conftest.$ac_ext <<_ACEOF
23094 /* confdefs.h. */
23095 _ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 $ac_includes_default
23100 typedef long long ac__type_sizeof_;
23101 int
23102 main ()
23103 {
23104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23105 test_array [0] = 0
23106
23107 ;
23108 return 0;
23109 }
23110 _ACEOF
23111 rm -f conftest.$ac_objext
23112 if { (ac_try="$ac_compile"
23113 case "(($ac_try" in
23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115 *) ac_try_echo=$ac_try;;
23116 esac
23117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118 (eval "$ac_compile") 2>conftest.er1
23119 ac_status=$?
23120 grep -v '^ *+' conftest.er1 >conftest.err
23121 rm -f conftest.er1
23122 cat conftest.err >&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } && {
23125 test -z "$ac_c_werror_flag" ||
23126 test ! -s conftest.err
23127 } && test -s conftest.$ac_objext; then
23128 ac_hi=$ac_mid; break
23129 else
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23132
23133 ac_lo=`expr $ac_mid + 1`
23134 if test $ac_lo -le $ac_mid; then
23135 ac_lo= ac_hi=
23136 break
23137 fi
23138 ac_mid=`expr 2 '*' $ac_mid + 1`
23139 fi
23140
23141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 done
23143 else
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23146
23147 cat >conftest.$ac_ext <<_ACEOF
23148 /* confdefs.h. */
23149 _ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23153 $ac_includes_default
23154 typedef long long ac__type_sizeof_;
23155 int
23156 main ()
23157 {
23158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23159 test_array [0] = 0
23160
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23173 ac_status=$?
23174 grep -v '^ *+' conftest.er1 >conftest.err
23175 rm -f conftest.er1
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_hi=-1 ac_mid=-1
23183 while :; do
23184 cat >conftest.$ac_ext <<_ACEOF
23185 /* confdefs.h. */
23186 _ACEOF
23187 cat confdefs.h >>conftest.$ac_ext
23188 cat >>conftest.$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23190 $ac_includes_default
23191 typedef long long ac__type_sizeof_;
23192 int
23193 main ()
23194 {
23195 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23196 test_array [0] = 0
23197
23198 ;
23199 return 0;
23200 }
23201 _ACEOF
23202 rm -f conftest.$ac_objext
23203 if { (ac_try="$ac_compile"
23204 case "(($ac_try" in
23205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23206 *) ac_try_echo=$ac_try;;
23207 esac
23208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23209 (eval "$ac_compile") 2>conftest.er1
23210 ac_status=$?
23211 grep -v '^ *+' conftest.er1 >conftest.err
23212 rm -f conftest.er1
23213 cat conftest.err >&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); } && {
23216 test -z "$ac_c_werror_flag" ||
23217 test ! -s conftest.err
23218 } && test -s conftest.$ac_objext; then
23219 ac_lo=$ac_mid; break
23220 else
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23223
23224 ac_hi=`expr '(' $ac_mid ')' - 1`
23225 if test $ac_mid -le $ac_hi; then
23226 ac_lo= ac_hi=
23227 break
23228 fi
23229 ac_mid=`expr 2 '*' $ac_mid`
23230 fi
23231
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23233 done
23234 else
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.$ac_ext >&5
23237
23238 ac_lo= ac_hi=
23239 fi
23240
23241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 fi
23243
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 # Binary search between lo and hi bounds.
23246 while test "x$ac_lo" != "x$ac_hi"; do
23247 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23248 cat >conftest.$ac_ext <<_ACEOF
23249 /* confdefs.h. */
23250 _ACEOF
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254 $ac_includes_default
23255 typedef long long ac__type_sizeof_;
23256 int
23257 main ()
23258 {
23259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23260 test_array [0] = 0
23261
23262 ;
23263 return 0;
23264 }
23265 _ACEOF
23266 rm -f conftest.$ac_objext
23267 if { (ac_try="$ac_compile"
23268 case "(($ac_try" in
23269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23270 *) ac_try_echo=$ac_try;;
23271 esac
23272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23273 (eval "$ac_compile") 2>conftest.er1
23274 ac_status=$?
23275 grep -v '^ *+' conftest.er1 >conftest.err
23276 rm -f conftest.er1
23277 cat conftest.err >&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } && {
23280 test -z "$ac_c_werror_flag" ||
23281 test ! -s conftest.err
23282 } && test -s conftest.$ac_objext; then
23283 ac_hi=$ac_mid
23284 else
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23287
23288 ac_lo=`expr '(' $ac_mid ')' + 1`
23289 fi
23290
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23292 done
23293 case $ac_lo in
23294 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23295 '') if test "$ac_cv_type_long_long" = yes; then
23296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23297 See \`config.log' for more details." >&5
23298 echo "$as_me: error: cannot compute sizeof (long long)
23299 See \`config.log' for more details." >&2;}
23300 { (exit 77); exit 77; }; }
23301 else
23302 ac_cv_sizeof_long_long=0
23303 fi ;;
23304 esac
23305 else
23306 cat >conftest.$ac_ext <<_ACEOF
23307 /* confdefs.h. */
23308 _ACEOF
23309 cat confdefs.h >>conftest.$ac_ext
23310 cat >>conftest.$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312 $ac_includes_default
23313 typedef long long ac__type_sizeof_;
23314 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23315 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23316 #include <stdio.h>
23317 #include <stdlib.h>
23318 int
23319 main ()
23320 {
23321
23322 FILE *f = fopen ("conftest.val", "w");
23323 if (! f)
23324 return 1;
23325 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23326 {
23327 long int i = longval ();
23328 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23329 return 1;
23330 fprintf (f, "%ld\n", i);
23331 }
23332 else
23333 {
23334 unsigned long int i = ulongval ();
23335 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23336 return 1;
23337 fprintf (f, "%lu\n", i);
23338 }
23339 return ferror (f) || fclose (f) != 0;
23340
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 rm -f conftest$ac_exeext
23346 if { (ac_try="$ac_link"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23350 esac
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_link") 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23356 { (case "(($ac_try" in
23357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23358 *) ac_try_echo=$ac_try;;
23359 esac
23360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23361 (eval "$ac_try") 2>&5
23362 ac_status=$?
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); }; }; then
23365 ac_cv_sizeof_long_long=`cat conftest.val`
23366 else
23367 echo "$as_me: program exited with status $ac_status" >&5
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23370
23371 ( exit $ac_status )
23372 if test "$ac_cv_type_long_long" = yes; then
23373 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23374 See \`config.log' for more details." >&5
23375 echo "$as_me: error: cannot compute sizeof (long long)
23376 See \`config.log' for more details." >&2;}
23377 { (exit 77); exit 77; }; }
23378 else
23379 ac_cv_sizeof_long_long=0
23380 fi
23381 fi
23382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23383 fi
23384 rm -f conftest.val
23385 fi
23386 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23387 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23388
23389
23390
23391 cat >>confdefs.h <<_ACEOF
23392 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23393 _ACEOF
23394
23395
23396 esac
23397
23398 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23399 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23400 if test "${ac_cv_type_wchar_t+set}" = set; then
23401 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 else
23403 cat >conftest.$ac_ext <<_ACEOF
23404 /* confdefs.h. */
23405 _ACEOF
23406 cat confdefs.h >>conftest.$ac_ext
23407 cat >>conftest.$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23409
23410 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23411 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23412 # error "fake wchar_t"
23413 #endif
23414 #ifdef HAVE_WCHAR_H
23415 # ifdef __CYGWIN__
23416 # include <stddef.h>
23417 # endif
23418 # include <wchar.h>
23419 #endif
23420 #ifdef HAVE_STDLIB_H
23421 # include <stdlib.h>
23422 #endif
23423 #include <stdio.h>
23424
23425
23426
23427 typedef wchar_t ac__type_new_;
23428 int
23429 main ()
23430 {
23431 if ((ac__type_new_ *) 0)
23432 return 0;
23433 if (sizeof (ac__type_new_))
23434 return 0;
23435 ;
23436 return 0;
23437 }
23438 _ACEOF
23439 rm -f conftest.$ac_objext
23440 if { (ac_try="$ac_compile"
23441 case "(($ac_try" in
23442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23444 esac
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_compile") 2>conftest.er1
23447 ac_status=$?
23448 grep -v '^ *+' conftest.er1 >conftest.err
23449 rm -f conftest.er1
23450 cat conftest.err >&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); } && {
23453 test -z "$ac_c_werror_flag" ||
23454 test ! -s conftest.err
23455 } && test -s conftest.$ac_objext; then
23456 ac_cv_type_wchar_t=yes
23457 else
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23460
23461 ac_cv_type_wchar_t=no
23462 fi
23463
23464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23465 fi
23466 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23467 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23468
23469 # The cast to long int works around a bug in the HP C Compiler
23470 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23471 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23472 # This bug is HP SR number 8606223364.
23473 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23474 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23475 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23476 echo $ECHO_N "(cached) $ECHO_C" >&6
23477 else
23478 if test "$cross_compiling" = yes; then
23479 # Depending upon the size, compute the lo and hi bounds.
23480 cat >conftest.$ac_ext <<_ACEOF
23481 /* confdefs.h. */
23482 _ACEOF
23483 cat confdefs.h >>conftest.$ac_ext
23484 cat >>conftest.$ac_ext <<_ACEOF
23485 /* end confdefs.h. */
23486
23487 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23488 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23489 # error "fake wchar_t"
23490 #endif
23491 #ifdef HAVE_WCHAR_H
23492 # ifdef __CYGWIN__
23493 # include <stddef.h>
23494 # endif
23495 # include <wchar.h>
23496 #endif
23497 #ifdef HAVE_STDLIB_H
23498 # include <stdlib.h>
23499 #endif
23500 #include <stdio.h>
23501
23502
23503
23504 typedef wchar_t ac__type_sizeof_;
23505 int
23506 main ()
23507 {
23508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23509 test_array [0] = 0
23510
23511 ;
23512 return 0;
23513 }
23514 _ACEOF
23515 rm -f conftest.$ac_objext
23516 if { (ac_try="$ac_compile"
23517 case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23520 esac
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_compile") 2>conftest.er1
23523 ac_status=$?
23524 grep -v '^ *+' conftest.er1 >conftest.err
23525 rm -f conftest.er1
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest.$ac_objext; then
23532 ac_lo=0 ac_mid=0
23533 while :; do
23534 cat >conftest.$ac_ext <<_ACEOF
23535 /* confdefs.h. */
23536 _ACEOF
23537 cat confdefs.h >>conftest.$ac_ext
23538 cat >>conftest.$ac_ext <<_ACEOF
23539 /* end confdefs.h. */
23540
23541 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23542 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23543 # error "fake wchar_t"
23544 #endif
23545 #ifdef HAVE_WCHAR_H
23546 # ifdef __CYGWIN__
23547 # include <stddef.h>
23548 # endif
23549 # include <wchar.h>
23550 #endif
23551 #ifdef HAVE_STDLIB_H
23552 # include <stdlib.h>
23553 #endif
23554 #include <stdio.h>
23555
23556
23557
23558 typedef wchar_t ac__type_sizeof_;
23559 int
23560 main ()
23561 {
23562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23563 test_array [0] = 0
23564
23565 ;
23566 return 0;
23567 }
23568 _ACEOF
23569 rm -f conftest.$ac_objext
23570 if { (ac_try="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23573 *) ac_try_echo=$ac_try;;
23574 esac
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23577 ac_status=$?
23578 grep -v '^ *+' conftest.er1 >conftest.err
23579 rm -f conftest.er1
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } && {
23583 test -z "$ac_c_werror_flag" ||
23584 test ! -s conftest.err
23585 } && test -s conftest.$ac_objext; then
23586 ac_hi=$ac_mid; break
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591 ac_lo=`expr $ac_mid + 1`
23592 if test $ac_lo -le $ac_mid; then
23593 ac_lo= ac_hi=
23594 break
23595 fi
23596 ac_mid=`expr 2 '*' $ac_mid + 1`
23597 fi
23598
23599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600 done
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 cat >conftest.$ac_ext <<_ACEOF
23606 /* confdefs.h. */
23607 _ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611
23612 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23613 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23614 # error "fake wchar_t"
23615 #endif
23616 #ifdef HAVE_WCHAR_H
23617 # ifdef __CYGWIN__
23618 # include <stddef.h>
23619 # endif
23620 # include <wchar.h>
23621 #endif
23622 #ifdef HAVE_STDLIB_H
23623 # include <stdlib.h>
23624 #endif
23625 #include <stdio.h>
23626
23627
23628
23629 typedef wchar_t ac__type_sizeof_;
23630 int
23631 main ()
23632 {
23633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23634 test_array [0] = 0
23635
23636 ;
23637 return 0;
23638 }
23639 _ACEOF
23640 rm -f conftest.$ac_objext
23641 if { (ac_try="$ac_compile"
23642 case "(($ac_try" in
23643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23644 *) ac_try_echo=$ac_try;;
23645 esac
23646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23647 (eval "$ac_compile") 2>conftest.er1
23648 ac_status=$?
23649 grep -v '^ *+' conftest.er1 >conftest.err
23650 rm -f conftest.er1
23651 cat conftest.err >&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } && {
23654 test -z "$ac_c_werror_flag" ||
23655 test ! -s conftest.err
23656 } && test -s conftest.$ac_objext; then
23657 ac_hi=-1 ac_mid=-1
23658 while :; do
23659 cat >conftest.$ac_ext <<_ACEOF
23660 /* confdefs.h. */
23661 _ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665
23666 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23667 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23668 # error "fake wchar_t"
23669 #endif
23670 #ifdef HAVE_WCHAR_H
23671 # ifdef __CYGWIN__
23672 # include <stddef.h>
23673 # endif
23674 # include <wchar.h>
23675 #endif
23676 #ifdef HAVE_STDLIB_H
23677 # include <stdlib.h>
23678 #endif
23679 #include <stdio.h>
23680
23681
23682
23683 typedef wchar_t ac__type_sizeof_;
23684 int
23685 main ()
23686 {
23687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23688 test_array [0] = 0
23689
23690 ;
23691 return 0;
23692 }
23693 _ACEOF
23694 rm -f conftest.$ac_objext
23695 if { (ac_try="$ac_compile"
23696 case "(($ac_try" in
23697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23698 *) ac_try_echo=$ac_try;;
23699 esac
23700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23701 (eval "$ac_compile") 2>conftest.er1
23702 ac_status=$?
23703 grep -v '^ *+' conftest.er1 >conftest.err
23704 rm -f conftest.er1
23705 cat conftest.err >&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } && {
23708 test -z "$ac_c_werror_flag" ||
23709 test ! -s conftest.err
23710 } && test -s conftest.$ac_objext; then
23711 ac_lo=$ac_mid; break
23712 else
23713 echo "$as_me: failed program was:" >&5
23714 sed 's/^/| /' conftest.$ac_ext >&5
23715
23716 ac_hi=`expr '(' $ac_mid ')' - 1`
23717 if test $ac_mid -le $ac_hi; then
23718 ac_lo= ac_hi=
23719 break
23720 fi
23721 ac_mid=`expr 2 '*' $ac_mid`
23722 fi
23723
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725 done
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 ac_lo= ac_hi=
23731 fi
23732
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 fi
23735
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737 # Binary search between lo and hi bounds.
23738 while test "x$ac_lo" != "x$ac_hi"; do
23739 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23740 cat >conftest.$ac_ext <<_ACEOF
23741 /* confdefs.h. */
23742 _ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23746
23747 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23748 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23749 # error "fake wchar_t"
23750 #endif
23751 #ifdef HAVE_WCHAR_H
23752 # ifdef __CYGWIN__
23753 # include <stddef.h>
23754 # endif
23755 # include <wchar.h>
23756 #endif
23757 #ifdef HAVE_STDLIB_H
23758 # include <stdlib.h>
23759 #endif
23760 #include <stdio.h>
23761
23762
23763
23764 typedef wchar_t ac__type_sizeof_;
23765 int
23766 main ()
23767 {
23768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23769 test_array [0] = 0
23770
23771 ;
23772 return 0;
23773 }
23774 _ACEOF
23775 rm -f conftest.$ac_objext
23776 if { (ac_try="$ac_compile"
23777 case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23780 esac
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_compile") 2>conftest.er1
23783 ac_status=$?
23784 grep -v '^ *+' conftest.er1 >conftest.err
23785 rm -f conftest.er1
23786 cat conftest.err >&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } && {
23789 test -z "$ac_c_werror_flag" ||
23790 test ! -s conftest.err
23791 } && test -s conftest.$ac_objext; then
23792 ac_hi=$ac_mid
23793 else
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23796
23797 ac_lo=`expr '(' $ac_mid ')' + 1`
23798 fi
23799
23800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23801 done
23802 case $ac_lo in
23803 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23804 '') if test "$ac_cv_type_wchar_t" = yes; then
23805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23806 See \`config.log' for more details." >&5
23807 echo "$as_me: error: cannot compute sizeof (wchar_t)
23808 See \`config.log' for more details." >&2;}
23809 { (exit 77); exit 77; }; }
23810 else
23811 ac_cv_sizeof_wchar_t=0
23812 fi ;;
23813 esac
23814 else
23815 cat >conftest.$ac_ext <<_ACEOF
23816 /* confdefs.h. */
23817 _ACEOF
23818 cat confdefs.h >>conftest.$ac_ext
23819 cat >>conftest.$ac_ext <<_ACEOF
23820 /* end confdefs.h. */
23821
23822 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23823 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23824 # error "fake wchar_t"
23825 #endif
23826 #ifdef HAVE_WCHAR_H
23827 # ifdef __CYGWIN__
23828 # include <stddef.h>
23829 # endif
23830 # include <wchar.h>
23831 #endif
23832 #ifdef HAVE_STDLIB_H
23833 # include <stdlib.h>
23834 #endif
23835 #include <stdio.h>
23836
23837
23838
23839 typedef wchar_t ac__type_sizeof_;
23840 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23841 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23842 #include <stdio.h>
23843 #include <stdlib.h>
23844 int
23845 main ()
23846 {
23847
23848 FILE *f = fopen ("conftest.val", "w");
23849 if (! f)
23850 return 1;
23851 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23852 {
23853 long int i = longval ();
23854 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23855 return 1;
23856 fprintf (f, "%ld\n", i);
23857 }
23858 else
23859 {
23860 unsigned long int i = ulongval ();
23861 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23862 return 1;
23863 fprintf (f, "%lu\n", i);
23864 }
23865 return ferror (f) || fclose (f) != 0;
23866
23867 ;
23868 return 0;
23869 }
23870 _ACEOF
23871 rm -f conftest$ac_exeext
23872 if { (ac_try="$ac_link"
23873 case "(($ac_try" in
23874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23875 *) ac_try_echo=$ac_try;;
23876 esac
23877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23878 (eval "$ac_link") 2>&5
23879 ac_status=$?
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23882 { (case "(($ac_try" in
23883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23884 *) ac_try_echo=$ac_try;;
23885 esac
23886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23887 (eval "$ac_try") 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891 ac_cv_sizeof_wchar_t=`cat conftest.val`
23892 else
23893 echo "$as_me: program exited with status $ac_status" >&5
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23896
23897 ( exit $ac_status )
23898 if test "$ac_cv_type_wchar_t" = yes; then
23899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23900 See \`config.log' for more details." >&5
23901 echo "$as_me: error: cannot compute sizeof (wchar_t)
23902 See \`config.log' for more details." >&2;}
23903 { (exit 77); exit 77; }; }
23904 else
23905 ac_cv_sizeof_wchar_t=0
23906 fi
23907 fi
23908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23909 fi
23910 rm -f conftest.val
23911 fi
23912 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23913 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23914
23915
23916
23917 cat >>confdefs.h <<_ACEOF
23918 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23919 _ACEOF
23920
23921
23922 if test "$ac_cv_sizeof_wchar_t" != 0; then
23923 wxUSE_WCHAR_T=yes
23924 else
23925 wxUSE_WCHAR_T=no
23926 fi
23927
23928 { echo "$as_me:$LINENO: checking for va_copy" >&5
23929 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23930 if test "${wx_cv_func_va_copy+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 else
23933
23934 ac_ext=cpp
23935 ac_cpp='$CXXCPP $CPPFLAGS'
23936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23939
23940 cat >conftest.$ac_ext <<_ACEOF
23941
23942 #include <stdarg.h>
23943 void foo(char *f, ...)
23944 {
23945 va_list ap1, ap2;
23946 va_start(ap1, f);
23947 va_copy(ap2, ap1);
23948 va_end(ap2);
23949 va_end(ap1);
23950 }
23951 int main()
23952 {
23953 foo("hi", 17);
23954 return 0;
23955 }
23956 _ACEOF
23957 rm -f conftest.$ac_objext conftest$ac_exeext
23958 if { (ac_try="$ac_link"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23962 esac
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_link") 2>conftest.er1
23965 ac_status=$?
23966 grep -v '^ *+' conftest.er1 >conftest.err
23967 rm -f conftest.er1
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_cxx_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest$ac_exeext &&
23974 $as_test_x conftest$ac_exeext; then
23975 wx_cv_func_va_copy=yes
23976 else
23977 echo "$as_me: failed program was:" >&5
23978 sed 's/^/| /' conftest.$ac_ext >&5
23979
23980 wx_cv_func_va_copy=no
23981
23982 fi
23983
23984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23985 conftest$ac_exeext conftest.$ac_ext
23986 ac_ext=c
23987 ac_cpp='$CPP $CPPFLAGS'
23988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23991
23992
23993
23994 fi
23995 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23996 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23997
23998 if test $wx_cv_func_va_copy = "yes"; then
23999 cat >>confdefs.h <<\_ACEOF
24000 #define HAVE_VA_COPY 1
24001 _ACEOF
24002
24003 else
24004 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24005 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24006 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24007 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 else
24009
24010 if test "$cross_compiling" = yes; then
24011 wx_cv_type_va_list_lvalue=yes
24012
24013 else
24014 cat >conftest.$ac_ext <<_ACEOF
24015
24016 #include <stdarg.h>
24017 int foo(char *f, ...)
24018 {
24019 va_list ap1, ap2;
24020 va_start(ap1, f);
24021 ap2 = ap1;
24022 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24023 return 1;
24024 va_end(ap2);
24025 va_end(ap1);
24026 return 0;
24027 }
24028 int main()
24029 {
24030 return foo("hi", 17);
24031 }
24032 _ACEOF
24033 rm -f conftest$ac_exeext
24034 if { (ac_try="$ac_link"
24035 case "(($ac_try" in
24036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24037 *) ac_try_echo=$ac_try;;
24038 esac
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_link") 2>&5
24041 ac_status=$?
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24044 { (case "(($ac_try" in
24045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24046 *) ac_try_echo=$ac_try;;
24047 esac
24048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24049 (eval "$ac_try") 2>&5
24050 ac_status=$?
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; }; then
24053 wx_cv_type_va_list_lvalue=yes
24054 else
24055 echo "$as_me: program exited with status $ac_status" >&5
24056 echo "$as_me: failed program was:" >&5
24057 sed 's/^/| /' conftest.$ac_ext >&5
24058
24059 ( exit $ac_status )
24060 wx_cv_type_va_list_lvalue=no
24061 fi
24062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24063 fi
24064
24065
24066
24067
24068 fi
24069 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24070 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24071
24072 if test $wx_cv_type_va_list_lvalue != "yes"; then
24073 cat >>confdefs.h <<\_ACEOF
24074 #define VA_LIST_IS_ARRAY 1
24075 _ACEOF
24076
24077 fi
24078 fi
24079
24080 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24081
24082 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24083 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24084 if test "${wx_cv_have_variadic_macros+set}" = set; then
24085 echo $ECHO_N "(cached) $ECHO_C" >&6
24086 else
24087
24088 ac_ext=cpp
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093
24094 cat >conftest.$ac_ext <<_ACEOF
24095 /* confdefs.h. */
24096 _ACEOF
24097 cat confdefs.h >>conftest.$ac_ext
24098 cat >>conftest.$ac_ext <<_ACEOF
24099 /* end confdefs.h. */
24100
24101 #include <stdio.h>
24102 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24103
24104 int
24105 main ()
24106 {
24107
24108 test("%s %d %p", "test", 1, 0);
24109
24110
24111 ;
24112 return 0;
24113 }
24114 _ACEOF
24115 rm -f conftest.$ac_objext
24116 if { (ac_try="$ac_compile"
24117 case "(($ac_try" in
24118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24119 *) ac_try_echo=$ac_try;;
24120 esac
24121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24122 (eval "$ac_compile") 2>conftest.er1
24123 ac_status=$?
24124 grep -v '^ *+' conftest.er1 >conftest.err
24125 rm -f conftest.er1
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } && {
24129 test -z "$ac_cxx_werror_flag" ||
24130 test ! -s conftest.err
24131 } && test -s conftest.$ac_objext; then
24132 wx_cv_have_variadic_macros=yes
24133 else
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.$ac_ext >&5
24136
24137 wx_cv_have_variadic_macros=no
24138
24139 fi
24140
24141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24142 ac_ext=c
24143 ac_cpp='$CPP $CPPFLAGS'
24144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24147
24148
24149
24150 fi
24151 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24152 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24153
24154 if test $wx_cv_have_variadic_macros = "yes"; then
24155 cat >>confdefs.h <<\_ACEOF
24156 #define HAVE_VARIADIC_MACROS 1
24157 _ACEOF
24158
24159 fi
24160
24161 fi
24162
24163 LARGEFILE_CPPFLAGS=
24164 # Check whether --enable-largefile was given.
24165 if test "${enable_largefile+set}" = set; then
24166 enableval=$enable_largefile;
24167 fi
24168
24169 if test "$enable_largefile" != no; then
24170 wx_largefile=no
24171
24172 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24173 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24174 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24175 echo $ECHO_N "(cached) $ECHO_C" >&6
24176 else
24177
24178 cat >conftest.$ac_ext <<_ACEOF
24179 /* confdefs.h. */
24180 _ACEOF
24181 cat confdefs.h >>conftest.$ac_ext
24182 cat >>conftest.$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24184 #define _FILE_OFFSET_BITS 64
24185 #include <sys/types.h>
24186 int
24187 main ()
24188 {
24189 typedef struct {
24190 unsigned int field: sizeof(off_t) == 8;
24191 } wxlf;
24192
24193 ;
24194 return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext
24198 if { (ac_try="$ac_compile"
24199 case "(($ac_try" in
24200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24201 *) ac_try_echo=$ac_try;;
24202 esac
24203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24204 (eval "$ac_compile") 2>conftest.er1
24205 ac_status=$?
24206 grep -v '^ *+' conftest.er1 >conftest.err
24207 rm -f conftest.er1
24208 cat conftest.err >&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); } && {
24211 test -z "$ac_c_werror_flag" ||
24212 test ! -s conftest.err
24213 } && test -s conftest.$ac_objext; then
24214 ac_cv_sys_file_offset_bits=64
24215 else
24216 echo "$as_me: failed program was:" >&5
24217 sed 's/^/| /' conftest.$ac_ext >&5
24218
24219 ac_cv_sys_file_offset_bits=no
24220 fi
24221
24222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24223
24224
24225 fi
24226 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24227 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24228
24229 if test "$ac_cv_sys_file_offset_bits" != no; then
24230 wx_largefile=yes
24231 cat >>confdefs.h <<_ACEOF
24232 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24233 _ACEOF
24234
24235 fi
24236
24237 if test "x$wx_largefile" != "xyes"; then
24238
24239 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24240 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24241 if test "${ac_cv_sys_large_files+set}" = set; then
24242 echo $ECHO_N "(cached) $ECHO_C" >&6
24243 else
24244
24245 cat >conftest.$ac_ext <<_ACEOF
24246 /* confdefs.h. */
24247 _ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 #define _LARGE_FILES 1
24252 #include <sys/types.h>
24253 int
24254 main ()
24255 {
24256 typedef struct {
24257 unsigned int field: sizeof(off_t) == 8;
24258 } wxlf;
24259
24260 ;
24261 return 0;
24262 }
24263 _ACEOF
24264 rm -f conftest.$ac_objext
24265 if { (ac_try="$ac_compile"
24266 case "(($ac_try" in
24267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24268 *) ac_try_echo=$ac_try;;
24269 esac
24270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24271 (eval "$ac_compile") 2>conftest.er1
24272 ac_status=$?
24273 grep -v '^ *+' conftest.er1 >conftest.err
24274 rm -f conftest.er1
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && {
24278 test -z "$ac_c_werror_flag" ||
24279 test ! -s conftest.err
24280 } && test -s conftest.$ac_objext; then
24281 ac_cv_sys_large_files=1
24282 else
24283 echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.$ac_ext >&5
24285
24286 ac_cv_sys_large_files=no
24287 fi
24288
24289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24290
24291
24292 fi
24293 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24294 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24295
24296 if test "$ac_cv_sys_large_files" != no; then
24297 wx_largefile=yes
24298 cat >>confdefs.h <<_ACEOF
24299 #define _LARGE_FILES $ac_cv_sys_large_files
24300 _ACEOF
24301
24302 fi
24303
24304 fi
24305
24306 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24307 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24308 if test "x$wx_largefile" = "xyes"; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_LARGEFILE_SUPPORT 1
24311 _ACEOF
24312
24313 fi
24314 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24315 echo "${ECHO_T}$wx_largefile" >&6; }
24316 fi
24317
24318 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24319 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24320 elif test "$ac_cv_sys_large_files" = 1; then
24321 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24322 fi
24323
24324 if test -n "$LARGEFILE_CPPFLAGS"; then
24325 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24326
24327 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24328 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24329 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24330 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24331 echo $ECHO_N "(cached) $ECHO_C" >&6
24332 else
24333
24334 ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24339
24340 cat >conftest.$ac_ext <<_ACEOF
24341 /* confdefs.h. */
24342 _ACEOF
24343 cat confdefs.h >>conftest.$ac_ext
24344 cat >>conftest.$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24346
24347 int
24348 main ()
24349 {
24350
24351 #ifndef __STDC_EXT__
24352 choke me
24353 #endif
24354
24355 ;
24356 return 0;
24357 }
24358 _ACEOF
24359 rm -f conftest.$ac_objext
24360 if { (ac_try="$ac_compile"
24361 case "(($ac_try" in
24362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24363 *) ac_try_echo=$ac_try;;
24364 esac
24365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24366 (eval "$ac_compile") 2>conftest.er1
24367 ac_status=$?
24368 grep -v '^ *+' conftest.er1 >conftest.err
24369 rm -f conftest.er1
24370 cat conftest.err >&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); } && {
24373 test -z "$ac_cxx_werror_flag" ||
24374 test ! -s conftest.err
24375 } && test -s conftest.$ac_objext; then
24376 wx_cv_STDC_EXT_required=no
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24380
24381 wx_cv_STDC_EXT_required=yes
24382
24383 fi
24384
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386 ac_ext=c
24387 ac_cpp='$CPP $CPPFLAGS'
24388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24391
24392
24393
24394 fi
24395 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24396 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24397 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24398 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24399 fi
24400 fi
24401 fi
24402
24403 ac_ext=cpp
24404 ac_cpp='$CXXCPP $CPPFLAGS'
24405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24408
24409 old_CPPFLAGS="$CPPFLAGS"
24410 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24411 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24412 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24413 if test "${ac_cv_sys_largefile_source+set}" = set; then
24414 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 else
24416 while :; do
24417 cat >conftest.$ac_ext <<_ACEOF
24418 /* confdefs.h. */
24419 _ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423 #include <stdio.h>
24424 int
24425 main ()
24426 {
24427 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24428 ;
24429 return 0;
24430 }
24431 _ACEOF
24432 rm -f conftest.$ac_objext conftest$ac_exeext
24433 if { (ac_try="$ac_link"
24434 case "(($ac_try" in
24435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24436 *) ac_try_echo=$ac_try;;
24437 esac
24438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24439 (eval "$ac_link") 2>conftest.er1
24440 ac_status=$?
24441 grep -v '^ *+' conftest.er1 >conftest.err
24442 rm -f conftest.er1
24443 cat conftest.err >&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } && {
24446 test -z "$ac_cxx_werror_flag" ||
24447 test ! -s conftest.err
24448 } && test -s conftest$ac_exeext &&
24449 $as_test_x conftest$ac_exeext; then
24450 ac_cv_sys_largefile_source=no; break
24451 else
24452 echo "$as_me: failed program was:" >&5
24453 sed 's/^/| /' conftest.$ac_ext >&5
24454
24455
24456 fi
24457
24458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24459 conftest$ac_exeext conftest.$ac_ext
24460 cat >conftest.$ac_ext <<_ACEOF
24461 /* confdefs.h. */
24462 _ACEOF
24463 cat confdefs.h >>conftest.$ac_ext
24464 cat >>conftest.$ac_ext <<_ACEOF
24465 /* end confdefs.h. */
24466 #define _LARGEFILE_SOURCE 1
24467 #include <stdio.h>
24468 int
24469 main ()
24470 {
24471 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 rm -f conftest.$ac_objext conftest$ac_exeext
24477 if { (ac_try="$ac_link"
24478 case "(($ac_try" in
24479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480 *) ac_try_echo=$ac_try;;
24481 esac
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_link") 2>conftest.er1
24484 ac_status=$?
24485 grep -v '^ *+' conftest.er1 >conftest.err
24486 rm -f conftest.er1
24487 cat conftest.err >&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_cxx_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest$ac_exeext &&
24493 $as_test_x conftest$ac_exeext; then
24494 ac_cv_sys_largefile_source=1; break
24495 else
24496 echo "$as_me: failed program was:" >&5
24497 sed 's/^/| /' conftest.$ac_ext >&5
24498
24499
24500 fi
24501
24502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24503 conftest$ac_exeext conftest.$ac_ext
24504 ac_cv_sys_largefile_source=unknown
24505 break
24506 done
24507 fi
24508 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24509 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24510 case $ac_cv_sys_largefile_source in #(
24511 no | unknown) ;;
24512 *)
24513 cat >>confdefs.h <<_ACEOF
24514 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24515 _ACEOF
24516 ;;
24517 esac
24518 rm -f -r conftest*
24519
24520 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24521 # in glibc 2.1.3, but that breaks too many other things.
24522 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24523 if test $ac_cv_sys_largefile_source != unknown; then
24524
24525 cat >>confdefs.h <<\_ACEOF
24526 #define HAVE_FSEEKO 1
24527 _ACEOF
24528
24529 fi
24530
24531 CPPFLAGS="$old_CPPFLAGS"
24532 ac_ext=c
24533 ac_cpp='$CPP $CPPFLAGS'
24534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24537
24538 if test "$ac_cv_sys_largefile_source" != no; then
24539 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24540 fi
24541
24542 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24543 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24544 if test "${ac_cv_c_bigendian+set}" = set; then
24545 echo $ECHO_N "(cached) $ECHO_C" >&6
24546 else
24547 ac_cv_c_bigendian=unknown
24548 # See if sys/param.h defines the BYTE_ORDER macro.
24549 cat >conftest.$ac_ext <<_ACEOF
24550 /* confdefs.h. */
24551 _ACEOF
24552 cat confdefs.h >>conftest.$ac_ext
24553 cat >>conftest.$ac_ext <<_ACEOF
24554 /* end confdefs.h. */
24555 #include <sys/types.h>
24556 #include <sys/param.h>
24557 int
24558 main ()
24559 {
24560
24561 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24562 bogus endian macros
24563 #endif
24564 ;
24565 return 0;
24566 }
24567 _ACEOF
24568 rm -f conftest.$ac_objext
24569 if { (ac_try="$ac_compile"
24570 case "(($ac_try" in
24571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24572 *) ac_try_echo=$ac_try;;
24573 esac
24574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24575 (eval "$ac_compile") 2>conftest.er1
24576 ac_status=$?
24577 grep -v '^ *+' conftest.er1 >conftest.err
24578 rm -f conftest.er1
24579 cat conftest.err >&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } && {
24582 test -z "$ac_c_werror_flag" ||
24583 test ! -s conftest.err
24584 } && test -s conftest.$ac_objext; then
24585 # It does; now see whether it defined to BIG_ENDIAN or not.
24586 cat >conftest.$ac_ext <<_ACEOF
24587 /* confdefs.h. */
24588 _ACEOF
24589 cat confdefs.h >>conftest.$ac_ext
24590 cat >>conftest.$ac_ext <<_ACEOF
24591 /* end confdefs.h. */
24592 #include <sys/types.h>
24593 #include <sys/param.h>
24594 int
24595 main ()
24596 {
24597
24598 #if BYTE_ORDER != BIG_ENDIAN
24599 not big endian
24600 #endif
24601 ;
24602 return 0;
24603 }
24604 _ACEOF
24605 rm -f conftest.$ac_objext
24606 if { (ac_try="$ac_compile"
24607 case "(($ac_try" in
24608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24609 *) ac_try_echo=$ac_try;;
24610 esac
24611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24612 (eval "$ac_compile") 2>conftest.er1
24613 ac_status=$?
24614 grep -v '^ *+' conftest.er1 >conftest.err
24615 rm -f conftest.er1
24616 cat conftest.err >&5
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); } && {
24619 test -z "$ac_c_werror_flag" ||
24620 test ! -s conftest.err
24621 } && test -s conftest.$ac_objext; then
24622 ac_cv_c_bigendian=yes
24623 else
24624 echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.$ac_ext >&5
24626
24627 ac_cv_c_bigendian=no
24628 fi
24629
24630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24631 else
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.$ac_ext >&5
24634
24635
24636 fi
24637
24638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24639 if test $ac_cv_c_bigendian = unknown; then
24640 if test "$cross_compiling" = yes; then
24641 ac_cv_c_bigendian=unknown
24642 else
24643 cat >conftest.$ac_ext <<_ACEOF
24644 /* confdefs.h. */
24645 _ACEOF
24646 cat confdefs.h >>conftest.$ac_ext
24647 cat >>conftest.$ac_ext <<_ACEOF
24648 /* end confdefs.h. */
24649 main () {
24650 /* Are we little or big endian? From Harbison&Steele. */
24651 union
24652 {
24653 long l;
24654 char c[sizeof (long)];
24655 } u;
24656 u.l = 1;
24657 exit (u.c[sizeof (long) - 1] == 1);
24658 }
24659 _ACEOF
24660 rm -f conftest$ac_exeext
24661 if { (ac_try="$ac_link"
24662 case "(($ac_try" in
24663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24664 *) ac_try_echo=$ac_try;;
24665 esac
24666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24667 (eval "$ac_link") 2>&5
24668 ac_status=$?
24669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24671 { (case "(($ac_try" in
24672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24673 *) ac_try_echo=$ac_try;;
24674 esac
24675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24676 (eval "$ac_try") 2>&5
24677 ac_status=$?
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); }; }; then
24680 ac_cv_c_bigendian=no
24681 else
24682 echo "$as_me: program exited with status $ac_status" >&5
24683 echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.$ac_ext >&5
24685
24686 ( exit $ac_status )
24687 ac_cv_c_bigendian=yes
24688 fi
24689 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24690 fi
24691
24692
24693 fi
24694 fi
24695 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24696 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24697 if test $ac_cv_c_bigendian = unknown; then
24698 { 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
24699 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;}
24700 fi
24701 if test $ac_cv_c_bigendian = yes; then
24702 cat >>confdefs.h <<\_ACEOF
24703 #define WORDS_BIGENDIAN 1
24704 _ACEOF
24705
24706 fi
24707
24708
24709
24710
24711 ac_ext=cpp
24712 ac_cpp='$CXXCPP $CPPFLAGS'
24713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24716
24717
24718
24719 for ac_header in iostream
24720 do
24721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24722 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727 cat >conftest.$ac_ext <<_ACEOF
24728 /* confdefs.h. */
24729 _ACEOF
24730 cat confdefs.h >>conftest.$ac_ext
24731 cat >>conftest.$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24733
24734
24735 #include <$ac_header>
24736 _ACEOF
24737 rm -f conftest.$ac_objext
24738 if { (ac_try="$ac_compile"
24739 case "(($ac_try" in
24740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24742 esac
24743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24744 (eval "$ac_compile") 2>conftest.er1
24745 ac_status=$?
24746 grep -v '^ *+' conftest.er1 >conftest.err
24747 rm -f conftest.er1
24748 cat conftest.err >&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); } && {
24751 test -z "$ac_cxx_werror_flag" ||
24752 test ! -s conftest.err
24753 } && test -s conftest.$ac_objext; then
24754 eval "$as_ac_Header=yes"
24755 else
24756 echo "$as_me: failed program was:" >&5
24757 sed 's/^/| /' conftest.$ac_ext >&5
24758
24759 eval "$as_ac_Header=no"
24760 fi
24761
24762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763 fi
24764 ac_res=`eval echo '${'$as_ac_Header'}'`
24765 { echo "$as_me:$LINENO: result: $ac_res" >&5
24766 echo "${ECHO_T}$ac_res" >&6; }
24767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24768 cat >>confdefs.h <<_ACEOF
24769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24770 _ACEOF
24771
24772 fi
24773
24774 done
24775
24776
24777 if test "$ac_cv_header_iostream" = "yes" ; then
24778 :
24779 else
24780 cat >>confdefs.h <<\_ACEOF
24781 #define wxUSE_IOSTREAMH 1
24782 _ACEOF
24783
24784 fi
24785
24786 ac_ext=c
24787 ac_cpp='$CPP $CPPFLAGS'
24788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24791
24792
24793
24794
24795 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24796 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24797 if test "${wx_cv_explicit+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 else
24800
24801
24802 ac_ext=cpp
24803 ac_cpp='$CXXCPP $CPPFLAGS'
24804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24807
24808
24809 cat >conftest.$ac_ext <<_ACEOF
24810 /* confdefs.h. */
24811 _ACEOF
24812 cat confdefs.h >>conftest.$ac_ext
24813 cat >>conftest.$ac_ext <<_ACEOF
24814 /* end confdefs.h. */
24815
24816 class Foo { public: explicit Foo(int) {} };
24817
24818 int
24819 main ()
24820 {
24821
24822 return 0;
24823
24824 ;
24825 return 0;
24826 }
24827 _ACEOF
24828 rm -f conftest.$ac_objext
24829 if { (ac_try="$ac_compile"
24830 case "(($ac_try" in
24831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24832 *) ac_try_echo=$ac_try;;
24833 esac
24834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24835 (eval "$ac_compile") 2>conftest.er1
24836 ac_status=$?
24837 grep -v '^ *+' conftest.er1 >conftest.err
24838 rm -f conftest.er1
24839 cat conftest.err >&5
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); } && {
24842 test -z "$ac_cxx_werror_flag" ||
24843 test ! -s conftest.err
24844 } && test -s conftest.$ac_objext; then
24845
24846 cat >conftest.$ac_ext <<_ACEOF
24847 /* confdefs.h. */
24848 _ACEOF
24849 cat confdefs.h >>conftest.$ac_ext
24850 cat >>conftest.$ac_ext <<_ACEOF
24851 /* end confdefs.h. */
24852
24853 class Foo { public: explicit Foo(int) {} };
24854 static void TakeFoo(const Foo& foo) { }
24855
24856 int
24857 main ()
24858 {
24859
24860 TakeFoo(17);
24861 return 0;
24862
24863 ;
24864 return 0;
24865 }
24866 _ACEOF
24867 rm -f conftest.$ac_objext
24868 if { (ac_try="$ac_compile"
24869 case "(($ac_try" in
24870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24871 *) ac_try_echo=$ac_try;;
24872 esac
24873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24874 (eval "$ac_compile") 2>conftest.er1
24875 ac_status=$?
24876 grep -v '^ *+' conftest.er1 >conftest.err
24877 rm -f conftest.er1
24878 cat conftest.err >&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); } && {
24881 test -z "$ac_cxx_werror_flag" ||
24882 test ! -s conftest.err
24883 } && test -s conftest.$ac_objext; then
24884 wx_cv_explicit=no
24885 else
24886 echo "$as_me: failed program was:" >&5
24887 sed 's/^/| /' conftest.$ac_ext >&5
24888
24889 wx_cv_explicit=yes
24890
24891 fi
24892
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894
24895 else
24896 echo "$as_me: failed program was:" >&5
24897 sed 's/^/| /' conftest.$ac_ext >&5
24898
24899 wx_cv_explicit=no
24900
24901 fi
24902
24903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904
24905 ac_ext=c
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910
24911
24912 fi
24913 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24914 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24915
24916 if test "$wx_cv_explicit" = "yes"; then
24917 cat >>confdefs.h <<\_ACEOF
24918 #define HAVE_EXPLICIT 1
24919 _ACEOF
24920
24921 fi
24922
24923
24924 if test "x$SUNCXX" = xyes; then
24925 CXXFLAGS="-features=tmplife $CXXFLAGS"
24926 fi
24927
24928 if test "x$SUNCC" = xyes; then
24929 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24930 fi
24931
24932 if test "x$SGICC" = "xyes"; then
24933 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24934 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24935 if test "${wx_cv_prog_sgicc744+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24938
24939 cat >conftest.$ac_ext <<_ACEOF
24940 /* confdefs.h. */
24941 _ACEOF
24942 cat confdefs.h >>conftest.$ac_ext
24943 cat >>conftest.$ac_ext <<_ACEOF
24944 /* end confdefs.h. */
24945
24946 int
24947 main ()
24948 {
24949
24950 #if _SGI_COMPILER_VERSION >= 744
24951 chock me: mipsPro is 7.4.4 or later
24952 #endif
24953
24954 ;
24955 return 0;
24956 }
24957 _ACEOF
24958 rm -f conftest.$ac_objext
24959 if { (ac_try="$ac_compile"
24960 case "(($ac_try" in
24961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24962 *) ac_try_echo=$ac_try;;
24963 esac
24964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24965 (eval "$ac_compile") 2>conftest.er1
24966 ac_status=$?
24967 grep -v '^ *+' conftest.er1 >conftest.err
24968 rm -f conftest.er1
24969 cat conftest.err >&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } && {
24972 test -z "$ac_c_werror_flag" ||
24973 test ! -s conftest.err
24974 } && test -s conftest.$ac_objext; then
24975 wx_cv_prog_sgicc744=no
24976 else
24977 echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24979
24980 wx_cv_prog_sgicc744=yes
24981
24982 fi
24983
24984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24985
24986
24987 fi
24988 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24989 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24990
24991 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24992 CFLAGS="-woff 3970 $CFLAGS"
24993 fi
24994 fi
24995 if test "x$SGICXX" = "xyes"; then
24996 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24997 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24998 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 else
25001
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007
25008 cat >conftest.$ac_ext <<_ACEOF
25009 /* confdefs.h. */
25010 _ACEOF
25011 cat confdefs.h >>conftest.$ac_ext
25012 cat >>conftest.$ac_ext <<_ACEOF
25013 /* end confdefs.h. */
25014
25015 int
25016 main ()
25017 {
25018
25019 #if _SGI_COMPILER_VERSION >= 744
25020 chock me: mipsPro is 7.4.4 or later
25021 #endif
25022
25023 ;
25024 return 0;
25025 }
25026 _ACEOF
25027 rm -f conftest.$ac_objext
25028 if { (ac_try="$ac_compile"
25029 case "(($ac_try" in
25030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25031 *) ac_try_echo=$ac_try;;
25032 esac
25033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25034 (eval "$ac_compile") 2>conftest.er1
25035 ac_status=$?
25036 grep -v '^ *+' conftest.er1 >conftest.err
25037 rm -f conftest.er1
25038 cat conftest.err >&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } && {
25041 test -z "$ac_cxx_werror_flag" ||
25042 test ! -s conftest.err
25043 } && test -s conftest.$ac_objext; then
25044 wx_cv_prog_sgicxx744=no
25045 else
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5
25048
25049 wx_cv_prog_sgicxx744=yes
25050
25051 fi
25052
25053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25054 ac_ext=c
25055 ac_cpp='$CPP $CPPFLAGS'
25056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25059
25060
25061
25062 fi
25063 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25064 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25065
25066 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25067 CXXFLAGS="-woff 3970 $CXXFLAGS"
25068 fi
25069 fi
25070
25071 if test "x$HPCC" = "xyes"; then
25072 CFLAGS="+W 2011,2450 $CFLAGS"
25073 fi
25074 if test "x$HPCXX" = "xyes"; then
25075 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25076 fi
25077
25078 if test "x$COMPAQCXX" = "xyes"; then
25079 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25080 fi
25081
25082 ac_ext=cpp
25083 ac_cpp='$CXXCPP $CPPFLAGS'
25084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25087
25088
25089 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25090 if test "$wxUSE_UNICODE" = "yes"; then
25091 std_string="std::wstring"
25092 char_type="wchar_t"
25093 else
25094 std_string="std::string"
25095 char_type="char"
25096 fi
25097
25098 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25099 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25100 if test "${wx_cv_class_stdstring+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 else
25103
25104 cat >conftest.$ac_ext <<_ACEOF
25105 /* confdefs.h. */
25106 _ACEOF
25107 cat confdefs.h >>conftest.$ac_ext
25108 cat >>conftest.$ac_ext <<_ACEOF
25109 /* end confdefs.h. */
25110 #include <string>
25111 int
25112 main ()
25113 {
25114 $std_string foo;
25115 ;
25116 return 0;
25117 }
25118 _ACEOF
25119 rm -f conftest.$ac_objext
25120 if { (ac_try="$ac_compile"
25121 case "(($ac_try" in
25122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25123 *) ac_try_echo=$ac_try;;
25124 esac
25125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25126 (eval "$ac_compile") 2>conftest.er1
25127 ac_status=$?
25128 grep -v '^ *+' conftest.er1 >conftest.err
25129 rm -f conftest.er1
25130 cat conftest.err >&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); } && {
25133 test -z "$ac_cxx_werror_flag" ||
25134 test ! -s conftest.err
25135 } && test -s conftest.$ac_objext; then
25136 wx_cv_class_stdstring=yes
25137 else
25138 echo "$as_me: failed program was:" >&5
25139 sed 's/^/| /' conftest.$ac_ext >&5
25140
25141 wx_cv_class_stdstring=no
25142
25143 fi
25144
25145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25146
25147
25148 fi
25149 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25150 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25151
25152 if test "$wx_cv_class_stdstring" = yes; then
25153 if test "$wxUSE_UNICODE" = "yes"; then
25154 cat >>confdefs.h <<\_ACEOF
25155 #define HAVE_STD_WSTRING 1
25156 _ACEOF
25157
25158 fi
25159 else
25160 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25161 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25162 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 else
25165
25166 cat >conftest.$ac_ext <<_ACEOF
25167 /* confdefs.h. */
25168 _ACEOF
25169 cat confdefs.h >>conftest.$ac_ext
25170 cat >>conftest.$ac_ext <<_ACEOF
25171 /* end confdefs.h. */
25172
25173 #ifdef HAVE_WCHAR_H
25174 # ifdef __CYGWIN__
25175 # include <stddef.h>
25176 # endif
25177 # include <wchar.h>
25178 #endif
25179 #ifdef HAVE_STDLIB_H
25180 # include <stdlib.h>
25181 #endif
25182 #include <stdio.h>
25183 #include <string>
25184
25185 int
25186 main ()
25187 {
25188 std::basic_string<$char_type> foo;
25189 const $char_type* dummy = foo.c_str();
25190 ;
25191 return 0;
25192 }
25193 _ACEOF
25194 rm -f conftest.$ac_objext
25195 if { (ac_try="$ac_compile"
25196 case "(($ac_try" in
25197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25198 *) ac_try_echo=$ac_try;;
25199 esac
25200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25201 (eval "$ac_compile") 2>conftest.er1
25202 ac_status=$?
25203 grep -v '^ *+' conftest.er1 >conftest.err
25204 rm -f conftest.er1
25205 cat conftest.err >&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); } && {
25208 test -z "$ac_cxx_werror_flag" ||
25209 test ! -s conftest.err
25210 } && test -s conftest.$ac_objext; then
25211 wx_cv_class_stdbasicstring=yes
25212 else
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.$ac_ext >&5
25215
25216 wx_cv_class_stdbasicstring=no
25217
25218 fi
25219
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25221
25222
25223 fi
25224 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25225 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25226
25227 if test "$wx_cv_class_stdbasicstring" != yes; then
25228 if test "$wxUSE_STL" = "yes"; then
25229 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25230 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25231 { (exit 1); exit 1; }; }
25232 elif test "$wxUSE_STD_STRING" = "yes"; then
25233 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25234 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25235 { (exit 1); exit 1; }; }
25236 else
25237 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25238 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25239 wxUSE_STD_STRING=no
25240 fi
25241 fi
25242 fi
25243 fi
25244
25245 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25246 { echo "$as_me:$LINENO: checking for std::istream" >&5
25247 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25248 if test "${ac_cv_type_std__istream+set}" = set; then
25249 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 else
25251 cat >conftest.$ac_ext <<_ACEOF
25252 /* confdefs.h. */
25253 _ACEOF
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25257 #include <iostream>
25258
25259 typedef std::istream ac__type_new_;
25260 int
25261 main ()
25262 {
25263 if ((ac__type_new_ *) 0)
25264 return 0;
25265 if (sizeof (ac__type_new_))
25266 return 0;
25267 ;
25268 return 0;
25269 }
25270 _ACEOF
25271 rm -f conftest.$ac_objext
25272 if { (ac_try="$ac_compile"
25273 case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25275 *) ac_try_echo=$ac_try;;
25276 esac
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_compile") 2>conftest.er1
25279 ac_status=$?
25280 grep -v '^ *+' conftest.er1 >conftest.err
25281 rm -f conftest.er1
25282 cat conftest.err >&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } && {
25285 test -z "$ac_cxx_werror_flag" ||
25286 test ! -s conftest.err
25287 } && test -s conftest.$ac_objext; then
25288 ac_cv_type_std__istream=yes
25289 else
25290 echo "$as_me: failed program was:" >&5
25291 sed 's/^/| /' conftest.$ac_ext >&5
25292
25293 ac_cv_type_std__istream=no
25294 fi
25295
25296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25297 fi
25298 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25299 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25300 if test $ac_cv_type_std__istream = yes; then
25301
25302 cat >>confdefs.h <<_ACEOF
25303 #define HAVE_STD__ISTREAM 1
25304 _ACEOF
25305
25306
25307 else
25308 wxUSE_STD_IOSTREAM=no
25309 fi
25310 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25311 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25312 if test "${ac_cv_type_std__ostream+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 else
25315 cat >conftest.$ac_ext <<_ACEOF
25316 /* confdefs.h. */
25317 _ACEOF
25318 cat confdefs.h >>conftest.$ac_ext
25319 cat >>conftest.$ac_ext <<_ACEOF
25320 /* end confdefs.h. */
25321 #include <iostream>
25322
25323 typedef std::ostream ac__type_new_;
25324 int
25325 main ()
25326 {
25327 if ((ac__type_new_ *) 0)
25328 return 0;
25329 if (sizeof (ac__type_new_))
25330 return 0;
25331 ;
25332 return 0;
25333 }
25334 _ACEOF
25335 rm -f conftest.$ac_objext
25336 if { (ac_try="$ac_compile"
25337 case "(($ac_try" in
25338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25340 esac
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_compile") 2>conftest.er1
25343 ac_status=$?
25344 grep -v '^ *+' conftest.er1 >conftest.err
25345 rm -f conftest.er1
25346 cat conftest.err >&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && {
25349 test -z "$ac_cxx_werror_flag" ||
25350 test ! -s conftest.err
25351 } && test -s conftest.$ac_objext; then
25352 ac_cv_type_std__ostream=yes
25353 else
25354 echo "$as_me: failed program was:" >&5
25355 sed 's/^/| /' conftest.$ac_ext >&5
25356
25357 ac_cv_type_std__ostream=no
25358 fi
25359
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361 fi
25362 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25363 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25364 if test $ac_cv_type_std__ostream = yes; then
25365
25366 cat >>confdefs.h <<_ACEOF
25367 #define HAVE_STD__OSTREAM 1
25368 _ACEOF
25369
25370
25371 else
25372 wxUSE_STD_IOSTREAM=no
25373 fi
25374
25375
25376 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25378 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25379 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25380 { (exit 1); exit 1; }; }
25381 else
25382 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25383 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25384 fi
25385 fi
25386 fi
25387
25388 if test "$wxUSE_STL" = "yes"; then
25389 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25390 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25391 if test "${wx_cv_lib_stl+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 else
25394 cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h. */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25400 #include <string>
25401 #include <functional>
25402 #include <algorithm>
25403 #include <vector>
25404 #include <list>
25405 int
25406 main ()
25407 {
25408 std::vector<int> moo;
25409 std::list<int> foo;
25410 std::vector<int>::iterator it =
25411 std::find_if(moo.begin(), moo.end(),
25412 std::bind2nd(std::less<int>(), 3));
25413 ;
25414 return 0;
25415 }
25416 _ACEOF
25417 rm -f conftest.$ac_objext
25418 if { (ac_try="$ac_compile"
25419 case "(($ac_try" in
25420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25421 *) ac_try_echo=$ac_try;;
25422 esac
25423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25424 (eval "$ac_compile") 2>conftest.er1
25425 ac_status=$?
25426 grep -v '^ *+' conftest.er1 >conftest.err
25427 rm -f conftest.er1
25428 cat conftest.err >&5
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); } && {
25431 test -z "$ac_cxx_werror_flag" ||
25432 test ! -s conftest.err
25433 } && test -s conftest.$ac_objext; then
25434 wx_cv_lib_stl=yes
25435 else
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.$ac_ext >&5
25438
25439 wx_cv_lib_stl=no
25440
25441 fi
25442
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25444
25445 fi
25446 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25447 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25448
25449 if test "$wx_cv_lib_stl" != yes; then
25450 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25451 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25452 { (exit 1); exit 1; }; }
25453 fi
25454
25455 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25456 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25457 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25458 echo $ECHO_N "(cached) $ECHO_C" >&6
25459 else
25460 cat >conftest.$ac_ext <<_ACEOF
25461 /* confdefs.h. */
25462 _ACEOF
25463 cat confdefs.h >>conftest.$ac_ext
25464 cat >>conftest.$ac_ext <<_ACEOF
25465 /* end confdefs.h. */
25466 #include <string>
25467 int
25468 main ()
25469 {
25470 std::string foo, bar;
25471 foo.compare(bar);
25472 foo.compare(1, 1, bar);
25473 foo.compare(1, 1, bar, 1, 1);
25474 foo.compare("");
25475 foo.compare(1, 1, "");
25476 foo.compare(1, 1, "", 2);
25477 ;
25478 return 0;
25479 }
25480 _ACEOF
25481 rm -f conftest.$ac_objext
25482 if { (ac_try="$ac_compile"
25483 case "(($ac_try" in
25484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25485 *) ac_try_echo=$ac_try;;
25486 esac
25487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25488 (eval "$ac_compile") 2>conftest.er1
25489 ac_status=$?
25490 grep -v '^ *+' conftest.er1 >conftest.err
25491 rm -f conftest.er1
25492 cat conftest.err >&5
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); } && {
25495 test -z "$ac_cxx_werror_flag" ||
25496 test ! -s conftest.err
25497 } && test -s conftest.$ac_objext; then
25498 wx_cv_func_stdstring_compare=yes
25499 else
25500 echo "$as_me: failed program was:" >&5
25501 sed 's/^/| /' conftest.$ac_ext >&5
25502
25503 wx_cv_func_stdstring_compare=no
25504
25505 fi
25506
25507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25508
25509 fi
25510 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25511 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25512
25513 if test "$wx_cv_func_stdstring_compare" = yes; then
25514 cat >>confdefs.h <<\_ACEOF
25515 #define HAVE_STD_STRING_COMPARE 1
25516 _ACEOF
25517
25518 fi
25519
25520 if test "$wx_cv_class_gnuhashmapset" = yes; then
25521 cat >>confdefs.h <<\_ACEOF
25522 #define HAVE_EXT_HASH_MAP 1
25523 _ACEOF
25524
25525 cat >>confdefs.h <<\_ACEOF
25526 #define HAVE_GNU_CXX_HASH_MAP 1
25527 _ACEOF
25528
25529 fi
25530
25531 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25532 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25533 if test "${ac_cv_header_unordered_map+set}" = set; then
25534 echo $ECHO_N "(cached) $ECHO_C" >&6
25535 else
25536 cat >conftest.$ac_ext <<_ACEOF
25537 /* confdefs.h. */
25538 _ACEOF
25539 cat confdefs.h >>conftest.$ac_ext
25540 cat >>conftest.$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25542
25543
25544
25545 #include <unordered_map>
25546 _ACEOF
25547 rm -f conftest.$ac_objext
25548 if { (ac_try="$ac_compile"
25549 case "(($ac_try" in
25550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25551 *) ac_try_echo=$ac_try;;
25552 esac
25553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25554 (eval "$ac_compile") 2>conftest.er1
25555 ac_status=$?
25556 grep -v '^ *+' conftest.er1 >conftest.err
25557 rm -f conftest.er1
25558 cat conftest.err >&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } && {
25561 test -z "$ac_cxx_werror_flag" ||
25562 test ! -s conftest.err
25563 } && test -s conftest.$ac_objext; then
25564 ac_cv_header_unordered_map=yes
25565 else
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.$ac_ext >&5
25568
25569 ac_cv_header_unordered_map=no
25570 fi
25571
25572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25573 fi
25574 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25575 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25576 if test $ac_cv_header_unordered_map = yes; then
25577 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25578 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25579 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 else
25582 cat >conftest.$ac_ext <<_ACEOF
25583 /* confdefs.h. */
25584 _ACEOF
25585 cat confdefs.h >>conftest.$ac_ext
25586 cat >>conftest.$ac_ext <<_ACEOF
25587 /* end confdefs.h. */
25588 #include <unordered_map>
25589 #include <unordered_set>
25590 int
25591 main ()
25592 {
25593 std::unordered_map<double*, char*> test1;
25594 std::unordered_set<char*> test2;
25595 ;
25596 return 0;
25597 }
25598 _ACEOF
25599 rm -f conftest.$ac_objext
25600 if { (ac_try="$ac_compile"
25601 case "(($ac_try" in
25602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25603 *) ac_try_echo=$ac_try;;
25604 esac
25605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25606 (eval "$ac_compile") 2>conftest.er1
25607 ac_status=$?
25608 grep -v '^ *+' conftest.er1 >conftest.err
25609 rm -f conftest.er1
25610 cat conftest.err >&5
25611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612 (exit $ac_status); } && {
25613 test -z "$ac_cxx_werror_flag" ||
25614 test ! -s conftest.err
25615 } && test -s conftest.$ac_objext; then
25616 wx_cv_class_stdunorderedmapset=yes
25617 else
25618 echo "$as_me: failed program was:" >&5
25619 sed 's/^/| /' conftest.$ac_ext >&5
25620
25621 wx_cv_class_stdunorderedmapset=no
25622 fi
25623
25624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25625
25626
25627 fi
25628 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25629 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25630 fi
25631
25632
25633
25634 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25635 cat >>confdefs.h <<\_ACEOF
25636 #define HAVE_STD_UNORDERED_MAP 1
25637 _ACEOF
25638
25639 cat >>confdefs.h <<\_ACEOF
25640 #define HAVE_STD_UNORDERED_SET 1
25641 _ACEOF
25642
25643 else
25644 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25645 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25646 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25647 echo $ECHO_N "(cached) $ECHO_C" >&6
25648 else
25649 cat >conftest.$ac_ext <<_ACEOF
25650 /* confdefs.h. */
25651 _ACEOF
25652 cat confdefs.h >>conftest.$ac_ext
25653 cat >>conftest.$ac_ext <<_ACEOF
25654 /* end confdefs.h. */
25655
25656
25657
25658 #include <tr1/unordered_map>
25659 _ACEOF
25660 rm -f conftest.$ac_objext
25661 if { (ac_try="$ac_compile"
25662 case "(($ac_try" in
25663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25664 *) ac_try_echo=$ac_try;;
25665 esac
25666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25667 (eval "$ac_compile") 2>conftest.er1
25668 ac_status=$?
25669 grep -v '^ *+' conftest.er1 >conftest.err
25670 rm -f conftest.er1
25671 cat conftest.err >&5
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); } && {
25674 test -z "$ac_cxx_werror_flag" ||
25675 test ! -s conftest.err
25676 } && test -s conftest.$ac_objext; then
25677 ac_cv_header_tr1_unordered_map=yes
25678 else
25679 echo "$as_me: failed program was:" >&5
25680 sed 's/^/| /' conftest.$ac_ext >&5
25681
25682 ac_cv_header_tr1_unordered_map=no
25683 fi
25684
25685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25686 fi
25687 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25688 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25689 if test $ac_cv_header_tr1_unordered_map = yes; then
25690 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25691 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25692 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25694 else
25695 cat >conftest.$ac_ext <<_ACEOF
25696 /* confdefs.h. */
25697 _ACEOF
25698 cat confdefs.h >>conftest.$ac_ext
25699 cat >>conftest.$ac_ext <<_ACEOF
25700 /* end confdefs.h. */
25701 #include <tr1/unordered_map>
25702 #include <tr1/unordered_set>
25703 int
25704 main ()
25705 {
25706 std::tr1::unordered_map<double*, char*> test1;
25707 std::tr1::unordered_set<char*> test2;
25708 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25709 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25710 #endif
25711 ;
25712 return 0;
25713 }
25714 _ACEOF
25715 rm -f conftest.$ac_objext
25716 if { (ac_try="$ac_compile"
25717 case "(($ac_try" in
25718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25719 *) ac_try_echo=$ac_try;;
25720 esac
25721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722 (eval "$ac_compile") 2>conftest.er1
25723 ac_status=$?
25724 grep -v '^ *+' conftest.er1 >conftest.err
25725 rm -f conftest.er1
25726 cat conftest.err >&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } && {
25729 test -z "$ac_cxx_werror_flag" ||
25730 test ! -s conftest.err
25731 } && test -s conftest.$ac_objext; then
25732 wx_cv_class_tr1unorderedmapset=yes
25733 else
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.$ac_ext >&5
25736
25737 wx_cv_class_tr1unorderedmapset=no
25738 fi
25739
25740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25741
25742
25743 fi
25744 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25745 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25746 fi
25747
25748
25749
25750 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25751 cat >>confdefs.h <<\_ACEOF
25752 #define HAVE_TR1_UNORDERED_MAP 1
25753 _ACEOF
25754
25755 cat >>confdefs.h <<\_ACEOF
25756 #define HAVE_TR1_UNORDERED_SET 1
25757 _ACEOF
25758
25759 else
25760 { echo "$as_me:$LINENO: checking for hash_map" >&5
25761 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25762 if test "${ac_cv_header_hash_map+set}" = set; then
25763 echo $ECHO_N "(cached) $ECHO_C" >&6
25764 else
25765 cat >conftest.$ac_ext <<_ACEOF
25766 /* confdefs.h. */
25767 _ACEOF
25768 cat confdefs.h >>conftest.$ac_ext
25769 cat >>conftest.$ac_ext <<_ACEOF
25770 /* end confdefs.h. */
25771
25772
25773
25774 #include <hash_map>
25775 _ACEOF
25776 rm -f conftest.$ac_objext
25777 if { (ac_try="$ac_compile"
25778 case "(($ac_try" in
25779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25780 *) ac_try_echo=$ac_try;;
25781 esac
25782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25783 (eval "$ac_compile") 2>conftest.er1
25784 ac_status=$?
25785 grep -v '^ *+' conftest.er1 >conftest.err
25786 rm -f conftest.er1
25787 cat conftest.err >&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); } && {
25790 test -z "$ac_cxx_werror_flag" ||
25791 test ! -s conftest.err
25792 } && test -s conftest.$ac_objext; then
25793 ac_cv_header_hash_map=yes
25794 else
25795 echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.$ac_ext >&5
25797
25798 ac_cv_header_hash_map=no
25799 fi
25800
25801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25802 fi
25803 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25804 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25805 if test $ac_cv_header_hash_map = yes; then
25806 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25807 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25808 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25810 else
25811 cat >conftest.$ac_ext <<_ACEOF
25812 /* confdefs.h. */
25813 _ACEOF
25814 cat confdefs.h >>conftest.$ac_ext
25815 cat >>conftest.$ac_ext <<_ACEOF
25816 /* end confdefs.h. */
25817 #include <hash_map>
25818 #include <hash_set>
25819 int
25820 main ()
25821 {
25822 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25823 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 rm -f conftest.$ac_objext
25829 if { (ac_try="$ac_compile"
25830 case "(($ac_try" in
25831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25832 *) ac_try_echo=$ac_try;;
25833 esac
25834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25835 (eval "$ac_compile") 2>conftest.er1
25836 ac_status=$?
25837 grep -v '^ *+' conftest.er1 >conftest.err
25838 rm -f conftest.er1
25839 cat conftest.err >&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } && {
25842 test -z "$ac_cxx_werror_flag" ||
25843 test ! -s conftest.err
25844 } && test -s conftest.$ac_objext; then
25845 wx_cv_class_stdhashmapset=yes
25846 else
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.$ac_ext >&5
25849
25850 wx_cv_class_stdhashmapset=no
25851 fi
25852
25853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854
25855
25856 fi
25857 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25858 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25859 fi
25860
25861
25862
25863 if test "$wx_cv_class_stdhashmapset" = yes; then
25864 cat >>confdefs.h <<\_ACEOF
25865 #define HAVE_HASH_MAP 1
25866 _ACEOF
25867
25868 cat >>confdefs.h <<\_ACEOF
25869 #define HAVE_STD_HASH_MAP 1
25870 _ACEOF
25871
25872 fi
25873
25874 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25875 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25876 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 else
25879 cat >conftest.$ac_ext <<_ACEOF
25880 /* confdefs.h. */
25881 _ACEOF
25882 cat confdefs.h >>conftest.$ac_ext
25883 cat >>conftest.$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885
25886
25887
25888 #include <ext/hash_map>
25889 _ACEOF
25890 rm -f conftest.$ac_objext
25891 if { (ac_try="$ac_compile"
25892 case "(($ac_try" in
25893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25894 *) ac_try_echo=$ac_try;;
25895 esac
25896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25897 (eval "$ac_compile") 2>conftest.er1
25898 ac_status=$?
25899 grep -v '^ *+' conftest.er1 >conftest.err
25900 rm -f conftest.er1
25901 cat conftest.err >&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); } && {
25904 test -z "$ac_cxx_werror_flag" ||
25905 test ! -s conftest.err
25906 } && test -s conftest.$ac_objext; then
25907 ac_cv_header_ext_hash_map=yes
25908 else
25909 echo "$as_me: failed program was:" >&5
25910 sed 's/^/| /' conftest.$ac_ext >&5
25911
25912 ac_cv_header_ext_hash_map=no
25913 fi
25914
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916 fi
25917 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25918 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25919 if test $ac_cv_header_ext_hash_map = yes; then
25920 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25921 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25922 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25923 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 else
25925 cat >conftest.$ac_ext <<_ACEOF
25926 /* confdefs.h. */
25927 _ACEOF
25928 cat confdefs.h >>conftest.$ac_ext
25929 cat >>conftest.$ac_ext <<_ACEOF
25930 /* end confdefs.h. */
25931 #include <ext/hash_map>
25932 #include <ext/hash_set>
25933 int
25934 main ()
25935 {
25936 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25937 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25938 ;
25939 return 0;
25940 }
25941 _ACEOF
25942 rm -f conftest.$ac_objext
25943 if { (ac_try="$ac_compile"
25944 case "(($ac_try" in
25945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25947 esac
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_compile") 2>conftest.er1
25950 ac_status=$?
25951 grep -v '^ *+' conftest.er1 >conftest.err
25952 rm -f conftest.er1
25953 cat conftest.err >&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } && {
25956 test -z "$ac_cxx_werror_flag" ||
25957 test ! -s conftest.err
25958 } && test -s conftest.$ac_objext; then
25959 wx_cv_class_gnuhashmapset=yes
25960 else
25961 echo "$as_me: failed program was:" >&5
25962 sed 's/^/| /' conftest.$ac_ext >&5
25963
25964 wx_cv_class_gnuhashmapset=no
25965 fi
25966
25967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25968
25969
25970 fi
25971 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25972 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25973 fi
25974
25975
25976
25977 fi
25978 fi
25979 fi
25980
25981 ac_ext=cpp
25982 ac_cpp='$CXXCPP $CPPFLAGS'
25983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25986 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25987 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25988 if test -z "$CXXCPP"; then
25989 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25990 echo $ECHO_N "(cached) $ECHO_C" >&6
25991 else
25992 # Double quotes because CXXCPP needs to be expanded
25993 for CXXCPP in "$CXX -E" "/lib/cpp"
25994 do
25995 ac_preproc_ok=false
25996 for ac_cxx_preproc_warn_flag in '' yes
25997 do
25998 # Use a header file that comes with gcc, so configuring glibc
25999 # with a fresh cross-compiler works.
26000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26001 # <limits.h> exists even on freestanding compilers.
26002 # On the NeXT, cc -E runs the code through the compiler's parser,
26003 # not just through cpp. "Syntax error" is here to catch this case.
26004 cat >conftest.$ac_ext <<_ACEOF
26005 /* confdefs.h. */
26006 _ACEOF
26007 cat confdefs.h >>conftest.$ac_ext
26008 cat >>conftest.$ac_ext <<_ACEOF
26009 /* end confdefs.h. */
26010 #ifdef __STDC__
26011 # include <limits.h>
26012 #else
26013 # include <assert.h>
26014 #endif
26015 Syntax error
26016 _ACEOF
26017 if { (ac_try="$ac_cpp conftest.$ac_ext"
26018 case "(($ac_try" in
26019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26020 *) ac_try_echo=$ac_try;;
26021 esac
26022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26024 ac_status=$?
26025 grep -v '^ *+' conftest.er1 >conftest.err
26026 rm -f conftest.er1
26027 cat conftest.err >&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); } >/dev/null && {
26030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26031 test ! -s conftest.err
26032 }; then
26033 :
26034 else
26035 echo "$as_me: failed program was:" >&5
26036 sed 's/^/| /' conftest.$ac_ext >&5
26037
26038 # Broken: fails on valid input.
26039 continue
26040 fi
26041
26042 rm -f conftest.err conftest.$ac_ext
26043
26044 # OK, works on sane cases. Now check whether nonexistent headers
26045 # can be detected and how.
26046 cat >conftest.$ac_ext <<_ACEOF
26047 /* confdefs.h. */
26048 _ACEOF
26049 cat confdefs.h >>conftest.$ac_ext
26050 cat >>conftest.$ac_ext <<_ACEOF
26051 /* end confdefs.h. */
26052 #include <ac_nonexistent.h>
26053 _ACEOF
26054 if { (ac_try="$ac_cpp conftest.$ac_ext"
26055 case "(($ac_try" in
26056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26057 *) ac_try_echo=$ac_try;;
26058 esac
26059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26061 ac_status=$?
26062 grep -v '^ *+' conftest.er1 >conftest.err
26063 rm -f conftest.er1
26064 cat conftest.err >&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } >/dev/null && {
26067 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26068 test ! -s conftest.err
26069 }; then
26070 # Broken: success on invalid input.
26071 continue
26072 else
26073 echo "$as_me: failed program was:" >&5
26074 sed 's/^/| /' conftest.$ac_ext >&5
26075
26076 # Passes both tests.
26077 ac_preproc_ok=:
26078 break
26079 fi
26080
26081 rm -f conftest.err conftest.$ac_ext
26082
26083 done
26084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26085 rm -f conftest.err conftest.$ac_ext
26086 if $ac_preproc_ok; then
26087 break
26088 fi
26089
26090 done
26091 ac_cv_prog_CXXCPP=$CXXCPP
26092
26093 fi
26094 CXXCPP=$ac_cv_prog_CXXCPP
26095 else
26096 ac_cv_prog_CXXCPP=$CXXCPP
26097 fi
26098 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26099 echo "${ECHO_T}$CXXCPP" >&6; }
26100 ac_preproc_ok=false
26101 for ac_cxx_preproc_warn_flag in '' yes
26102 do
26103 # Use a header file that comes with gcc, so configuring glibc
26104 # with a fresh cross-compiler works.
26105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26106 # <limits.h> exists even on freestanding compilers.
26107 # On the NeXT, cc -E runs the code through the compiler's parser,
26108 # not just through cpp. "Syntax error" is here to catch this case.
26109 cat >conftest.$ac_ext <<_ACEOF
26110 /* confdefs.h. */
26111 _ACEOF
26112 cat confdefs.h >>conftest.$ac_ext
26113 cat >>conftest.$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26115 #ifdef __STDC__
26116 # include <limits.h>
26117 #else
26118 # include <assert.h>
26119 #endif
26120 Syntax error
26121 _ACEOF
26122 if { (ac_try="$ac_cpp conftest.$ac_ext"
26123 case "(($ac_try" in
26124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26125 *) ac_try_echo=$ac_try;;
26126 esac
26127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26129 ac_status=$?
26130 grep -v '^ *+' conftest.er1 >conftest.err
26131 rm -f conftest.er1
26132 cat conftest.err >&5
26133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134 (exit $ac_status); } >/dev/null && {
26135 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26136 test ! -s conftest.err
26137 }; then
26138 :
26139 else
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.$ac_ext >&5
26142
26143 # Broken: fails on valid input.
26144 continue
26145 fi
26146
26147 rm -f conftest.err conftest.$ac_ext
26148
26149 # OK, works on sane cases. Now check whether nonexistent headers
26150 # can be detected and how.
26151 cat >conftest.$ac_ext <<_ACEOF
26152 /* confdefs.h. */
26153 _ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26157 #include <ac_nonexistent.h>
26158 _ACEOF
26159 if { (ac_try="$ac_cpp conftest.$ac_ext"
26160 case "(($ac_try" in
26161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26162 *) ac_try_echo=$ac_try;;
26163 esac
26164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26166 ac_status=$?
26167 grep -v '^ *+' conftest.er1 >conftest.err
26168 rm -f conftest.er1
26169 cat conftest.err >&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } >/dev/null && {
26172 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26173 test ! -s conftest.err
26174 }; then
26175 # Broken: success on invalid input.
26176 continue
26177 else
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26180
26181 # Passes both tests.
26182 ac_preproc_ok=:
26183 break
26184 fi
26185
26186 rm -f conftest.err conftest.$ac_ext
26187
26188 done
26189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26190 rm -f conftest.err conftest.$ac_ext
26191 if $ac_preproc_ok; then
26192 :
26193 else
26194 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26195 See \`config.log' for more details." >&5
26196 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26197 See \`config.log' for more details." >&2;}
26198 { (exit 1); exit 1; }; }
26199 fi
26200
26201 ac_ext=cpp
26202 ac_cpp='$CXXCPP $CPPFLAGS'
26203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26206
26207
26208
26209
26210 for ac_header in type_traits tr1/type_traits
26211 do
26212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26214 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26217 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 fi
26219 ac_res=`eval echo '${'$as_ac_Header'}'`
26220 { echo "$as_me:$LINENO: result: $ac_res" >&5
26221 echo "${ECHO_T}$ac_res" >&6; }
26222 else
26223 # Is the header compilable?
26224 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26226 cat >conftest.$ac_ext <<_ACEOF
26227 /* confdefs.h. */
26228 _ACEOF
26229 cat confdefs.h >>conftest.$ac_ext
26230 cat >>conftest.$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26232 $ac_includes_default
26233 #include <$ac_header>
26234 _ACEOF
26235 rm -f conftest.$ac_objext
26236 if { (ac_try="$ac_compile"
26237 case "(($ac_try" in
26238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26239 *) ac_try_echo=$ac_try;;
26240 esac
26241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26242 (eval "$ac_compile") 2>conftest.er1
26243 ac_status=$?
26244 grep -v '^ *+' conftest.er1 >conftest.err
26245 rm -f conftest.er1
26246 cat conftest.err >&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } && {
26249 test -z "$ac_cxx_werror_flag" ||
26250 test ! -s conftest.err
26251 } && test -s conftest.$ac_objext; then
26252 ac_header_compiler=yes
26253 else
26254 echo "$as_me: failed program was:" >&5
26255 sed 's/^/| /' conftest.$ac_ext >&5
26256
26257 ac_header_compiler=no
26258 fi
26259
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26262 echo "${ECHO_T}$ac_header_compiler" >&6; }
26263
26264 # Is the header present?
26265 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26267 cat >conftest.$ac_ext <<_ACEOF
26268 /* confdefs.h. */
26269 _ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273 #include <$ac_header>
26274 _ACEOF
26275 if { (ac_try="$ac_cpp conftest.$ac_ext"
26276 case "(($ac_try" in
26277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26278 *) ac_try_echo=$ac_try;;
26279 esac
26280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26282 ac_status=$?
26283 grep -v '^ *+' conftest.er1 >conftest.err
26284 rm -f conftest.er1
26285 cat conftest.err >&5
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); } >/dev/null && {
26288 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26289 test ! -s conftest.err
26290 }; then
26291 ac_header_preproc=yes
26292 else
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.$ac_ext >&5
26295
26296 ac_header_preproc=no
26297 fi
26298
26299 rm -f conftest.err conftest.$ac_ext
26300 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26301 echo "${ECHO_T}$ac_header_preproc" >&6; }
26302
26303 # So? What about this header?
26304 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26305 yes:no: )
26306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26310 ac_header_preproc=yes
26311 ;;
26312 no:yes:* )
26313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26325 ( cat <<\_ASBOX
26326 ## ----------------------------------------- ##
26327 ## Report this to wx-dev@lists.wxwidgets.org ##
26328 ## ----------------------------------------- ##
26329 _ASBOX
26330 ) | sed "s/^/$as_me: WARNING: /" >&2
26331 ;;
26332 esac
26333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26336 echo $ECHO_N "(cached) $ECHO_C" >&6
26337 else
26338 eval "$as_ac_Header=\$ac_header_preproc"
26339 fi
26340 ac_res=`eval echo '${'$as_ac_Header'}'`
26341 { echo "$as_me:$LINENO: result: $ac_res" >&5
26342 echo "${ECHO_T}$ac_res" >&6; }
26343
26344 fi
26345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26346 cat >>confdefs.h <<_ACEOF
26347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26348 _ACEOF
26349
26350 fi
26351
26352 done
26353
26354
26355
26356
26357 if test -n "$GCC"; then
26358 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26359 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26360 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26361 echo $ECHO_N "(cached) $ECHO_C" >&6
26362 else
26363
26364 cat >conftest.$ac_ext <<_ACEOF
26365 /* confdefs.h. */
26366 _ACEOF
26367 cat confdefs.h >>conftest.$ac_ext
26368 cat >>conftest.$ac_ext <<_ACEOF
26369 /* end confdefs.h. */
26370
26371 int
26372 main ()
26373 {
26374
26375 unsigned int value=0;
26376 /* wxAtomicInc doesn't use return value here */
26377 __sync_fetch_and_add(&value, 2);
26378 __sync_sub_and_fetch(&value, 1);
26379 /* but wxAtomicDec does, so mimic that: */
26380 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26381
26382 ;
26383 return 0;
26384 }
26385 _ACEOF
26386 rm -f conftest.$ac_objext conftest$ac_exeext
26387 if { (ac_try="$ac_link"
26388 case "(($ac_try" in
26389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26391 esac
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_link") 2>conftest.er1
26394 ac_status=$?
26395 grep -v '^ *+' conftest.er1 >conftest.err
26396 rm -f conftest.er1
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && {
26400 test -z "$ac_cxx_werror_flag" ||
26401 test ! -s conftest.err
26402 } && test -s conftest$ac_exeext &&
26403 $as_test_x conftest$ac_exeext; then
26404 wx_cv_cc_gcc_atomic_builtins=yes
26405 else
26406 echo "$as_me: failed program was:" >&5
26407 sed 's/^/| /' conftest.$ac_ext >&5
26408
26409 wx_cv_cc_gcc_atomic_builtins=no
26410 fi
26411
26412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26413 conftest$ac_exeext conftest.$ac_ext
26414
26415 fi
26416
26417 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26418 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26419 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26420 cat >>confdefs.h <<\_ACEOF
26421 #define HAVE_GCC_ATOMIC_BUILTINS 1
26422 _ACEOF
26423
26424 fi
26425 fi
26426
26427
26428 ac_ext=c
26429 ac_cpp='$CPP $CPPFLAGS'
26430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26433
26434
26435
26436 SEARCH_INCLUDE="\
26437 /usr/local/include \
26438 /usr/local/X11/include \
26439 /usr/local/include/X11 \
26440 /usr/local/X11R7/include \
26441 /usr/local/X11R6/include \
26442 /usr/local/include/X11R7 \
26443 /usr/local/include/X11R6 \
26444 \
26445 /usr/Motif-2.1/include \
26446 /usr/Motif-1.2/include \
26447 /usr/include/Motif1.2 \
26448 \
26449 /usr/dt/include \
26450 /usr/openwin/include \
26451 \
26452 /usr/include/Xm \
26453 \
26454 /usr/X11R7/include \
26455 /usr/X11R6/include \
26456 /usr/X11R6.4/include \
26457 \
26458 /usr/include/X11R7 \
26459 /usr/include/X11R6 \
26460 \
26461 /usr/X11/include \
26462 /usr/include/X11 \
26463 \
26464 /usr/XFree86/include/X11 \
26465 /usr/pkg/include \
26466 \
26467 /usr/local/X1R5/include \
26468 /usr/local/include/X11R5 \
26469 /usr/X11R5/include \
26470 /usr/include/X11R5 \
26471 \
26472 /usr/local/X11R4/include \
26473 /usr/local/include/X11R4 \
26474 /usr/X11R4/include \
26475 /usr/include/X11R4 \
26476 \
26477 /usr/openwin/share/include"
26478
26479 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26480 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26481
26482 case "${host}" in
26483 *-*-irix6* )
26484 if test "${wx_cv_std_libpath+set}" = set; then
26485 echo $ECHO_N "(cached) $ECHO_C" >&6
26486 else
26487
26488 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26489 for e in a so sl dylib dll.a; do
26490 libc="$d/libc.$e"
26491 if test -f $libc; then
26492 save_LIBS="$LIBS"
26493 LIBS="$libc"
26494 cat >conftest.$ac_ext <<_ACEOF
26495 int main() { return 0; }
26496 _ACEOF
26497 rm -f conftest.$ac_objext conftest$ac_exeext
26498 if { (ac_try="$ac_link"
26499 case "(($ac_try" in
26500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26501 *) ac_try_echo=$ac_try;;
26502 esac
26503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26504 (eval "$ac_link") 2>conftest.er1
26505 ac_status=$?
26506 grep -v '^ *+' conftest.er1 >conftest.err
26507 rm -f conftest.er1
26508 cat conftest.err >&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } && {
26511 test -z "$ac_c_werror_flag" ||
26512 test ! -s conftest.err
26513 } && test -s conftest$ac_exeext &&
26514 $as_test_x conftest$ac_exeext; then
26515 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26516 else
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26519
26520
26521 fi
26522
26523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26524 conftest$ac_exeext conftest.$ac_ext
26525 LIBS="$save_LIBS"
26526 if test "x$wx_cv_std_libpath" != "x"; then
26527 break 2
26528 fi
26529 fi
26530 done
26531 done
26532 if test "x$wx_cv_std_libpath" = "x"; then
26533 wx_cv_std_libpath="lib"
26534 fi
26535
26536
26537 fi
26538
26539 ;;
26540
26541 *-*-solaris2* )
26542 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26543 wx_cv_std_libpath="lib/64"
26544 else
26545 wx_cv_std_libpath="lib"
26546 fi
26547 ;;
26548
26549 *-*-linux* )
26550 if test "$ac_cv_sizeof_void_p" = 8 -a \
26551 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26552 wx_cv_std_libpath="lib64"
26553 else
26554 wx_cv_std_libpath="lib"
26555 fi
26556 ;;
26557
26558 *)
26559 wx_cv_std_libpath="lib";
26560 ;;
26561 esac
26562
26563 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26564 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26565
26566 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26567
26568 if test "$build" != "$host" -a "$GCC" = yes; then
26569 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26570 cross_root=`dirname $cross_root`
26571 cross_root=`dirname $cross_root`
26572
26573 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26574 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26575 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26576
26577 if test -z "$PKG_CONFIG_PATH"; then
26578 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26579 export PKG_CONFIG_PATH
26580 fi
26581
26582 if test -z "$x_includes" -o "$x_includes" = NONE; then
26583
26584 ac_find_includes=
26585 for ac_dir in $SEARCH_INCLUDE /usr/include;
26586 do
26587 if test -f "$ac_dir/X11/Intrinsic.h"; then
26588 ac_find_includes=$ac_dir
26589 break
26590 fi
26591 done
26592
26593 x_includes=$ac_find_includes
26594 fi
26595 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26596
26597 ac_find_libraries=
26598 for ac_dir in $SEARCH_LIB;
26599 do
26600 for ac_extension in a so sl dylib dll.a; do
26601 if test -f "$ac_dir/libXt.$ac_extension"; then
26602 ac_find_libraries=$ac_dir
26603 break 2
26604 fi
26605 done
26606 done
26607
26608 x_libraries=$ac_find_libraries
26609 fi
26610 fi
26611 fi
26612
26613
26614 cat >confcache <<\_ACEOF
26615 # This file is a shell script that caches the results of configure
26616 # tests run on this system so they can be shared between configure
26617 # scripts and configure runs, see configure's option --config-cache.
26618 # It is not useful on other systems. If it contains results you don't
26619 # want to keep, you may remove or edit it.
26620 #
26621 # config.status only pays attention to the cache file if you give it
26622 # the --recheck option to rerun configure.
26623 #
26624 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26625 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26626 # following values.
26627
26628 _ACEOF
26629
26630 # The following way of writing the cache mishandles newlines in values,
26631 # but we know of no workaround that is simple, portable, and efficient.
26632 # So, we kill variables containing newlines.
26633 # Ultrix sh set writes to stderr and can't be redirected directly,
26634 # and sets the high bit in the cache file unless we assign to the vars.
26635 (
26636 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26637 eval ac_val=\$$ac_var
26638 case $ac_val in #(
26639 *${as_nl}*)
26640 case $ac_var in #(
26641 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26642 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26643 esac
26644 case $ac_var in #(
26645 _ | IFS | as_nl) ;; #(
26646 *) $as_unset $ac_var ;;
26647 esac ;;
26648 esac
26649 done
26650
26651 (set) 2>&1 |
26652 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26653 *${as_nl}ac_space=\ *)
26654 # `set' does not quote correctly, so add quotes (double-quote
26655 # substitution turns \\\\ into \\, and sed turns \\ into \).
26656 sed -n \
26657 "s/'/'\\\\''/g;
26658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26659 ;; #(
26660 *)
26661 # `set' quotes correctly as required by POSIX, so do not add quotes.
26662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26663 ;;
26664 esac |
26665 sort
26666 ) |
26667 sed '
26668 /^ac_cv_env_/b end
26669 t clear
26670 :clear
26671 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26672 t end
26673 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26674 :end' >>confcache
26675 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26676 if test -w "$cache_file"; then
26677 test "x$cache_file" != "x/dev/null" &&
26678 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26679 echo "$as_me: updating cache $cache_file" >&6;}
26680 cat confcache >$cache_file
26681 else
26682 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26683 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26684 fi
26685 fi
26686 rm -f confcache
26687
26688 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26689 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26690 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26691 if test "${wx_cv_lib_glibc21+set}" = set; then
26692 echo $ECHO_N "(cached) $ECHO_C" >&6
26693 else
26694
26695 cat >conftest.$ac_ext <<_ACEOF
26696 /* confdefs.h. */
26697 _ACEOF
26698 cat confdefs.h >>conftest.$ac_ext
26699 cat >>conftest.$ac_ext <<_ACEOF
26700 /* end confdefs.h. */
26701 #include <features.h>
26702 int
26703 main ()
26704 {
26705
26706 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26707 not glibc 2.1
26708 #endif
26709
26710 ;
26711 return 0;
26712 }
26713 _ACEOF
26714 rm -f conftest.$ac_objext
26715 if { (ac_try="$ac_compile"
26716 case "(($ac_try" in
26717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26718 *) ac_try_echo=$ac_try;;
26719 esac
26720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26721 (eval "$ac_compile") 2>conftest.er1
26722 ac_status=$?
26723 grep -v '^ *+' conftest.er1 >conftest.err
26724 rm -f conftest.er1
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && {
26728 test -z "$ac_c_werror_flag" ||
26729 test ! -s conftest.err
26730 } && test -s conftest.$ac_objext; then
26731
26732 wx_cv_lib_glibc21=yes
26733
26734 else
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.$ac_ext >&5
26737
26738
26739 wx_cv_lib_glibc21=no
26740
26741
26742 fi
26743
26744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26745
26746 fi
26747 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26748 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26749 if test "$wx_cv_lib_glibc21" = "yes"; then
26750 cat >>confdefs.h <<\_ACEOF
26751 #define wxHAVE_GLIBC2 1
26752 _ACEOF
26753
26754 fi
26755 fi
26756
26757 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26758 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26759 cat >>confdefs.h <<\_ACEOF
26760 #define _GNU_SOURCE 1
26761 _ACEOF
26762
26763 fi
26764 fi
26765
26766 have_cos=0
26767 have_floor=0
26768
26769 for ac_func in cos
26770 do
26771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26775 echo $ECHO_N "(cached) $ECHO_C" >&6
26776 else
26777 cat >conftest.$ac_ext <<_ACEOF
26778 /* confdefs.h. */
26779 _ACEOF
26780 cat confdefs.h >>conftest.$ac_ext
26781 cat >>conftest.$ac_ext <<_ACEOF
26782 /* end confdefs.h. */
26783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26785 #define $ac_func innocuous_$ac_func
26786
26787 /* System header to define __stub macros and hopefully few prototypes,
26788 which can conflict with char $ac_func (); below.
26789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26790 <limits.h> exists even on freestanding compilers. */
26791
26792 #ifdef __STDC__
26793 # include <limits.h>
26794 #else
26795 # include <assert.h>
26796 #endif
26797
26798 #undef $ac_func
26799
26800 /* Override any GCC internal prototype to avoid an error.
26801 Use char because int might match the return type of a GCC
26802 builtin and then its argument prototype would still apply. */
26803 #ifdef __cplusplus
26804 extern "C"
26805 #endif
26806 char $ac_func ();
26807 /* The GNU C library defines this for functions which it implements
26808 to always fail with ENOSYS. Some functions are actually named
26809 something starting with __ and the normal name is an alias. */
26810 #if defined __stub_$ac_func || defined __stub___$ac_func
26811 choke me
26812 #endif
26813
26814 int
26815 main ()
26816 {
26817 return $ac_func ();
26818 ;
26819 return 0;
26820 }
26821 _ACEOF
26822 rm -f conftest.$ac_objext conftest$ac_exeext
26823 if { (ac_try="$ac_link"
26824 case "(($ac_try" in
26825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26826 *) ac_try_echo=$ac_try;;
26827 esac
26828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26829 (eval "$ac_link") 2>conftest.er1
26830 ac_status=$?
26831 grep -v '^ *+' conftest.er1 >conftest.err
26832 rm -f conftest.er1
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } && {
26836 test -z "$ac_c_werror_flag" ||
26837 test ! -s conftest.err
26838 } && test -s conftest$ac_exeext &&
26839 $as_test_x conftest$ac_exeext; then
26840 eval "$as_ac_var=yes"
26841 else
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26844
26845 eval "$as_ac_var=no"
26846 fi
26847
26848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26849 conftest$ac_exeext conftest.$ac_ext
26850 fi
26851 ac_res=`eval echo '${'$as_ac_var'}'`
26852 { echo "$as_me:$LINENO: result: $ac_res" >&5
26853 echo "${ECHO_T}$ac_res" >&6; }
26854 if test `eval echo '${'$as_ac_var'}'` = yes; then
26855 cat >>confdefs.h <<_ACEOF
26856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26857 _ACEOF
26858 have_cos=1
26859 fi
26860 done
26861
26862
26863 for ac_func in floor
26864 do
26865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26866 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26871 cat >conftest.$ac_ext <<_ACEOF
26872 /* confdefs.h. */
26873 _ACEOF
26874 cat confdefs.h >>conftest.$ac_ext
26875 cat >>conftest.$ac_ext <<_ACEOF
26876 /* end confdefs.h. */
26877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26879 #define $ac_func innocuous_$ac_func
26880
26881 /* System header to define __stub macros and hopefully few prototypes,
26882 which can conflict with char $ac_func (); below.
26883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26884 <limits.h> exists even on freestanding compilers. */
26885
26886 #ifdef __STDC__
26887 # include <limits.h>
26888 #else
26889 # include <assert.h>
26890 #endif
26891
26892 #undef $ac_func
26893
26894 /* Override any GCC internal prototype to avoid an error.
26895 Use char because int might match the return type of a GCC
26896 builtin and then its argument prototype would still apply. */
26897 #ifdef __cplusplus
26898 extern "C"
26899 #endif
26900 char $ac_func ();
26901 /* The GNU C library defines this for functions which it implements
26902 to always fail with ENOSYS. Some functions are actually named
26903 something starting with __ and the normal name is an alias. */
26904 #if defined __stub_$ac_func || defined __stub___$ac_func
26905 choke me
26906 #endif
26907
26908 int
26909 main ()
26910 {
26911 return $ac_func ();
26912 ;
26913 return 0;
26914 }
26915 _ACEOF
26916 rm -f conftest.$ac_objext conftest$ac_exeext
26917 if { (ac_try="$ac_link"
26918 case "(($ac_try" in
26919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26920 *) ac_try_echo=$ac_try;;
26921 esac
26922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26923 (eval "$ac_link") 2>conftest.er1
26924 ac_status=$?
26925 grep -v '^ *+' conftest.er1 >conftest.err
26926 rm -f conftest.er1
26927 cat conftest.err >&5
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); } && {
26930 test -z "$ac_c_werror_flag" ||
26931 test ! -s conftest.err
26932 } && test -s conftest$ac_exeext &&
26933 $as_test_x conftest$ac_exeext; then
26934 eval "$as_ac_var=yes"
26935 else
26936 echo "$as_me: failed program was:" >&5
26937 sed 's/^/| /' conftest.$ac_ext >&5
26938
26939 eval "$as_ac_var=no"
26940 fi
26941
26942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26943 conftest$ac_exeext conftest.$ac_ext
26944 fi
26945 ac_res=`eval echo '${'$as_ac_var'}'`
26946 { echo "$as_me:$LINENO: result: $ac_res" >&5
26947 echo "${ECHO_T}$ac_res" >&6; }
26948 if test `eval echo '${'$as_ac_var'}'` = yes; then
26949 cat >>confdefs.h <<_ACEOF
26950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26951 _ACEOF
26952 have_floor=1
26953 fi
26954 done
26955
26956 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26957 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26958 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26959 { echo "$as_me:$LINENO: result: yes" >&5
26960 echo "${ECHO_T}yes" >&6; }
26961 else
26962 { echo "$as_me:$LINENO: result: no" >&5
26963 echo "${ECHO_T}no" >&6; }
26964 LIBS="$LIBS -lm"
26965 # use different functions to avoid configure caching
26966 have_sin=0
26967 have_ceil=0
26968
26969 for ac_func in sin
26970 do
26971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26972 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26974 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 else
26977 cat >conftest.$ac_ext <<_ACEOF
26978 /* confdefs.h. */
26979 _ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26985 #define $ac_func innocuous_$ac_func
26986
26987 /* System header to define __stub macros and hopefully few prototypes,
26988 which can conflict with char $ac_func (); below.
26989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26990 <limits.h> exists even on freestanding compilers. */
26991
26992 #ifdef __STDC__
26993 # include <limits.h>
26994 #else
26995 # include <assert.h>
26996 #endif
26997
26998 #undef $ac_func
26999
27000 /* Override any GCC internal prototype to avoid an error.
27001 Use char because int might match the return type of a GCC
27002 builtin and then its argument prototype would still apply. */
27003 #ifdef __cplusplus
27004 extern "C"
27005 #endif
27006 char $ac_func ();
27007 /* The GNU C library defines this for functions which it implements
27008 to always fail with ENOSYS. Some functions are actually named
27009 something starting with __ and the normal name is an alias. */
27010 #if defined __stub_$ac_func || defined __stub___$ac_func
27011 choke me
27012 #endif
27013
27014 int
27015 main ()
27016 {
27017 return $ac_func ();
27018 ;
27019 return 0;
27020 }
27021 _ACEOF
27022 rm -f conftest.$ac_objext conftest$ac_exeext
27023 if { (ac_try="$ac_link"
27024 case "(($ac_try" in
27025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27026 *) ac_try_echo=$ac_try;;
27027 esac
27028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27029 (eval "$ac_link") 2>conftest.er1
27030 ac_status=$?
27031 grep -v '^ *+' conftest.er1 >conftest.err
27032 rm -f conftest.er1
27033 cat conftest.err >&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); } && {
27036 test -z "$ac_c_werror_flag" ||
27037 test ! -s conftest.err
27038 } && test -s conftest$ac_exeext &&
27039 $as_test_x conftest$ac_exeext; then
27040 eval "$as_ac_var=yes"
27041 else
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.$ac_ext >&5
27044
27045 eval "$as_ac_var=no"
27046 fi
27047
27048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27049 conftest$ac_exeext conftest.$ac_ext
27050 fi
27051 ac_res=`eval echo '${'$as_ac_var'}'`
27052 { echo "$as_me:$LINENO: result: $ac_res" >&5
27053 echo "${ECHO_T}$ac_res" >&6; }
27054 if test `eval echo '${'$as_ac_var'}'` = yes; then
27055 cat >>confdefs.h <<_ACEOF
27056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27057 _ACEOF
27058 have_sin=1
27059 fi
27060 done
27061
27062
27063 for ac_func in ceil
27064 do
27065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27069 echo $ECHO_N "(cached) $ECHO_C" >&6
27070 else
27071 cat >conftest.$ac_ext <<_ACEOF
27072 /* confdefs.h. */
27073 _ACEOF
27074 cat confdefs.h >>conftest.$ac_ext
27075 cat >>conftest.$ac_ext <<_ACEOF
27076 /* end confdefs.h. */
27077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27079 #define $ac_func innocuous_$ac_func
27080
27081 /* System header to define __stub macros and hopefully few prototypes,
27082 which can conflict with char $ac_func (); below.
27083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27084 <limits.h> exists even on freestanding compilers. */
27085
27086 #ifdef __STDC__
27087 # include <limits.h>
27088 #else
27089 # include <assert.h>
27090 #endif
27091
27092 #undef $ac_func
27093
27094 /* Override any GCC internal prototype to avoid an error.
27095 Use char because int might match the return type of a GCC
27096 builtin and then its argument prototype would still apply. */
27097 #ifdef __cplusplus
27098 extern "C"
27099 #endif
27100 char $ac_func ();
27101 /* The GNU C library defines this for functions which it implements
27102 to always fail with ENOSYS. Some functions are actually named
27103 something starting with __ and the normal name is an alias. */
27104 #if defined __stub_$ac_func || defined __stub___$ac_func
27105 choke me
27106 #endif
27107
27108 int
27109 main ()
27110 {
27111 return $ac_func ();
27112 ;
27113 return 0;
27114 }
27115 _ACEOF
27116 rm -f conftest.$ac_objext conftest$ac_exeext
27117 if { (ac_try="$ac_link"
27118 case "(($ac_try" in
27119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27120 *) ac_try_echo=$ac_try;;
27121 esac
27122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27123 (eval "$ac_link") 2>conftest.er1
27124 ac_status=$?
27125 grep -v '^ *+' conftest.er1 >conftest.err
27126 rm -f conftest.er1
27127 cat conftest.err >&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); } && {
27130 test -z "$ac_c_werror_flag" ||
27131 test ! -s conftest.err
27132 } && test -s conftest$ac_exeext &&
27133 $as_test_x conftest$ac_exeext; then
27134 eval "$as_ac_var=yes"
27135 else
27136 echo "$as_me: failed program was:" >&5
27137 sed 's/^/| /' conftest.$ac_ext >&5
27138
27139 eval "$as_ac_var=no"
27140 fi
27141
27142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27143 conftest$ac_exeext conftest.$ac_ext
27144 fi
27145 ac_res=`eval echo '${'$as_ac_var'}'`
27146 { echo "$as_me:$LINENO: result: $ac_res" >&5
27147 echo "${ECHO_T}$ac_res" >&6; }
27148 if test `eval echo '${'$as_ac_var'}'` = yes; then
27149 cat >>confdefs.h <<_ACEOF
27150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27151 _ACEOF
27152 have_ceil=1
27153 fi
27154 done
27155
27156 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27157 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27158 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27159 { echo "$as_me:$LINENO: result: yes" >&5
27160 echo "${ECHO_T}yes" >&6; }
27161 else
27162 { echo "$as_me:$LINENO: result: no" >&5
27163 echo "${ECHO_T}no" >&6; }
27164 # not sure we should warn the user, crash, etc.
27165 fi
27166 fi
27167
27168 ac_ext=cpp
27169 ac_cpp='$CXXCPP $CPPFLAGS'
27170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27173
27174 if test "wxUSE_UNICODE" = "yes"; then
27175
27176 for wx_func in wcstoull
27177 do
27178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27181 echo $ECHO_N "(cached) $ECHO_C" >&6
27182 else
27183
27184 cat >conftest.$ac_ext <<_ACEOF
27185
27186 /* confdefs.h. */
27187 _ACEOF
27188 cat confdefs.h >>conftest.$ac_ext
27189 cat >>conftest.$ac_ext <<_ACEOF
27190 /* end confdefs.h. */
27191
27192
27193 $ac_includes_default
27194
27195 int
27196 main ()
27197 {
27198
27199 #ifndef $wx_func
27200 &$wx_func;
27201 #endif
27202
27203
27204 ;
27205 return 0;
27206 }
27207
27208 _ACEOF
27209 rm -f conftest.$ac_objext conftest$ac_exeext
27210 if { (ac_try="$ac_link"
27211 case "(($ac_try" in
27212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27213 *) ac_try_echo=$ac_try;;
27214 esac
27215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27216 (eval "$ac_link") 2>conftest.er1
27217 ac_status=$?
27218 grep -v '^ *+' conftest.er1 >conftest.err
27219 rm -f conftest.er1
27220 cat conftest.err >&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); } && {
27223 test -z "$ac_cxx_werror_flag" ||
27224 test ! -s conftest.err
27225 } && test -s conftest$ac_exeext &&
27226 $as_test_x conftest$ac_exeext; then
27227 eval wx_cv_func_$wx_func=yes
27228 else
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.$ac_ext >&5
27231
27232 eval wx_cv_func_$wx_func=no
27233 fi
27234
27235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27236 conftest$ac_exeext conftest.$ac_ext
27237
27238 fi
27239 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27240 { echo "$as_me:$LINENO: result: $ac_res" >&5
27241 echo "${ECHO_T}$ac_res" >&6; }
27242
27243 if eval test \$wx_cv_func_$wx_func = yes
27244 then
27245 cat >>confdefs.h <<_ACEOF
27246 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27247 _ACEOF
27248
27249
27250 else
27251 :
27252
27253 fi
27254 done
27255
27256 else
27257
27258 for wx_func in strtoull
27259 do
27260 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27261 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27262 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 else
27265
27266 cat >conftest.$ac_ext <<_ACEOF
27267
27268 /* confdefs.h. */
27269 _ACEOF
27270 cat confdefs.h >>conftest.$ac_ext
27271 cat >>conftest.$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27273
27274
27275 $ac_includes_default
27276
27277 int
27278 main ()
27279 {
27280
27281 #ifndef $wx_func
27282 &$wx_func;
27283 #endif
27284
27285
27286 ;
27287 return 0;
27288 }
27289
27290 _ACEOF
27291 rm -f conftest.$ac_objext conftest$ac_exeext
27292 if { (ac_try="$ac_link"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27296 esac
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_link") 2>conftest.er1
27299 ac_status=$?
27300 grep -v '^ *+' conftest.er1 >conftest.err
27301 rm -f conftest.er1
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_cxx_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest$ac_exeext &&
27308 $as_test_x conftest$ac_exeext; then
27309 eval wx_cv_func_$wx_func=yes
27310 else
27311 echo "$as_me: failed program was:" >&5
27312 sed 's/^/| /' conftest.$ac_ext >&5
27313
27314 eval wx_cv_func_$wx_func=no
27315 fi
27316
27317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27318 conftest$ac_exeext conftest.$ac_ext
27319
27320 fi
27321 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27322 { echo "$as_me:$LINENO: result: $ac_res" >&5
27323 echo "${ECHO_T}$ac_res" >&6; }
27324
27325 if eval test \$wx_cv_func_$wx_func = yes
27326 then
27327 cat >>confdefs.h <<_ACEOF
27328 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27329 _ACEOF
27330
27331
27332 else
27333 :
27334
27335 fi
27336 done
27337
27338 fi
27339 ac_ext=c
27340 ac_cpp='$CPP $CPPFLAGS'
27341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27344
27345
27346
27347
27348 if test "$wxUSE_REGEX" != "no"; then
27349 cat >>confdefs.h <<\_ACEOF
27350 #define wxUSE_REGEX 1
27351 _ACEOF
27352
27353
27354 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27355 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27356 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27357 wxUSE_REGEX=builtin
27358 fi
27359
27360 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27361 { echo "$as_me:$LINENO: checking for regex.h" >&5
27362 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27363 if test "${ac_cv_header_regex_h+set}" = set; then
27364 echo $ECHO_N "(cached) $ECHO_C" >&6
27365 else
27366 cat >conftest.$ac_ext <<_ACEOF
27367 /* confdefs.h. */
27368 _ACEOF
27369 cat confdefs.h >>conftest.$ac_ext
27370 cat >>conftest.$ac_ext <<_ACEOF
27371 /* end confdefs.h. */
27372
27373
27374 #include <regex.h>
27375 _ACEOF
27376 rm -f conftest.$ac_objext
27377 if { (ac_try="$ac_compile"
27378 case "(($ac_try" in
27379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27380 *) ac_try_echo=$ac_try;;
27381 esac
27382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27383 (eval "$ac_compile") 2>conftest.er1
27384 ac_status=$?
27385 grep -v '^ *+' conftest.er1 >conftest.err
27386 rm -f conftest.er1
27387 cat conftest.err >&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); } && {
27390 test -z "$ac_c_werror_flag" ||
27391 test ! -s conftest.err
27392 } && test -s conftest.$ac_objext; then
27393 ac_cv_header_regex_h=yes
27394 else
27395 echo "$as_me: failed program was:" >&5
27396 sed 's/^/| /' conftest.$ac_ext >&5
27397
27398 ac_cv_header_regex_h=no
27399 fi
27400
27401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27402 fi
27403 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27404 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27405 if test $ac_cv_header_regex_h = yes; then
27406
27407
27408 for ac_func in regcomp re_search
27409 do
27410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27411 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27413 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27414 echo $ECHO_N "(cached) $ECHO_C" >&6
27415 else
27416 cat >conftest.$ac_ext <<_ACEOF
27417 /* confdefs.h. */
27418 _ACEOF
27419 cat confdefs.h >>conftest.$ac_ext
27420 cat >>conftest.$ac_ext <<_ACEOF
27421 /* end confdefs.h. */
27422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27424 #define $ac_func innocuous_$ac_func
27425
27426 /* System header to define __stub macros and hopefully few prototypes,
27427 which can conflict with char $ac_func (); below.
27428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27429 <limits.h> exists even on freestanding compilers. */
27430
27431 #ifdef __STDC__
27432 # include <limits.h>
27433 #else
27434 # include <assert.h>
27435 #endif
27436
27437 #undef $ac_func
27438
27439 /* Override any GCC internal prototype to avoid an error.
27440 Use char because int might match the return type of a GCC
27441 builtin and then its argument prototype would still apply. */
27442 #ifdef __cplusplus
27443 extern "C"
27444 #endif
27445 char $ac_func ();
27446 /* The GNU C library defines this for functions which it implements
27447 to always fail with ENOSYS. Some functions are actually named
27448 something starting with __ and the normal name is an alias. */
27449 #if defined __stub_$ac_func || defined __stub___$ac_func
27450 choke me
27451 #endif
27452
27453 int
27454 main ()
27455 {
27456 return $ac_func ();
27457 ;
27458 return 0;
27459 }
27460 _ACEOF
27461 rm -f conftest.$ac_objext conftest$ac_exeext
27462 if { (ac_try="$ac_link"
27463 case "(($ac_try" in
27464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27465 *) ac_try_echo=$ac_try;;
27466 esac
27467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27468 (eval "$ac_link") 2>conftest.er1
27469 ac_status=$?
27470 grep -v '^ *+' conftest.er1 >conftest.err
27471 rm -f conftest.er1
27472 cat conftest.err >&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); } && {
27475 test -z "$ac_c_werror_flag" ||
27476 test ! -s conftest.err
27477 } && test -s conftest$ac_exeext &&
27478 $as_test_x conftest$ac_exeext; then
27479 eval "$as_ac_var=yes"
27480 else
27481 echo "$as_me: failed program was:" >&5
27482 sed 's/^/| /' conftest.$ac_ext >&5
27483
27484 eval "$as_ac_var=no"
27485 fi
27486
27487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27488 conftest$ac_exeext conftest.$ac_ext
27489 fi
27490 ac_res=`eval echo '${'$as_ac_var'}'`
27491 { echo "$as_me:$LINENO: result: $ac_res" >&5
27492 echo "${ECHO_T}$ac_res" >&6; }
27493 if test `eval echo '${'$as_ac_var'}'` = yes; then
27494 cat >>confdefs.h <<_ACEOF
27495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27496 _ACEOF
27497
27498 fi
27499 done
27500
27501 fi
27502
27503
27504
27505 if test "x$ac_cv_func_regcomp" != "xyes"; then
27506 if test "$wxUSE_REGEX" = "sys" ; then
27507 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27508 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27509 { (exit 1); exit 1; }; }
27510 else
27511 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27512 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27513 wxUSE_REGEX=builtin
27514 fi
27515 else
27516 wxUSE_REGEX=sys
27517 cat >>confdefs.h <<\_ACEOF
27518 #define WX_NO_REGEX_ADVANCED 1
27519 _ACEOF
27520
27521 fi
27522 fi
27523 fi
27524
27525
27526 ZLIB_LINK=
27527 if test "$wxUSE_ZLIB" != "no" ; then
27528 cat >>confdefs.h <<\_ACEOF
27529 #define wxUSE_ZLIB 1
27530 _ACEOF
27531
27532
27533 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27534 if test "$USE_DARWIN" = 1; then
27535 system_zlib_h_ok="yes"
27536 else
27537 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27538 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27539 if test "${ac_cv_header_zlib_h+set}" = set; then
27540 echo $ECHO_N "(cached) $ECHO_C" >&6
27541 else
27542 if test "$cross_compiling" = yes; then
27543 unset ac_cv_header_zlib_h
27544
27545 else
27546 cat >conftest.$ac_ext <<_ACEOF
27547 /* confdefs.h. */
27548 _ACEOF
27549 cat confdefs.h >>conftest.$ac_ext
27550 cat >>conftest.$ac_ext <<_ACEOF
27551 /* end confdefs.h. */
27552
27553 #include <zlib.h>
27554 #include <stdio.h>
27555
27556 int main()
27557 {
27558 FILE *f=fopen("conftestval", "w");
27559 if (!f) exit(1);
27560 fprintf(f, "%s",
27561 ZLIB_VERSION[0] == '1' &&
27562 (ZLIB_VERSION[2] > '1' ||
27563 (ZLIB_VERSION[2] == '1' &&
27564 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27565 exit(0);
27566 }
27567
27568 _ACEOF
27569 rm -f conftest$ac_exeext
27570 if { (ac_try="$ac_link"
27571 case "(($ac_try" in
27572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27573 *) ac_try_echo=$ac_try;;
27574 esac
27575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27576 (eval "$ac_link") 2>&5
27577 ac_status=$?
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27580 { (case "(($ac_try" in
27581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27582 *) ac_try_echo=$ac_try;;
27583 esac
27584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27585 (eval "$ac_try") 2>&5
27586 ac_status=$?
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); }; }; then
27589 ac_cv_header_zlib_h=`cat conftestval`
27590 else
27591 echo "$as_me: program exited with status $ac_status" >&5
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27594
27595 ( exit $ac_status )
27596 ac_cv_header_zlib_h=no
27597 fi
27598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27599 fi
27600
27601
27602
27603 fi
27604 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27605 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27606 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27607 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27608 if test "${ac_cv_header_zlib_h+set}" = set; then
27609 echo $ECHO_N "(cached) $ECHO_C" >&6
27610 else
27611 cat >conftest.$ac_ext <<_ACEOF
27612 /* confdefs.h. */
27613 _ACEOF
27614 cat confdefs.h >>conftest.$ac_ext
27615 cat >>conftest.$ac_ext <<_ACEOF
27616 /* end confdefs.h. */
27617
27618
27619 #include <zlib.h>
27620 _ACEOF
27621 rm -f conftest.$ac_objext
27622 if { (ac_try="$ac_compile"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27626 esac
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_compile") 2>conftest.er1
27629 ac_status=$?
27630 grep -v '^ *+' conftest.er1 >conftest.err
27631 rm -f conftest.er1
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } && {
27635 test -z "$ac_c_werror_flag" ||
27636 test ! -s conftest.err
27637 } && test -s conftest.$ac_objext; then
27638 ac_cv_header_zlib_h=yes
27639 else
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27642
27643 ac_cv_header_zlib_h=no
27644 fi
27645
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647 fi
27648 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27649 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27650
27651
27652
27653 system_zlib_h_ok=$ac_cv_header_zlib_h
27654 fi
27655
27656 if test "$system_zlib_h_ok" = "yes"; then
27657 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27658 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27659 if test "${ac_cv_lib_z_deflate+set}" = set; then
27660 echo $ECHO_N "(cached) $ECHO_C" >&6
27661 else
27662 ac_check_lib_save_LIBS=$LIBS
27663 LIBS="-lz $LIBS"
27664 cat >conftest.$ac_ext <<_ACEOF
27665 /* confdefs.h. */
27666 _ACEOF
27667 cat confdefs.h >>conftest.$ac_ext
27668 cat >>conftest.$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670
27671 /* Override any GCC internal prototype to avoid an error.
27672 Use char because int might match the return type of a GCC
27673 builtin and then its argument prototype would still apply. */
27674 #ifdef __cplusplus
27675 extern "C"
27676 #endif
27677 char deflate ();
27678 int
27679 main ()
27680 {
27681 return deflate ();
27682 ;
27683 return 0;
27684 }
27685 _ACEOF
27686 rm -f conftest.$ac_objext conftest$ac_exeext
27687 if { (ac_try="$ac_link"
27688 case "(($ac_try" in
27689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27690 *) ac_try_echo=$ac_try;;
27691 esac
27692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27693 (eval "$ac_link") 2>conftest.er1
27694 ac_status=$?
27695 grep -v '^ *+' conftest.er1 >conftest.err
27696 rm -f conftest.er1
27697 cat conftest.err >&5
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); } && {
27700 test -z "$ac_c_werror_flag" ||
27701 test ! -s conftest.err
27702 } && test -s conftest$ac_exeext &&
27703 $as_test_x conftest$ac_exeext; then
27704 ac_cv_lib_z_deflate=yes
27705 else
27706 echo "$as_me: failed program was:" >&5
27707 sed 's/^/| /' conftest.$ac_ext >&5
27708
27709 ac_cv_lib_z_deflate=no
27710 fi
27711
27712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27713 conftest$ac_exeext conftest.$ac_ext
27714 LIBS=$ac_check_lib_save_LIBS
27715 fi
27716 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27717 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27718 if test $ac_cv_lib_z_deflate = yes; then
27719 ZLIB_LINK=" -lz"
27720 fi
27721
27722 fi
27723
27724 if test "x$ZLIB_LINK" = "x" ; then
27725 if test "$wxUSE_ZLIB" = "sys" ; then
27726 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27727 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27728 { (exit 1); exit 1; }; }
27729 else
27730 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27731 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27732 wxUSE_ZLIB=builtin
27733 fi
27734 else
27735 wxUSE_ZLIB=sys
27736 fi
27737 fi
27738 fi
27739
27740
27741 PNG_LINK=
27742 if test "$wxUSE_LIBPNG" != "no" ; then
27743 cat >>confdefs.h <<\_ACEOF
27744 #define wxUSE_LIBPNG 1
27745 _ACEOF
27746
27747
27748 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27749 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27750 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27751 wxUSE_LIBPNG=sys
27752 fi
27753
27754 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27755 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27756 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27757 wxUSE_LIBPNG=builtin
27758 fi
27759
27760 if test "$wxUSE_MGL" != 1 ; then
27761 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27762 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27763 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27764 if test "${ac_cv_header_png_h+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27766 else
27767 if test "$cross_compiling" = yes; then
27768 unset ac_cv_header_png_h
27769
27770 else
27771 cat >conftest.$ac_ext <<_ACEOF
27772 /* confdefs.h. */
27773 _ACEOF
27774 cat confdefs.h >>conftest.$ac_ext
27775 cat >>conftest.$ac_ext <<_ACEOF
27776 /* end confdefs.h. */
27777
27778 #include <png.h>
27779 #include <stdio.h>
27780
27781 int main()
27782 {
27783 FILE *f=fopen("conftestval", "w");
27784 if (!f) exit(1);
27785 fprintf(f, "%s",
27786 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27787 exit(0);
27788 }
27789
27790 _ACEOF
27791 rm -f conftest$ac_exeext
27792 if { (ac_try="$ac_link"
27793 case "(($ac_try" in
27794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27795 *) ac_try_echo=$ac_try;;
27796 esac
27797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27798 (eval "$ac_link") 2>&5
27799 ac_status=$?
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27802 { (case "(($ac_try" in
27803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27804 *) ac_try_echo=$ac_try;;
27805 esac
27806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27807 (eval "$ac_try") 2>&5
27808 ac_status=$?
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); }; }; then
27811 ac_cv_header_png_h=`cat conftestval`
27812 else
27813 echo "$as_me: program exited with status $ac_status" >&5
27814 echo "$as_me: failed program was:" >&5
27815 sed 's/^/| /' conftest.$ac_ext >&5
27816
27817 ( exit $ac_status )
27818 ac_cv_header_png_h=no
27819 fi
27820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27821 fi
27822
27823
27824
27825 fi
27826 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27827 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27828 { echo "$as_me:$LINENO: checking for png.h" >&5
27829 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27830 if test "${ac_cv_header_png_h+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27832 else
27833 cat >conftest.$ac_ext <<_ACEOF
27834 /* confdefs.h. */
27835 _ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839
27840
27841 #include <png.h>
27842 _ACEOF
27843 rm -f conftest.$ac_objext
27844 if { (ac_try="$ac_compile"
27845 case "(($ac_try" in
27846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27847 *) ac_try_echo=$ac_try;;
27848 esac
27849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27850 (eval "$ac_compile") 2>conftest.er1
27851 ac_status=$?
27852 grep -v '^ *+' conftest.er1 >conftest.err
27853 rm -f conftest.er1
27854 cat conftest.err >&5
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); } && {
27857 test -z "$ac_c_werror_flag" ||
27858 test ! -s conftest.err
27859 } && test -s conftest.$ac_objext; then
27860 ac_cv_header_png_h=yes
27861 else
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27864
27865 ac_cv_header_png_h=no
27866 fi
27867
27868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27869 fi
27870 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27871 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27872
27873
27874
27875 if test "$ac_cv_header_png_h" = "yes"; then
27876 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27877 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27878 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27880 else
27881 ac_check_lib_save_LIBS=$LIBS
27882 LIBS="-lpng -lz -lm $LIBS"
27883 cat >conftest.$ac_ext <<_ACEOF
27884 /* confdefs.h. */
27885 _ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27889
27890 /* Override any GCC internal prototype to avoid an error.
27891 Use char because int might match the return type of a GCC
27892 builtin and then its argument prototype would still apply. */
27893 #ifdef __cplusplus
27894 extern "C"
27895 #endif
27896 char png_sig_cmp ();
27897 int
27898 main ()
27899 {
27900 return png_sig_cmp ();
27901 ;
27902 return 0;
27903 }
27904 _ACEOF
27905 rm -f conftest.$ac_objext conftest$ac_exeext
27906 if { (ac_try="$ac_link"
27907 case "(($ac_try" in
27908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27909 *) ac_try_echo=$ac_try;;
27910 esac
27911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27912 (eval "$ac_link") 2>conftest.er1
27913 ac_status=$?
27914 grep -v '^ *+' conftest.er1 >conftest.err
27915 rm -f conftest.er1
27916 cat conftest.err >&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } && {
27919 test -z "$ac_c_werror_flag" ||
27920 test ! -s conftest.err
27921 } && test -s conftest$ac_exeext &&
27922 $as_test_x conftest$ac_exeext; then
27923 ac_cv_lib_png_png_sig_cmp=yes
27924 else
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.$ac_ext >&5
27927
27928 ac_cv_lib_png_png_sig_cmp=no
27929 fi
27930
27931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27932 conftest$ac_exeext conftest.$ac_ext
27933 LIBS=$ac_check_lib_save_LIBS
27934 fi
27935 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27936 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27937 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27938 PNG_LINK=" -lpng -lz"
27939 fi
27940
27941 fi
27942
27943 if test "x$PNG_LINK" = "x" ; then
27944 if test "$wxUSE_LIBPNG" = "sys" ; then
27945 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27946 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27947 { (exit 1); exit 1; }; }
27948 else
27949 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27950 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27951 wxUSE_LIBPNG=builtin
27952 fi
27953 else
27954 wxUSE_LIBPNG=sys
27955 fi
27956 fi
27957 fi
27958 fi
27959
27960
27961 JPEG_LINK=
27962 if test "$wxUSE_LIBJPEG" != "no" ; then
27963 cat >>confdefs.h <<\_ACEOF
27964 #define wxUSE_LIBJPEG 1
27965 _ACEOF
27966
27967
27968 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27969 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27970 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27971 wxUSE_LIBJPEG=sys
27972 fi
27973
27974 if test "$wxUSE_MGL" != 1 ; then
27975 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27976 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27977 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27978 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27979 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 else
27981 cat >conftest.$ac_ext <<_ACEOF
27982 /* confdefs.h. */
27983 _ACEOF
27984 cat confdefs.h >>conftest.$ac_ext
27985 cat >>conftest.$ac_ext <<_ACEOF
27986 /* end confdefs.h. */
27987
27988 #undef HAVE_STDLIB_H
27989 #include <stdio.h>
27990 #include <jpeglib.h>
27991
27992 int
27993 main ()
27994 {
27995
27996
27997 ;
27998 return 0;
27999 }
28000 _ACEOF
28001 rm -f conftest.$ac_objext
28002 if { (ac_try="$ac_compile"
28003 case "(($ac_try" in
28004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28005 *) ac_try_echo=$ac_try;;
28006 esac
28007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28008 (eval "$ac_compile") 2>conftest.er1
28009 ac_status=$?
28010 grep -v '^ *+' conftest.er1 >conftest.err
28011 rm -f conftest.er1
28012 cat conftest.err >&5
28013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014 (exit $ac_status); } && {
28015 test -z "$ac_c_werror_flag" ||
28016 test ! -s conftest.err
28017 } && test -s conftest.$ac_objext; then
28018 ac_cv_header_jpeglib_h=yes
28019 else
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.$ac_ext >&5
28022
28023 ac_cv_header_jpeglib_h=no
28024
28025 fi
28026
28027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28028
28029 fi
28030
28031 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28032 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28033
28034 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28035 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28036 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28037 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28038 echo $ECHO_N "(cached) $ECHO_C" >&6
28039 else
28040 ac_check_lib_save_LIBS=$LIBS
28041 LIBS="-ljpeg $LIBS"
28042 cat >conftest.$ac_ext <<_ACEOF
28043 /* confdefs.h. */
28044 _ACEOF
28045 cat confdefs.h >>conftest.$ac_ext
28046 cat >>conftest.$ac_ext <<_ACEOF
28047 /* end confdefs.h. */
28048
28049 /* Override any GCC internal prototype to avoid an error.
28050 Use char because int might match the return type of a GCC
28051 builtin and then its argument prototype would still apply. */
28052 #ifdef __cplusplus
28053 extern "C"
28054 #endif
28055 char jpeg_read_header ();
28056 int
28057 main ()
28058 {
28059 return jpeg_read_header ();
28060 ;
28061 return 0;
28062 }
28063 _ACEOF
28064 rm -f conftest.$ac_objext conftest$ac_exeext
28065 if { (ac_try="$ac_link"
28066 case "(($ac_try" in
28067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28068 *) ac_try_echo=$ac_try;;
28069 esac
28070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28071 (eval "$ac_link") 2>conftest.er1
28072 ac_status=$?
28073 grep -v '^ *+' conftest.er1 >conftest.err
28074 rm -f conftest.er1
28075 cat conftest.err >&5
28076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28077 (exit $ac_status); } && {
28078 test -z "$ac_c_werror_flag" ||
28079 test ! -s conftest.err
28080 } && test -s conftest$ac_exeext &&
28081 $as_test_x conftest$ac_exeext; then
28082 ac_cv_lib_jpeg_jpeg_read_header=yes
28083 else
28084 echo "$as_me: failed program was:" >&5
28085 sed 's/^/| /' conftest.$ac_ext >&5
28086
28087 ac_cv_lib_jpeg_jpeg_read_header=no
28088 fi
28089
28090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28091 conftest$ac_exeext conftest.$ac_ext
28092 LIBS=$ac_check_lib_save_LIBS
28093 fi
28094 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28095 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28096 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28097 JPEG_LINK=" -ljpeg"
28098 fi
28099
28100 fi
28101
28102 if test "x$JPEG_LINK" = "x" ; then
28103 if test "$wxUSE_LIBJPEG" = "sys" ; then
28104 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28105 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28106 { (exit 1); exit 1; }; }
28107 else
28108 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28109 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28110 wxUSE_LIBJPEG=builtin
28111 fi
28112 else
28113 wxUSE_LIBJPEG=sys
28114
28115 if test "$wxUSE_MSW" = 1; then
28116 { echo "$as_me:$LINENO: checking for boolean" >&5
28117 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28118 if test "${ac_cv_type_boolean+set}" = set; then
28119 echo $ECHO_N "(cached) $ECHO_C" >&6
28120 else
28121 cat >conftest.$ac_ext <<_ACEOF
28122 /* confdefs.h. */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127 #include <windows.h>
28128
28129 typedef boolean ac__type_new_;
28130 int
28131 main ()
28132 {
28133 if ((ac__type_new_ *) 0)
28134 return 0;
28135 if (sizeof (ac__type_new_))
28136 return 0;
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 rm -f conftest.$ac_objext
28142 if { (ac_try="$ac_compile"
28143 case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28146 esac
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_compile") 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } && {
28155 test -z "$ac_c_werror_flag" ||
28156 test ! -s conftest.err
28157 } && test -s conftest.$ac_objext; then
28158 ac_cv_type_boolean=yes
28159 else
28160 echo "$as_me: failed program was:" >&5
28161 sed 's/^/| /' conftest.$ac_ext >&5
28162
28163 ac_cv_type_boolean=no
28164 fi
28165
28166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28167 fi
28168 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28169 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28170 if test $ac_cv_type_boolean = yes; then
28171
28172 cat >>confdefs.h <<_ACEOF
28173 #define HAVE_BOOLEAN 1
28174 _ACEOF
28175
28176
28177 { echo "$as_me:$LINENO: checking for boolean" >&5
28178 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28179 if test "${ac_cv_type_boolean+set}" = set; then
28180 echo $ECHO_N "(cached) $ECHO_C" >&6
28181 else
28182 cat >conftest.$ac_ext <<_ACEOF
28183 /* confdefs.h. */
28184 _ACEOF
28185 cat confdefs.h >>conftest.$ac_ext
28186 cat >>conftest.$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28188
28189 #undef HAVE_BOOLEAN
28190 #include <stdio.h>
28191 #include <jpeglib.h>
28192
28193
28194 typedef boolean ac__type_new_;
28195 int
28196 main ()
28197 {
28198 if ((ac__type_new_ *) 0)
28199 return 0;
28200 if (sizeof (ac__type_new_))
28201 return 0;
28202 ;
28203 return 0;
28204 }
28205 _ACEOF
28206 rm -f conftest.$ac_objext
28207 if { (ac_try="$ac_compile"
28208 case "(($ac_try" in
28209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28210 *) ac_try_echo=$ac_try;;
28211 esac
28212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28213 (eval "$ac_compile") 2>conftest.er1
28214 ac_status=$?
28215 grep -v '^ *+' conftest.er1 >conftest.err
28216 rm -f conftest.er1
28217 cat conftest.err >&5
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); } && {
28220 test -z "$ac_c_werror_flag" ||
28221 test ! -s conftest.err
28222 } && test -s conftest.$ac_objext; then
28223 ac_cv_type_boolean=yes
28224 else
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28227
28228 ac_cv_type_boolean=no
28229 fi
28230
28231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28232 fi
28233 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28234 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28235
28236 # The cast to long int works around a bug in the HP C Compiler
28237 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28238 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28239 # This bug is HP SR number 8606223364.
28240 { echo "$as_me:$LINENO: checking size of boolean" >&5
28241 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28242 if test "${ac_cv_sizeof_boolean+set}" = set; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 else
28245 if test "$cross_compiling" = yes; then
28246 # Depending upon the size, compute the lo and hi bounds.
28247 cat >conftest.$ac_ext <<_ACEOF
28248 /* confdefs.h. */
28249 _ACEOF
28250 cat confdefs.h >>conftest.$ac_ext
28251 cat >>conftest.$ac_ext <<_ACEOF
28252 /* end confdefs.h. */
28253
28254 #undef HAVE_BOOLEAN
28255 #include <stdio.h>
28256 #include <jpeglib.h>
28257
28258
28259 typedef boolean ac__type_sizeof_;
28260 int
28261 main ()
28262 {
28263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28264 test_array [0] = 0
28265
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext
28271 if { (ac_try="$ac_compile"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28275 esac
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_compile") 2>conftest.er1
28278 ac_status=$?
28279 grep -v '^ *+' conftest.er1 >conftest.err
28280 rm -f conftest.er1
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest.$ac_objext; then
28287 ac_lo=0 ac_mid=0
28288 while :; do
28289 cat >conftest.$ac_ext <<_ACEOF
28290 /* confdefs.h. */
28291 _ACEOF
28292 cat confdefs.h >>conftest.$ac_ext
28293 cat >>conftest.$ac_ext <<_ACEOF
28294 /* end confdefs.h. */
28295
28296 #undef HAVE_BOOLEAN
28297 #include <stdio.h>
28298 #include <jpeglib.h>
28299
28300
28301 typedef boolean ac__type_sizeof_;
28302 int
28303 main ()
28304 {
28305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28306 test_array [0] = 0
28307
28308 ;
28309 return 0;
28310 }
28311 _ACEOF
28312 rm -f conftest.$ac_objext
28313 if { (ac_try="$ac_compile"
28314 case "(($ac_try" in
28315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28316 *) ac_try_echo=$ac_try;;
28317 esac
28318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28319 (eval "$ac_compile") 2>conftest.er1
28320 ac_status=$?
28321 grep -v '^ *+' conftest.er1 >conftest.err
28322 rm -f conftest.er1
28323 cat conftest.err >&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); } && {
28326 test -z "$ac_c_werror_flag" ||
28327 test ! -s conftest.err
28328 } && test -s conftest.$ac_objext; then
28329 ac_hi=$ac_mid; break
28330 else
28331 echo "$as_me: failed program was:" >&5
28332 sed 's/^/| /' conftest.$ac_ext >&5
28333
28334 ac_lo=`expr $ac_mid + 1`
28335 if test $ac_lo -le $ac_mid; then
28336 ac_lo= ac_hi=
28337 break
28338 fi
28339 ac_mid=`expr 2 '*' $ac_mid + 1`
28340 fi
28341
28342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28343 done
28344 else
28345 echo "$as_me: failed program was:" >&5
28346 sed 's/^/| /' conftest.$ac_ext >&5
28347
28348 cat >conftest.$ac_ext <<_ACEOF
28349 /* confdefs.h. */
28350 _ACEOF
28351 cat confdefs.h >>conftest.$ac_ext
28352 cat >>conftest.$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354
28355 #undef HAVE_BOOLEAN
28356 #include <stdio.h>
28357 #include <jpeglib.h>
28358
28359
28360 typedef boolean ac__type_sizeof_;
28361 int
28362 main ()
28363 {
28364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28365 test_array [0] = 0
28366
28367 ;
28368 return 0;
28369 }
28370 _ACEOF
28371 rm -f conftest.$ac_objext
28372 if { (ac_try="$ac_compile"
28373 case "(($ac_try" in
28374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28375 *) ac_try_echo=$ac_try;;
28376 esac
28377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28378 (eval "$ac_compile") 2>conftest.er1
28379 ac_status=$?
28380 grep -v '^ *+' conftest.er1 >conftest.err
28381 rm -f conftest.er1
28382 cat conftest.err >&5
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); } && {
28385 test -z "$ac_c_werror_flag" ||
28386 test ! -s conftest.err
28387 } && test -s conftest.$ac_objext; then
28388 ac_hi=-1 ac_mid=-1
28389 while :; do
28390 cat >conftest.$ac_ext <<_ACEOF
28391 /* confdefs.h. */
28392 _ACEOF
28393 cat confdefs.h >>conftest.$ac_ext
28394 cat >>conftest.$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28396
28397 #undef HAVE_BOOLEAN
28398 #include <stdio.h>
28399 #include <jpeglib.h>
28400
28401
28402 typedef boolean ac__type_sizeof_;
28403 int
28404 main ()
28405 {
28406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28407 test_array [0] = 0
28408
28409 ;
28410 return 0;
28411 }
28412 _ACEOF
28413 rm -f conftest.$ac_objext
28414 if { (ac_try="$ac_compile"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28418 esac
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_compile") 2>conftest.er1
28421 ac_status=$?
28422 grep -v '^ *+' conftest.er1 >conftest.err
28423 rm -f conftest.er1
28424 cat conftest.err >&5
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); } && {
28427 test -z "$ac_c_werror_flag" ||
28428 test ! -s conftest.err
28429 } && test -s conftest.$ac_objext; then
28430 ac_lo=$ac_mid; break
28431 else
28432 echo "$as_me: failed program was:" >&5
28433 sed 's/^/| /' conftest.$ac_ext >&5
28434
28435 ac_hi=`expr '(' $ac_mid ')' - 1`
28436 if test $ac_mid -le $ac_hi; then
28437 ac_lo= ac_hi=
28438 break
28439 fi
28440 ac_mid=`expr 2 '*' $ac_mid`
28441 fi
28442
28443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28444 done
28445 else
28446 echo "$as_me: failed program was:" >&5
28447 sed 's/^/| /' conftest.$ac_ext >&5
28448
28449 ac_lo= ac_hi=
28450 fi
28451
28452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28453 fi
28454
28455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28456 # Binary search between lo and hi bounds.
28457 while test "x$ac_lo" != "x$ac_hi"; do
28458 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28459 cat >conftest.$ac_ext <<_ACEOF
28460 /* confdefs.h. */
28461 _ACEOF
28462 cat confdefs.h >>conftest.$ac_ext
28463 cat >>conftest.$ac_ext <<_ACEOF
28464 /* end confdefs.h. */
28465
28466 #undef HAVE_BOOLEAN
28467 #include <stdio.h>
28468 #include <jpeglib.h>
28469
28470
28471 typedef boolean ac__type_sizeof_;
28472 int
28473 main ()
28474 {
28475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28476 test_array [0] = 0
28477
28478 ;
28479 return 0;
28480 }
28481 _ACEOF
28482 rm -f conftest.$ac_objext
28483 if { (ac_try="$ac_compile"
28484 case "(($ac_try" in
28485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28486 *) ac_try_echo=$ac_try;;
28487 esac
28488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28489 (eval "$ac_compile") 2>conftest.er1
28490 ac_status=$?
28491 grep -v '^ *+' conftest.er1 >conftest.err
28492 rm -f conftest.er1
28493 cat conftest.err >&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && {
28496 test -z "$ac_c_werror_flag" ||
28497 test ! -s conftest.err
28498 } && test -s conftest.$ac_objext; then
28499 ac_hi=$ac_mid
28500 else
28501 echo "$as_me: failed program was:" >&5
28502 sed 's/^/| /' conftest.$ac_ext >&5
28503
28504 ac_lo=`expr '(' $ac_mid ')' + 1`
28505 fi
28506
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28508 done
28509 case $ac_lo in
28510 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28511 '') if test "$ac_cv_type_boolean" = yes; then
28512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28513 See \`config.log' for more details." >&5
28514 echo "$as_me: error: cannot compute sizeof (boolean)
28515 See \`config.log' for more details." >&2;}
28516 { (exit 77); exit 77; }; }
28517 else
28518 ac_cv_sizeof_boolean=0
28519 fi ;;
28520 esac
28521 else
28522 cat >conftest.$ac_ext <<_ACEOF
28523 /* confdefs.h. */
28524 _ACEOF
28525 cat confdefs.h >>conftest.$ac_ext
28526 cat >>conftest.$ac_ext <<_ACEOF
28527 /* end confdefs.h. */
28528
28529 #undef HAVE_BOOLEAN
28530 #include <stdio.h>
28531 #include <jpeglib.h>
28532
28533
28534 typedef boolean ac__type_sizeof_;
28535 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28536 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28537 #include <stdio.h>
28538 #include <stdlib.h>
28539 int
28540 main ()
28541 {
28542
28543 FILE *f = fopen ("conftest.val", "w");
28544 if (! f)
28545 return 1;
28546 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28547 {
28548 long int i = longval ();
28549 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28550 return 1;
28551 fprintf (f, "%ld\n", i);
28552 }
28553 else
28554 {
28555 unsigned long int i = ulongval ();
28556 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28557 return 1;
28558 fprintf (f, "%lu\n", i);
28559 }
28560 return ferror (f) || fclose (f) != 0;
28561
28562 ;
28563 return 0;
28564 }
28565 _ACEOF
28566 rm -f conftest$ac_exeext
28567 if { (ac_try="$ac_link"
28568 case "(($ac_try" in
28569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28570 *) ac_try_echo=$ac_try;;
28571 esac
28572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28573 (eval "$ac_link") 2>&5
28574 ac_status=$?
28575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28577 { (case "(($ac_try" in
28578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28579 *) ac_try_echo=$ac_try;;
28580 esac
28581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28582 (eval "$ac_try") 2>&5
28583 ac_status=$?
28584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28585 (exit $ac_status); }; }; then
28586 ac_cv_sizeof_boolean=`cat conftest.val`
28587 else
28588 echo "$as_me: program exited with status $ac_status" >&5
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 ( exit $ac_status )
28593 if test "$ac_cv_type_boolean" = yes; then
28594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28595 See \`config.log' for more details." >&5
28596 echo "$as_me: error: cannot compute sizeof (boolean)
28597 See \`config.log' for more details." >&2;}
28598 { (exit 77); exit 77; }; }
28599 else
28600 ac_cv_sizeof_boolean=0
28601 fi
28602 fi
28603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28604 fi
28605 rm -f conftest.val
28606 fi
28607 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28608 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28609
28610
28611
28612 cat >>confdefs.h <<_ACEOF
28613 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28614 _ACEOF
28615
28616
28617 cat >>confdefs.h <<_ACEOF
28618 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28619 _ACEOF
28620
28621
28622 fi
28623
28624 fi
28625 fi
28626 fi
28627 fi
28628 fi
28629
28630
28631 TIFF_LINK=
28632 TIFF_PREREQ_LINKS=-lm
28633 if test "$wxUSE_LIBTIFF" != "no" ; then
28634 cat >>confdefs.h <<\_ACEOF
28635 #define wxUSE_LIBTIFF 1
28636 _ACEOF
28637
28638
28639 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28640 if test "$wxUSE_LIBJPEG" = "sys"; then
28641 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28642 fi
28643 if test "$wxUSE_ZLIB" = "sys"; then
28644 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28645 fi
28646 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28647 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28648 if test "${ac_cv_header_tiffio_h+set}" = set; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 else
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657
28658
28659
28660 #include <tiffio.h>
28661 _ACEOF
28662 rm -f conftest.$ac_objext
28663 if { (ac_try="$ac_compile"
28664 case "(($ac_try" in
28665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28666 *) ac_try_echo=$ac_try;;
28667 esac
28668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28669 (eval "$ac_compile") 2>conftest.er1
28670 ac_status=$?
28671 grep -v '^ *+' conftest.er1 >conftest.err
28672 rm -f conftest.er1
28673 cat conftest.err >&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); } && {
28676 test -z "$ac_c_werror_flag" ||
28677 test ! -s conftest.err
28678 } && test -s conftest.$ac_objext; then
28679 ac_cv_header_tiffio_h=yes
28680 else
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.$ac_ext >&5
28683
28684 ac_cv_header_tiffio_h=no
28685 fi
28686
28687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28688 fi
28689 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28690 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28691 if test $ac_cv_header_tiffio_h = yes; then
28692
28693 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28694 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28695 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 else
28698 ac_check_lib_save_LIBS=$LIBS
28699 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28700 cat >conftest.$ac_ext <<_ACEOF
28701 /* confdefs.h. */
28702 _ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706
28707 /* Override any GCC internal prototype to avoid an error.
28708 Use char because int might match the return type of a GCC
28709 builtin and then its argument prototype would still apply. */
28710 #ifdef __cplusplus
28711 extern "C"
28712 #endif
28713 char TIFFError ();
28714 int
28715 main ()
28716 {
28717 return TIFFError ();
28718 ;
28719 return 0;
28720 }
28721 _ACEOF
28722 rm -f conftest.$ac_objext conftest$ac_exeext
28723 if { (ac_try="$ac_link"
28724 case "(($ac_try" in
28725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28726 *) ac_try_echo=$ac_try;;
28727 esac
28728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28729 (eval "$ac_link") 2>conftest.er1
28730 ac_status=$?
28731 grep -v '^ *+' conftest.er1 >conftest.err
28732 rm -f conftest.er1
28733 cat conftest.err >&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); } && {
28736 test -z "$ac_c_werror_flag" ||
28737 test ! -s conftest.err
28738 } && test -s conftest$ac_exeext &&
28739 $as_test_x conftest$ac_exeext; then
28740 ac_cv_lib_tiff_TIFFError=yes
28741 else
28742 echo "$as_me: failed program was:" >&5
28743 sed 's/^/| /' conftest.$ac_ext >&5
28744
28745 ac_cv_lib_tiff_TIFFError=no
28746 fi
28747
28748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28749 conftest$ac_exeext conftest.$ac_ext
28750 LIBS=$ac_check_lib_save_LIBS
28751 fi
28752 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28753 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28754 if test $ac_cv_lib_tiff_TIFFError = yes; then
28755 TIFF_LINK=" -ltiff"
28756 fi
28757
28758
28759 fi
28760
28761
28762
28763 if test "x$TIFF_LINK" = "x" ; then
28764 if test "$wxUSE_LIBTIFF" = "sys" ; then
28765 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28766 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28767 { (exit 1); exit 1; }; }
28768 else
28769 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28770 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28771 wxUSE_LIBTIFF=builtin
28772 fi
28773 else
28774 wxUSE_LIBTIFF=sys
28775 fi
28776 fi
28777 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28778 if test "$wxUSE_LIBJPEG" = "no"; then
28779 ac_configure_args="$ac_configure_args --disable-jpeg"
28780 fi
28781 subdirs="$subdirs src/tiff"
28782
28783 fi
28784 fi
28785
28786
28787 if test "$wxUSE_WCHAR_T" != "yes"; then
28788 if test "$wxUSE_EXPAT" != "no"; then
28789 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28790 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28791 wxUSE_EXPAT=no
28792 fi
28793 if test "$wxUSE_XML" != "no"; then
28794 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28795 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28796 wxUSE_XML=no
28797 fi
28798 fi
28799
28800 if test "$wxUSE_EXPAT" != "no"; then
28801 wxUSE_XML=yes
28802 cat >>confdefs.h <<\_ACEOF
28803 #define wxUSE_EXPAT 1
28804 _ACEOF
28805
28806 cat >>confdefs.h <<\_ACEOF
28807 #define wxUSE_XML 1
28808 _ACEOF
28809
28810
28811 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28812 { echo "$as_me:$LINENO: checking for expat.h" >&5
28813 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28814 if test "${ac_cv_header_expat_h+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28816 else
28817 cat >conftest.$ac_ext <<_ACEOF
28818 /* confdefs.h. */
28819 _ACEOF
28820 cat confdefs.h >>conftest.$ac_ext
28821 cat >>conftest.$ac_ext <<_ACEOF
28822 /* end confdefs.h. */
28823
28824
28825 #include <expat.h>
28826 _ACEOF
28827 rm -f conftest.$ac_objext
28828 if { (ac_try="$ac_compile"
28829 case "(($ac_try" in
28830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28831 *) ac_try_echo=$ac_try;;
28832 esac
28833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28834 (eval "$ac_compile") 2>conftest.er1
28835 ac_status=$?
28836 grep -v '^ *+' conftest.er1 >conftest.err
28837 rm -f conftest.er1
28838 cat conftest.err >&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); } && {
28841 test -z "$ac_c_werror_flag" ||
28842 test ! -s conftest.err
28843 } && test -s conftest.$ac_objext; then
28844 ac_cv_header_expat_h=yes
28845 else
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.$ac_ext >&5
28848
28849 ac_cv_header_expat_h=no
28850 fi
28851
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28853 fi
28854 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28855 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28856 if test $ac_cv_header_expat_h = yes; then
28857 found_expat_h=1
28858 fi
28859
28860
28861 if test "x$found_expat_h" = "x1"; then
28862 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28863 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28864 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28865 echo $ECHO_N "(cached) $ECHO_C" >&6
28866 else
28867
28868 ac_ext=cpp
28869 ac_cpp='$CXXCPP $CPPFLAGS'
28870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28873
28874 cat >conftest.$ac_ext <<_ACEOF
28875 /* confdefs.h. */
28876 _ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28880 #include <expat.h>
28881 int
28882 main ()
28883 {
28884
28885 ;
28886 return 0;
28887 }
28888 _ACEOF
28889 rm -f conftest.$ac_objext
28890 if { (ac_try="$ac_compile"
28891 case "(($ac_try" in
28892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28893 *) ac_try_echo=$ac_try;;
28894 esac
28895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28896 (eval "$ac_compile") 2>conftest.er1
28897 ac_status=$?
28898 grep -v '^ *+' conftest.er1 >conftest.err
28899 rm -f conftest.er1
28900 cat conftest.err >&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } && {
28903 test -z "$ac_cxx_werror_flag" ||
28904 test ! -s conftest.err
28905 } && test -s conftest.$ac_objext; then
28906 wx_cv_expat_is_not_broken=yes
28907 else
28908 echo "$as_me: failed program was:" >&5
28909 sed 's/^/| /' conftest.$ac_ext >&5
28910
28911 wx_cv_expat_is_not_broken=no
28912
28913 fi
28914
28915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28916 ac_ext=c
28917 ac_cpp='$CPP $CPPFLAGS'
28918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28921
28922
28923
28924 fi
28925 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28926 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28927 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28928 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28929 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28930 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933 ac_check_lib_save_LIBS=$LIBS
28934 LIBS="-lexpat $LIBS"
28935 cat >conftest.$ac_ext <<_ACEOF
28936 /* confdefs.h. */
28937 _ACEOF
28938 cat confdefs.h >>conftest.$ac_ext
28939 cat >>conftest.$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941
28942 /* Override any GCC internal prototype to avoid an error.
28943 Use char because int might match the return type of a GCC
28944 builtin and then its argument prototype would still apply. */
28945 #ifdef __cplusplus
28946 extern "C"
28947 #endif
28948 char XML_ParserCreate ();
28949 int
28950 main ()
28951 {
28952 return XML_ParserCreate ();
28953 ;
28954 return 0;
28955 }
28956 _ACEOF
28957 rm -f conftest.$ac_objext conftest$ac_exeext
28958 if { (ac_try="$ac_link"
28959 case "(($ac_try" in
28960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28961 *) ac_try_echo=$ac_try;;
28962 esac
28963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28964 (eval "$ac_link") 2>conftest.er1
28965 ac_status=$?
28966 grep -v '^ *+' conftest.er1 >conftest.err
28967 rm -f conftest.er1
28968 cat conftest.err >&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } && {
28971 test -z "$ac_c_werror_flag" ||
28972 test ! -s conftest.err
28973 } && test -s conftest$ac_exeext &&
28974 $as_test_x conftest$ac_exeext; then
28975 ac_cv_lib_expat_XML_ParserCreate=yes
28976 else
28977 echo "$as_me: failed program was:" >&5
28978 sed 's/^/| /' conftest.$ac_ext >&5
28979
28980 ac_cv_lib_expat_XML_ParserCreate=no
28981 fi
28982
28983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28984 conftest$ac_exeext conftest.$ac_ext
28985 LIBS=$ac_check_lib_save_LIBS
28986 fi
28987 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28988 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28989 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28990 EXPAT_LINK=" -lexpat"
28991 fi
28992
28993 fi
28994 fi
28995 if test "x$EXPAT_LINK" = "x" ; then
28996 if test "$wxUSE_EXPAT" = "sys" ; then
28997 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28998 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28999 { (exit 1); exit 1; }; }
29000 else
29001 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29002 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29003 wxUSE_EXPAT=builtin
29004 fi
29005 else
29006 wxUSE_EXPAT=sys
29007 fi
29008 fi
29009 if test "$wxUSE_EXPAT" = "builtin" ; then
29010 subdirs="$subdirs src/expat"
29011
29012 fi
29013 fi
29014
29015
29016
29017 if test "$wxUSE_LIBMSPACK" != "no"; then
29018 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29019 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29020 if test "${ac_cv_header_mspack_h+set}" = set; then
29021 echo $ECHO_N "(cached) $ECHO_C" >&6
29022 else
29023 cat >conftest.$ac_ext <<_ACEOF
29024 /* confdefs.h. */
29025 _ACEOF
29026 cat confdefs.h >>conftest.$ac_ext
29027 cat >>conftest.$ac_ext <<_ACEOF
29028 /* end confdefs.h. */
29029
29030
29031 #include <mspack.h>
29032 _ACEOF
29033 rm -f conftest.$ac_objext
29034 if { (ac_try="$ac_compile"
29035 case "(($ac_try" in
29036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29037 *) ac_try_echo=$ac_try;;
29038 esac
29039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29040 (eval "$ac_compile") 2>conftest.er1
29041 ac_status=$?
29042 grep -v '^ *+' conftest.er1 >conftest.err
29043 rm -f conftest.er1
29044 cat conftest.err >&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); } && {
29047 test -z "$ac_c_werror_flag" ||
29048 test ! -s conftest.err
29049 } && test -s conftest.$ac_objext; then
29050 ac_cv_header_mspack_h=yes
29051 else
29052 echo "$as_me: failed program was:" >&5
29053 sed 's/^/| /' conftest.$ac_ext >&5
29054
29055 ac_cv_header_mspack_h=no
29056 fi
29057
29058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29059 fi
29060 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29061 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29062 if test $ac_cv_header_mspack_h = yes; then
29063 found_mspack_h=1
29064 fi
29065
29066
29067 if test "x$found_mspack_h" = "x1"; then
29068 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29069 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29070 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29072 else
29073 ac_check_lib_save_LIBS=$LIBS
29074 LIBS="-lmspack $LIBS"
29075 cat >conftest.$ac_ext <<_ACEOF
29076 /* confdefs.h. */
29077 _ACEOF
29078 cat confdefs.h >>conftest.$ac_ext
29079 cat >>conftest.$ac_ext <<_ACEOF
29080 /* end confdefs.h. */
29081
29082 /* Override any GCC internal prototype to avoid an error.
29083 Use char because int might match the return type of a GCC
29084 builtin and then its argument prototype would still apply. */
29085 #ifdef __cplusplus
29086 extern "C"
29087 #endif
29088 char mspack_create_chm_decompressor ();
29089 int
29090 main ()
29091 {
29092 return mspack_create_chm_decompressor ();
29093 ;
29094 return 0;
29095 }
29096 _ACEOF
29097 rm -f conftest.$ac_objext conftest$ac_exeext
29098 if { (ac_try="$ac_link"
29099 case "(($ac_try" in
29100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29101 *) ac_try_echo=$ac_try;;
29102 esac
29103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29104 (eval "$ac_link") 2>conftest.er1
29105 ac_status=$?
29106 grep -v '^ *+' conftest.er1 >conftest.err
29107 rm -f conftest.er1
29108 cat conftest.err >&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); } && {
29111 test -z "$ac_c_werror_flag" ||
29112 test ! -s conftest.err
29113 } && test -s conftest$ac_exeext &&
29114 $as_test_x conftest$ac_exeext; then
29115 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29116 else
29117 echo "$as_me: failed program was:" >&5
29118 sed 's/^/| /' conftest.$ac_ext >&5
29119
29120 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29121 fi
29122
29123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29124 conftest$ac_exeext conftest.$ac_ext
29125 LIBS=$ac_check_lib_save_LIBS
29126 fi
29127 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29128 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29129 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29130 MSPACK_LINK=" -lmspack"
29131 fi
29132
29133 fi
29134 if test "x$MSPACK_LINK" = "x" ; then
29135 wxUSE_LIBMSPACK=no
29136 fi
29137 fi
29138
29139 if test "$wxUSE_LIBMSPACK" != "no"; then
29140 cat >>confdefs.h <<\_ACEOF
29141 #define wxUSE_LIBMSPACK 1
29142 _ACEOF
29143
29144 fi
29145
29146
29147
29148 AFMINSTALL=
29149 WIN32INSTALL=
29150
29151 TOOLKIT=
29152 TOOLKIT_INCLUDE=
29153 WIDGET_SET=
29154
29155 if test "$USE_WIN32" = 1 ; then
29156
29157 for ac_header in w32api.h
29158 do
29159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29164 else
29165 cat >conftest.$ac_ext <<_ACEOF
29166 /* confdefs.h. */
29167 _ACEOF
29168 cat confdefs.h >>conftest.$ac_ext
29169 cat >>conftest.$ac_ext <<_ACEOF
29170 /* end confdefs.h. */
29171
29172
29173 #include <$ac_header>
29174 _ACEOF
29175 rm -f conftest.$ac_objext
29176 if { (ac_try="$ac_compile"
29177 case "(($ac_try" in
29178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29179 *) ac_try_echo=$ac_try;;
29180 esac
29181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29182 (eval "$ac_compile") 2>conftest.er1
29183 ac_status=$?
29184 grep -v '^ *+' conftest.er1 >conftest.err
29185 rm -f conftest.er1
29186 cat conftest.err >&5
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); } && {
29189 test -z "$ac_c_werror_flag" ||
29190 test ! -s conftest.err
29191 } && test -s conftest.$ac_objext; then
29192 eval "$as_ac_Header=yes"
29193 else
29194 echo "$as_me: failed program was:" >&5
29195 sed 's/^/| /' conftest.$ac_ext >&5
29196
29197 eval "$as_ac_Header=no"
29198 fi
29199
29200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29201 fi
29202 ac_res=`eval echo '${'$as_ac_Header'}'`
29203 { echo "$as_me:$LINENO: result: $ac_res" >&5
29204 echo "${ECHO_T}$ac_res" >&6; }
29205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29206 cat >>confdefs.h <<_ACEOF
29207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29208 _ACEOF
29209
29210 fi
29211
29212 done
29213
29214 { echo "$as_me:$LINENO: checking for windows.h" >&5
29215 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29216 if test "${ac_cv_header_windows_h+set}" = set; then
29217 echo $ECHO_N "(cached) $ECHO_C" >&6
29218 else
29219 cat >conftest.$ac_ext <<_ACEOF
29220 /* confdefs.h. */
29221 _ACEOF
29222 cat confdefs.h >>conftest.$ac_ext
29223 cat >>conftest.$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29225
29226
29227 #include <windows.h>
29228 _ACEOF
29229 rm -f conftest.$ac_objext
29230 if { (ac_try="$ac_compile"
29231 case "(($ac_try" in
29232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29233 *) ac_try_echo=$ac_try;;
29234 esac
29235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29236 (eval "$ac_compile") 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } && {
29243 test -z "$ac_c_werror_flag" ||
29244 test ! -s conftest.err
29245 } && test -s conftest.$ac_objext; then
29246 ac_cv_header_windows_h=yes
29247 else
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29250
29251 ac_cv_header_windows_h=no
29252 fi
29253
29254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29255 fi
29256 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29257 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29258 if test $ac_cv_header_windows_h = yes; then
29259 :
29260 else
29261
29262 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29263 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29264 { (exit 1); exit 1; }; }
29265
29266 fi
29267
29268
29269
29270 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29271 case "${host}" in
29272 x86_64-*-mingw32* )
29273 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29274 ;;
29275 esac
29276 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29277 LIBS="$LIBS -loleacc"
29278 fi
29279
29280 case "${host}" in
29281 *-*-cygwin* )
29282 LIBS="$LIBS -lkernel32 -luser32"
29283 esac
29284
29285 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29286 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29287
29288 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29289
29290 WIN32INSTALL=win32install
29291
29292 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29293 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29294 if test "${ac_cv_header_pbt_h+set}" = set; then
29295 echo $ECHO_N "(cached) $ECHO_C" >&6
29296 else
29297 cat >conftest.$ac_ext <<_ACEOF
29298 /* confdefs.h. */
29299 _ACEOF
29300 cat confdefs.h >>conftest.$ac_ext
29301 cat >>conftest.$ac_ext <<_ACEOF
29302 /* end confdefs.h. */
29303
29304
29305 #include <pbt.h>
29306 _ACEOF
29307 rm -f conftest.$ac_objext
29308 if { (ac_try="$ac_compile"
29309 case "(($ac_try" in
29310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29311 *) ac_try_echo=$ac_try;;
29312 esac
29313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29314 (eval "$ac_compile") 2>conftest.er1
29315 ac_status=$?
29316 grep -v '^ *+' conftest.er1 >conftest.err
29317 rm -f conftest.er1
29318 cat conftest.err >&5
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); } && {
29321 test -z "$ac_c_werror_flag" ||
29322 test ! -s conftest.err
29323 } && test -s conftest.$ac_objext; then
29324 ac_cv_header_pbt_h=yes
29325 else
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.$ac_ext >&5
29328
29329 ac_cv_header_pbt_h=no
29330 fi
29331
29332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29333 fi
29334 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29335 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29336 if test $ac_cv_header_pbt_h = yes; then
29337 :
29338 else
29339 cat >>confdefs.h <<\_ACEOF
29340 #define NEED_PBT_H 1
29341 _ACEOF
29342
29343 fi
29344
29345
29346 fi
29347
29348 if test "$wxUSE_GUI" = "yes"; then
29349 USE_GUI=1
29350
29351 GUI_TK_LIBRARY=
29352
29353 WXGTK12=
29354 WXGTK127=
29355 WXGTK2=
29356 WXGPE=
29357
29358 if test "$wxUSE_OLD_COCOA" = 1 ; then
29359 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29360 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29361 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29362 wxUSE_PRINTING_ARCHITECTURE=no
29363 fi
29364 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29365 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29366 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29367 wxUSE_DRAG_AND_DROP=no
29368 fi
29369 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29370 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29371 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29372 wxUSE_DRAGIMAGE=no
29373 fi
29374 fi
29375
29376 if test "$wxUSE_MSW" = 1 ; then
29377 TOOLKIT=MSW
29378 GUIDIST=MSW_DIST
29379
29380 case "${host}" in
29381 *-*-mingw32* )
29382 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29383 esac
29384 fi
29385
29386 if test "$wxUSE_GTK" = 1; then
29387 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29388 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29389
29390 gtk_version_cached=1
29391 if test "${wx_cv_lib_gtk+set}" = set; then
29392 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 else
29394
29395 gtk_version_cached=0
29396 { echo "$as_me:$LINENO: result: " >&5
29397 echo "${ECHO_T}" >&6; }
29398
29399 GTK_MODULES=
29400 if test "$wxUSE_THREADS" = "yes"; then
29401 GTK_MODULES=gthread
29402 fi
29403
29404 wx_cv_lib_gtk=
29405 if test "x$wxGTK_VERSION" != "x1"
29406 then
29407 case "${host}" in
29408 *-*-solaris2* )
29409 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29410 enable_gtktest=no
29411 fi
29412 esac
29413
29414 # Check whether --enable-gtktest was given.
29415 if test "${enable_gtktest+set}" = set; then
29416 enableval=$enable_gtktest;
29417 else
29418 enable_gtktest=yes
29419 fi
29420
29421
29422 pkg_config_args=gtk+-2.0
29423 for module in . $GTK_MODULES
29424 do
29425 case "$module" in
29426 gthread)
29427 pkg_config_args="$pkg_config_args gthread-2.0"
29428 ;;
29429 esac
29430 done
29431
29432 no_gtk=""
29433
29434 # Extract the first word of "pkg-config", so it can be a program name with args.
29435 set dummy pkg-config; ac_word=$2
29436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29438 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 else
29441 case $PKG_CONFIG in
29442 [\\/]* | ?:[\\/]*)
29443 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29444 ;;
29445 *)
29446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29447 for as_dir in $PATH
29448 do
29449 IFS=$as_save_IFS
29450 test -z "$as_dir" && as_dir=.
29451 for ac_exec_ext in '' $ac_executable_extensions; do
29452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29453 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29455 break 2
29456 fi
29457 done
29458 done
29459 IFS=$as_save_IFS
29460
29461 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29462 ;;
29463 esac
29464 fi
29465 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29466 if test -n "$PKG_CONFIG"; then
29467 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29468 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29469 else
29470 { echo "$as_me:$LINENO: result: no" >&5
29471 echo "${ECHO_T}no" >&6; }
29472 fi
29473
29474
29475
29476 if test x$PKG_CONFIG != xno ; then
29477 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29478 :
29479 else
29480 echo "*** pkg-config too old; version 0.7 or better required."
29481 no_gtk=yes
29482 PKG_CONFIG=no
29483 fi
29484 else
29485 no_gtk=yes
29486 fi
29487
29488 min_gtk_version=2.4.0
29489 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29490 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29491
29492 if test x$PKG_CONFIG != xno ; then
29493 ## don't try to run the test against uninstalled libtool libs
29494 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29495 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29496 enable_gtktest=no
29497 fi
29498
29499 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29500 :
29501 else
29502 no_gtk=yes
29503 fi
29504 fi
29505
29506 if test x"$no_gtk" = x ; then
29507 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29508 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29509 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29510 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29511 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29513 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29515 if test "x$enable_gtktest" = "xyes" ; then
29516 ac_save_CFLAGS="$CFLAGS"
29517 ac_save_LIBS="$LIBS"
29518 CFLAGS="$CFLAGS $GTK_CFLAGS"
29519 LIBS="$GTK_LIBS $LIBS"
29520 rm -f conf.gtktest
29521 if test "$cross_compiling" = yes; then
29522 echo $ac_n "cross compiling; assumed OK... $ac_c"
29523 else
29524 cat >conftest.$ac_ext <<_ACEOF
29525 /* confdefs.h. */
29526 _ACEOF
29527 cat confdefs.h >>conftest.$ac_ext
29528 cat >>conftest.$ac_ext <<_ACEOF
29529 /* end confdefs.h. */
29530
29531 #include <gtk/gtk.h>
29532 #include <stdio.h>
29533 #include <stdlib.h>
29534
29535 int
29536 main ()
29537 {
29538 int major, minor, micro;
29539 char *tmp_version;
29540
29541 system ("touch conf.gtktest");
29542
29543 /* HP/UX 9 (%@#!) writes to sscanf strings */
29544 tmp_version = g_strdup("$min_gtk_version");
29545 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29546 printf("%s, bad version string\n", "$min_gtk_version");
29547 exit(1);
29548 }
29549
29550 if ((gtk_major_version != $gtk_config_major_version) ||
29551 (gtk_minor_version != $gtk_config_minor_version) ||
29552 (gtk_micro_version != $gtk_config_micro_version))
29553 {
29554 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29555 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29556 gtk_major_version, gtk_minor_version, gtk_micro_version);
29557 printf ("*** was found! If pkg-config was correct, then it is best\n");
29558 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29559 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29560 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29561 printf("*** required on your system.\n");
29562 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29563 printf("*** to point to the correct configuration files\n");
29564 }
29565 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29566 (gtk_minor_version != GTK_MINOR_VERSION) ||
29567 (gtk_micro_version != GTK_MICRO_VERSION))
29568 {
29569 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29570 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29571 printf("*** library (version %d.%d.%d)\n",
29572 gtk_major_version, gtk_minor_version, gtk_micro_version);
29573 }
29574 else
29575 {
29576 if ((gtk_major_version > major) ||
29577 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29578 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29579 {
29580 return 0;
29581 }
29582 else
29583 {
29584 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29585 gtk_major_version, gtk_minor_version, gtk_micro_version);
29586 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29587 major, minor, micro);
29588 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29589 printf("***\n");
29590 printf("*** If you have already installed a sufficiently new version, this error\n");
29591 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29592 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29593 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29594 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29595 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29596 printf("*** so that the correct libraries are found at run-time))\n");
29597 }
29598 }
29599 return 1;
29600 }
29601
29602 _ACEOF
29603 rm -f conftest$ac_exeext
29604 if { (ac_try="$ac_link"
29605 case "(($ac_try" in
29606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29607 *) ac_try_echo=$ac_try;;
29608 esac
29609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29610 (eval "$ac_link") 2>&5
29611 ac_status=$?
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29614 { (case "(($ac_try" in
29615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29616 *) ac_try_echo=$ac_try;;
29617 esac
29618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29619 (eval "$ac_try") 2>&5
29620 ac_status=$?
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); }; }; then
29623 :
29624 else
29625 echo "$as_me: program exited with status $ac_status" >&5
29626 echo "$as_me: failed program was:" >&5
29627 sed 's/^/| /' conftest.$ac_ext >&5
29628
29629 ( exit $ac_status )
29630 no_gtk=yes
29631 fi
29632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29633 fi
29634
29635
29636 CFLAGS="$ac_save_CFLAGS"
29637 LIBS="$ac_save_LIBS"
29638 fi
29639 fi
29640 if test "x$no_gtk" = x ; then
29641 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29642 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29643 wx_cv_lib_gtk=2.0
29644 else
29645 { echo "$as_me:$LINENO: result: no" >&5
29646 echo "${ECHO_T}no" >&6; }
29647 if test "$PKG_CONFIG" = "no" ; then
29648 echo "*** A new enough version of pkg-config was not found."
29649 echo "*** See http://pkgconfig.sourceforge.net"
29650 else
29651 if test -f conf.gtktest ; then
29652 :
29653 else
29654 echo "*** Could not run GTK+ test program, checking why..."
29655 ac_save_CFLAGS="$CFLAGS"
29656 ac_save_LIBS="$LIBS"
29657 CFLAGS="$CFLAGS $GTK_CFLAGS"
29658 LIBS="$LIBS $GTK_LIBS"
29659 cat >conftest.$ac_ext <<_ACEOF
29660 /* confdefs.h. */
29661 _ACEOF
29662 cat confdefs.h >>conftest.$ac_ext
29663 cat >>conftest.$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29665
29666 #include <gtk/gtk.h>
29667 #include <stdio.h>
29668
29669 int
29670 main ()
29671 {
29672 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 rm -f conftest.$ac_objext conftest$ac_exeext
29678 if { (ac_try="$ac_link"
29679 case "(($ac_try" in
29680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29681 *) ac_try_echo=$ac_try;;
29682 esac
29683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29684 (eval "$ac_link") 2>conftest.er1
29685 ac_status=$?
29686 grep -v '^ *+' conftest.er1 >conftest.err
29687 rm -f conftest.er1
29688 cat conftest.err >&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); } && {
29691 test -z "$ac_c_werror_flag" ||
29692 test ! -s conftest.err
29693 } && test -s conftest$ac_exeext &&
29694 $as_test_x conftest$ac_exeext; then
29695 echo "*** The test program compiled, but did not run. This usually means"
29696 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29697 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29698 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29699 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29700 echo "*** is required on your system"
29701 echo "***"
29702 echo "*** If you have an old version installed, it is best to remove it, although"
29703 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29704 else
29705 echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.$ac_ext >&5
29707
29708 echo "*** The test program failed to compile or link. See the file config.log for the"
29709 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29710 fi
29711
29712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29713 conftest$ac_exeext conftest.$ac_ext
29714 CFLAGS="$ac_save_CFLAGS"
29715 LIBS="$ac_save_LIBS"
29716 fi
29717 fi
29718 GTK_CFLAGS=""
29719 GTK_LIBS=""
29720 :
29721 fi
29722
29723
29724 rm -f conf.gtktest
29725
29726
29727 case "${host}" in
29728 *-*-solaris2* )
29729 if test "$wxUSE_SHARED" != "yes"; then
29730 GTK_LIBS="$GTK_LIBS -lX11"
29731 fi
29732 esac
29733 fi
29734
29735 if test -z "$wx_cv_lib_gtk"; then
29736 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29737
29738 # Check whether --with-gtk-prefix was given.
29739 if test "${with_gtk_prefix+set}" = set; then
29740 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29741 else
29742 gtk_config_prefix=""
29743 fi
29744
29745
29746 # Check whether --with-gtk-exec-prefix was given.
29747 if test "${with_gtk_exec_prefix+set}" = set; then
29748 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29749 else
29750 gtk_config_exec_prefix=""
29751 fi
29752
29753 # Check whether --enable-gtktest was given.
29754 if test "${enable_gtktest+set}" = set; then
29755 enableval=$enable_gtktest;
29756 else
29757 enable_gtktest=yes
29758 fi
29759
29760
29761 for module in . $GTK_MODULES
29762 do
29763 case "$module" in
29764 gthread)
29765 gtk_config_args="$gtk_config_args gthread"
29766 ;;
29767 esac
29768 done
29769
29770 if test x$gtk_config_exec_prefix != x ; then
29771 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29772 if test x${GTK_CONFIG+set} != xset ; then
29773 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29774 fi
29775 fi
29776 if test x$gtk_config_prefix != x ; then
29777 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29778 if test x${GTK_CONFIG+set} != xset ; then
29779 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29780 fi
29781 fi
29782
29783 # Extract the first word of "gtk-config", so it can be a program name with args.
29784 set dummy gtk-config; ac_word=$2
29785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29787 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29788 echo $ECHO_N "(cached) $ECHO_C" >&6
29789 else
29790 case $GTK_CONFIG in
29791 [\\/]* | ?:[\\/]*)
29792 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29793 ;;
29794 *)
29795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29796 for as_dir in $PATH
29797 do
29798 IFS=$as_save_IFS
29799 test -z "$as_dir" && as_dir=.
29800 for ac_exec_ext in '' $ac_executable_extensions; do
29801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29802 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29804 break 2
29805 fi
29806 done
29807 done
29808 IFS=$as_save_IFS
29809
29810 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29811 ;;
29812 esac
29813 fi
29814 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29815 if test -n "$GTK_CONFIG"; then
29816 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29817 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29818 else
29819 { echo "$as_me:$LINENO: result: no" >&5
29820 echo "${ECHO_T}no" >&6; }
29821 fi
29822
29823
29824 min_gtk_version=1.2.7
29825 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29826 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29827 no_gtk=""
29828 if test "$GTK_CONFIG" = "no" ; then
29829 no_gtk=yes
29830 else
29831 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29832 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29833 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29835 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29837 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29839 if test "x$enable_gtktest" = "xyes" ; then
29840 ac_save_CFLAGS="$CFLAGS"
29841 ac_save_LIBS="$LIBS"
29842 CFLAGS="$CFLAGS $GTK_CFLAGS"
29843 LIBS="$GTK_LIBS $LIBS"
29844 rm -f conf.gtktest
29845 if test "$cross_compiling" = yes; then
29846 echo $ac_n "cross compiling; assumed OK... $ac_c"
29847 else
29848 cat >conftest.$ac_ext <<_ACEOF
29849 /* confdefs.h. */
29850 _ACEOF
29851 cat confdefs.h >>conftest.$ac_ext
29852 cat >>conftest.$ac_ext <<_ACEOF
29853 /* end confdefs.h. */
29854
29855 #include <gtk/gtk.h>
29856 #include <stdio.h>
29857 #include <stdlib.h>
29858
29859 int
29860 main ()
29861 {
29862 int major, minor, micro;
29863 char *tmp_version;
29864
29865 system ("touch conf.gtktest");
29866
29867 /* HP/UX 9 (%@#!) writes to sscanf strings */
29868 tmp_version = g_strdup("$min_gtk_version");
29869 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29870 printf("%s, bad version string\n", "$min_gtk_version");
29871 exit(1);
29872 }
29873
29874 if ((gtk_major_version != $gtk_config_major_version) ||
29875 (gtk_minor_version != $gtk_config_minor_version) ||
29876 (gtk_micro_version != $gtk_config_micro_version))
29877 {
29878 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29879 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29880 gtk_major_version, gtk_minor_version, gtk_micro_version);
29881 printf ("*** was found! If gtk-config was correct, then it is best\n");
29882 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29883 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29884 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29885 printf("*** required on your system.\n");
29886 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29887 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29888 printf("*** before re-running configure\n");
29889 }
29890 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29891 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29892 (gtk_minor_version != GTK_MINOR_VERSION) ||
29893 (gtk_micro_version != GTK_MICRO_VERSION))
29894 {
29895 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29896 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29897 printf("*** library (version %d.%d.%d)\n",
29898 gtk_major_version, gtk_minor_version, gtk_micro_version);
29899 }
29900 #endif /* defined (GTK_MAJOR_VERSION) ... */
29901 else
29902 {
29903 if ((gtk_major_version > major) ||
29904 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29905 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29906 {
29907 return 0;
29908 }
29909 else
29910 {
29911 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29912 gtk_major_version, gtk_minor_version, gtk_micro_version);
29913 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29914 major, minor, micro);
29915 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29916 printf("***\n");
29917 printf("*** If you have already installed a sufficiently new version, this error\n");
29918 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29919 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29920 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29921 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29922 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29923 printf("*** so that the correct libraries are found at run-time))\n");
29924 }
29925 }
29926 return 1;
29927 }
29928
29929 _ACEOF
29930 rm -f conftest$ac_exeext
29931 if { (ac_try="$ac_link"
29932 case "(($ac_try" in
29933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29934 *) ac_try_echo=$ac_try;;
29935 esac
29936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29937 (eval "$ac_link") 2>&5
29938 ac_status=$?
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29941 { (case "(($ac_try" in
29942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29943 *) ac_try_echo=$ac_try;;
29944 esac
29945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29946 (eval "$ac_try") 2>&5
29947 ac_status=$?
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); }; }; then
29950 :
29951 else
29952 echo "$as_me: program exited with status $ac_status" >&5
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.$ac_ext >&5
29955
29956 ( exit $ac_status )
29957 no_gtk=yes
29958 fi
29959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29960 fi
29961
29962
29963 CFLAGS="$ac_save_CFLAGS"
29964 LIBS="$ac_save_LIBS"
29965 fi
29966 fi
29967 if test "x$no_gtk" = x ; then
29968 { echo "$as_me:$LINENO: result: yes" >&5
29969 echo "${ECHO_T}yes" >&6; }
29970 wx_cv_lib_gtk=1.2.7
29971 else
29972 { echo "$as_me:$LINENO: result: no" >&5
29973 echo "${ECHO_T}no" >&6; }
29974 if test "$GTK_CONFIG" = "no" ; then
29975 echo "*** The gtk-config script installed by GTK could not be found"
29976 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29977 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29978 echo "*** full path to gtk-config."
29979 else
29980 if test -f conf.gtktest ; then
29981 :
29982 else
29983 echo "*** Could not run GTK test program, checking why..."
29984 CFLAGS="$CFLAGS $GTK_CFLAGS"
29985 LIBS="$LIBS $GTK_LIBS"
29986 cat >conftest.$ac_ext <<_ACEOF
29987 /* confdefs.h. */
29988 _ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992
29993 #include <gtk/gtk.h>
29994 #include <stdio.h>
29995
29996 int
29997 main ()
29998 {
29999 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30000 ;
30001 return 0;
30002 }
30003 _ACEOF
30004 rm -f conftest.$ac_objext conftest$ac_exeext
30005 if { (ac_try="$ac_link"
30006 case "(($ac_try" in
30007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30008 *) ac_try_echo=$ac_try;;
30009 esac
30010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30011 (eval "$ac_link") 2>conftest.er1
30012 ac_status=$?
30013 grep -v '^ *+' conftest.er1 >conftest.err
30014 rm -f conftest.er1
30015 cat conftest.err >&5
30016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30017 (exit $ac_status); } && {
30018 test -z "$ac_c_werror_flag" ||
30019 test ! -s conftest.err
30020 } && test -s conftest$ac_exeext &&
30021 $as_test_x conftest$ac_exeext; then
30022 echo "*** The test program compiled, but did not run. This usually means"
30023 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30024 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30025 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30026 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30027 echo "*** is required on your system"
30028 echo "***"
30029 echo "*** If you have an old version installed, it is best to remove it, although"
30030 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30031 echo "***"
30032 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30033 echo "*** came with the system with the command"
30034 echo "***"
30035 echo "*** rpm --erase --nodeps gtk gtk-devel"
30036 else
30037 echo "$as_me: failed program was:" >&5
30038 sed 's/^/| /' conftest.$ac_ext >&5
30039
30040 echo "*** The test program failed to compile or link. See the file config.log for the"
30041 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30042 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30043 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30044 fi
30045
30046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30047 conftest$ac_exeext conftest.$ac_ext
30048 CFLAGS="$ac_save_CFLAGS"
30049 LIBS="$ac_save_LIBS"
30050 fi
30051 fi
30052 GTK_CFLAGS=""
30053 GTK_LIBS=""
30054 :
30055 fi
30056
30057
30058 rm -f conf.gtktest
30059
30060
30061 if test -z "$wx_cv_lib_gtk"; then
30062
30063 # Check whether --with-gtk-prefix was given.
30064 if test "${with_gtk_prefix+set}" = set; then
30065 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30066 else
30067 gtk_config_prefix=""
30068 fi
30069
30070
30071 # Check whether --with-gtk-exec-prefix was given.
30072 if test "${with_gtk_exec_prefix+set}" = set; then
30073 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30074 else
30075 gtk_config_exec_prefix=""
30076 fi
30077
30078 # Check whether --enable-gtktest was given.
30079 if test "${enable_gtktest+set}" = set; then
30080 enableval=$enable_gtktest;
30081 else
30082 enable_gtktest=yes
30083 fi
30084
30085
30086 for module in . $GTK_MODULES
30087 do
30088 case "$module" in
30089 gthread)
30090 gtk_config_args="$gtk_config_args gthread"
30091 ;;
30092 esac
30093 done
30094
30095 if test x$gtk_config_exec_prefix != x ; then
30096 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30097 if test x${GTK_CONFIG+set} != xset ; then
30098 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30099 fi
30100 fi
30101 if test x$gtk_config_prefix != x ; then
30102 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30103 if test x${GTK_CONFIG+set} != xset ; then
30104 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30105 fi
30106 fi
30107
30108 # Extract the first word of "gtk-config", so it can be a program name with args.
30109 set dummy gtk-config; ac_word=$2
30110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30112 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30113 echo $ECHO_N "(cached) $ECHO_C" >&6
30114 else
30115 case $GTK_CONFIG in
30116 [\\/]* | ?:[\\/]*)
30117 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30118 ;;
30119 *)
30120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30121 for as_dir in $PATH
30122 do
30123 IFS=$as_save_IFS
30124 test -z "$as_dir" && as_dir=.
30125 for ac_exec_ext in '' $ac_executable_extensions; do
30126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30127 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30129 break 2
30130 fi
30131 done
30132 done
30133 IFS=$as_save_IFS
30134
30135 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30136 ;;
30137 esac
30138 fi
30139 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30140 if test -n "$GTK_CONFIG"; then
30141 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30142 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30143 else
30144 { echo "$as_me:$LINENO: result: no" >&5
30145 echo "${ECHO_T}no" >&6; }
30146 fi
30147
30148
30149 min_gtk_version=1.2.3
30150 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30151 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30152 no_gtk=""
30153 if test "$GTK_CONFIG" = "no" ; then
30154 no_gtk=yes
30155 else
30156 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30157 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30158 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30160 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30162 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30164 if test "x$enable_gtktest" = "xyes" ; then
30165 ac_save_CFLAGS="$CFLAGS"
30166 ac_save_LIBS="$LIBS"
30167 CFLAGS="$CFLAGS $GTK_CFLAGS"
30168 LIBS="$GTK_LIBS $LIBS"
30169 rm -f conf.gtktest
30170 if test "$cross_compiling" = yes; then
30171 echo $ac_n "cross compiling; assumed OK... $ac_c"
30172 else
30173 cat >conftest.$ac_ext <<_ACEOF
30174 /* confdefs.h. */
30175 _ACEOF
30176 cat confdefs.h >>conftest.$ac_ext
30177 cat >>conftest.$ac_ext <<_ACEOF
30178 /* end confdefs.h. */
30179
30180 #include <gtk/gtk.h>
30181 #include <stdio.h>
30182 #include <stdlib.h>
30183
30184 int
30185 main ()
30186 {
30187 int major, minor, micro;
30188 char *tmp_version;
30189
30190 system ("touch conf.gtktest");
30191
30192 /* HP/UX 9 (%@#!) writes to sscanf strings */
30193 tmp_version = g_strdup("$min_gtk_version");
30194 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30195 printf("%s, bad version string\n", "$min_gtk_version");
30196 exit(1);
30197 }
30198
30199 if ((gtk_major_version != $gtk_config_major_version) ||
30200 (gtk_minor_version != $gtk_config_minor_version) ||
30201 (gtk_micro_version != $gtk_config_micro_version))
30202 {
30203 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30204 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30205 gtk_major_version, gtk_minor_version, gtk_micro_version);
30206 printf ("*** was found! If gtk-config was correct, then it is best\n");
30207 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30208 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30209 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30210 printf("*** required on your system.\n");
30211 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30212 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30213 printf("*** before re-running configure\n");
30214 }
30215 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30216 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30217 (gtk_minor_version != GTK_MINOR_VERSION) ||
30218 (gtk_micro_version != GTK_MICRO_VERSION))
30219 {
30220 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30221 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30222 printf("*** library (version %d.%d.%d)\n",
30223 gtk_major_version, gtk_minor_version, gtk_micro_version);
30224 }
30225 #endif /* defined (GTK_MAJOR_VERSION) ... */
30226 else
30227 {
30228 if ((gtk_major_version > major) ||
30229 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30230 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30231 {
30232 return 0;
30233 }
30234 else
30235 {
30236 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30237 gtk_major_version, gtk_minor_version, gtk_micro_version);
30238 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30239 major, minor, micro);
30240 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30241 printf("***\n");
30242 printf("*** If you have already installed a sufficiently new version, this error\n");
30243 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30244 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30245 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30246 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30247 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30248 printf("*** so that the correct libraries are found at run-time))\n");
30249 }
30250 }
30251 return 1;
30252 }
30253
30254 _ACEOF
30255 rm -f conftest$ac_exeext
30256 if { (ac_try="$ac_link"
30257 case "(($ac_try" in
30258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30259 *) ac_try_echo=$ac_try;;
30260 esac
30261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30262 (eval "$ac_link") 2>&5
30263 ac_status=$?
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30266 { (case "(($ac_try" in
30267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30268 *) ac_try_echo=$ac_try;;
30269 esac
30270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30271 (eval "$ac_try") 2>&5
30272 ac_status=$?
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; }; then
30275 :
30276 else
30277 echo "$as_me: program exited with status $ac_status" >&5
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30280
30281 ( exit $ac_status )
30282 no_gtk=yes
30283 fi
30284 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30285 fi
30286
30287
30288 CFLAGS="$ac_save_CFLAGS"
30289 LIBS="$ac_save_LIBS"
30290 fi
30291 fi
30292 if test "x$no_gtk" = x ; then
30293 { echo "$as_me:$LINENO: result: yes" >&5
30294 echo "${ECHO_T}yes" >&6; }
30295 wx_cv_lib_gtk=1.2.3
30296 else
30297 { echo "$as_me:$LINENO: result: no" >&5
30298 echo "${ECHO_T}no" >&6; }
30299 if test "$GTK_CONFIG" = "no" ; then
30300 echo "*** The gtk-config script installed by GTK could not be found"
30301 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30302 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30303 echo "*** full path to gtk-config."
30304 else
30305 if test -f conf.gtktest ; then
30306 :
30307 else
30308 echo "*** Could not run GTK test program, checking why..."
30309 CFLAGS="$CFLAGS $GTK_CFLAGS"
30310 LIBS="$LIBS $GTK_LIBS"
30311 cat >conftest.$ac_ext <<_ACEOF
30312 /* confdefs.h. */
30313 _ACEOF
30314 cat confdefs.h >>conftest.$ac_ext
30315 cat >>conftest.$ac_ext <<_ACEOF
30316 /* end confdefs.h. */
30317
30318 #include <gtk/gtk.h>
30319 #include <stdio.h>
30320
30321 int
30322 main ()
30323 {
30324 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30325 ;
30326 return 0;
30327 }
30328 _ACEOF
30329 rm -f conftest.$ac_objext conftest$ac_exeext
30330 if { (ac_try="$ac_link"
30331 case "(($ac_try" in
30332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30333 *) ac_try_echo=$ac_try;;
30334 esac
30335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30336 (eval "$ac_link") 2>conftest.er1
30337 ac_status=$?
30338 grep -v '^ *+' conftest.er1 >conftest.err
30339 rm -f conftest.er1
30340 cat conftest.err >&5
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); } && {
30343 test -z "$ac_c_werror_flag" ||
30344 test ! -s conftest.err
30345 } && test -s conftest$ac_exeext &&
30346 $as_test_x conftest$ac_exeext; then
30347 echo "*** The test program compiled, but did not run. This usually means"
30348 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30349 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30350 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30351 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30352 echo "*** is required on your system"
30353 echo "***"
30354 echo "*** If you have an old version installed, it is best to remove it, although"
30355 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30356 echo "***"
30357 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30358 echo "*** came with the system with the command"
30359 echo "***"
30360 echo "*** rpm --erase --nodeps gtk gtk-devel"
30361 else
30362 echo "$as_me: failed program was:" >&5
30363 sed 's/^/| /' conftest.$ac_ext >&5
30364
30365 echo "*** The test program failed to compile or link. See the file config.log for the"
30366 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30367 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30368 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30369 fi
30370
30371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30372 conftest$ac_exeext conftest.$ac_ext
30373 CFLAGS="$ac_save_CFLAGS"
30374 LIBS="$ac_save_LIBS"
30375 fi
30376 fi
30377 GTK_CFLAGS=""
30378 GTK_LIBS=""
30379 :
30380 fi
30381
30382
30383 rm -f conf.gtktest
30384
30385 fi
30386 fi
30387 fi
30388
30389 if test -z "$wx_cv_lib_gtk"; then
30390 wx_cv_lib_gtk=none
30391 else
30392 wx_cv_cflags_gtk=$GTK_CFLAGS
30393 wx_cv_libs_gtk=$GTK_LIBS
30394 fi
30395
30396
30397 fi
30398
30399
30400 if test "$gtk_version_cached" = 1; then
30401 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30402 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30403 fi
30404
30405 case "$wx_cv_lib_gtk" in
30406 2.0) WXGTK2=1
30407 TOOLKIT_VERSION=2
30408 ;;
30409 1.2.7) WXGTK127=1
30410 WXGTK12=1
30411 ;;
30412 1.2.3) WXGTK12=1
30413 ;;
30414 *) { { echo "$as_me:$LINENO: error:
30415 The development files for GTK+ were not found. For GTK+ 2, please
30416 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30417 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30418 and that the version is 1.2.3 or above. Also check that the
30419 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30420 --libs' are in the LD_LIBRARY_PATH or equivalent.
30421 " >&5
30422 echo "$as_me: error:
30423 The development files for GTK+ were not found. For GTK+ 2, please
30424 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30425 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30426 and that the version is 1.2.3 or above. Also check that the
30427 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30428 --libs' are in the LD_LIBRARY_PATH or equivalent.
30429 " >&2;}
30430 { (exit 1); exit 1; }; }
30431 ;;
30432 esac
30433
30434 if test "$WXGTK2" = 1; then
30435 save_CFLAGS="$CFLAGS"
30436 save_LIBS="$LIBS"
30437 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30438 LIBS="$LIBS $wx_cv_libs_gtk"
30439
30440 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30441 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30442 cat >conftest.$ac_ext <<_ACEOF
30443 /* confdefs.h. */
30444 _ACEOF
30445 cat confdefs.h >>conftest.$ac_ext
30446 cat >>conftest.$ac_ext <<_ACEOF
30447 /* end confdefs.h. */
30448
30449 #include <gtk/gtk.h>
30450
30451 int
30452 main ()
30453 {
30454
30455 #if !GTK_CHECK_VERSION(2,18,0)
30456 Not GTK+ 2.18
30457 #endif
30458
30459 ;
30460 return 0;
30461 }
30462 _ACEOF
30463 rm -f conftest.$ac_objext
30464 if { (ac_try="$ac_compile"
30465 case "(($ac_try" in
30466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30467 *) ac_try_echo=$ac_try;;
30468 esac
30469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30470 (eval "$ac_compile") 2>conftest.er1
30471 ac_status=$?
30472 grep -v '^ *+' conftest.er1 >conftest.err
30473 rm -f conftest.er1
30474 cat conftest.err >&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } && {
30477 test -z "$ac_c_werror_flag" ||
30478 test ! -s conftest.err
30479 } && test -s conftest.$ac_objext; then
30480
30481 cat >>confdefs.h <<\_ACEOF
30482 #define __WXGTK218__ 1
30483 _ACEOF
30484
30485 cat >>confdefs.h <<\_ACEOF
30486 #define __WXGTK210__ 1
30487 _ACEOF
30488
30489 cat >>confdefs.h <<\_ACEOF
30490 #define __WXGTK26__ 1
30491 _ACEOF
30492
30493 { echo "$as_me:$LINENO: result: yes" >&5
30494 echo "${ECHO_T}yes" >&6; }
30495 ac_wxgtk218=1
30496
30497 else
30498 echo "$as_me: failed program was:" >&5
30499 sed 's/^/| /' conftest.$ac_ext >&5
30500
30501
30502 { echo "$as_me:$LINENO: result: no" >&5
30503 echo "${ECHO_T}no" >&6; }
30504 ac_wxgtk218=0
30505
30506 fi
30507
30508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30509
30510 if test "$ac_wxgtk218" = 0; then
30511 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30512 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30513 cat >conftest.$ac_ext <<_ACEOF
30514 /* confdefs.h. */
30515 _ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519
30520 #include <gtk/gtk.h>
30521
30522 int
30523 main ()
30524 {
30525
30526 #if !GTK_CHECK_VERSION(2,10,0)
30527 Not GTK+ 2.10
30528 #endif
30529
30530 ;
30531 return 0;
30532 }
30533 _ACEOF
30534 rm -f conftest.$ac_objext
30535 if { (ac_try="$ac_compile"
30536 case "(($ac_try" in
30537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30538 *) ac_try_echo=$ac_try;;
30539 esac
30540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30541 (eval "$ac_compile") 2>conftest.er1
30542 ac_status=$?
30543 grep -v '^ *+' conftest.er1 >conftest.err
30544 rm -f conftest.er1
30545 cat conftest.err >&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } && {
30548 test -z "$ac_c_werror_flag" ||
30549 test ! -s conftest.err
30550 } && test -s conftest.$ac_objext; then
30551
30552 cat >>confdefs.h <<\_ACEOF
30553 #define __WXGTK210__ 1
30554 _ACEOF
30555
30556 cat >>confdefs.h <<\_ACEOF
30557 #define __WXGTK26__ 1
30558 _ACEOF
30559
30560 { echo "$as_me:$LINENO: result: yes" >&5
30561 echo "${ECHO_T}yes" >&6; }
30562 ac_wxgtk210=1
30563
30564 else
30565 echo "$as_me: failed program was:" >&5
30566 sed 's/^/| /' conftest.$ac_ext >&5
30567
30568
30569 { echo "$as_me:$LINENO: result: no" >&5
30570 echo "${ECHO_T}no" >&6; }
30571 ac_wxgtk210=0
30572
30573 fi
30574
30575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30576
30577 if test "$ac_wxgtk210" = 0; then
30578 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30579 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30580 cat >conftest.$ac_ext <<_ACEOF
30581 /* confdefs.h. */
30582 _ACEOF
30583 cat confdefs.h >>conftest.$ac_ext
30584 cat >>conftest.$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30586
30587 #include <gtk/gtk.h>
30588
30589 int
30590 main ()
30591 {
30592
30593 #if !GTK_CHECK_VERSION(2,6,0)
30594 Not GTK+ 2.6
30595 #endif
30596
30597 ;
30598 return 0;
30599 }
30600 _ACEOF
30601 rm -f conftest.$ac_objext
30602 if { (ac_try="$ac_compile"
30603 case "(($ac_try" in
30604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30605 *) ac_try_echo=$ac_try;;
30606 esac
30607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30608 (eval "$ac_compile") 2>conftest.er1
30609 ac_status=$?
30610 grep -v '^ *+' conftest.er1 >conftest.err
30611 rm -f conftest.er1
30612 cat conftest.err >&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } && {
30615 test -z "$ac_c_werror_flag" ||
30616 test ! -s conftest.err
30617 } && test -s conftest.$ac_objext; then
30618
30619 cat >>confdefs.h <<\_ACEOF
30620 #define __WXGTK26__ 1
30621 _ACEOF
30622
30623 { echo "$as_me:$LINENO: result: yes" >&5
30624 echo "${ECHO_T}yes" >&6; }
30625 ac_wxgtk26=1
30626
30627 else
30628 echo "$as_me: failed program was:" >&5
30629 sed 's/^/| /' conftest.$ac_ext >&5
30630
30631
30632 { echo "$as_me:$LINENO: result: no" >&5
30633 echo "${ECHO_T}no" >&6; }
30634 ac_wxgtk26=0
30635
30636 fi
30637
30638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30639 fi
30640 fi
30641
30642 CFLAGS="$save_CFLAGS"
30643 LIBS="$save_LIBS"
30644 else
30645 if test "$wxUSE_UNICODE" = "yes"; then
30646 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30647 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30648 wxUSE_UNICODE=no
30649 fi
30650
30651 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30652 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30653 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30655 else
30656 ac_check_lib_save_LIBS=$LIBS
30657 LIBS="-lgdk $LIBS"
30658 cat >conftest.$ac_ext <<_ACEOF
30659 /* confdefs.h. */
30660 _ACEOF
30661 cat confdefs.h >>conftest.$ac_ext
30662 cat >>conftest.$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664
30665 /* Override any GCC internal prototype to avoid an error.
30666 Use char because int might match the return type of a GCC
30667 builtin and then its argument prototype would still apply. */
30668 #ifdef __cplusplus
30669 extern "C"
30670 #endif
30671 char gdk_im_open ();
30672 int
30673 main ()
30674 {
30675 return gdk_im_open ();
30676 ;
30677 return 0;
30678 }
30679 _ACEOF
30680 rm -f conftest.$ac_objext conftest$ac_exeext
30681 if { (ac_try="$ac_link"
30682 case "(($ac_try" in
30683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30684 *) ac_try_echo=$ac_try;;
30685 esac
30686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30687 (eval "$ac_link") 2>conftest.er1
30688 ac_status=$?
30689 grep -v '^ *+' conftest.er1 >conftest.err
30690 rm -f conftest.er1
30691 cat conftest.err >&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } && {
30694 test -z "$ac_c_werror_flag" ||
30695 test ! -s conftest.err
30696 } && test -s conftest$ac_exeext &&
30697 $as_test_x conftest$ac_exeext; then
30698 ac_cv_lib_gdk_gdk_im_open=yes
30699 else
30700 echo "$as_me: failed program was:" >&5
30701 sed 's/^/| /' conftest.$ac_ext >&5
30702
30703 ac_cv_lib_gdk_gdk_im_open=no
30704 fi
30705
30706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30707 conftest$ac_exeext conftest.$ac_ext
30708 LIBS=$ac_check_lib_save_LIBS
30709 fi
30710 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30711 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30712 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30713 cat >>confdefs.h <<\_ACEOF
30714 #define HAVE_XIM 1
30715 _ACEOF
30716
30717 fi
30718
30719
30720 if test "$USE_DARWIN" != 1; then
30721
30722 for ac_func in poll
30723 do
30724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30728 echo $ECHO_N "(cached) $ECHO_C" >&6
30729 else
30730 cat >conftest.$ac_ext <<_ACEOF
30731 /* confdefs.h. */
30732 _ACEOF
30733 cat confdefs.h >>conftest.$ac_ext
30734 cat >>conftest.$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30738 #define $ac_func innocuous_$ac_func
30739
30740 /* System header to define __stub macros and hopefully few prototypes,
30741 which can conflict with char $ac_func (); below.
30742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30743 <limits.h> exists even on freestanding compilers. */
30744
30745 #ifdef __STDC__
30746 # include <limits.h>
30747 #else
30748 # include <assert.h>
30749 #endif
30750
30751 #undef $ac_func
30752
30753 /* Override any GCC internal prototype to avoid an error.
30754 Use char because int might match the return type of a GCC
30755 builtin and then its argument prototype would still apply. */
30756 #ifdef __cplusplus
30757 extern "C"
30758 #endif
30759 char $ac_func ();
30760 /* The GNU C library defines this for functions which it implements
30761 to always fail with ENOSYS. Some functions are actually named
30762 something starting with __ and the normal name is an alias. */
30763 #if defined __stub_$ac_func || defined __stub___$ac_func
30764 choke me
30765 #endif
30766
30767 int
30768 main ()
30769 {
30770 return $ac_func ();
30771 ;
30772 return 0;
30773 }
30774 _ACEOF
30775 rm -f conftest.$ac_objext conftest$ac_exeext
30776 if { (ac_try="$ac_link"
30777 case "(($ac_try" in
30778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30779 *) ac_try_echo=$ac_try;;
30780 esac
30781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30782 (eval "$ac_link") 2>conftest.er1
30783 ac_status=$?
30784 grep -v '^ *+' conftest.er1 >conftest.err
30785 rm -f conftest.er1
30786 cat conftest.err >&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); } && {
30789 test -z "$ac_c_werror_flag" ||
30790 test ! -s conftest.err
30791 } && test -s conftest$ac_exeext &&
30792 $as_test_x conftest$ac_exeext; then
30793 eval "$as_ac_var=yes"
30794 else
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.$ac_ext >&5
30797
30798 eval "$as_ac_var=no"
30799 fi
30800
30801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30802 conftest$ac_exeext conftest.$ac_ext
30803 fi
30804 ac_res=`eval echo '${'$as_ac_var'}'`
30805 { echo "$as_me:$LINENO: result: $ac_res" >&5
30806 echo "${ECHO_T}$ac_res" >&6; }
30807 if test `eval echo '${'$as_ac_var'}'` = yes; then
30808 cat >>confdefs.h <<_ACEOF
30809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30810 _ACEOF
30811
30812 fi
30813 done
30814
30815 fi
30816 fi
30817
30818 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30819 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30820
30821 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30822
30823 AFMINSTALL=afminstall
30824 TOOLKIT=GTK
30825 GUIDIST=GTK_DIST
30826
30827 if test "$wxUSE_GPE" = "yes"; then
30828 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30829 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30830
30831 ac_find_libraries=
30832 for ac_dir in $SEARCH_LIB;
30833 do
30834 for ac_extension in a so sl dylib dll.a; do
30835 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30836 ac_find_libraries=$ac_dir
30837 break 2
30838 fi
30839 done
30840 done
30841
30842 if test "$ac_find_libraries" != "" ; then
30843
30844 if test "$ac_find_libraries" = "default location"; then
30845 ac_path_to_link=""
30846 else
30847 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30848 result=$?
30849 if test $result = 0; then
30850 ac_path_to_link=""
30851 else
30852 ac_path_to_link=" -L$ac_find_libraries"
30853 fi
30854 fi
30855
30856 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30857 WXGPE=1
30858 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30859 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30860 else
30861 { echo "$as_me:$LINENO: result: not found" >&5
30862 echo "${ECHO_T}not found" >&6; }
30863 fi
30864
30865 fi
30866 fi
30867
30868 if test "$wxUSE_MGL" = 1; then
30869 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30870 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30871 if test "x$MGL_ROOT" = x ; then
30872 { echo "$as_me:$LINENO: result: not found" >&5
30873 echo "${ECHO_T}not found" >&6; }
30874 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30875 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30876 { (exit 1); exit 1; }; }
30877 else
30878 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30879 echo "${ECHO_T}$MGL_ROOT" >&6; }
30880 fi
30881
30882 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30883 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30884 case "${host}" in
30885 *-*-linux* )
30886 if test "x$wxUSE_SHARED" = xyes ; then
30887 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30888 else
30889 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30890 fi
30891 ;;
30892 *-pc-msdosdjgpp )
30893 mgl_os_candidates="dos32/dj2"
30894 ;;
30895 *)
30896 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30897 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30898 { (exit 1); exit 1; }; }
30899 esac
30900
30901 mgl_lib_type=""
30902 mgl_os=""
30903
30904 for mgl_os_i in $mgl_os_candidates ; do
30905 if test "x$mgl_os" = x ; then
30906 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30907 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30908 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30909 mgl_lib_type=debug
30910 mgl_os=$mgl_os_i
30911 fi
30912 fi
30913 if test "x$mgl_lib_type" = x ; then
30914 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30915 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30916 mgl_lib_type=release
30917 mgl_os=$mgl_os_i
30918 fi
30919 fi
30920 fi
30921 done
30922
30923 if test "x$mgl_os" = x ; then
30924 { echo "$as_me:$LINENO: result: not found" >&5
30925 echo "${ECHO_T}not found" >&6; }
30926 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30927 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30928 { (exit 1); exit 1; }; }
30929 fi
30930 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30931 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30932
30933 wxUSE_UNIVERSAL="yes"
30934
30935 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30936 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30937
30938 AFMINSTALL=afminstall
30939 TOOLKIT=MGL
30940 GUIDIST=MGL_DIST
30941 fi
30942
30943 if test "$wxUSE_DFB" = 1; then
30944
30945
30946 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30947 if test -n "$ac_tool_prefix"; then
30948 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30949 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30952 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 case $PKG_CONFIG in
30956 [\\/]* | ?:[\\/]*)
30957 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30958 ;;
30959 *)
30960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30961 for as_dir in $PATH
30962 do
30963 IFS=$as_save_IFS
30964 test -z "$as_dir" && as_dir=.
30965 for ac_exec_ext in '' $ac_executable_extensions; do
30966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30967 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30969 break 2
30970 fi
30971 done
30972 done
30973 IFS=$as_save_IFS
30974
30975 ;;
30976 esac
30977 fi
30978 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30979 if test -n "$PKG_CONFIG"; then
30980 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30981 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30982 else
30983 { echo "$as_me:$LINENO: result: no" >&5
30984 echo "${ECHO_T}no" >&6; }
30985 fi
30986
30987
30988 fi
30989 if test -z "$ac_cv_path_PKG_CONFIG"; then
30990 ac_pt_PKG_CONFIG=$PKG_CONFIG
30991 # Extract the first word of "pkg-config", so it can be a program name with args.
30992 set dummy pkg-config; ac_word=$2
30993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30995 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30996 echo $ECHO_N "(cached) $ECHO_C" >&6
30997 else
30998 case $ac_pt_PKG_CONFIG in
30999 [\\/]* | ?:[\\/]*)
31000 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31001 ;;
31002 *)
31003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31004 for as_dir in $PATH
31005 do
31006 IFS=$as_save_IFS
31007 test -z "$as_dir" && as_dir=.
31008 for ac_exec_ext in '' $ac_executable_extensions; do
31009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31010 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31012 break 2
31013 fi
31014 done
31015 done
31016 IFS=$as_save_IFS
31017
31018 ;;
31019 esac
31020 fi
31021 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31022 if test -n "$ac_pt_PKG_CONFIG"; then
31023 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31024 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31025 else
31026 { echo "$as_me:$LINENO: result: no" >&5
31027 echo "${ECHO_T}no" >&6; }
31028 fi
31029
31030 if test "x$ac_pt_PKG_CONFIG" = x; then
31031 PKG_CONFIG=""
31032 else
31033 case $cross_compiling:$ac_tool_warned in
31034 yes:)
31035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31036 whose name does not start with the host triplet. If you think this
31037 configuration is useful to you, please write to autoconf@gnu.org." >&5
31038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31039 whose name does not start with the host triplet. If you think this
31040 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31041 ac_tool_warned=yes ;;
31042 esac
31043 PKG_CONFIG=$ac_pt_PKG_CONFIG
31044 fi
31045 else
31046 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31047 fi
31048
31049 fi
31050 if test -n "$PKG_CONFIG"; then
31051 _pkg_min_version=0.9.0
31052 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31053 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31054 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31055 { echo "$as_me:$LINENO: result: yes" >&5
31056 echo "${ECHO_T}yes" >&6; }
31057 else
31058 { echo "$as_me:$LINENO: result: no" >&5
31059 echo "${ECHO_T}no" >&6; }
31060 PKG_CONFIG=""
31061 fi
31062
31063 fi
31064
31065
31066 pkg_failed=no
31067 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31068 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31069
31070 if test -n "$PKG_CONFIG"; then
31071 if test -n "$DIRECTFB_CFLAGS"; then
31072 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31073 else
31074 if test -n "$PKG_CONFIG" && \
31075 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31076 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31077 ac_status=$?
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); }; then
31080 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31081 else
31082 pkg_failed=yes
31083 fi
31084 fi
31085 else
31086 pkg_failed=untried
31087 fi
31088 if test -n "$PKG_CONFIG"; then
31089 if test -n "$DIRECTFB_LIBS"; then
31090 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31091 else
31092 if test -n "$PKG_CONFIG" && \
31093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31094 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31095 ac_status=$?
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); }; then
31098 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31099 else
31100 pkg_failed=yes
31101 fi
31102 fi
31103 else
31104 pkg_failed=untried
31105 fi
31106
31107
31108
31109 if test $pkg_failed = yes; then
31110
31111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31112 _pkg_short_errors_supported=yes
31113 else
31114 _pkg_short_errors_supported=no
31115 fi
31116 if test $_pkg_short_errors_supported = yes; then
31117 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31118 else
31119 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31120 fi
31121 # Put the nasty error message in config.log where it belongs
31122 echo "$DIRECTFB_PKG_ERRORS" >&5
31123
31124
31125 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31126 echo "$as_me: error: DirectFB not found." >&2;}
31127 { (exit 1); exit 1; }; }
31128
31129
31130 elif test $pkg_failed = untried; then
31131
31132 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31133 echo "$as_me: error: DirectFB not found." >&2;}
31134 { (exit 1); exit 1; }; }
31135
31136
31137 else
31138 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31139 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31140 { echo "$as_me:$LINENO: result: yes" >&5
31141 echo "${ECHO_T}yes" >&6; }
31142
31143 wxUSE_UNIVERSAL="yes"
31144 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31145 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31146 TOOLKIT=DFB
31147 GUIDIST=DFB_DIST
31148
31149 fi
31150 fi
31151
31152 if test "$wxUSE_MICROWIN" = 1; then
31153 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31154 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31155 if test "x$MICROWINDOWS" = x ; then
31156 { echo "$as_me:$LINENO: result: not found" >&5
31157 echo "${ECHO_T}not found" >&6; }
31158 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31159 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31160 { (exit 1); exit 1; }; }
31161 else
31162 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31163 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31164 fi
31165
31166 if test -f $MICROWINDOWS/lib/libmwin.a; then
31167 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31168 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31169 else
31170 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31171 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31172 { (exit 1); exit 1; }; }
31173 fi
31174
31175 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31176 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31177
31178 wxUSE_UNIVERSAL="yes"
31179
31180 AFMINSTALL=afminstall
31181 TOOLKIT=MICROWIN
31182 GUIDIST=MICROWIN_DIST
31183
31184 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31185 fi
31186
31187 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31188 { echo "$as_me:$LINENO: checking for X" >&5
31189 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31190
31191
31192 # Check whether --with-x was given.
31193 if test "${with_x+set}" = set; then
31194 withval=$with_x;
31195 fi
31196
31197 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31198 if test "x$with_x" = xno; then
31199 # The user explicitly disabled X.
31200 have_x=disabled
31201 else
31202 case $x_includes,$x_libraries in #(
31203 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31204 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31205 { (exit 1); exit 1; }; };; #(
31206 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31207 echo $ECHO_N "(cached) $ECHO_C" >&6
31208 else
31209 # One or both of the vars are not set, and there is no cached value.
31210 ac_x_includes=no ac_x_libraries=no
31211 rm -f -r conftest.dir
31212 if mkdir conftest.dir; then
31213 cd conftest.dir
31214 cat >Imakefile <<'_ACEOF'
31215 incroot:
31216 @echo incroot='${INCROOT}'
31217 usrlibdir:
31218 @echo usrlibdir='${USRLIBDIR}'
31219 libdir:
31220 @echo libdir='${LIBDIR}'
31221 _ACEOF
31222 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31223 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31224 for ac_var in incroot usrlibdir libdir; do
31225 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31226 done
31227 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31228 for ac_extension in a so sl dylib la dll; do
31229 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31230 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31231 ac_im_usrlibdir=$ac_im_libdir; break
31232 fi
31233 done
31234 # Screen out bogus values from the imake configuration. They are
31235 # bogus both because they are the default anyway, and because
31236 # using them would break gcc on systems where it needs fixed includes.
31237 case $ac_im_incroot in
31238 /usr/include) ac_x_includes= ;;
31239 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31240 esac
31241 case $ac_im_usrlibdir in
31242 /usr/lib | /lib) ;;
31243 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31244 esac
31245 fi
31246 cd ..
31247 rm -f -r conftest.dir
31248 fi
31249
31250 # Standard set of common directories for X headers.
31251 # Check X11 before X11Rn because it is often a symlink to the current release.
31252 ac_x_header_dirs='
31253 /usr/X11/include
31254 /usr/X11R6/include
31255 /usr/X11R5/include
31256 /usr/X11R4/include
31257
31258 /usr/include/X11
31259 /usr/include/X11R6
31260 /usr/include/X11R5
31261 /usr/include/X11R4
31262
31263 /usr/local/X11/include
31264 /usr/local/X11R6/include
31265 /usr/local/X11R5/include
31266 /usr/local/X11R4/include
31267
31268 /usr/local/include/X11
31269 /usr/local/include/X11R6
31270 /usr/local/include/X11R5
31271 /usr/local/include/X11R4
31272
31273 /usr/X386/include
31274 /usr/x386/include
31275 /usr/XFree86/include/X11
31276
31277 /usr/include
31278 /usr/local/include
31279 /usr/unsupported/include
31280 /usr/athena/include
31281 /usr/local/x11r5/include
31282 /usr/lpp/Xamples/include
31283
31284 /usr/openwin/include
31285 /usr/openwin/share/include'
31286
31287 if test "$ac_x_includes" = no; then
31288 # Guess where to find include files, by looking for Xlib.h.
31289 # First, try using that file with no special directory specified.
31290 cat >conftest.$ac_ext <<_ACEOF
31291 /* confdefs.h. */
31292 _ACEOF
31293 cat confdefs.h >>conftest.$ac_ext
31294 cat >>conftest.$ac_ext <<_ACEOF
31295 /* end confdefs.h. */
31296 #include <X11/Xlib.h>
31297 _ACEOF
31298 if { (ac_try="$ac_cpp conftest.$ac_ext"
31299 case "(($ac_try" in
31300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31301 *) ac_try_echo=$ac_try;;
31302 esac
31303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31305 ac_status=$?
31306 grep -v '^ *+' conftest.er1 >conftest.err
31307 rm -f conftest.er1
31308 cat conftest.err >&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } >/dev/null && {
31311 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31312 test ! -s conftest.err
31313 }; then
31314 # We can compile using X headers with no special include directory.
31315 ac_x_includes=
31316 else
31317 echo "$as_me: failed program was:" >&5
31318 sed 's/^/| /' conftest.$ac_ext >&5
31319
31320 for ac_dir in $ac_x_header_dirs; do
31321 if test -r "$ac_dir/X11/Xlib.h"; then
31322 ac_x_includes=$ac_dir
31323 break
31324 fi
31325 done
31326 fi
31327
31328 rm -f conftest.err conftest.$ac_ext
31329 fi # $ac_x_includes = no
31330
31331 if test "$ac_x_libraries" = no; then
31332 # Check for the libraries.
31333 # See if we find them without any special options.
31334 # Don't add to $LIBS permanently.
31335 ac_save_LIBS=$LIBS
31336 LIBS="-lX11 $LIBS"
31337 cat >conftest.$ac_ext <<_ACEOF
31338 /* confdefs.h. */
31339 _ACEOF
31340 cat confdefs.h >>conftest.$ac_ext
31341 cat >>conftest.$ac_ext <<_ACEOF
31342 /* end confdefs.h. */
31343 #include <X11/Xlib.h>
31344 int
31345 main ()
31346 {
31347 XrmInitialize ()
31348 ;
31349 return 0;
31350 }
31351 _ACEOF
31352 rm -f conftest.$ac_objext conftest$ac_exeext
31353 if { (ac_try="$ac_link"
31354 case "(($ac_try" in
31355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31356 *) ac_try_echo=$ac_try;;
31357 esac
31358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31359 (eval "$ac_link") 2>conftest.er1
31360 ac_status=$?
31361 grep -v '^ *+' conftest.er1 >conftest.err
31362 rm -f conftest.er1
31363 cat conftest.err >&5
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); } && {
31366 test -z "$ac_c_werror_flag" ||
31367 test ! -s conftest.err
31368 } && test -s conftest$ac_exeext &&
31369 $as_test_x conftest$ac_exeext; then
31370 LIBS=$ac_save_LIBS
31371 # We can link X programs with no special library path.
31372 ac_x_libraries=
31373 else
31374 echo "$as_me: failed program was:" >&5
31375 sed 's/^/| /' conftest.$ac_ext >&5
31376
31377 LIBS=$ac_save_LIBS
31378 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31379 do
31380 # Don't even attempt the hair of trying to link an X program!
31381 for ac_extension in a so sl dylib la dll; do
31382 if test -r "$ac_dir/libX11.$ac_extension"; then
31383 ac_x_libraries=$ac_dir
31384 break 2
31385 fi
31386 done
31387 done
31388 fi
31389
31390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31391 conftest$ac_exeext conftest.$ac_ext
31392 fi # $ac_x_libraries = no
31393
31394 case $ac_x_includes,$ac_x_libraries in #(
31395 no,* | *,no | *\'*)
31396 # Didn't find X, or a directory has "'" in its name.
31397 ac_cv_have_x="have_x=no";; #(
31398 *)
31399 # Record where we found X for the cache.
31400 ac_cv_have_x="have_x=yes\
31401 ac_x_includes='$ac_x_includes'\
31402 ac_x_libraries='$ac_x_libraries'"
31403 esac
31404 fi
31405 ;; #(
31406 *) have_x=yes;;
31407 esac
31408 eval "$ac_cv_have_x"
31409 fi # $with_x != no
31410
31411 if test "$have_x" != yes; then
31412 { echo "$as_me:$LINENO: result: $have_x" >&5
31413 echo "${ECHO_T}$have_x" >&6; }
31414 no_x=yes
31415 else
31416 # If each of the values was on the command line, it overrides each guess.
31417 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31418 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31419 # Update the cache value to reflect the command line values.
31420 ac_cv_have_x="have_x=yes\
31421 ac_x_includes='$x_includes'\
31422 ac_x_libraries='$x_libraries'"
31423 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31424 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31425 fi
31426
31427 if test "$no_x" = yes; then
31428 # Not all programs may use this symbol, but it does not hurt to define it.
31429
31430 cat >>confdefs.h <<\_ACEOF
31431 #define X_DISPLAY_MISSING 1
31432 _ACEOF
31433
31434 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31435 else
31436 if test -n "$x_includes"; then
31437 X_CFLAGS="$X_CFLAGS -I$x_includes"
31438 fi
31439
31440 # It would also be nice to do this for all -L options, not just this one.
31441 if test -n "$x_libraries"; then
31442 X_LIBS="$X_LIBS -L$x_libraries"
31443 # For Solaris; some versions of Sun CC require a space after -R and
31444 # others require no space. Words are not sufficient . . . .
31445 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31446 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31447 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31448 ac_xsave_c_werror_flag=$ac_c_werror_flag
31449 ac_c_werror_flag=yes
31450 cat >conftest.$ac_ext <<_ACEOF
31451 /* confdefs.h. */
31452 _ACEOF
31453 cat confdefs.h >>conftest.$ac_ext
31454 cat >>conftest.$ac_ext <<_ACEOF
31455 /* end confdefs.h. */
31456
31457 int
31458 main ()
31459 {
31460
31461 ;
31462 return 0;
31463 }
31464 _ACEOF
31465 rm -f conftest.$ac_objext conftest$ac_exeext
31466 if { (ac_try="$ac_link"
31467 case "(($ac_try" in
31468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31469 *) ac_try_echo=$ac_try;;
31470 esac
31471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31472 (eval "$ac_link") 2>conftest.er1
31473 ac_status=$?
31474 grep -v '^ *+' conftest.er1 >conftest.err
31475 rm -f conftest.er1
31476 cat conftest.err >&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } && {
31479 test -z "$ac_c_werror_flag" ||
31480 test ! -s conftest.err
31481 } && test -s conftest$ac_exeext &&
31482 $as_test_x conftest$ac_exeext; then
31483 { echo "$as_me:$LINENO: result: no" >&5
31484 echo "${ECHO_T}no" >&6; }
31485 X_LIBS="$X_LIBS -R$x_libraries"
31486 else
31487 echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.$ac_ext >&5
31489
31490 LIBS="$ac_xsave_LIBS -R $x_libraries"
31491 cat >conftest.$ac_ext <<_ACEOF
31492 /* confdefs.h. */
31493 _ACEOF
31494 cat confdefs.h >>conftest.$ac_ext
31495 cat >>conftest.$ac_ext <<_ACEOF
31496 /* end confdefs.h. */
31497
31498 int
31499 main ()
31500 {
31501
31502 ;
31503 return 0;
31504 }
31505 _ACEOF
31506 rm -f conftest.$ac_objext conftest$ac_exeext
31507 if { (ac_try="$ac_link"
31508 case "(($ac_try" in
31509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31510 *) ac_try_echo=$ac_try;;
31511 esac
31512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31513 (eval "$ac_link") 2>conftest.er1
31514 ac_status=$?
31515 grep -v '^ *+' conftest.er1 >conftest.err
31516 rm -f conftest.er1
31517 cat conftest.err >&5
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); } && {
31520 test -z "$ac_c_werror_flag" ||
31521 test ! -s conftest.err
31522 } && test -s conftest$ac_exeext &&
31523 $as_test_x conftest$ac_exeext; then
31524 { echo "$as_me:$LINENO: result: yes" >&5
31525 echo "${ECHO_T}yes" >&6; }
31526 X_LIBS="$X_LIBS -R $x_libraries"
31527 else
31528 echo "$as_me: failed program was:" >&5
31529 sed 's/^/| /' conftest.$ac_ext >&5
31530
31531 { echo "$as_me:$LINENO: result: neither works" >&5
31532 echo "${ECHO_T}neither works" >&6; }
31533 fi
31534
31535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31536 conftest$ac_exeext conftest.$ac_ext
31537 fi
31538
31539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31540 conftest$ac_exeext conftest.$ac_ext
31541 ac_c_werror_flag=$ac_xsave_c_werror_flag
31542 LIBS=$ac_xsave_LIBS
31543 fi
31544
31545 # Check for system-dependent libraries X programs must link with.
31546 # Do this before checking for the system-independent R6 libraries
31547 # (-lICE), since we may need -lsocket or whatever for X linking.
31548
31549 if test "$ISC" = yes; then
31550 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31551 else
31552 # Martyn Johnson says this is needed for Ultrix, if the X
31553 # libraries were built with DECnet support. And Karl Berry says
31554 # the Alpha needs dnet_stub (dnet does not exist).
31555 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31556 cat >conftest.$ac_ext <<_ACEOF
31557 /* confdefs.h. */
31558 _ACEOF
31559 cat confdefs.h >>conftest.$ac_ext
31560 cat >>conftest.$ac_ext <<_ACEOF
31561 /* end confdefs.h. */
31562
31563 /* Override any GCC internal prototype to avoid an error.
31564 Use char because int might match the return type of a GCC
31565 builtin and then its argument prototype would still apply. */
31566 #ifdef __cplusplus
31567 extern "C"
31568 #endif
31569 char XOpenDisplay ();
31570 int
31571 main ()
31572 {
31573 return XOpenDisplay ();
31574 ;
31575 return 0;
31576 }
31577 _ACEOF
31578 rm -f conftest.$ac_objext conftest$ac_exeext
31579 if { (ac_try="$ac_link"
31580 case "(($ac_try" in
31581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31582 *) ac_try_echo=$ac_try;;
31583 esac
31584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31585 (eval "$ac_link") 2>conftest.er1
31586 ac_status=$?
31587 grep -v '^ *+' conftest.er1 >conftest.err
31588 rm -f conftest.er1
31589 cat conftest.err >&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); } && {
31592 test -z "$ac_c_werror_flag" ||
31593 test ! -s conftest.err
31594 } && test -s conftest$ac_exeext &&
31595 $as_test_x conftest$ac_exeext; then
31596 :
31597 else
31598 echo "$as_me: failed program was:" >&5
31599 sed 's/^/| /' conftest.$ac_ext >&5
31600
31601 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31602 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31603 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31604 echo $ECHO_N "(cached) $ECHO_C" >&6
31605 else
31606 ac_check_lib_save_LIBS=$LIBS
31607 LIBS="-ldnet $LIBS"
31608 cat >conftest.$ac_ext <<_ACEOF
31609 /* confdefs.h. */
31610 _ACEOF
31611 cat confdefs.h >>conftest.$ac_ext
31612 cat >>conftest.$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31614
31615 /* Override any GCC internal prototype to avoid an error.
31616 Use char because int might match the return type of a GCC
31617 builtin and then its argument prototype would still apply. */
31618 #ifdef __cplusplus
31619 extern "C"
31620 #endif
31621 char dnet_ntoa ();
31622 int
31623 main ()
31624 {
31625 return dnet_ntoa ();
31626 ;
31627 return 0;
31628 }
31629 _ACEOF
31630 rm -f conftest.$ac_objext conftest$ac_exeext
31631 if { (ac_try="$ac_link"
31632 case "(($ac_try" in
31633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31634 *) ac_try_echo=$ac_try;;
31635 esac
31636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31637 (eval "$ac_link") 2>conftest.er1
31638 ac_status=$?
31639 grep -v '^ *+' conftest.er1 >conftest.err
31640 rm -f conftest.er1
31641 cat conftest.err >&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); } && {
31644 test -z "$ac_c_werror_flag" ||
31645 test ! -s conftest.err
31646 } && test -s conftest$ac_exeext &&
31647 $as_test_x conftest$ac_exeext; then
31648 ac_cv_lib_dnet_dnet_ntoa=yes
31649 else
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31652
31653 ac_cv_lib_dnet_dnet_ntoa=no
31654 fi
31655
31656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31657 conftest$ac_exeext conftest.$ac_ext
31658 LIBS=$ac_check_lib_save_LIBS
31659 fi
31660 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31661 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31662 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31663 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31664 fi
31665
31666 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31667 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31668 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31669 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 else
31672 ac_check_lib_save_LIBS=$LIBS
31673 LIBS="-ldnet_stub $LIBS"
31674 cat >conftest.$ac_ext <<_ACEOF
31675 /* confdefs.h. */
31676 _ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31680
31681 /* Override any GCC internal prototype to avoid an error.
31682 Use char because int might match the return type of a GCC
31683 builtin and then its argument prototype would still apply. */
31684 #ifdef __cplusplus
31685 extern "C"
31686 #endif
31687 char dnet_ntoa ();
31688 int
31689 main ()
31690 {
31691 return dnet_ntoa ();
31692 ;
31693 return 0;
31694 }
31695 _ACEOF
31696 rm -f conftest.$ac_objext conftest$ac_exeext
31697 if { (ac_try="$ac_link"
31698 case "(($ac_try" in
31699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31701 esac
31702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_link") 2>conftest.er1
31704 ac_status=$?
31705 grep -v '^ *+' conftest.er1 >conftest.err
31706 rm -f conftest.er1
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } && {
31710 test -z "$ac_c_werror_flag" ||
31711 test ! -s conftest.err
31712 } && test -s conftest$ac_exeext &&
31713 $as_test_x conftest$ac_exeext; then
31714 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31715 else
31716 echo "$as_me: failed program was:" >&5
31717 sed 's/^/| /' conftest.$ac_ext >&5
31718
31719 ac_cv_lib_dnet_stub_dnet_ntoa=no
31720 fi
31721
31722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31723 conftest$ac_exeext conftest.$ac_ext
31724 LIBS=$ac_check_lib_save_LIBS
31725 fi
31726 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31727 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31728 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31729 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31730 fi
31731
31732 fi
31733 fi
31734
31735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31736 conftest$ac_exeext conftest.$ac_ext
31737 LIBS="$ac_xsave_LIBS"
31738
31739 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31740 # to get the SysV transport functions.
31741 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31742 # needs -lnsl.
31743 # The nsl library prevents programs from opening the X display
31744 # on Irix 5.2, according to T.E. Dickey.
31745 # The functions gethostbyname, getservbyname, and inet_addr are
31746 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31747 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31748 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31749 if test "${ac_cv_func_gethostbyname+set}" = set; then
31750 echo $ECHO_N "(cached) $ECHO_C" >&6
31751 else
31752 cat >conftest.$ac_ext <<_ACEOF
31753 /* confdefs.h. */
31754 _ACEOF
31755 cat confdefs.h >>conftest.$ac_ext
31756 cat >>conftest.$ac_ext <<_ACEOF
31757 /* end confdefs.h. */
31758 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31760 #define gethostbyname innocuous_gethostbyname
31761
31762 /* System header to define __stub macros and hopefully few prototypes,
31763 which can conflict with char gethostbyname (); below.
31764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31765 <limits.h> exists even on freestanding compilers. */
31766
31767 #ifdef __STDC__
31768 # include <limits.h>
31769 #else
31770 # include <assert.h>
31771 #endif
31772
31773 #undef gethostbyname
31774
31775 /* Override any GCC internal prototype to avoid an error.
31776 Use char because int might match the return type of a GCC
31777 builtin and then its argument prototype would still apply. */
31778 #ifdef __cplusplus
31779 extern "C"
31780 #endif
31781 char gethostbyname ();
31782 /* The GNU C library defines this for functions which it implements
31783 to always fail with ENOSYS. Some functions are actually named
31784 something starting with __ and the normal name is an alias. */
31785 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31786 choke me
31787 #endif
31788
31789 int
31790 main ()
31791 {
31792 return gethostbyname ();
31793 ;
31794 return 0;
31795 }
31796 _ACEOF
31797 rm -f conftest.$ac_objext conftest$ac_exeext
31798 if { (ac_try="$ac_link"
31799 case "(($ac_try" in
31800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31801 *) ac_try_echo=$ac_try;;
31802 esac
31803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31804 (eval "$ac_link") 2>conftest.er1
31805 ac_status=$?
31806 grep -v '^ *+' conftest.er1 >conftest.err
31807 rm -f conftest.er1
31808 cat conftest.err >&5
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); } && {
31811 test -z "$ac_c_werror_flag" ||
31812 test ! -s conftest.err
31813 } && test -s conftest$ac_exeext &&
31814 $as_test_x conftest$ac_exeext; then
31815 ac_cv_func_gethostbyname=yes
31816 else
31817 echo "$as_me: failed program was:" >&5
31818 sed 's/^/| /' conftest.$ac_ext >&5
31819
31820 ac_cv_func_gethostbyname=no
31821 fi
31822
31823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31824 conftest$ac_exeext conftest.$ac_ext
31825 fi
31826 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31827 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31828
31829 if test $ac_cv_func_gethostbyname = no; then
31830 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31831 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31832 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31833 echo $ECHO_N "(cached) $ECHO_C" >&6
31834 else
31835 ac_check_lib_save_LIBS=$LIBS
31836 LIBS="-lnsl $LIBS"
31837 cat >conftest.$ac_ext <<_ACEOF
31838 /* confdefs.h. */
31839 _ACEOF
31840 cat confdefs.h >>conftest.$ac_ext
31841 cat >>conftest.$ac_ext <<_ACEOF
31842 /* end confdefs.h. */
31843
31844 /* Override any GCC internal prototype to avoid an error.
31845 Use char because int might match the return type of a GCC
31846 builtin and then its argument prototype would still apply. */
31847 #ifdef __cplusplus
31848 extern "C"
31849 #endif
31850 char gethostbyname ();
31851 int
31852 main ()
31853 {
31854 return gethostbyname ();
31855 ;
31856 return 0;
31857 }
31858 _ACEOF
31859 rm -f conftest.$ac_objext conftest$ac_exeext
31860 if { (ac_try="$ac_link"
31861 case "(($ac_try" in
31862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31863 *) ac_try_echo=$ac_try;;
31864 esac
31865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31866 (eval "$ac_link") 2>conftest.er1
31867 ac_status=$?
31868 grep -v '^ *+' conftest.er1 >conftest.err
31869 rm -f conftest.er1
31870 cat conftest.err >&5
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); } && {
31873 test -z "$ac_c_werror_flag" ||
31874 test ! -s conftest.err
31875 } && test -s conftest$ac_exeext &&
31876 $as_test_x conftest$ac_exeext; then
31877 ac_cv_lib_nsl_gethostbyname=yes
31878 else
31879 echo "$as_me: failed program was:" >&5
31880 sed 's/^/| /' conftest.$ac_ext >&5
31881
31882 ac_cv_lib_nsl_gethostbyname=no
31883 fi
31884
31885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31886 conftest$ac_exeext conftest.$ac_ext
31887 LIBS=$ac_check_lib_save_LIBS
31888 fi
31889 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31890 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31891 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31893 fi
31894
31895 if test $ac_cv_lib_nsl_gethostbyname = no; then
31896 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31897 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31898 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31900 else
31901 ac_check_lib_save_LIBS=$LIBS
31902 LIBS="-lbsd $LIBS"
31903 cat >conftest.$ac_ext <<_ACEOF
31904 /* confdefs.h. */
31905 _ACEOF
31906 cat confdefs.h >>conftest.$ac_ext
31907 cat >>conftest.$ac_ext <<_ACEOF
31908 /* end confdefs.h. */
31909
31910 /* Override any GCC internal prototype to avoid an error.
31911 Use char because int might match the return type of a GCC
31912 builtin and then its argument prototype would still apply. */
31913 #ifdef __cplusplus
31914 extern "C"
31915 #endif
31916 char gethostbyname ();
31917 int
31918 main ()
31919 {
31920 return gethostbyname ();
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 rm -f conftest.$ac_objext conftest$ac_exeext
31926 if { (ac_try="$ac_link"
31927 case "(($ac_try" in
31928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31929 *) ac_try_echo=$ac_try;;
31930 esac
31931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31932 (eval "$ac_link") 2>conftest.er1
31933 ac_status=$?
31934 grep -v '^ *+' conftest.er1 >conftest.err
31935 rm -f conftest.er1
31936 cat conftest.err >&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); } && {
31939 test -z "$ac_c_werror_flag" ||
31940 test ! -s conftest.err
31941 } && test -s conftest$ac_exeext &&
31942 $as_test_x conftest$ac_exeext; then
31943 ac_cv_lib_bsd_gethostbyname=yes
31944 else
31945 echo "$as_me: failed program was:" >&5
31946 sed 's/^/| /' conftest.$ac_ext >&5
31947
31948 ac_cv_lib_bsd_gethostbyname=no
31949 fi
31950
31951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31952 conftest$ac_exeext conftest.$ac_ext
31953 LIBS=$ac_check_lib_save_LIBS
31954 fi
31955 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31956 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31957 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31959 fi
31960
31961 fi
31962 fi
31963
31964 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31965 # socket/setsockopt and other routines are undefined under SCO ODT
31966 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31967 # on later versions), says Simon Leinen: it contains gethostby*
31968 # variants that don't use the name server (or something). -lsocket
31969 # must be given before -lnsl if both are needed. We assume that
31970 # if connect needs -lnsl, so does gethostbyname.
31971 { echo "$as_me:$LINENO: checking for connect" >&5
31972 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31973 if test "${ac_cv_func_connect+set}" = set; then
31974 echo $ECHO_N "(cached) $ECHO_C" >&6
31975 else
31976 cat >conftest.$ac_ext <<_ACEOF
31977 /* confdefs.h. */
31978 _ACEOF
31979 cat confdefs.h >>conftest.$ac_ext
31980 cat >>conftest.$ac_ext <<_ACEOF
31981 /* end confdefs.h. */
31982 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31984 #define connect innocuous_connect
31985
31986 /* System header to define __stub macros and hopefully few prototypes,
31987 which can conflict with char connect (); below.
31988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31989 <limits.h> exists even on freestanding compilers. */
31990
31991 #ifdef __STDC__
31992 # include <limits.h>
31993 #else
31994 # include <assert.h>
31995 #endif
31996
31997 #undef connect
31998
31999 /* Override any GCC internal prototype to avoid an error.
32000 Use char because int might match the return type of a GCC
32001 builtin and then its argument prototype would still apply. */
32002 #ifdef __cplusplus
32003 extern "C"
32004 #endif
32005 char connect ();
32006 /* The GNU C library defines this for functions which it implements
32007 to always fail with ENOSYS. Some functions are actually named
32008 something starting with __ and the normal name is an alias. */
32009 #if defined __stub_connect || defined __stub___connect
32010 choke me
32011 #endif
32012
32013 int
32014 main ()
32015 {
32016 return connect ();
32017 ;
32018 return 0;
32019 }
32020 _ACEOF
32021 rm -f conftest.$ac_objext conftest$ac_exeext
32022 if { (ac_try="$ac_link"
32023 case "(($ac_try" in
32024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32025 *) ac_try_echo=$ac_try;;
32026 esac
32027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32028 (eval "$ac_link") 2>conftest.er1
32029 ac_status=$?
32030 grep -v '^ *+' conftest.er1 >conftest.err
32031 rm -f conftest.er1
32032 cat conftest.err >&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); } && {
32035 test -z "$ac_c_werror_flag" ||
32036 test ! -s conftest.err
32037 } && test -s conftest$ac_exeext &&
32038 $as_test_x conftest$ac_exeext; then
32039 ac_cv_func_connect=yes
32040 else
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32043
32044 ac_cv_func_connect=no
32045 fi
32046
32047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32048 conftest$ac_exeext conftest.$ac_ext
32049 fi
32050 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32051 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32052
32053 if test $ac_cv_func_connect = no; then
32054 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32055 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32056 if test "${ac_cv_lib_socket_connect+set}" = set; then
32057 echo $ECHO_N "(cached) $ECHO_C" >&6
32058 else
32059 ac_check_lib_save_LIBS=$LIBS
32060 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32061 cat >conftest.$ac_ext <<_ACEOF
32062 /* confdefs.h. */
32063 _ACEOF
32064 cat confdefs.h >>conftest.$ac_ext
32065 cat >>conftest.$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067
32068 /* Override any GCC internal prototype to avoid an error.
32069 Use char because int might match the return type of a GCC
32070 builtin and then its argument prototype would still apply. */
32071 #ifdef __cplusplus
32072 extern "C"
32073 #endif
32074 char connect ();
32075 int
32076 main ()
32077 {
32078 return connect ();
32079 ;
32080 return 0;
32081 }
32082 _ACEOF
32083 rm -f conftest.$ac_objext conftest$ac_exeext
32084 if { (ac_try="$ac_link"
32085 case "(($ac_try" in
32086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32087 *) ac_try_echo=$ac_try;;
32088 esac
32089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32090 (eval "$ac_link") 2>conftest.er1
32091 ac_status=$?
32092 grep -v '^ *+' conftest.er1 >conftest.err
32093 rm -f conftest.er1
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } && {
32097 test -z "$ac_c_werror_flag" ||
32098 test ! -s conftest.err
32099 } && test -s conftest$ac_exeext &&
32100 $as_test_x conftest$ac_exeext; then
32101 ac_cv_lib_socket_connect=yes
32102 else
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.$ac_ext >&5
32105
32106 ac_cv_lib_socket_connect=no
32107 fi
32108
32109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32110 conftest$ac_exeext conftest.$ac_ext
32111 LIBS=$ac_check_lib_save_LIBS
32112 fi
32113 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32115 if test $ac_cv_lib_socket_connect = yes; then
32116 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32117 fi
32118
32119 fi
32120
32121 # Guillermo Gomez says -lposix is necessary on A/UX.
32122 { echo "$as_me:$LINENO: checking for remove" >&5
32123 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32124 if test "${ac_cv_func_remove+set}" = set; then
32125 echo $ECHO_N "(cached) $ECHO_C" >&6
32126 else
32127 cat >conftest.$ac_ext <<_ACEOF
32128 /* confdefs.h. */
32129 _ACEOF
32130 cat confdefs.h >>conftest.$ac_ext
32131 cat >>conftest.$ac_ext <<_ACEOF
32132 /* end confdefs.h. */
32133 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32135 #define remove innocuous_remove
32136
32137 /* System header to define __stub macros and hopefully few prototypes,
32138 which can conflict with char remove (); below.
32139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32140 <limits.h> exists even on freestanding compilers. */
32141
32142 #ifdef __STDC__
32143 # include <limits.h>
32144 #else
32145 # include <assert.h>
32146 #endif
32147
32148 #undef remove
32149
32150 /* Override any GCC internal prototype to avoid an error.
32151 Use char because int might match the return type of a GCC
32152 builtin and then its argument prototype would still apply. */
32153 #ifdef __cplusplus
32154 extern "C"
32155 #endif
32156 char remove ();
32157 /* The GNU C library defines this for functions which it implements
32158 to always fail with ENOSYS. Some functions are actually named
32159 something starting with __ and the normal name is an alias. */
32160 #if defined __stub_remove || defined __stub___remove
32161 choke me
32162 #endif
32163
32164 int
32165 main ()
32166 {
32167 return remove ();
32168 ;
32169 return 0;
32170 }
32171 _ACEOF
32172 rm -f conftest.$ac_objext conftest$ac_exeext
32173 if { (ac_try="$ac_link"
32174 case "(($ac_try" in
32175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32176 *) ac_try_echo=$ac_try;;
32177 esac
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_link") 2>conftest.er1
32180 ac_status=$?
32181 grep -v '^ *+' conftest.er1 >conftest.err
32182 rm -f conftest.er1
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } && {
32186 test -z "$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 } && test -s conftest$ac_exeext &&
32189 $as_test_x conftest$ac_exeext; then
32190 ac_cv_func_remove=yes
32191 else
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32194
32195 ac_cv_func_remove=no
32196 fi
32197
32198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32199 conftest$ac_exeext conftest.$ac_ext
32200 fi
32201 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32202 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32203
32204 if test $ac_cv_func_remove = no; then
32205 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32206 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32207 if test "${ac_cv_lib_posix_remove+set}" = set; then
32208 echo $ECHO_N "(cached) $ECHO_C" >&6
32209 else
32210 ac_check_lib_save_LIBS=$LIBS
32211 LIBS="-lposix $LIBS"
32212 cat >conftest.$ac_ext <<_ACEOF
32213 /* confdefs.h. */
32214 _ACEOF
32215 cat confdefs.h >>conftest.$ac_ext
32216 cat >>conftest.$ac_ext <<_ACEOF
32217 /* end confdefs.h. */
32218
32219 /* Override any GCC internal prototype to avoid an error.
32220 Use char because int might match the return type of a GCC
32221 builtin and then its argument prototype would still apply. */
32222 #ifdef __cplusplus
32223 extern "C"
32224 #endif
32225 char remove ();
32226 int
32227 main ()
32228 {
32229 return remove ();
32230 ;
32231 return 0;
32232 }
32233 _ACEOF
32234 rm -f conftest.$ac_objext conftest$ac_exeext
32235 if { (ac_try="$ac_link"
32236 case "(($ac_try" in
32237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32238 *) ac_try_echo=$ac_try;;
32239 esac
32240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32241 (eval "$ac_link") 2>conftest.er1
32242 ac_status=$?
32243 grep -v '^ *+' conftest.er1 >conftest.err
32244 rm -f conftest.er1
32245 cat conftest.err >&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); } && {
32248 test -z "$ac_c_werror_flag" ||
32249 test ! -s conftest.err
32250 } && test -s conftest$ac_exeext &&
32251 $as_test_x conftest$ac_exeext; then
32252 ac_cv_lib_posix_remove=yes
32253 else
32254 echo "$as_me: failed program was:" >&5
32255 sed 's/^/| /' conftest.$ac_ext >&5
32256
32257 ac_cv_lib_posix_remove=no
32258 fi
32259
32260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32261 conftest$ac_exeext conftest.$ac_ext
32262 LIBS=$ac_check_lib_save_LIBS
32263 fi
32264 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32265 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32266 if test $ac_cv_lib_posix_remove = yes; then
32267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32268 fi
32269
32270 fi
32271
32272 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32273 { echo "$as_me:$LINENO: checking for shmat" >&5
32274 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32275 if test "${ac_cv_func_shmat+set}" = set; then
32276 echo $ECHO_N "(cached) $ECHO_C" >&6
32277 else
32278 cat >conftest.$ac_ext <<_ACEOF
32279 /* confdefs.h. */
32280 _ACEOF
32281 cat confdefs.h >>conftest.$ac_ext
32282 cat >>conftest.$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32286 #define shmat innocuous_shmat
32287
32288 /* System header to define __stub macros and hopefully few prototypes,
32289 which can conflict with char shmat (); below.
32290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32291 <limits.h> exists even on freestanding compilers. */
32292
32293 #ifdef __STDC__
32294 # include <limits.h>
32295 #else
32296 # include <assert.h>
32297 #endif
32298
32299 #undef shmat
32300
32301 /* Override any GCC internal prototype to avoid an error.
32302 Use char because int might match the return type of a GCC
32303 builtin and then its argument prototype would still apply. */
32304 #ifdef __cplusplus
32305 extern "C"
32306 #endif
32307 char shmat ();
32308 /* The GNU C library defines this for functions which it implements
32309 to always fail with ENOSYS. Some functions are actually named
32310 something starting with __ and the normal name is an alias. */
32311 #if defined __stub_shmat || defined __stub___shmat
32312 choke me
32313 #endif
32314
32315 int
32316 main ()
32317 {
32318 return shmat ();
32319 ;
32320 return 0;
32321 }
32322 _ACEOF
32323 rm -f conftest.$ac_objext conftest$ac_exeext
32324 if { (ac_try="$ac_link"
32325 case "(($ac_try" in
32326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32327 *) ac_try_echo=$ac_try;;
32328 esac
32329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32330 (eval "$ac_link") 2>conftest.er1
32331 ac_status=$?
32332 grep -v '^ *+' conftest.er1 >conftest.err
32333 rm -f conftest.er1
32334 cat conftest.err >&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); } && {
32337 test -z "$ac_c_werror_flag" ||
32338 test ! -s conftest.err
32339 } && test -s conftest$ac_exeext &&
32340 $as_test_x conftest$ac_exeext; then
32341 ac_cv_func_shmat=yes
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32345
32346 ac_cv_func_shmat=no
32347 fi
32348
32349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32350 conftest$ac_exeext conftest.$ac_ext
32351 fi
32352 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32353 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32354
32355 if test $ac_cv_func_shmat = no; then
32356 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32357 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32358 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32359 echo $ECHO_N "(cached) $ECHO_C" >&6
32360 else
32361 ac_check_lib_save_LIBS=$LIBS
32362 LIBS="-lipc $LIBS"
32363 cat >conftest.$ac_ext <<_ACEOF
32364 /* confdefs.h. */
32365 _ACEOF
32366 cat confdefs.h >>conftest.$ac_ext
32367 cat >>conftest.$ac_ext <<_ACEOF
32368 /* end confdefs.h. */
32369
32370 /* Override any GCC internal prototype to avoid an error.
32371 Use char because int might match the return type of a GCC
32372 builtin and then its argument prototype would still apply. */
32373 #ifdef __cplusplus
32374 extern "C"
32375 #endif
32376 char shmat ();
32377 int
32378 main ()
32379 {
32380 return shmat ();
32381 ;
32382 return 0;
32383 }
32384 _ACEOF
32385 rm -f conftest.$ac_objext conftest$ac_exeext
32386 if { (ac_try="$ac_link"
32387 case "(($ac_try" in
32388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32389 *) ac_try_echo=$ac_try;;
32390 esac
32391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32392 (eval "$ac_link") 2>conftest.er1
32393 ac_status=$?
32394 grep -v '^ *+' conftest.er1 >conftest.err
32395 rm -f conftest.er1
32396 cat conftest.err >&5
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); } && {
32399 test -z "$ac_c_werror_flag" ||
32400 test ! -s conftest.err
32401 } && test -s conftest$ac_exeext &&
32402 $as_test_x conftest$ac_exeext; then
32403 ac_cv_lib_ipc_shmat=yes
32404 else
32405 echo "$as_me: failed program was:" >&5
32406 sed 's/^/| /' conftest.$ac_ext >&5
32407
32408 ac_cv_lib_ipc_shmat=no
32409 fi
32410
32411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32412 conftest$ac_exeext conftest.$ac_ext
32413 LIBS=$ac_check_lib_save_LIBS
32414 fi
32415 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32416 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32417 if test $ac_cv_lib_ipc_shmat = yes; then
32418 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32419 fi
32420
32421 fi
32422 fi
32423
32424 # Check for libraries that X11R6 Xt/Xaw programs need.
32425 ac_save_LDFLAGS=$LDFLAGS
32426 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32427 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32428 # check for ICE first), but we must link in the order -lSM -lICE or
32429 # we get undefined symbols. So assume we have SM if we have ICE.
32430 # These have to be linked with before -lX11, unlike the other
32431 # libraries we check for below, so use a different variable.
32432 # John Interrante, Karl Berry
32433 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32434 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32435 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438 ac_check_lib_save_LIBS=$LIBS
32439 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32440 cat >conftest.$ac_ext <<_ACEOF
32441 /* confdefs.h. */
32442 _ACEOF
32443 cat confdefs.h >>conftest.$ac_ext
32444 cat >>conftest.$ac_ext <<_ACEOF
32445 /* end confdefs.h. */
32446
32447 /* Override any GCC internal prototype to avoid an error.
32448 Use char because int might match the return type of a GCC
32449 builtin and then its argument prototype would still apply. */
32450 #ifdef __cplusplus
32451 extern "C"
32452 #endif
32453 char IceConnectionNumber ();
32454 int
32455 main ()
32456 {
32457 return IceConnectionNumber ();
32458 ;
32459 return 0;
32460 }
32461 _ACEOF
32462 rm -f conftest.$ac_objext conftest$ac_exeext
32463 if { (ac_try="$ac_link"
32464 case "(($ac_try" in
32465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32466 *) ac_try_echo=$ac_try;;
32467 esac
32468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32469 (eval "$ac_link") 2>conftest.er1
32470 ac_status=$?
32471 grep -v '^ *+' conftest.er1 >conftest.err
32472 rm -f conftest.er1
32473 cat conftest.err >&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } && {
32476 test -z "$ac_c_werror_flag" ||
32477 test ! -s conftest.err
32478 } && test -s conftest$ac_exeext &&
32479 $as_test_x conftest$ac_exeext; then
32480 ac_cv_lib_ICE_IceConnectionNumber=yes
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32484
32485 ac_cv_lib_ICE_IceConnectionNumber=no
32486 fi
32487
32488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32489 conftest$ac_exeext conftest.$ac_ext
32490 LIBS=$ac_check_lib_save_LIBS
32491 fi
32492 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32493 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32494 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32495 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32496 fi
32497
32498 LDFLAGS=$ac_save_LDFLAGS
32499
32500 fi
32501
32502
32503 if test "$no_x" = "yes"; then
32504 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32505 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32506 { (exit 1); exit 1; }; }
32507 fi
32508
32509 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32510 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32511 AFMINSTALL=afminstall
32512 COMPILED_X_PROGRAM=0
32513
32514 fi
32515
32516 if test "$wxUSE_X11" = 1; then
32517 if test "$wxUSE_NANOX" = "yes"; then
32518 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32519 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32520 if test "x$MICROWIN" = x ; then
32521 { echo "$as_me:$LINENO: result: not found" >&5
32522 echo "${ECHO_T}not found" >&6; }
32523 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32524 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32525 { (exit 1); exit 1; }; }
32526 else
32527 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32528 echo "${ECHO_T}$MICROWIN" >&6; }
32529 cat >>confdefs.h <<\_ACEOF
32530 #define wxUSE_NANOX 1
32531 _ACEOF
32532
32533 fi
32534 fi
32535
32536 if test "$wxUSE_UNICODE" = "yes"; then
32537
32538
32539 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32540 if test -n "$ac_tool_prefix"; then
32541 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32542 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32545 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32546 echo $ECHO_N "(cached) $ECHO_C" >&6
32547 else
32548 case $PKG_CONFIG in
32549 [\\/]* | ?:[\\/]*)
32550 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32551 ;;
32552 *)
32553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32554 for as_dir in $PATH
32555 do
32556 IFS=$as_save_IFS
32557 test -z "$as_dir" && as_dir=.
32558 for ac_exec_ext in '' $ac_executable_extensions; do
32559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32560 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32562 break 2
32563 fi
32564 done
32565 done
32566 IFS=$as_save_IFS
32567
32568 ;;
32569 esac
32570 fi
32571 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32572 if test -n "$PKG_CONFIG"; then
32573 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32574 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32575 else
32576 { echo "$as_me:$LINENO: result: no" >&5
32577 echo "${ECHO_T}no" >&6; }
32578 fi
32579
32580
32581 fi
32582 if test -z "$ac_cv_path_PKG_CONFIG"; then
32583 ac_pt_PKG_CONFIG=$PKG_CONFIG
32584 # Extract the first word of "pkg-config", so it can be a program name with args.
32585 set dummy pkg-config; ac_word=$2
32586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32588 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32590 else
32591 case $ac_pt_PKG_CONFIG in
32592 [\\/]* | ?:[\\/]*)
32593 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32594 ;;
32595 *)
32596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32597 for as_dir in $PATH
32598 do
32599 IFS=$as_save_IFS
32600 test -z "$as_dir" && as_dir=.
32601 for ac_exec_ext in '' $ac_executable_extensions; do
32602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32603 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32605 break 2
32606 fi
32607 done
32608 done
32609 IFS=$as_save_IFS
32610
32611 ;;
32612 esac
32613 fi
32614 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32615 if test -n "$ac_pt_PKG_CONFIG"; then
32616 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32617 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32618 else
32619 { echo "$as_me:$LINENO: result: no" >&5
32620 echo "${ECHO_T}no" >&6; }
32621 fi
32622
32623 if test "x$ac_pt_PKG_CONFIG" = x; then
32624 PKG_CONFIG=""
32625 else
32626 case $cross_compiling:$ac_tool_warned in
32627 yes:)
32628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32629 whose name does not start with the host triplet. If you think this
32630 configuration is useful to you, please write to autoconf@gnu.org." >&5
32631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32632 whose name does not start with the host triplet. If you think this
32633 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32634 ac_tool_warned=yes ;;
32635 esac
32636 PKG_CONFIG=$ac_pt_PKG_CONFIG
32637 fi
32638 else
32639 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32640 fi
32641
32642 fi
32643 if test -n "$PKG_CONFIG"; then
32644 _pkg_min_version=0.9.0
32645 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32646 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32647 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32648 { echo "$as_me:$LINENO: result: yes" >&5
32649 echo "${ECHO_T}yes" >&6; }
32650 else
32651 { echo "$as_me:$LINENO: result: no" >&5
32652 echo "${ECHO_T}no" >&6; }
32653 PKG_CONFIG=""
32654 fi
32655
32656 fi
32657
32658
32659 pkg_failed=no
32660 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32661 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32662
32663 if test -n "$PKG_CONFIG"; then
32664 if test -n "$PANGOX_CFLAGS"; then
32665 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32666 else
32667 if test -n "$PKG_CONFIG" && \
32668 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32669 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32670 ac_status=$?
32671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32672 (exit $ac_status); }; then
32673 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32674 else
32675 pkg_failed=yes
32676 fi
32677 fi
32678 else
32679 pkg_failed=untried
32680 fi
32681 if test -n "$PKG_CONFIG"; then
32682 if test -n "$PANGOX_LIBS"; then
32683 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32684 else
32685 if test -n "$PKG_CONFIG" && \
32686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32687 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32688 ac_status=$?
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); }; then
32691 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32692 else
32693 pkg_failed=yes
32694 fi
32695 fi
32696 else
32697 pkg_failed=untried
32698 fi
32699
32700
32701
32702 if test $pkg_failed = yes; then
32703
32704 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32705 _pkg_short_errors_supported=yes
32706 else
32707 _pkg_short_errors_supported=no
32708 fi
32709 if test $_pkg_short_errors_supported = yes; then
32710 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32711 else
32712 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32713 fi
32714 # Put the nasty error message in config.log where it belongs
32715 echo "$PANGOX_PKG_ERRORS" >&5
32716
32717
32718 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32719 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32720 { (exit 1); exit 1; }; }
32721
32722
32723 elif test $pkg_failed = untried; then
32724
32725 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32726 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32727 { (exit 1); exit 1; }; }
32728
32729
32730 else
32731 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32732 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32733 { echo "$as_me:$LINENO: result: yes" >&5
32734 echo "${ECHO_T}yes" >&6; }
32735
32736 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32737 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32738 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32739
32740 fi
32741
32742 pkg_failed=no
32743 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32744 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32745
32746 if test -n "$PKG_CONFIG"; then
32747 if test -n "$PANGOFT2_CFLAGS"; then
32748 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32749 else
32750 if test -n "$PKG_CONFIG" && \
32751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32752 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; then
32756 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32757 else
32758 pkg_failed=yes
32759 fi
32760 fi
32761 else
32762 pkg_failed=untried
32763 fi
32764 if test -n "$PKG_CONFIG"; then
32765 if test -n "$PANGOFT2_LIBS"; then
32766 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32767 else
32768 if test -n "$PKG_CONFIG" && \
32769 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32770 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; then
32774 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32775 else
32776 pkg_failed=yes
32777 fi
32778 fi
32779 else
32780 pkg_failed=untried
32781 fi
32782
32783
32784
32785 if test $pkg_failed = yes; then
32786
32787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32788 _pkg_short_errors_supported=yes
32789 else
32790 _pkg_short_errors_supported=no
32791 fi
32792 if test $_pkg_short_errors_supported = yes; then
32793 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32794 else
32795 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32796 fi
32797 # Put the nasty error message in config.log where it belongs
32798 echo "$PANGOFT2_PKG_ERRORS" >&5
32799
32800
32801 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32802 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32803 wxUSE_PRINTING_ARCHITECTURE="no"
32804
32805
32806 elif test $pkg_failed = untried; then
32807
32808 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32809 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32810 wxUSE_PRINTING_ARCHITECTURE="no"
32811
32812
32813 else
32814 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32815 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32816 { echo "$as_me:$LINENO: result: yes" >&5
32817 echo "${ECHO_T}yes" >&6; }
32818
32819 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32820 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32821 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32822
32823 fi
32824
32825 pkg_failed=no
32826 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32827 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32828
32829 if test -n "$PKG_CONFIG"; then
32830 if test -n "$PANGOXFT_CFLAGS"; then
32831 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32832 else
32833 if test -n "$PKG_CONFIG" && \
32834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32835 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32836 ac_status=$?
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); }; then
32839 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32840 else
32841 pkg_failed=yes
32842 fi
32843 fi
32844 else
32845 pkg_failed=untried
32846 fi
32847 if test -n "$PKG_CONFIG"; then
32848 if test -n "$PANGOXFT_LIBS"; then
32849 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32850 else
32851 if test -n "$PKG_CONFIG" && \
32852 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32853 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32854 ac_status=$?
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); }; then
32857 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32858 else
32859 pkg_failed=yes
32860 fi
32861 fi
32862 else
32863 pkg_failed=untried
32864 fi
32865
32866
32867
32868 if test $pkg_failed = yes; then
32869
32870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32871 _pkg_short_errors_supported=yes
32872 else
32873 _pkg_short_errors_supported=no
32874 fi
32875 if test $_pkg_short_errors_supported = yes; then
32876 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32877 else
32878 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32879 fi
32880 # Put the nasty error message in config.log where it belongs
32881 echo "$PANGOXFT_PKG_ERRORS" >&5
32882
32883
32884 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32885 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32886
32887
32888 elif test $pkg_failed = untried; then
32889
32890 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32891 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32892
32893
32894 else
32895 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32896 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32897 { echo "$as_me:$LINENO: result: yes" >&5
32898 echo "${ECHO_T}yes" >&6; }
32899
32900 cat >>confdefs.h <<\_ACEOF
32901 #define HAVE_PANGO_XFT 1
32902 _ACEOF
32903
32904 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32905 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32906 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32907
32908 fi
32909 save_LIBS="$LIBS"
32910 LIBS="$LIBS $PANGOX_LIBS"
32911
32912 for ac_func in pango_font_family_is_monospace
32913 do
32914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32918 echo $ECHO_N "(cached) $ECHO_C" >&6
32919 else
32920 cat >conftest.$ac_ext <<_ACEOF
32921 /* confdefs.h. */
32922 _ACEOF
32923 cat confdefs.h >>conftest.$ac_ext
32924 cat >>conftest.$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32928 #define $ac_func innocuous_$ac_func
32929
32930 /* System header to define __stub macros and hopefully few prototypes,
32931 which can conflict with char $ac_func (); below.
32932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32933 <limits.h> exists even on freestanding compilers. */
32934
32935 #ifdef __STDC__
32936 # include <limits.h>
32937 #else
32938 # include <assert.h>
32939 #endif
32940
32941 #undef $ac_func
32942
32943 /* Override any GCC internal prototype to avoid an error.
32944 Use char because int might match the return type of a GCC
32945 builtin and then its argument prototype would still apply. */
32946 #ifdef __cplusplus
32947 extern "C"
32948 #endif
32949 char $ac_func ();
32950 /* The GNU C library defines this for functions which it implements
32951 to always fail with ENOSYS. Some functions are actually named
32952 something starting with __ and the normal name is an alias. */
32953 #if defined __stub_$ac_func || defined __stub___$ac_func
32954 choke me
32955 #endif
32956
32957 int
32958 main ()
32959 {
32960 return $ac_func ();
32961 ;
32962 return 0;
32963 }
32964 _ACEOF
32965 rm -f conftest.$ac_objext conftest$ac_exeext
32966 if { (ac_try="$ac_link"
32967 case "(($ac_try" in
32968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32969 *) ac_try_echo=$ac_try;;
32970 esac
32971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32972 (eval "$ac_link") 2>conftest.er1
32973 ac_status=$?
32974 grep -v '^ *+' conftest.er1 >conftest.err
32975 rm -f conftest.er1
32976 cat conftest.err >&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); } && {
32979 test -z "$ac_c_werror_flag" ||
32980 test ! -s conftest.err
32981 } && test -s conftest$ac_exeext &&
32982 $as_test_x conftest$ac_exeext; then
32983 eval "$as_ac_var=yes"
32984 else
32985 echo "$as_me: failed program was:" >&5
32986 sed 's/^/| /' conftest.$ac_ext >&5
32987
32988 eval "$as_ac_var=no"
32989 fi
32990
32991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32992 conftest$ac_exeext conftest.$ac_ext
32993 fi
32994 ac_res=`eval echo '${'$as_ac_var'}'`
32995 { echo "$as_me:$LINENO: result: $ac_res" >&5
32996 echo "${ECHO_T}$ac_res" >&6; }
32997 if test `eval echo '${'$as_ac_var'}'` = yes; then
32998 cat >>confdefs.h <<_ACEOF
32999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33000 _ACEOF
33001
33002 fi
33003 done
33004
33005 LIBS="$save_LIBS"
33006 fi
33007
33008 wxUSE_UNIVERSAL="yes"
33009
33010 if test "$wxUSE_NANOX" = "yes"; then
33011 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33012 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"
33013 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33014 else
33015 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33016 fi
33017
33018 TOOLKIT=X11
33019 GUIDIST=X11_DIST
33020 fi
33021
33022 if test "$wxUSE_MOTIF" = 1; then
33023 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33024 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33025
33026 ac_find_includes=
33027 for ac_dir in $SEARCH_INCLUDE /usr/include;
33028 do
33029 if test -f "$ac_dir/Xm/Xm.h"; then
33030 ac_find_includes=$ac_dir
33031 break
33032 fi
33033 done
33034
33035 if test "$ac_find_includes" != "" ; then
33036 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33037 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33038
33039 if test "x$ac_find_includes" = "x/usr/include"; then
33040 ac_path_to_include=""
33041 else
33042 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33043 result=$?
33044 if test $result = 0; then
33045 ac_path_to_include=""
33046 else
33047 ac_path_to_include=" -I$ac_find_includes"
33048 fi
33049 fi
33050
33051 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33052 else
33053 save_CFLAGS=$CFLAGS
33054 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33055
33056 cat >conftest.$ac_ext <<_ACEOF
33057 /* confdefs.h. */
33058 _ACEOF
33059 cat confdefs.h >>conftest.$ac_ext
33060 cat >>conftest.$ac_ext <<_ACEOF
33061 /* end confdefs.h. */
33062
33063 #include <Xm/Xm.h>
33064
33065 int
33066 main ()
33067 {
33068
33069 int version;
33070 version = xmUseVersion;
33071
33072 ;
33073 return 0;
33074 }
33075 _ACEOF
33076 rm -f conftest.$ac_objext
33077 if { (ac_try="$ac_compile"
33078 case "(($ac_try" in
33079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33080 *) ac_try_echo=$ac_try;;
33081 esac
33082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33083 (eval "$ac_compile") 2>conftest.er1
33084 ac_status=$?
33085 grep -v '^ *+' conftest.er1 >conftest.err
33086 rm -f conftest.er1
33087 cat conftest.err >&5
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); } && {
33090 test -z "$ac_c_werror_flag" ||
33091 test ! -s conftest.err
33092 } && test -s conftest.$ac_objext; then
33093
33094 { echo "$as_me:$LINENO: result: found in default search path" >&5
33095 echo "${ECHO_T}found in default search path" >&6; }
33096 COMPILED_X_PROGRAM=1
33097
33098 else
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.$ac_ext >&5
33101
33102
33103 { echo "$as_me:$LINENO: result: no" >&5
33104 echo "${ECHO_T}no" >&6; }
33105 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33106 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33107 { (exit 1); exit 1; }; }
33108
33109
33110 fi
33111
33112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113
33114 CFLAGS=$save_CFLAGS
33115 fi
33116
33117
33118 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33119 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33120
33121 ac_find_libraries=
33122 for ac_dir in $SEARCH_LIB;
33123 do
33124 for ac_extension in a so sl dylib dll.a; do
33125 if test -f "$ac_dir/libXm.$ac_extension"; then
33126 ac_find_libraries=$ac_dir
33127 break 2
33128 fi
33129 done
33130 done
33131
33132
33133 if test "x$ac_find_libraries" != "x" ; then
33134 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33135 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33136
33137
33138 if test "$ac_find_libraries" = "default location"; then
33139 ac_path_to_link=""
33140 else
33141 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33142 result=$?
33143 if test $result = 0; then
33144 ac_path_to_link=""
33145 else
33146 ac_path_to_link=" -L$ac_find_libraries"
33147 fi
33148 fi
33149
33150 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33151 else
33152 save_CFLAGS=$CFLAGS
33153 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33154 save_LIBS="$LIBS"
33155 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33156
33157 cat >conftest.$ac_ext <<_ACEOF
33158 /* confdefs.h. */
33159 _ACEOF
33160 cat confdefs.h >>conftest.$ac_ext
33161 cat >>conftest.$ac_ext <<_ACEOF
33162 /* end confdefs.h. */
33163
33164 #include <Xm/Xm.h>
33165
33166 int
33167 main ()
33168 {
33169
33170 int version;
33171 version = xmUseVersion;
33172
33173 ;
33174 return 0;
33175 }
33176 _ACEOF
33177 rm -f conftest.$ac_objext conftest$ac_exeext
33178 if { (ac_try="$ac_link"
33179 case "(($ac_try" in
33180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33181 *) ac_try_echo=$ac_try;;
33182 esac
33183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33184 (eval "$ac_link") 2>conftest.er1
33185 ac_status=$?
33186 grep -v '^ *+' conftest.er1 >conftest.err
33187 rm -f conftest.er1
33188 cat conftest.err >&5
33189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33190 (exit $ac_status); } && {
33191 test -z "$ac_c_werror_flag" ||
33192 test ! -s conftest.err
33193 } && test -s conftest$ac_exeext &&
33194 $as_test_x conftest$ac_exeext; then
33195
33196 { echo "$as_me:$LINENO: result: found in default search path" >&5
33197 echo "${ECHO_T}found in default search path" >&6; }
33198 COMPILED_X_PROGRAM=1
33199
33200 else
33201 echo "$as_me: failed program was:" >&5
33202 sed 's/^/| /' conftest.$ac_ext >&5
33203
33204
33205 { echo "$as_me:$LINENO: result: no" >&5
33206 echo "${ECHO_T}no" >&6; }
33207 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33208 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33209 { (exit 1); exit 1; }; }
33210
33211
33212 fi
33213
33214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33215 conftest$ac_exeext conftest.$ac_ext
33216
33217 CFLAGS=$save_CFLAGS
33218 LIBS="$save_LIBS"
33219 fi
33220
33221 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33222 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33223 libp_link=""
33224 libsm_ice_link=""
33225 libs_found=0
33226 for libp in "" " -lXp"; do
33227 if test "$libs_found" = 0; then
33228 for libsm_ice in "" " -lSM -lICE"; do
33229 if test "$libs_found" = 0; then
33230 save_LIBS="$LIBS"
33231 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33232 save_CFLAGS=$CFLAGS
33233 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33234
33235 cat >conftest.$ac_ext <<_ACEOF
33236 /* confdefs.h. */
33237 _ACEOF
33238 cat confdefs.h >>conftest.$ac_ext
33239 cat >>conftest.$ac_ext <<_ACEOF
33240 /* end confdefs.h. */
33241
33242 #include <Xm/Xm.h>
33243 #include <Xm/List.h>
33244
33245 int
33246 main ()
33247 {
33248
33249 XmString string = NULL;
33250 Widget w = NULL;
33251 int position = 0;
33252 XmListAddItem(w, string, position);
33253
33254 ;
33255 return 0;
33256 }
33257 _ACEOF
33258 rm -f conftest.$ac_objext conftest$ac_exeext
33259 if { (ac_try="$ac_link"
33260 case "(($ac_try" in
33261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33262 *) ac_try_echo=$ac_try;;
33263 esac
33264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33265 (eval "$ac_link") 2>conftest.er1
33266 ac_status=$?
33267 grep -v '^ *+' conftest.er1 >conftest.err
33268 rm -f conftest.er1
33269 cat conftest.err >&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } && {
33272 test -z "$ac_c_werror_flag" ||
33273 test ! -s conftest.err
33274 } && test -s conftest$ac_exeext &&
33275 $as_test_x conftest$ac_exeext; then
33276
33277 libp_link="$libp"
33278 libsm_ice_link="$libsm_ice"
33279 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33280 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33281 libs_found=1
33282
33283 else
33284 echo "$as_me: failed program was:" >&5
33285 sed 's/^/| /' conftest.$ac_ext >&5
33286
33287
33288
33289 fi
33290
33291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33292 conftest$ac_exeext conftest.$ac_ext
33293
33294 LIBS="$save_LIBS"
33295 CFLAGS=$save_CFLAGS
33296 fi
33297 done
33298 fi
33299 done
33300
33301 if test "$libs_found" = 0; then
33302 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33303 echo "${ECHO_T}can't find the right libraries" >&6; }
33304 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33305 echo "$as_me: error: can't link a simple motif program" >&2;}
33306 { (exit 1); exit 1; }; }
33307 fi
33308
33309 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33310 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33311 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33312 echo $ECHO_N "(cached) $ECHO_C" >&6
33313 else
33314 ac_check_lib_save_LIBS=$LIBS
33315 LIBS="-lSgm $LIBS"
33316 cat >conftest.$ac_ext <<_ACEOF
33317 /* confdefs.h. */
33318 _ACEOF
33319 cat confdefs.h >>conftest.$ac_ext
33320 cat >>conftest.$ac_ext <<_ACEOF
33321 /* end confdefs.h. */
33322
33323 /* Override any GCC internal prototype to avoid an error.
33324 Use char because int might match the return type of a GCC
33325 builtin and then its argument prototype would still apply. */
33326 #ifdef __cplusplus
33327 extern "C"
33328 #endif
33329 char SgCreateList ();
33330 int
33331 main ()
33332 {
33333 return SgCreateList ();
33334 ;
33335 return 0;
33336 }
33337 _ACEOF
33338 rm -f conftest.$ac_objext conftest$ac_exeext
33339 if { (ac_try="$ac_link"
33340 case "(($ac_try" in
33341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33342 *) ac_try_echo=$ac_try;;
33343 esac
33344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33345 (eval "$ac_link") 2>conftest.er1
33346 ac_status=$?
33347 grep -v '^ *+' conftest.er1 >conftest.err
33348 rm -f conftest.er1
33349 cat conftest.err >&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); } && {
33352 test -z "$ac_c_werror_flag" ||
33353 test ! -s conftest.err
33354 } && test -s conftest$ac_exeext &&
33355 $as_test_x conftest$ac_exeext; then
33356 ac_cv_lib_Sgm_SgCreateList=yes
33357 else
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.$ac_ext >&5
33360
33361 ac_cv_lib_Sgm_SgCreateList=no
33362 fi
33363
33364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33365 conftest$ac_exeext conftest.$ac_ext
33366 LIBS=$ac_check_lib_save_LIBS
33367 fi
33368 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33369 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33370 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33371 libsgm_link=" -lSgm"
33372 fi
33373
33374
33375 save_CFLAGS=$CFLAGS
33376 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33377
33378 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33379 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33380 if test "${wx_cv_lib_motif2+set}" = set; then
33381 echo $ECHO_N "(cached) $ECHO_C" >&6
33382 else
33383 cat >conftest.$ac_ext <<_ACEOF
33384 /* confdefs.h. */
33385 _ACEOF
33386 cat confdefs.h >>conftest.$ac_ext
33387 cat >>conftest.$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33389
33390 #include <Xm/Xm.h>
33391
33392 int
33393 main ()
33394 {
33395
33396 #if XmVersion < 2000
33397 Not Motif 2
33398 #endif
33399
33400 ;
33401 return 0;
33402 }
33403 _ACEOF
33404 rm -f conftest.$ac_objext
33405 if { (ac_try="$ac_compile"
33406 case "(($ac_try" in
33407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33408 *) ac_try_echo=$ac_try;;
33409 esac
33410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33411 (eval "$ac_compile") 2>conftest.er1
33412 ac_status=$?
33413 grep -v '^ *+' conftest.er1 >conftest.err
33414 rm -f conftest.er1
33415 cat conftest.err >&5
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); } && {
33418 test -z "$ac_c_werror_flag" ||
33419 test ! -s conftest.err
33420 } && test -s conftest.$ac_objext; then
33421 wx_cv_lib_motif2="yes"
33422 else
33423 echo "$as_me: failed program was:" >&5
33424 sed 's/^/| /' conftest.$ac_ext >&5
33425
33426 wx_cv_lib_motif2="no"
33427 fi
33428
33429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33430 fi
33431 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33432 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33433 if test "$wx_cv_lib_motif2" = "yes"; then
33434 cat >>confdefs.h <<\_ACEOF
33435 #define __WXMOTIF20__ 1
33436 _ACEOF
33437
33438 else
33439 cat >>confdefs.h <<\_ACEOF
33440 #define __WXMOTIF20__ 0
33441 _ACEOF
33442
33443 fi
33444
33445 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33446 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33447 if test "${wx_cv_lib_lesstif+set}" = set; then
33448 echo $ECHO_N "(cached) $ECHO_C" >&6
33449 else
33450 cat >conftest.$ac_ext <<_ACEOF
33451 /* confdefs.h. */
33452 _ACEOF
33453 cat confdefs.h >>conftest.$ac_ext
33454 cat >>conftest.$ac_ext <<_ACEOF
33455 /* end confdefs.h. */
33456
33457 #include <Xm/Xm.h>
33458
33459 int
33460 main ()
33461 {
33462
33463 #if !defined(LesstifVersion) || LesstifVersion <= 0
33464 Not Lesstif
33465 #endif
33466
33467 ;
33468 return 0;
33469 }
33470 _ACEOF
33471 rm -f conftest.$ac_objext
33472 if { (ac_try="$ac_compile"
33473 case "(($ac_try" in
33474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33475 *) ac_try_echo=$ac_try;;
33476 esac
33477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33478 (eval "$ac_compile") 2>conftest.er1
33479 ac_status=$?
33480 grep -v '^ *+' conftest.er1 >conftest.err
33481 rm -f conftest.er1
33482 cat conftest.err >&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } && {
33485 test -z "$ac_c_werror_flag" ||
33486 test ! -s conftest.err
33487 } && test -s conftest.$ac_objext; then
33488 wx_cv_lib_lesstif="yes"
33489 else
33490 echo "$as_me: failed program was:" >&5
33491 sed 's/^/| /' conftest.$ac_ext >&5
33492
33493 wx_cv_lib_lesstif="no"
33494 fi
33495
33496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33497
33498 fi
33499 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33500 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33501 if test "$wx_cv_lib_lesstif" = "yes"; then
33502 cat >>confdefs.h <<\_ACEOF
33503 #define __WXLESSTIF__ 1
33504 _ACEOF
33505
33506 else
33507 cat >>confdefs.h <<\_ACEOF
33508 #define __WXLESSTIF__ 0
33509 _ACEOF
33510
33511 fi
33512
33513 CFLAGS=$save_CFLAGS
33514
33515 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33516 TOOLKIT=MOTIF
33517 GUIDIST=MOTIF_DIST
33518 fi
33519
33520 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33521 if test "$wxUSE_LIBXPM" = "sys"; then
33522 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33523 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33524
33525 ac_find_libraries=
33526 for ac_dir in $SEARCH_LIB;
33527 do
33528 for ac_extension in a so sl dylib dll.a; do
33529 if test -f "$ac_dir/libXpm.$ac_extension"; then
33530 ac_find_libraries=$ac_dir
33531 break 2
33532 fi
33533 done
33534 done
33535
33536 if test "$ac_find_libraries" != "" ; then
33537
33538 if test "$ac_find_libraries" = "default location"; then
33539 ac_path_to_link=""
33540 else
33541 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33542 result=$?
33543 if test $result = 0; then
33544 ac_path_to_link=""
33545 else
33546 ac_path_to_link=" -L$ac_find_libraries"
33547 fi
33548 fi
33549
33550 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33551 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33552 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33553
33554 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33555 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33556 if test "${wx_cv_x11_xpm_h+set}" = set; then
33557 echo $ECHO_N "(cached) $ECHO_C" >&6
33558 else
33559
33560 save_CFLAGS=$CFLAGS
33561 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33562
33563 cat >conftest.$ac_ext <<_ACEOF
33564 /* confdefs.h. */
33565 _ACEOF
33566 cat confdefs.h >>conftest.$ac_ext
33567 cat >>conftest.$ac_ext <<_ACEOF
33568 /* end confdefs.h. */
33569
33570 #include <X11/xpm.h>
33571
33572 int
33573 main ()
33574 {
33575
33576 int version;
33577 version = XpmLibraryVersion();
33578
33579 ;
33580 return 0;
33581 }
33582 _ACEOF
33583 rm -f conftest.$ac_objext
33584 if { (ac_try="$ac_compile"
33585 case "(($ac_try" in
33586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33587 *) ac_try_echo=$ac_try;;
33588 esac
33589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33590 (eval "$ac_compile") 2>conftest.er1
33591 ac_status=$?
33592 grep -v '^ *+' conftest.er1 >conftest.err
33593 rm -f conftest.er1
33594 cat conftest.err >&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } && {
33597 test -z "$ac_c_werror_flag" ||
33598 test ! -s conftest.err
33599 } && test -s conftest.$ac_objext; then
33600 wx_cv_x11_xpm_h=yes
33601 else
33602 echo "$as_me: failed program was:" >&5
33603 sed 's/^/| /' conftest.$ac_ext >&5
33604
33605 wx_cv_x11_xpm_h=no
33606
33607 fi
33608
33609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33610
33611 CFLAGS=$save_CFLAGS
33612
33613
33614 fi
33615 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33616 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33617
33618 if test $wx_cv_x11_xpm_h = "yes"; then
33619 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33620 cat >>confdefs.h <<\_ACEOF
33621 #define wxHAVE_LIB_XPM 1
33622 _ACEOF
33623
33624 else
33625 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33626 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33627 fi
33628 fi
33629
33630 fi
33631
33632 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33633 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33634 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 else
33637 ac_check_lib_save_LIBS=$LIBS
33638 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33639 cat >conftest.$ac_ext <<_ACEOF
33640 /* confdefs.h. */
33641 _ACEOF
33642 cat confdefs.h >>conftest.$ac_ext
33643 cat >>conftest.$ac_ext <<_ACEOF
33644 /* end confdefs.h. */
33645
33646 /* Override any GCC internal prototype to avoid an error.
33647 Use char because int might match the return type of a GCC
33648 builtin and then its argument prototype would still apply. */
33649 #ifdef __cplusplus
33650 extern "C"
33651 #endif
33652 char XShapeQueryExtension ();
33653 int
33654 main ()
33655 {
33656 return XShapeQueryExtension ();
33657 ;
33658 return 0;
33659 }
33660 _ACEOF
33661 rm -f conftest.$ac_objext conftest$ac_exeext
33662 if { (ac_try="$ac_link"
33663 case "(($ac_try" in
33664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33665 *) ac_try_echo=$ac_try;;
33666 esac
33667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33668 (eval "$ac_link") 2>conftest.er1
33669 ac_status=$?
33670 grep -v '^ *+' conftest.er1 >conftest.err
33671 rm -f conftest.er1
33672 cat conftest.err >&5
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); } && {
33675 test -z "$ac_c_werror_flag" ||
33676 test ! -s conftest.err
33677 } && test -s conftest$ac_exeext &&
33678 $as_test_x conftest$ac_exeext; then
33679 ac_cv_lib_Xext_XShapeQueryExtension=yes
33680 else
33681 echo "$as_me: failed program was:" >&5
33682 sed 's/^/| /' conftest.$ac_ext >&5
33683
33684 ac_cv_lib_Xext_XShapeQueryExtension=no
33685 fi
33686
33687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33688 conftest$ac_exeext conftest.$ac_ext
33689 LIBS=$ac_check_lib_save_LIBS
33690 fi
33691 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33692 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33693 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33694
33695 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33696 wxHAVE_XEXT_LIB=1
33697
33698 fi
33699
33700
33701 if test "$wxHAVE_XEXT_LIB" = 1; then
33702 save_CFLAGS="$CFLAGS"
33703 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33704
33705 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33706 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33707 cat >conftest.$ac_ext <<_ACEOF
33708 /* confdefs.h. */
33709 _ACEOF
33710 cat confdefs.h >>conftest.$ac_ext
33711 cat >>conftest.$ac_ext <<_ACEOF
33712 /* end confdefs.h. */
33713
33714 #include <X11/Xlib.h>
33715 #include <X11/extensions/shape.h>
33716
33717 int
33718 main ()
33719 {
33720
33721 int dummy1, dummy2;
33722 XShapeQueryExtension((Display*)NULL,
33723 (int*)NULL, (int*)NULL);
33724
33725 ;
33726 return 0;
33727 }
33728 _ACEOF
33729 rm -f conftest.$ac_objext
33730 if { (ac_try="$ac_compile"
33731 case "(($ac_try" in
33732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33733 *) ac_try_echo=$ac_try;;
33734 esac
33735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33736 (eval "$ac_compile") 2>conftest.er1
33737 ac_status=$?
33738 grep -v '^ *+' conftest.er1 >conftest.err
33739 rm -f conftest.er1
33740 cat conftest.err >&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } && {
33743 test -z "$ac_c_werror_flag" ||
33744 test ! -s conftest.err
33745 } && test -s conftest.$ac_objext; then
33746
33747 cat >>confdefs.h <<\_ACEOF
33748 #define HAVE_XSHAPE 1
33749 _ACEOF
33750
33751 { echo "$as_me:$LINENO: result: found" >&5
33752 echo "${ECHO_T}found" >&6; }
33753
33754 else
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.$ac_ext >&5
33757
33758
33759 { echo "$as_me:$LINENO: result: not found" >&5
33760 echo "${ECHO_T}not found" >&6; }
33761
33762 fi
33763
33764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33765 CFLAGS="$save_CFLAGS"
33766
33767 fi
33768 fi
33769
33770 if test "$wxUSE_OSX_CARBON" = 1; then
33771 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33772 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33773 if test "$GCC" = yes; then
33774 { echo "$as_me:$LINENO: result: gcc" >&5
33775 echo "${ECHO_T}gcc" >&6; }
33776 CPPFLAGS_PASCAL="-fpascal-strings"
33777 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33778 { echo "$as_me:$LINENO: result: xlc" >&5
33779 echo "${ECHO_T}xlc" >&6; }
33780 CPPFLAGS_PASCAL="-qmacpstr"
33781 else
33782 { echo "$as_me:$LINENO: result: none" >&5
33783 echo "${ECHO_T}none" >&6; }
33784 fi
33785
33786 if test "x$wxUSE_UNIX" = "xyes"; then
33787 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33788 else
33789 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33790 fi
33791
33792 TOOLKIT=OSX_CARBON
33793 GUIDIST=OSX_CARBON_DIST
33794 WXBASEPORT="_carbon"
33795
33796 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33797 fi
33798
33799 if test "$wxUSE_OSX_COCOA" = 1; then
33800 TOOLKIT=OSX_COCOA
33801 GUIDIST=OSX_COCOA_DIST
33802
33803 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33804 fi
33805
33806 if test "$wxUSE_OSX_IPHONE" = 1; then
33807 TOOLKIT=OSX_IPHONE
33808 fi
33809
33810 if test "$wxUSE_OLD_COCOA" = 1; then
33811 TOOLKIT=COCOA
33812 GUIDIST=COCOA_DIST
33813 fi
33814
33815 if test "$wxUSE_PM" = 1; then
33816 TOOLKIT=PM
33817 GUIDIST=PM_DIST
33818 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33819 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33820 if test "${wx_cv_spbcdata+set}" = set; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33822 else
33823
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h. */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830
33831 #define INCL_PM
33832 #include <os2.h>
33833
33834 int
33835 main ()
33836 {
33837
33838 SPBCDATA test;
33839
33840 ;
33841 return 0;
33842 }
33843 _ACEOF
33844 rm -f conftest.$ac_objext
33845 if { (ac_try="$ac_compile"
33846 case "(($ac_try" in
33847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33848 *) ac_try_echo=$ac_try;;
33849 esac
33850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33851 (eval "$ac_compile") 2>conftest.er1
33852 ac_status=$?
33853 grep -v '^ *+' conftest.er1 >conftest.err
33854 rm -f conftest.er1
33855 cat conftest.err >&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); } && {
33858 test -z "$ac_c_werror_flag" ||
33859 test ! -s conftest.err
33860 } && test -s conftest.$ac_objext; then
33861 wx_cv_spbcdata=yes
33862 else
33863 echo "$as_me: failed program was:" >&5
33864 sed 's/^/| /' conftest.$ac_ext >&5
33865
33866 wx_cv_spbcdata=no
33867
33868 fi
33869
33870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33871
33872
33873 fi
33874 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33875 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33876
33877 if test $wx_cv_spbcdata = "yes"; then
33878 cat >>confdefs.h <<\_ACEOF
33879 #define HAVE_SPBCDATA 1
33880 _ACEOF
33881
33882 fi
33883 fi
33884
33885 if test "$TOOLKIT" = "PM" ; then
33886 TOOLKIT_DIR="os2"
33887 else
33888 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33889 fi
33890
33891 if test "$wxUSE_UNIVERSAL" = "yes"; then
33892 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33893 WIDGET_SET=univ
33894 fi
33895
33896 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33897 DISTDIR="wx\$(TOOLKIT)"
33898 else
33899 USE_GUI=0
33900
33901 TOOLKIT_DIR="base"
33902
33903 if test "$USE_WIN32" = 1 ; then
33904 TOOLKIT="MSW"
33905 fi
33906
33907 GUIDIST="BASE_DIST"
33908 DISTDIR="wxBase"
33909 fi
33910
33911
33912
33913 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33914 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33915 wxUSE_UNICODE_UTF8=yes
33916 elif test "$USE_OS2" = 1 ; then
33917 wxUSE_UNICODE_UTF8=yes
33918 else
33919 wxUSE_UNICODE_UTF8=no
33920 fi
33921 fi
33922
33923
33924 if test "$wxUSE_GUI" = "yes"; then
33925 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33926
33927 for ac_header in X11/Xlib.h
33928 do
33929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33934 else
33935 cat >conftest.$ac_ext <<_ACEOF
33936 /* confdefs.h. */
33937 _ACEOF
33938 cat confdefs.h >>conftest.$ac_ext
33939 cat >>conftest.$ac_ext <<_ACEOF
33940 /* end confdefs.h. */
33941
33942
33943 #include <$ac_header>
33944 _ACEOF
33945 rm -f conftest.$ac_objext
33946 if { (ac_try="$ac_compile"
33947 case "(($ac_try" in
33948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33949 *) ac_try_echo=$ac_try;;
33950 esac
33951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33952 (eval "$ac_compile") 2>conftest.er1
33953 ac_status=$?
33954 grep -v '^ *+' conftest.er1 >conftest.err
33955 rm -f conftest.er1
33956 cat conftest.err >&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } && {
33959 test -z "$ac_c_werror_flag" ||
33960 test ! -s conftest.err
33961 } && test -s conftest.$ac_objext; then
33962 eval "$as_ac_Header=yes"
33963 else
33964 echo "$as_me: failed program was:" >&5
33965 sed 's/^/| /' conftest.$ac_ext >&5
33966
33967 eval "$as_ac_Header=no"
33968 fi
33969
33970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33971 fi
33972 ac_res=`eval echo '${'$as_ac_Header'}'`
33973 { echo "$as_me:$LINENO: result: $ac_res" >&5
33974 echo "${ECHO_T}$ac_res" >&6; }
33975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33976 cat >>confdefs.h <<_ACEOF
33977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33978 _ACEOF
33979
33980 fi
33981
33982 done
33983
33984
33985 for ac_header in X11/XKBlib.h
33986 do
33987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33992 else
33993 cat >conftest.$ac_ext <<_ACEOF
33994 /* confdefs.h. */
33995 _ACEOF
33996 cat confdefs.h >>conftest.$ac_ext
33997 cat >>conftest.$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
33999
34000 #if HAVE_X11_XLIB_H
34001 #include <X11/Xlib.h>
34002 #endif
34003
34004
34005 #include <$ac_header>
34006 _ACEOF
34007 rm -f conftest.$ac_objext
34008 if { (ac_try="$ac_compile"
34009 case "(($ac_try" in
34010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34011 *) ac_try_echo=$ac_try;;
34012 esac
34013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34014 (eval "$ac_compile") 2>conftest.er1
34015 ac_status=$?
34016 grep -v '^ *+' conftest.er1 >conftest.err
34017 rm -f conftest.er1
34018 cat conftest.err >&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } && {
34021 test -z "$ac_c_werror_flag" ||
34022 test ! -s conftest.err
34023 } && test -s conftest.$ac_objext; then
34024 eval "$as_ac_Header=yes"
34025 else
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.$ac_ext >&5
34028
34029 eval "$as_ac_Header=no"
34030 fi
34031
34032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34033 fi
34034 ac_res=`eval echo '${'$as_ac_Header'}'`
34035 { echo "$as_me:$LINENO: result: $ac_res" >&5
34036 echo "${ECHO_T}$ac_res" >&6; }
34037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34038 cat >>confdefs.h <<_ACEOF
34039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34040 _ACEOF
34041
34042 fi
34043
34044 done
34045
34046 fi
34047 fi
34048
34049
34050
34051 USE_XINERAMA=0
34052 if test "$wxUSE_DISPLAY" = "yes"; then
34053 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34054 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34055 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34056
34057 ac_find_libraries=
34058 for ac_dir in $SEARCH_LIB;
34059 do
34060 for ac_extension in a so sl dylib dll.a; do
34061 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34062 ac_find_libraries=$ac_dir
34063 break 2
34064 fi
34065 done
34066 done
34067
34068 if test "$ac_find_libraries" != "" ; then
34069
34070 if test "$ac_find_libraries" = "default location"; then
34071 ac_path_to_link=""
34072 else
34073 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34074 result=$?
34075 if test $result = 0; then
34076 ac_path_to_link=""
34077 else
34078 ac_path_to_link=" -L$ac_find_libraries"
34079 fi
34080 fi
34081
34082 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34083 LDFLAGS="$LDFLAGS $ac_path_to_link"
34084 fi
34085 USE_XINERAMA=1
34086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34087 { echo "$as_me:$LINENO: result: yes" >&5
34088 echo "${ECHO_T}yes" >&6; }
34089 else
34090 { echo "$as_me:$LINENO: result: no" >&5
34091 echo "${ECHO_T}no" >&6; }
34092 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34093 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34094 wxUSE_DISPLAY="no"
34095 fi
34096 elif test "$wxUSE_MSW" = 1; then
34097 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34098 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34099 if test "${ac_cv_header_ddraw_h+set}" = set; then
34100 echo $ECHO_N "(cached) $ECHO_C" >&6
34101 else
34102 cat >conftest.$ac_ext <<_ACEOF
34103 /* confdefs.h. */
34104 _ACEOF
34105 cat confdefs.h >>conftest.$ac_ext
34106 cat >>conftest.$ac_ext <<_ACEOF
34107 /* end confdefs.h. */
34108 #include <windows.h>
34109
34110 #include <ddraw.h>
34111 _ACEOF
34112 rm -f conftest.$ac_objext
34113 if { (ac_try="$ac_compile"
34114 case "(($ac_try" in
34115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34116 *) ac_try_echo=$ac_try;;
34117 esac
34118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34119 (eval "$ac_compile") 2>conftest.er1
34120 ac_status=$?
34121 grep -v '^ *+' conftest.er1 >conftest.err
34122 rm -f conftest.er1
34123 cat conftest.err >&5
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); } && {
34126 test -z "$ac_c_werror_flag" ||
34127 test ! -s conftest.err
34128 } && test -s conftest.$ac_objext; then
34129 ac_cv_header_ddraw_h=yes
34130 else
34131 echo "$as_me: failed program was:" >&5
34132 sed 's/^/| /' conftest.$ac_ext >&5
34133
34134 ac_cv_header_ddraw_h=no
34135 fi
34136
34137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34138 fi
34139 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34140 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34141
34142
34143 fi
34144 fi
34145
34146 if test "$wxUSE_DISPLAY" = "yes"; then
34147 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34148 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34149 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34150
34151 ac_find_libraries=
34152 for ac_dir in $SEARCH_LIB;
34153 do
34154 for ac_extension in a so sl dylib dll.a; do
34155 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34156 ac_find_libraries=$ac_dir
34157 break 2
34158 fi
34159 done
34160 done
34161
34162 if test "$ac_find_libraries" != "" ; then
34163 { echo "$as_me:$LINENO: result: yes" >&5
34164 echo "${ECHO_T}yes" >&6; }
34165
34166 for ac_header in X11/extensions/xf86vmode.h
34167 do
34168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34172 echo $ECHO_N "(cached) $ECHO_C" >&6
34173 else
34174 cat >conftest.$ac_ext <<_ACEOF
34175 /* confdefs.h. */
34176 _ACEOF
34177 cat confdefs.h >>conftest.$ac_ext
34178 cat >>conftest.$ac_ext <<_ACEOF
34179 /* end confdefs.h. */
34180
34181 #if HAVE_X11_XLIB_H
34182 #include <X11/Xlib.h>
34183 #endif
34184
34185
34186 #include <$ac_header>
34187 _ACEOF
34188 rm -f conftest.$ac_objext
34189 if { (ac_try="$ac_compile"
34190 case "(($ac_try" in
34191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34192 *) ac_try_echo=$ac_try;;
34193 esac
34194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34195 (eval "$ac_compile") 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } && {
34202 test -z "$ac_c_werror_flag" ||
34203 test ! -s conftest.err
34204 } && test -s conftest.$ac_objext; then
34205 eval "$as_ac_Header=yes"
34206 else
34207 echo "$as_me: failed program was:" >&5
34208 sed 's/^/| /' conftest.$ac_ext >&5
34209
34210 eval "$as_ac_Header=no"
34211 fi
34212
34213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34214 fi
34215 ac_res=`eval echo '${'$as_ac_Header'}'`
34216 { echo "$as_me:$LINENO: result: $ac_res" >&5
34217 echo "${ECHO_T}$ac_res" >&6; }
34218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34219 cat >>confdefs.h <<_ACEOF
34220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34221 _ACEOF
34222
34223 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34224
34225 fi
34226
34227 done
34228
34229 else
34230 { echo "$as_me:$LINENO: result: no" >&5
34231 echo "${ECHO_T}no" >&6; }
34232 fi
34233 fi
34234 fi
34235
34236 if test "$wxUSE_DETECT_SM" = "yes"; then
34237 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34238 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34239 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34240
34241 ac_find_libraries=
34242 for ac_dir in $SEARCH_LIB;
34243 do
34244 for ac_extension in a so sl dylib dll.a; do
34245 if test -f "$ac_dir/libSM.$ac_extension"; then
34246 ac_find_libraries=$ac_dir
34247 break 2
34248 fi
34249 done
34250 done
34251
34252 if test "$ac_find_libraries" != "" ; then
34253
34254 if test "$ac_find_libraries" = "default location"; then
34255 ac_path_to_link=""
34256 else
34257 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34258 result=$?
34259 if test $result = 0; then
34260 ac_path_to_link=""
34261 else
34262 ac_path_to_link=" -L$ac_find_libraries"
34263 fi
34264 fi
34265
34266 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34267 LDFLAGS="$LDFLAGS $ac_path_to_link"
34268 fi
34269 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34270 { echo "$as_me:$LINENO: result: yes" >&5
34271 echo "${ECHO_T}yes" >&6; }
34272 else
34273 { echo "$as_me:$LINENO: result: no" >&5
34274 echo "${ECHO_T}no" >&6; }
34275 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34276 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34277 wxUSE_DETECT_SM="no"
34278 fi
34279 else
34280 wxUSE_DETECT_SM="no"
34281 fi
34282 fi
34283
34284
34285
34286 USE_OPENGL=0
34287 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34288
34289
34290 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34291 OPENGL_LIBS="-framework OpenGL -framework AGL"
34292 elif test "$wxUSE_MSW" = 1; then
34293 OPENGL_LIBS="-lopengl32 -lglu32"
34294 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34295
34296 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34297 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34298
34299 ac_find_includes=
34300 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34301 do
34302 if test -f "$ac_dir/GL/gl.h"; then
34303 ac_find_includes=$ac_dir
34304 break
34305 fi
34306 done
34307
34308 if test "$ac_find_includes" != "" ; then
34309 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34310 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34311
34312 if test "x$ac_find_includes" = "x/usr/include"; then
34313 ac_path_to_include=""
34314 else
34315 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34316 result=$?
34317 if test $result = 0; then
34318 ac_path_to_include=""
34319 else
34320 ac_path_to_include=" -I$ac_find_includes"
34321 fi
34322 fi
34323
34324 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34325 else
34326 { echo "$as_me:$LINENO: result: not found" >&5
34327 echo "${ECHO_T}not found" >&6; }
34328 fi
34329
34330 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34331 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34332 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34333 echo $ECHO_N "(cached) $ECHO_C" >&6
34334 else
34335 cat >conftest.$ac_ext <<_ACEOF
34336 /* confdefs.h. */
34337 _ACEOF
34338 cat confdefs.h >>conftest.$ac_ext
34339 cat >>conftest.$ac_ext <<_ACEOF
34340 /* end confdefs.h. */
34341
34342
34343 #include <GL/gl.h>
34344 _ACEOF
34345 rm -f conftest.$ac_objext
34346 if { (ac_try="$ac_compile"
34347 case "(($ac_try" in
34348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34349 *) ac_try_echo=$ac_try;;
34350 esac
34351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34352 (eval "$ac_compile") 2>conftest.er1
34353 ac_status=$?
34354 grep -v '^ *+' conftest.er1 >conftest.err
34355 rm -f conftest.er1
34356 cat conftest.err >&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); } && {
34359 test -z "$ac_c_werror_flag" ||
34360 test ! -s conftest.err
34361 } && test -s conftest.$ac_objext; then
34362 ac_cv_header_GL_gl_h=yes
34363 else
34364 echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.$ac_ext >&5
34366
34367 ac_cv_header_GL_gl_h=no
34368 fi
34369
34370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34371 fi
34372 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34373 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34374 if test $ac_cv_header_GL_gl_h = yes; then
34375
34376 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34377 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34378 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34379 echo $ECHO_N "(cached) $ECHO_C" >&6
34380 else
34381 cat >conftest.$ac_ext <<_ACEOF
34382 /* confdefs.h. */
34383 _ACEOF
34384 cat confdefs.h >>conftest.$ac_ext
34385 cat >>conftest.$ac_ext <<_ACEOF
34386 /* end confdefs.h. */
34387
34388
34389 #include <GL/glu.h>
34390 _ACEOF
34391 rm -f conftest.$ac_objext
34392 if { (ac_try="$ac_compile"
34393 case "(($ac_try" in
34394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34395 *) ac_try_echo=$ac_try;;
34396 esac
34397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34398 (eval "$ac_compile") 2>conftest.er1
34399 ac_status=$?
34400 grep -v '^ *+' conftest.er1 >conftest.err
34401 rm -f conftest.er1
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } && {
34405 test -z "$ac_c_werror_flag" ||
34406 test ! -s conftest.err
34407 } && test -s conftest.$ac_objext; then
34408 ac_cv_header_GL_glu_h=yes
34409 else
34410 echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34412
34413 ac_cv_header_GL_glu_h=no
34414 fi
34415
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417 fi
34418 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34419 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34420 if test $ac_cv_header_GL_glu_h = yes; then
34421
34422 found_gl=0
34423
34424 { echo "$as_me:$LINENO: checking for -lGL" >&5
34425 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34426
34427 ac_find_libraries=
34428 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34429 do
34430 for ac_extension in a so sl dylib dll.a; do
34431 if test -f "$ac_dir/libGL.$ac_extension"; then
34432 ac_find_libraries=$ac_dir
34433 break 2
34434 fi
34435 done
34436 done
34437
34438 if test "$ac_find_libraries" != "" ; then
34439 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34440 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34441
34442
34443 if test "$ac_find_libraries" = "default location"; then
34444 ac_path_to_link=""
34445 else
34446 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34447 result=$?
34448 if test $result = 0; then
34449 ac_path_to_link=""
34450 else
34451 ac_path_to_link=" -L$ac_find_libraries"
34452 fi
34453 fi
34454
34455 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34456 LDFLAGS_GL="$ac_path_to_link"
34457 fi
34458
34459 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34460 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34461
34462 ac_find_libraries=
34463 for ac_dir in $SEARCH_LIB;
34464 do
34465 for ac_extension in a so sl dylib dll.a; do
34466 if test -f "$ac_dir/libGLU.$ac_extension"; then
34467 ac_find_libraries=$ac_dir
34468 break 2
34469 fi
34470 done
34471 done
34472
34473 if test "$ac_find_libraries" != "" ; then
34474
34475 if test "$ac_find_libraries" = "default location"; then
34476 ac_path_to_link=""
34477 else
34478 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34479 result=$?
34480 if test $result = 0; then
34481 ac_path_to_link=""
34482 else
34483 ac_path_to_link=" -L$ac_find_libraries"
34484 fi
34485 fi
34486
34487 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34488 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34489 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34490 fi
34491
34492 found_gl=1
34493 OPENGL_LIBS="-lGL -lGLU"
34494 { echo "$as_me:$LINENO: result: yes" >&5
34495 echo "${ECHO_T}yes" >&6; }
34496 else
34497 { echo "$as_me:$LINENO: result: no" >&5
34498 echo "${ECHO_T}no" >&6; }
34499 fi
34500 else
34501 { echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6; }
34503 fi
34504
34505 if test "$found_gl" != 1; then
34506 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34507 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34508
34509 ac_find_libraries=
34510 for ac_dir in $SEARCH_LIB;
34511 do
34512 for ac_extension in a so sl dylib dll.a; do
34513 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34514 ac_find_libraries=$ac_dir
34515 break 2
34516 fi
34517 done
34518 done
34519
34520 if test "$ac_find_libraries" != "" ; then
34521
34522 if test "$ac_find_libraries" = "default location"; then
34523 ac_path_to_link=""
34524 else
34525 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34526 result=$?
34527 if test $result = 0; then
34528 ac_path_to_link=""
34529 else
34530 ac_path_to_link=" -L$ac_find_libraries"
34531 fi
34532 fi
34533
34534 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34535 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34536 { echo "$as_me:$LINENO: result: yes" >&5
34537 echo "${ECHO_T}yes" >&6; }
34538 else
34539 { echo "$as_me:$LINENO: result: no" >&5
34540 echo "${ECHO_T}no" >&6; }
34541 fi
34542 fi
34543
34544 fi
34545
34546
34547
34548 fi
34549
34550
34551
34552 if test "x$OPENGL_LIBS" = "x"; then
34553 if test "$wxUSE_OPENGL" = "yes"; then
34554 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34555 echo "$as_me: error: OpenGL libraries not available" >&2;}
34556 { (exit 1); exit 1; }; }
34557 else
34558 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34559 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34560 wxUSE_OPENGL=no
34561 USE_OPENGL=0
34562 fi
34563 fi
34564 else
34565 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34566 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34567 wxUSE_OPENGL="no"
34568 fi
34569
34570 if test "$wxUSE_OPENGL" = "auto"; then
34571 wxUSE_OPENGL=yes
34572 fi
34573
34574 if test "$wxUSE_OPENGL" = "yes"; then
34575 USE_OPENGL=1
34576 cat >>confdefs.h <<\_ACEOF
34577 #define wxUSE_OPENGL 1
34578 _ACEOF
34579
34580 cat >>confdefs.h <<\_ACEOF
34581 #define wxUSE_GLCANVAS 1
34582 _ACEOF
34583
34584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34585 fi
34586 fi
34587
34588
34589 if test -n "$TOOLKIT" ; then
34590 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34591 fi
34592
34593
34594
34595 if test "$wxUSE_SHARED" = "yes"; then
34596 case "${host}" in
34597 *-pc-msdosdjgpp )
34598 wxUSE_SHARED=no
34599 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34600 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34601 ;;
34602 esac
34603 fi
34604
34605 if test "$wxUSE_SHARED" = "yes"; then
34606
34607
34608 case "${host}" in
34609 *-*-cygwin* | *-*-mingw* )
34610 wx_cv_version_script=no
34611 ;;
34612
34613 *)
34614 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34615 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34616 if test "${wx_cv_version_script+set}" = set; then
34617 echo $ECHO_N "(cached) $ECHO_C" >&6
34618 else
34619
34620 echo "VER_1 { *; };" >conftest.sym
34621 echo "int main() { return 0; }" >conftest.cpp
34622
34623 if { ac_try='
34624 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34625 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34627 (eval $ac_try) 2>&5
34628 ac_status=$?
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); }; } ; then
34631 if test -s conftest.stderr ; then
34632 wx_cv_version_script=no
34633 else
34634 wx_cv_version_script=yes
34635 fi
34636 else
34637 wx_cv_version_script=no
34638 fi
34639
34640 if test $wx_cv_version_script = yes
34641 then
34642 echo "struct B { virtual ~B() { } }; \
34643 struct D : public B { }; \
34644 void F() { D d; }" > conftest.cpp
34645
34646 if { ac_try='
34647 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34648 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34650 (eval $ac_try) 2>&5
34651 ac_status=$?
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); }; } &&
34654 { ac_try='
34655 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34656 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34658 (eval $ac_try) 2>&5
34659 ac_status=$?
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); }; }
34662 then
34663 if { ac_try='
34664 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34665 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34667 (eval $ac_try) 2>&5
34668 ac_status=$?
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); }; }
34671 then
34672 wx_cv_version_script=yes
34673 else
34674 wx_cv_version_script=no
34675 fi
34676 fi
34677 fi
34678
34679 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34680 rm -f conftest1.output conftest2.output conftest3.output
34681
34682 fi
34683 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34684 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34685
34686 if test $wx_cv_version_script = yes ; then
34687 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34688 fi
34689 ;;
34690 esac
34691
34692
34693 if test "$wxUSE_VISIBILITY" != "no"; then
34694
34695
34696 if test -n "$GCC"; then
34697 CFLAGS_VISIBILITY="-fvisibility=hidden"
34698 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34699 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34700 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34701 if test "${wx_cv_cc_visibility+set}" = set; then
34702 echo $ECHO_N "(cached) $ECHO_C" >&6
34703 else
34704
34705 wx_save_CXXFLAGS="$CXXFLAGS"
34706 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34707 ac_ext=cpp
34708 ac_cpp='$CXXCPP $CPPFLAGS'
34709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34712
34713 cat >conftest.$ac_ext <<_ACEOF
34714 /* confdefs.h. */
34715 _ACEOF
34716 cat confdefs.h >>conftest.$ac_ext
34717 cat >>conftest.$ac_ext <<_ACEOF
34718 /* end confdefs.h. */
34719
34720 /* we need gcc >= 4.0, older versions with visibility support
34721 didn't have class visibility: */
34722 #if defined(__GNUC__) && __GNUC__ < 4
34723 error this gcc is too old;
34724 #endif
34725
34726 /* visibility only makes sense for ELF shared libs: */
34727 #if !defined(__ELF__) && !defined(__APPLE__)
34728 error this platform has no visibility;
34729 #endif
34730
34731 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34732 extern __attribute__((__visibility__("default"))) int exportedvar;
34733 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34734 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34735 class __attribute__((__visibility__("default"))) Foo {
34736 Foo() {}
34737 };
34738
34739 int
34740 main ()
34741 {
34742
34743 ;
34744 return 0;
34745 }
34746 _ACEOF
34747 rm -f conftest.$ac_objext
34748 if { (ac_try="$ac_compile"
34749 case "(($ac_try" in
34750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34751 *) ac_try_echo=$ac_try;;
34752 esac
34753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34754 (eval "$ac_compile") 2>conftest.er1
34755 ac_status=$?
34756 grep -v '^ *+' conftest.er1 >conftest.err
34757 rm -f conftest.er1
34758 cat conftest.err >&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } && {
34761 test -z "$ac_cxx_werror_flag" ||
34762 test ! -s conftest.err
34763 } && test -s conftest.$ac_objext; then
34764 wx_cv_cc_visibility=yes
34765 else
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.$ac_ext >&5
34768
34769 wx_cv_cc_visibility=no
34770 fi
34771
34772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34773 ac_ext=c
34774 ac_cpp='$CPP $CPPFLAGS'
34775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34778
34779 CXXFLAGS="$wx_save_CXXFLAGS"
34780 fi
34781
34782 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34783 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34784 if test $wx_cv_cc_visibility = yes; then
34785 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34786 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34787 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34788 echo $ECHO_N "(cached) $ECHO_C" >&6
34789 else
34790
34791 wx_save_CXXFLAGS="$CXXFLAGS"
34792 wx_save_LDFLAGS="$LDFLAGS"
34793 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34794 LDFLAGS="$LDFLAGS -shared -fPIC"
34795 ac_ext=cpp
34796 ac_cpp='$CXXCPP $CPPFLAGS'
34797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34800
34801 cat >conftest.$ac_ext <<_ACEOF
34802 /* confdefs.h. */
34803 _ACEOF
34804 cat confdefs.h >>conftest.$ac_ext
34805 cat >>conftest.$ac_ext <<_ACEOF
34806 /* end confdefs.h. */
34807
34808 #include <string>
34809
34810 int
34811 main ()
34812 {
34813
34814 std::string s("hello");
34815 return s.length();
34816
34817 ;
34818 return 0;
34819 }
34820 _ACEOF
34821 rm -f conftest.$ac_objext conftest$ac_exeext
34822 if { (ac_try="$ac_link"
34823 case "(($ac_try" in
34824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34825 *) ac_try_echo=$ac_try;;
34826 esac
34827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34828 (eval "$ac_link") 2>conftest.er1
34829 ac_status=$?
34830 grep -v '^ *+' conftest.er1 >conftest.err
34831 rm -f conftest.er1
34832 cat conftest.err >&5
34833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34834 (exit $ac_status); } && {
34835 test -z "$ac_cxx_werror_flag" ||
34836 test ! -s conftest.err
34837 } && test -s conftest$ac_exeext &&
34838 $as_test_x conftest$ac_exeext; then
34839 wx_cv_cc_broken_libstdcxx_visibility=no
34840 else
34841 echo "$as_me: failed program was:" >&5
34842 sed 's/^/| /' conftest.$ac_ext >&5
34843
34844 wx_cv_cc_broken_libstdcxx_visibility=yes
34845 fi
34846
34847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34848 conftest$ac_exeext conftest.$ac_ext
34849 ac_ext=c
34850 ac_cpp='$CPP $CPPFLAGS'
34851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34854
34855 CXXFLAGS="$wx_save_CXXFLAGS"
34856 LDFLAGS="$wx_save_LDFLAGS"
34857 fi
34858
34859 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34860 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34861
34862 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34863 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34864 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34865 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34867 else
34868
34869 ac_ext=cpp
34870 ac_cpp='$CXXCPP $CPPFLAGS'
34871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34874
34875 cat >conftest.$ac_ext <<_ACEOF
34876 /* confdefs.h. */
34877 _ACEOF
34878 cat confdefs.h >>conftest.$ac_ext
34879 cat >>conftest.$ac_ext <<_ACEOF
34880 /* end confdefs.h. */
34881
34882 #pragma GCC visibility push(default)
34883 #include <string>
34884 #pragma GCC visibility pop
34885
34886 int
34887 main ()
34888 {
34889
34890 std::string s("hello");
34891 return s.length();
34892
34893 ;
34894 return 0;
34895 }
34896 _ACEOF
34897 rm -f conftest.$ac_objext conftest$ac_exeext
34898 if { (ac_try="$ac_link"
34899 case "(($ac_try" in
34900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34901 *) ac_try_echo=$ac_try;;
34902 esac
34903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34904 (eval "$ac_link") 2>conftest.er1
34905 ac_status=$?
34906 grep -v '^ *+' conftest.er1 >conftest.err
34907 rm -f conftest.er1
34908 cat conftest.err >&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); } && {
34911 test -z "$ac_cxx_werror_flag" ||
34912 test ! -s conftest.err
34913 } && test -s conftest$ac_exeext &&
34914 $as_test_x conftest$ac_exeext; then
34915 wx_cv_cc_visibility_workaround=no
34916 else
34917 echo "$as_me: failed program was:" >&5
34918 sed 's/^/| /' conftest.$ac_ext >&5
34919
34920 wx_cv_cc_visibility_workaround=yes
34921 fi
34922
34923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34924 conftest$ac_exeext conftest.$ac_ext
34925 ac_ext=c
34926 ac_cpp='$CPP $CPPFLAGS'
34927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34930
34931
34932 fi
34933
34934 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34935 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34936
34937 if test $wx_cv_cc_visibility_workaround = no; then
34938 wx_cv_cc_visibility=no
34939 fi
34940 fi
34941 fi
34942
34943 if test $wx_cv_cc_visibility = yes; then
34944 cat >>confdefs.h <<\_ACEOF
34945 #define HAVE_VISIBILITY 1
34946 _ACEOF
34947
34948 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34949 cat >>confdefs.h <<\_ACEOF
34950 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34951 _ACEOF
34952
34953 fi
34954 else
34955 CFLAGS_VISIBILITY=""
34956 CXXFLAGS_VISIBILITY=""
34957 fi
34958
34959
34960 fi
34961
34962 fi
34963
34964 if test "x$SUNCXX" = xyes; then
34965 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34966 WXCONFIG_RPATH="-R\$libdir"
34967 else
34968 case "${host}" in
34969 *-*-linux* | *-*-gnu* )
34970 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34971 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34972 ;;
34973
34974 *-*-solaris2* )
34975
34976 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34977
34978 saveLdflags="$LDFLAGS"
34979 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34980 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34981 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34982 cat >conftest.$ac_ext <<_ACEOF
34983 /* confdefs.h. */
34984 _ACEOF
34985 cat confdefs.h >>conftest.$ac_ext
34986 cat >>conftest.$ac_ext <<_ACEOF
34987 /* end confdefs.h. */
34988
34989 int
34990 main ()
34991 {
34992
34993 ;
34994 return 0;
34995 }
34996 _ACEOF
34997 rm -f conftest.$ac_objext conftest$ac_exeext
34998 if { (ac_try="$ac_link"
34999 case "(($ac_try" in
35000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35001 *) ac_try_echo=$ac_try;;
35002 esac
35003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35004 (eval "$ac_link") 2>conftest.er1
35005 ac_status=$?
35006 grep -v '^ *+' conftest.er1 >conftest.err
35007 rm -f conftest.er1
35008 cat conftest.err >&5
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); } && {
35011 test -z "$ac_c_werror_flag" ||
35012 test ! -s conftest.err
35013 } && test -s conftest$ac_exeext &&
35014 $as_test_x conftest$ac_exeext; then
35015
35016 { echo "$as_me:$LINENO: result: yes" >&5
35017 echo "${ECHO_T}yes" >&6; }
35018 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35019 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35020
35021 else
35022 echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.$ac_ext >&5
35024
35025
35026 { echo "$as_me:$LINENO: result: no" >&5
35027 echo "${ECHO_T}no" >&6; }
35028 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35029 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35030 LDFLAGS="$saveLdflags -Wl,-R,/"
35031 cat >conftest.$ac_ext <<_ACEOF
35032 /* confdefs.h. */
35033 _ACEOF
35034 cat confdefs.h >>conftest.$ac_ext
35035 cat >>conftest.$ac_ext <<_ACEOF
35036 /* end confdefs.h. */
35037
35038 int
35039 main ()
35040 {
35041
35042 ;
35043 return 0;
35044 }
35045 _ACEOF
35046 rm -f conftest.$ac_objext conftest$ac_exeext
35047 if { (ac_try="$ac_link"
35048 case "(($ac_try" in
35049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35050 *) ac_try_echo=$ac_try;;
35051 esac
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053 (eval "$ac_link") 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } && {
35060 test -z "$ac_c_werror_flag" ||
35061 test ! -s conftest.err
35062 } && test -s conftest$ac_exeext &&
35063 $as_test_x conftest$ac_exeext; then
35064
35065 { echo "$as_me:$LINENO: result: yes" >&5
35066 echo "${ECHO_T}yes" >&6; }
35067 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35068 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35069
35070 else
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.$ac_ext >&5
35073
35074
35075 { echo "$as_me:$LINENO: result: no" >&5
35076 echo "${ECHO_T}no" >&6; }
35077
35078 fi
35079
35080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35081 conftest$ac_exeext conftest.$ac_ext
35082
35083 fi
35084
35085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35086 conftest$ac_exeext conftest.$ac_ext
35087 LDFLAGS="$saveLdflags"
35088 ;;
35089
35090 *-*-darwin* )
35091 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35092 if test "$install_name_tool" -a -x "$install_name_tool"; then
35093 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35094 cat <<EOF >change-install-names
35095 #!/bin/sh
35096 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35097 for i in \${libnames} ; do
35098 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35099 for dep in \${libnames} ; do
35100 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35101 done
35102 done
35103 EOF
35104 chmod +x change-install-names
35105 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35106 fi
35107
35108 HEADER_PAD_OPTION="-headerpad_max_install_names"
35109 ;;
35110
35111 *-*-cygwin* | *-*-mingw32* )
35112 ;;
35113
35114 *-*-hpux* )
35115 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35116 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35117 ;;
35118
35119 esac
35120 fi
35121
35122 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35123
35124 if test $wxUSE_RPATH = "no"; then
35125 SAMPLES_RPATH_FLAG=''
35126 DYLIB_PATH_POSTLINK=''
35127 WXCONFIG_RPATH=''
35128 fi
35129
35130 SHARED=1
35131
35132 else
35133
35134 config_linkage_component="-static"
35135 SHARED=0
35136
35137 fi
35138
35139
35140 UNICODE=0
35141 lib_unicode_suffix=
35142 WX_CHARTYPE="ansi"
35143 if test "$wxUSE_UNICODE" = "yes"; then
35144 lib_unicode_suffix=u
35145 WX_CHARTYPE="unicode"
35146 UNICODE=1
35147 fi
35148
35149 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35150 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35151
35152 DEBUG_INFO=0
35153 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35154 DEBUG_INFO=1
35155 fi
35156
35157 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35158
35159 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35160
35161 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35162
35163
35164 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35165 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35166 else
35167 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35168 fi
35169 if test "${TOOLKIT_DIR}" = "os2"; then
35170 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35171 else
35172 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35173 fi
35174
35175
35176
35177 if test "$wxUSE_OLD_COCOA" = 1; then
35178
35179 ac_ext=c
35180 ac_cpp='$CPP $CPPFLAGS'
35181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35184
35185 ac_ext=m
35186
35187 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35188 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35189 cat >conftest.$ac_ext <<_ACEOF
35190 /* confdefs.h. */
35191 _ACEOF
35192 cat confdefs.h >>conftest.$ac_ext
35193 cat >>conftest.$ac_ext <<_ACEOF
35194 /* end confdefs.h. */
35195 #include <AppKit/NSEvent.h>
35196 #include <CoreFoundation/CoreFoundation.h>
35197
35198 int
35199 main ()
35200 {
35201
35202 ;
35203 return 0;
35204 }
35205 _ACEOF
35206 rm -f conftest.$ac_objext
35207 if { (ac_try="$ac_compile"
35208 case "(($ac_try" in
35209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35210 *) ac_try_echo=$ac_try;;
35211 esac
35212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35213 (eval "$ac_compile") 2>conftest.er1
35214 ac_status=$?
35215 grep -v '^ *+' conftest.er1 >conftest.err
35216 rm -f conftest.er1
35217 cat conftest.err >&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); } && {
35220 test -z "$ac_c_werror_flag" ||
35221 test ! -s conftest.err
35222 } && test -s conftest.$ac_objext; then
35223 { echo "$as_me:$LINENO: result: no" >&5
35224 echo "${ECHO_T}no" >&6; }
35225 else
35226 echo "$as_me: failed program was:" >&5
35227 sed 's/^/| /' conftest.$ac_ext >&5
35228
35229 { echo "$as_me:$LINENO: result: yes" >&5
35230 echo "${ECHO_T}yes" >&6; }
35231 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35232 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35233 cat >conftest.$ac_ext <<_ACEOF
35234 /* confdefs.h. */
35235 _ACEOF
35236 cat confdefs.h >>conftest.$ac_ext
35237 cat >>conftest.$ac_ext <<_ACEOF
35238 /* end confdefs.h. */
35239 #define __Point__ 1
35240 #include <AppKit/NSEvent.h>
35241 #include <CoreFoundation/CoreFoundation.h>
35242
35243 int
35244 main ()
35245 {
35246
35247 ;
35248 return 0;
35249 }
35250 _ACEOF
35251 rm -f conftest.$ac_objext
35252 if { (ac_try="$ac_compile"
35253 case "(($ac_try" in
35254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35255 *) ac_try_echo=$ac_try;;
35256 esac
35257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35258 (eval "$ac_compile") 2>conftest.er1
35259 ac_status=$?
35260 grep -v '^ *+' conftest.er1 >conftest.err
35261 rm -f conftest.er1
35262 cat conftest.err >&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); } && {
35265 test -z "$ac_c_werror_flag" ||
35266 test ! -s conftest.err
35267 } && test -s conftest.$ac_objext; then
35268 { echo "$as_me:$LINENO: result: yes" >&5
35269 echo "${ECHO_T}yes" >&6; }
35270 cat >>confdefs.h <<\_ACEOF
35271 #define __Point__ 1
35272 _ACEOF
35273
35274
35275 else
35276 echo "$as_me: failed program was:" >&5
35277 sed 's/^/| /' conftest.$ac_ext >&5
35278
35279 { { echo "$as_me:$LINENO: error: no
35280 See \`config.log' for more details." >&5
35281 echo "$as_me: error: no
35282 See \`config.log' for more details." >&2;}
35283 { (exit 1); exit 1; }; }
35284
35285 fi
35286
35287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35288
35289 fi
35290
35291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35292 ac_ext=c
35293 ac_cpp='$CPP $CPPFLAGS'
35294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35297
35298 fi
35299
35300
35301 { echo "$as_me:$LINENO: checking for mode_t" >&5
35302 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35303 if test "${ac_cv_type_mode_t+set}" = set; then
35304 echo $ECHO_N "(cached) $ECHO_C" >&6
35305 else
35306 cat >conftest.$ac_ext <<_ACEOF
35307 /* confdefs.h. */
35308 _ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35312 $ac_includes_default
35313 typedef mode_t ac__type_new_;
35314 int
35315 main ()
35316 {
35317 if ((ac__type_new_ *) 0)
35318 return 0;
35319 if (sizeof (ac__type_new_))
35320 return 0;
35321 ;
35322 return 0;
35323 }
35324 _ACEOF
35325 rm -f conftest.$ac_objext
35326 if { (ac_try="$ac_compile"
35327 case "(($ac_try" in
35328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35329 *) ac_try_echo=$ac_try;;
35330 esac
35331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35332 (eval "$ac_compile") 2>conftest.er1
35333 ac_status=$?
35334 grep -v '^ *+' conftest.er1 >conftest.err
35335 rm -f conftest.er1
35336 cat conftest.err >&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); } && {
35339 test -z "$ac_c_werror_flag" ||
35340 test ! -s conftest.err
35341 } && test -s conftest.$ac_objext; then
35342 ac_cv_type_mode_t=yes
35343 else
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.$ac_ext >&5
35346
35347 ac_cv_type_mode_t=no
35348 fi
35349
35350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35351 fi
35352 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35353 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35354 if test $ac_cv_type_mode_t = yes; then
35355 :
35356 else
35357
35358 cat >>confdefs.h <<_ACEOF
35359 #define mode_t int
35360 _ACEOF
35361
35362 fi
35363
35364 { echo "$as_me:$LINENO: checking for off_t" >&5
35365 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35366 if test "${ac_cv_type_off_t+set}" = set; then
35367 echo $ECHO_N "(cached) $ECHO_C" >&6
35368 else
35369 cat >conftest.$ac_ext <<_ACEOF
35370 /* confdefs.h. */
35371 _ACEOF
35372 cat confdefs.h >>conftest.$ac_ext
35373 cat >>conftest.$ac_ext <<_ACEOF
35374 /* end confdefs.h. */
35375 $ac_includes_default
35376 typedef off_t ac__type_new_;
35377 int
35378 main ()
35379 {
35380 if ((ac__type_new_ *) 0)
35381 return 0;
35382 if (sizeof (ac__type_new_))
35383 return 0;
35384 ;
35385 return 0;
35386 }
35387 _ACEOF
35388 rm -f conftest.$ac_objext
35389 if { (ac_try="$ac_compile"
35390 case "(($ac_try" in
35391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35392 *) ac_try_echo=$ac_try;;
35393 esac
35394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35395 (eval "$ac_compile") 2>conftest.er1
35396 ac_status=$?
35397 grep -v '^ *+' conftest.er1 >conftest.err
35398 rm -f conftest.er1
35399 cat conftest.err >&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } && {
35402 test -z "$ac_c_werror_flag" ||
35403 test ! -s conftest.err
35404 } && test -s conftest.$ac_objext; then
35405 ac_cv_type_off_t=yes
35406 else
35407 echo "$as_me: failed program was:" >&5
35408 sed 's/^/| /' conftest.$ac_ext >&5
35409
35410 ac_cv_type_off_t=no
35411 fi
35412
35413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35414 fi
35415 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35416 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35417 if test $ac_cv_type_off_t = yes; then
35418 :
35419 else
35420
35421 cat >>confdefs.h <<_ACEOF
35422 #define off_t long int
35423 _ACEOF
35424
35425 fi
35426
35427 { echo "$as_me:$LINENO: checking for pid_t" >&5
35428 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35429 if test "${ac_cv_type_pid_t+set}" = set; then
35430 echo $ECHO_N "(cached) $ECHO_C" >&6
35431 else
35432 cat >conftest.$ac_ext <<_ACEOF
35433 /* confdefs.h. */
35434 _ACEOF
35435 cat confdefs.h >>conftest.$ac_ext
35436 cat >>conftest.$ac_ext <<_ACEOF
35437 /* end confdefs.h. */
35438 $ac_includes_default
35439 typedef pid_t ac__type_new_;
35440 int
35441 main ()
35442 {
35443 if ((ac__type_new_ *) 0)
35444 return 0;
35445 if (sizeof (ac__type_new_))
35446 return 0;
35447 ;
35448 return 0;
35449 }
35450 _ACEOF
35451 rm -f conftest.$ac_objext
35452 if { (ac_try="$ac_compile"
35453 case "(($ac_try" in
35454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35455 *) ac_try_echo=$ac_try;;
35456 esac
35457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35458 (eval "$ac_compile") 2>conftest.er1
35459 ac_status=$?
35460 grep -v '^ *+' conftest.er1 >conftest.err
35461 rm -f conftest.er1
35462 cat conftest.err >&5
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); } && {
35465 test -z "$ac_c_werror_flag" ||
35466 test ! -s conftest.err
35467 } && test -s conftest.$ac_objext; then
35468 ac_cv_type_pid_t=yes
35469 else
35470 echo "$as_me: failed program was:" >&5
35471 sed 's/^/| /' conftest.$ac_ext >&5
35472
35473 ac_cv_type_pid_t=no
35474 fi
35475
35476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35477 fi
35478 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35479 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35480 if test $ac_cv_type_pid_t = yes; then
35481 :
35482 else
35483
35484 cat >>confdefs.h <<_ACEOF
35485 #define pid_t int
35486 _ACEOF
35487
35488 fi
35489
35490 { echo "$as_me:$LINENO: checking for size_t" >&5
35491 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35492 if test "${ac_cv_type_size_t+set}" = set; then
35493 echo $ECHO_N "(cached) $ECHO_C" >&6
35494 else
35495 cat >conftest.$ac_ext <<_ACEOF
35496 /* confdefs.h. */
35497 _ACEOF
35498 cat confdefs.h >>conftest.$ac_ext
35499 cat >>conftest.$ac_ext <<_ACEOF
35500 /* end confdefs.h. */
35501 $ac_includes_default
35502 typedef size_t ac__type_new_;
35503 int
35504 main ()
35505 {
35506 if ((ac__type_new_ *) 0)
35507 return 0;
35508 if (sizeof (ac__type_new_))
35509 return 0;
35510 ;
35511 return 0;
35512 }
35513 _ACEOF
35514 rm -f conftest.$ac_objext
35515 if { (ac_try="$ac_compile"
35516 case "(($ac_try" in
35517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35518 *) ac_try_echo=$ac_try;;
35519 esac
35520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35521 (eval "$ac_compile") 2>conftest.er1
35522 ac_status=$?
35523 grep -v '^ *+' conftest.er1 >conftest.err
35524 rm -f conftest.er1
35525 cat conftest.err >&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } && {
35528 test -z "$ac_c_werror_flag" ||
35529 test ! -s conftest.err
35530 } && test -s conftest.$ac_objext; then
35531 ac_cv_type_size_t=yes
35532 else
35533 echo "$as_me: failed program was:" >&5
35534 sed 's/^/| /' conftest.$ac_ext >&5
35535
35536 ac_cv_type_size_t=no
35537 fi
35538
35539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35540 fi
35541 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35542 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35543 if test $ac_cv_type_size_t = yes; then
35544 :
35545 else
35546
35547 cat >>confdefs.h <<_ACEOF
35548 #define size_t unsigned int
35549 _ACEOF
35550
35551 fi
35552
35553
35554 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35555 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35556 if test "${ac_cv_type_ssize_t+set}" = set; then
35557 echo $ECHO_N "(cached) $ECHO_C" >&6
35558 else
35559 cat >conftest.$ac_ext <<_ACEOF
35560 /* confdefs.h. */
35561 _ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35565 $ac_includes_default
35566 typedef ssize_t ac__type_new_;
35567 int
35568 main ()
35569 {
35570 if ((ac__type_new_ *) 0)
35571 return 0;
35572 if (sizeof (ac__type_new_))
35573 return 0;
35574 ;
35575 return 0;
35576 }
35577 _ACEOF
35578 rm -f conftest.$ac_objext
35579 if { (ac_try="$ac_compile"
35580 case "(($ac_try" in
35581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35582 *) ac_try_echo=$ac_try;;
35583 esac
35584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35585 (eval "$ac_compile") 2>conftest.er1
35586 ac_status=$?
35587 grep -v '^ *+' conftest.er1 >conftest.err
35588 rm -f conftest.er1
35589 cat conftest.err >&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } && {
35592 test -z "$ac_c_werror_flag" ||
35593 test ! -s conftest.err
35594 } && test -s conftest.$ac_objext; then
35595 ac_cv_type_ssize_t=yes
35596 else
35597 echo "$as_me: failed program was:" >&5
35598 sed 's/^/| /' conftest.$ac_ext >&5
35599
35600 ac_cv_type_ssize_t=no
35601 fi
35602
35603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35604 fi
35605 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35606 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35607 if test $ac_cv_type_ssize_t = yes; then
35608
35609 cat >>confdefs.h <<_ACEOF
35610 #define HAVE_SSIZE_T 1
35611 _ACEOF
35612
35613
35614 fi
35615
35616
35617 ac_ext=cpp
35618 ac_cpp='$CXXCPP $CPPFLAGS'
35619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35622 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35623 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35624 if test "${wx_cv_size_t_is_uint+set}" = set; then
35625 echo $ECHO_N "(cached) $ECHO_C" >&6
35626 else
35627
35628 cat >conftest.$ac_ext <<_ACEOF
35629 /* confdefs.h. */
35630 _ACEOF
35631 cat confdefs.h >>conftest.$ac_ext
35632 cat >>conftest.$ac_ext <<_ACEOF
35633 /* end confdefs.h. */
35634 #include <stddef.h>
35635 int
35636 main ()
35637 {
35638
35639 return 0; }
35640
35641 struct Foo { void foo(size_t); void foo(unsigned int); };
35642
35643 int bar() {
35644
35645 ;
35646 return 0;
35647 }
35648 _ACEOF
35649 rm -f conftest.$ac_objext
35650 if { (ac_try="$ac_compile"
35651 case "(($ac_try" in
35652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35653 *) ac_try_echo=$ac_try;;
35654 esac
35655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35656 (eval "$ac_compile") 2>conftest.er1
35657 ac_status=$?
35658 grep -v '^ *+' conftest.er1 >conftest.err
35659 rm -f conftest.er1
35660 cat conftest.err >&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } && {
35663 test -z "$ac_cxx_werror_flag" ||
35664 test ! -s conftest.err
35665 } && test -s conftest.$ac_objext; then
35666 wx_cv_size_t_is_uint=no
35667 else
35668 echo "$as_me: failed program was:" >&5
35669 sed 's/^/| /' conftest.$ac_ext >&5
35670
35671 wx_cv_size_t_is_uint=yes
35672
35673 fi
35674
35675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35676
35677
35678 fi
35679 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35680 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35681
35682 if test "$wx_cv_size_t_is_uint" = "yes"; then
35683 cat >>confdefs.h <<\_ACEOF
35684 #define wxSIZE_T_IS_UINT 1
35685 _ACEOF
35686
35687 else
35688 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35689 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35690 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 else
35693 cat >conftest.$ac_ext <<_ACEOF
35694 /* confdefs.h. */
35695 _ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699 #include <stddef.h>
35700 int
35701 main ()
35702 {
35703
35704 return 0; }
35705
35706 struct Foo { void foo(size_t); void foo(unsigned long); };
35707
35708 int bar() {
35709
35710 ;
35711 return 0;
35712 }
35713 _ACEOF
35714 rm -f conftest.$ac_objext
35715 if { (ac_try="$ac_compile"
35716 case "(($ac_try" in
35717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35718 *) ac_try_echo=$ac_try;;
35719 esac
35720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35721 (eval "$ac_compile") 2>conftest.er1
35722 ac_status=$?
35723 grep -v '^ *+' conftest.er1 >conftest.err
35724 rm -f conftest.er1
35725 cat conftest.err >&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); } && {
35728 test -z "$ac_cxx_werror_flag" ||
35729 test ! -s conftest.err
35730 } && test -s conftest.$ac_objext; then
35731 wx_cv_size_t_is_ulong=no
35732 else
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.$ac_ext >&5
35735
35736 wx_cv_size_t_is_ulong=yes
35737
35738 fi
35739
35740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35741
35742 fi
35743 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35744 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35745
35746 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35747 cat >>confdefs.h <<\_ACEOF
35748 #define wxSIZE_T_IS_ULONG 1
35749 _ACEOF
35750
35751 fi
35752 fi
35753
35754 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35755 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35756 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 else
35759 cat >conftest.$ac_ext <<_ACEOF
35760 /* confdefs.h. */
35761 _ACEOF
35762 cat confdefs.h >>conftest.$ac_ext
35763 cat >>conftest.$ac_ext <<_ACEOF
35764 /* end confdefs.h. */
35765 #include <wchar.h>
35766 int
35767 main ()
35768 {
35769
35770 return 0; }
35771
35772 struct Foo { void foo(wchar_t);
35773 void foo(unsigned short);
35774 void foo(unsigned int);
35775 void foo(unsigned long); };
35776
35777 int bar() {
35778
35779 ;
35780 return 0;
35781 }
35782 _ACEOF
35783 rm -f conftest.$ac_objext
35784 if { (ac_try="$ac_compile"
35785 case "(($ac_try" in
35786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35787 *) ac_try_echo=$ac_try;;
35788 esac
35789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35790 (eval "$ac_compile") 2>conftest.er1
35791 ac_status=$?
35792 grep -v '^ *+' conftest.er1 >conftest.err
35793 rm -f conftest.er1
35794 cat conftest.err >&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } && {
35797 test -z "$ac_cxx_werror_flag" ||
35798 test ! -s conftest.err
35799 } && test -s conftest.$ac_objext; then
35800 wx_cv_wchar_t_is_separate_type=yes
35801 else
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35804
35805 wx_cv_wchar_t_is_separate_type=no
35806
35807 fi
35808
35809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35810
35811 fi
35812 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35813 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35814
35815 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35816 cat >>confdefs.h <<\_ACEOF
35817 #define wxWCHAR_T_IS_REAL_TYPE 1
35818 _ACEOF
35819
35820 else
35821 cat >>confdefs.h <<\_ACEOF
35822 #define wxWCHAR_T_IS_REAL_TYPE 0
35823 _ACEOF
35824
35825 fi
35826
35827 ac_ext=c
35828 ac_cpp='$CPP $CPPFLAGS'
35829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35832
35833
35834 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35835 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35836 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35838 else
35839
35840 cat >conftest.$ac_ext <<_ACEOF
35841 /* confdefs.h. */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 #include <pwd.h>
35847 int
35848 main ()
35849 {
35850
35851 char *p;
35852 struct passwd *pw;
35853 p = pw->pw_gecos;
35854
35855 ;
35856 return 0;
35857 }
35858 _ACEOF
35859 rm -f conftest.$ac_objext
35860 if { (ac_try="$ac_compile"
35861 case "(($ac_try" in
35862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35863 *) ac_try_echo=$ac_try;;
35864 esac
35865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35866 (eval "$ac_compile") 2>conftest.er1
35867 ac_status=$?
35868 grep -v '^ *+' conftest.er1 >conftest.err
35869 rm -f conftest.er1
35870 cat conftest.err >&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); } && {
35873 test -z "$ac_c_werror_flag" ||
35874 test ! -s conftest.err
35875 } && test -s conftest.$ac_objext; then
35876
35877 wx_cv_struct_pw_gecos=yes
35878
35879 else
35880 echo "$as_me: failed program was:" >&5
35881 sed 's/^/| /' conftest.$ac_ext >&5
35882
35883
35884 wx_cv_struct_pw_gecos=no
35885
35886
35887 fi
35888
35889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35890
35891
35892 fi
35893 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35894 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35895
35896 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35897 cat >>confdefs.h <<\_ACEOF
35898 #define HAVE_PW_GECOS 1
35899 _ACEOF
35900
35901 fi
35902
35903
35904 if test "$wxUSE_WCHAR_T" = "yes"; then
35905 cat >>confdefs.h <<\_ACEOF
35906 #define wxUSE_WCHAR_T 1
35907 _ACEOF
35908
35909
35910 WCSLEN_FOUND=0
35911 WCHAR_LINK=
35912
35913 for ac_func in wcslen
35914 do
35915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35920 else
35921 cat >conftest.$ac_ext <<_ACEOF
35922 /* confdefs.h. */
35923 _ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35929 #define $ac_func innocuous_$ac_func
35930
35931 /* System header to define __stub macros and hopefully few prototypes,
35932 which can conflict with char $ac_func (); below.
35933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35934 <limits.h> exists even on freestanding compilers. */
35935
35936 #ifdef __STDC__
35937 # include <limits.h>
35938 #else
35939 # include <assert.h>
35940 #endif
35941
35942 #undef $ac_func
35943
35944 /* Override any GCC internal prototype to avoid an error.
35945 Use char because int might match the return type of a GCC
35946 builtin and then its argument prototype would still apply. */
35947 #ifdef __cplusplus
35948 extern "C"
35949 #endif
35950 char $ac_func ();
35951 /* The GNU C library defines this for functions which it implements
35952 to always fail with ENOSYS. Some functions are actually named
35953 something starting with __ and the normal name is an alias. */
35954 #if defined __stub_$ac_func || defined __stub___$ac_func
35955 choke me
35956 #endif
35957
35958 int
35959 main ()
35960 {
35961 return $ac_func ();
35962 ;
35963 return 0;
35964 }
35965 _ACEOF
35966 rm -f conftest.$ac_objext conftest$ac_exeext
35967 if { (ac_try="$ac_link"
35968 case "(($ac_try" in
35969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35970 *) ac_try_echo=$ac_try;;
35971 esac
35972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35973 (eval "$ac_link") 2>conftest.er1
35974 ac_status=$?
35975 grep -v '^ *+' conftest.er1 >conftest.err
35976 rm -f conftest.er1
35977 cat conftest.err >&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } && {
35980 test -z "$ac_c_werror_flag" ||
35981 test ! -s conftest.err
35982 } && test -s conftest$ac_exeext &&
35983 $as_test_x conftest$ac_exeext; then
35984 eval "$as_ac_var=yes"
35985 else
35986 echo "$as_me: failed program was:" >&5
35987 sed 's/^/| /' conftest.$ac_ext >&5
35988
35989 eval "$as_ac_var=no"
35990 fi
35991
35992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35993 conftest$ac_exeext conftest.$ac_ext
35994 fi
35995 ac_res=`eval echo '${'$as_ac_var'}'`
35996 { echo "$as_me:$LINENO: result: $ac_res" >&5
35997 echo "${ECHO_T}$ac_res" >&6; }
35998 if test `eval echo '${'$as_ac_var'}'` = yes; then
35999 cat >>confdefs.h <<_ACEOF
36000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36001 _ACEOF
36002 WCSLEN_FOUND=1
36003 fi
36004 done
36005
36006
36007 if test "$WCSLEN_FOUND" = 0; then
36008 if test "$TOOLKIT" = "MSW"; then
36009 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36010 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36011 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36012 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 else
36014 ac_check_lib_save_LIBS=$LIBS
36015 LIBS="-lmsvcrt $LIBS"
36016 cat >conftest.$ac_ext <<_ACEOF
36017 /* confdefs.h. */
36018 _ACEOF
36019 cat confdefs.h >>conftest.$ac_ext
36020 cat >>conftest.$ac_ext <<_ACEOF
36021 /* end confdefs.h. */
36022
36023 /* Override any GCC internal prototype to avoid an error.
36024 Use char because int might match the return type of a GCC
36025 builtin and then its argument prototype would still apply. */
36026 #ifdef __cplusplus
36027 extern "C"
36028 #endif
36029 char wcslen ();
36030 int
36031 main ()
36032 {
36033 return wcslen ();
36034 ;
36035 return 0;
36036 }
36037 _ACEOF
36038 rm -f conftest.$ac_objext conftest$ac_exeext
36039 if { (ac_try="$ac_link"
36040 case "(($ac_try" in
36041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36042 *) ac_try_echo=$ac_try;;
36043 esac
36044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36045 (eval "$ac_link") 2>conftest.er1
36046 ac_status=$?
36047 grep -v '^ *+' conftest.er1 >conftest.err
36048 rm -f conftest.er1
36049 cat conftest.err >&5
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); } && {
36052 test -z "$ac_c_werror_flag" ||
36053 test ! -s conftest.err
36054 } && test -s conftest$ac_exeext &&
36055 $as_test_x conftest$ac_exeext; then
36056 ac_cv_lib_msvcrt_wcslen=yes
36057 else
36058 echo "$as_me: failed program was:" >&5
36059 sed 's/^/| /' conftest.$ac_ext >&5
36060
36061 ac_cv_lib_msvcrt_wcslen=no
36062 fi
36063
36064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36065 conftest$ac_exeext conftest.$ac_ext
36066 LIBS=$ac_check_lib_save_LIBS
36067 fi
36068 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36069 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36070 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36071 WCHAR_OK=1
36072 fi
36073
36074 else
36075 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36076 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36077 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36078 echo $ECHO_N "(cached) $ECHO_C" >&6
36079 else
36080 ac_check_lib_save_LIBS=$LIBS
36081 LIBS="-lw $LIBS"
36082 cat >conftest.$ac_ext <<_ACEOF
36083 /* confdefs.h. */
36084 _ACEOF
36085 cat confdefs.h >>conftest.$ac_ext
36086 cat >>conftest.$ac_ext <<_ACEOF
36087 /* end confdefs.h. */
36088
36089 /* Override any GCC internal prototype to avoid an error.
36090 Use char because int might match the return type of a GCC
36091 builtin and then its argument prototype would still apply. */
36092 #ifdef __cplusplus
36093 extern "C"
36094 #endif
36095 char wcslen ();
36096 int
36097 main ()
36098 {
36099 return wcslen ();
36100 ;
36101 return 0;
36102 }
36103 _ACEOF
36104 rm -f conftest.$ac_objext conftest$ac_exeext
36105 if { (ac_try="$ac_link"
36106 case "(($ac_try" in
36107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36108 *) ac_try_echo=$ac_try;;
36109 esac
36110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36111 (eval "$ac_link") 2>conftest.er1
36112 ac_status=$?
36113 grep -v '^ *+' conftest.er1 >conftest.err
36114 rm -f conftest.er1
36115 cat conftest.err >&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } && {
36118 test -z "$ac_c_werror_flag" ||
36119 test ! -s conftest.err
36120 } && test -s conftest$ac_exeext &&
36121 $as_test_x conftest$ac_exeext; then
36122 ac_cv_lib_w_wcslen=yes
36123 else
36124 echo "$as_me: failed program was:" >&5
36125 sed 's/^/| /' conftest.$ac_ext >&5
36126
36127 ac_cv_lib_w_wcslen=no
36128 fi
36129
36130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36131 conftest$ac_exeext conftest.$ac_ext
36132 LIBS=$ac_check_lib_save_LIBS
36133 fi
36134 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36135 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36136 if test $ac_cv_lib_w_wcslen = yes; then
36137
36138 WCHAR_LINK=" -lw"
36139 WCSLEN_FOUND=1
36140
36141 fi
36142
36143 fi
36144 fi
36145
36146 if test "$WCSLEN_FOUND" = 1; then
36147 cat >>confdefs.h <<\_ACEOF
36148 #define HAVE_WCSLEN 1
36149 _ACEOF
36150
36151 fi
36152
36153
36154
36155
36156
36157
36158 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36159 do
36160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36164 echo $ECHO_N "(cached) $ECHO_C" >&6
36165 else
36166 cat >conftest.$ac_ext <<_ACEOF
36167 /* confdefs.h. */
36168 _ACEOF
36169 cat confdefs.h >>conftest.$ac_ext
36170 cat >>conftest.$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36174 #define $ac_func innocuous_$ac_func
36175
36176 /* System header to define __stub macros and hopefully few prototypes,
36177 which can conflict with char $ac_func (); below.
36178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36179 <limits.h> exists even on freestanding compilers. */
36180
36181 #ifdef __STDC__
36182 # include <limits.h>
36183 #else
36184 # include <assert.h>
36185 #endif
36186
36187 #undef $ac_func
36188
36189 /* Override any GCC internal prototype to avoid an error.
36190 Use char because int might match the return type of a GCC
36191 builtin and then its argument prototype would still apply. */
36192 #ifdef __cplusplus
36193 extern "C"
36194 #endif
36195 char $ac_func ();
36196 /* The GNU C library defines this for functions which it implements
36197 to always fail with ENOSYS. Some functions are actually named
36198 something starting with __ and the normal name is an alias. */
36199 #if defined __stub_$ac_func || defined __stub___$ac_func
36200 choke me
36201 #endif
36202
36203 int
36204 main ()
36205 {
36206 return $ac_func ();
36207 ;
36208 return 0;
36209 }
36210 _ACEOF
36211 rm -f conftest.$ac_objext conftest$ac_exeext
36212 if { (ac_try="$ac_link"
36213 case "(($ac_try" in
36214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36215 *) ac_try_echo=$ac_try;;
36216 esac
36217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36218 (eval "$ac_link") 2>conftest.er1
36219 ac_status=$?
36220 grep -v '^ *+' conftest.er1 >conftest.err
36221 rm -f conftest.er1
36222 cat conftest.err >&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); } && {
36225 test -z "$ac_c_werror_flag" ||
36226 test ! -s conftest.err
36227 } && test -s conftest$ac_exeext &&
36228 $as_test_x conftest$ac_exeext; then
36229 eval "$as_ac_var=yes"
36230 else
36231 echo "$as_me: failed program was:" >&5
36232 sed 's/^/| /' conftest.$ac_ext >&5
36233
36234 eval "$as_ac_var=no"
36235 fi
36236
36237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36238 conftest$ac_exeext conftest.$ac_ext
36239 fi
36240 ac_res=`eval echo '${'$as_ac_var'}'`
36241 { echo "$as_me:$LINENO: result: $ac_res" >&5
36242 echo "${ECHO_T}$ac_res" >&6; }
36243 if test `eval echo '${'$as_ac_var'}'` = yes; then
36244 cat >>confdefs.h <<_ACEOF
36245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36246 _ACEOF
36247
36248 fi
36249 done
36250
36251
36252 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36253 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36254 fi
36255
36256 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36257 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36258 if test "${ac_cv_type_mbstate_t+set}" = set; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36260 else
36261 cat >conftest.$ac_ext <<_ACEOF
36262 /* confdefs.h. */
36263 _ACEOF
36264 cat confdefs.h >>conftest.$ac_ext
36265 cat >>conftest.$ac_ext <<_ACEOF
36266 /* end confdefs.h. */
36267 #include <wchar.h>
36268
36269 typedef mbstate_t ac__type_new_;
36270 int
36271 main ()
36272 {
36273 if ((ac__type_new_ *) 0)
36274 return 0;
36275 if (sizeof (ac__type_new_))
36276 return 0;
36277 ;
36278 return 0;
36279 }
36280 _ACEOF
36281 rm -f conftest.$ac_objext
36282 if { (ac_try="$ac_compile"
36283 case "(($ac_try" in
36284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36285 *) ac_try_echo=$ac_try;;
36286 esac
36287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36288 (eval "$ac_compile") 2>conftest.er1
36289 ac_status=$?
36290 grep -v '^ *+' conftest.er1 >conftest.err
36291 rm -f conftest.er1
36292 cat conftest.err >&5
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); } && {
36295 test -z "$ac_c_werror_flag" ||
36296 test ! -s conftest.err
36297 } && test -s conftest.$ac_objext; then
36298 ac_cv_type_mbstate_t=yes
36299 else
36300 echo "$as_me: failed program was:" >&5
36301 sed 's/^/| /' conftest.$ac_ext >&5
36302
36303 ac_cv_type_mbstate_t=no
36304 fi
36305
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307 fi
36308 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36309 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36310 if test $ac_cv_type_mbstate_t = yes; then
36311
36312 cat >>confdefs.h <<_ACEOF
36313 #define HAVE_MBSTATE_T 1
36314 _ACEOF
36315
36316
36317 for ac_func in wcsrtombs
36318 do
36319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36320 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36322 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36323 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 else
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h. */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36333 #define $ac_func innocuous_$ac_func
36334
36335 /* System header to define __stub macros and hopefully few prototypes,
36336 which can conflict with char $ac_func (); below.
36337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36338 <limits.h> exists even on freestanding compilers. */
36339
36340 #ifdef __STDC__
36341 # include <limits.h>
36342 #else
36343 # include <assert.h>
36344 #endif
36345
36346 #undef $ac_func
36347
36348 /* Override any GCC internal prototype to avoid an error.
36349 Use char because int might match the return type of a GCC
36350 builtin and then its argument prototype would still apply. */
36351 #ifdef __cplusplus
36352 extern "C"
36353 #endif
36354 char $ac_func ();
36355 /* The GNU C library defines this for functions which it implements
36356 to always fail with ENOSYS. Some functions are actually named
36357 something starting with __ and the normal name is an alias. */
36358 #if defined __stub_$ac_func || defined __stub___$ac_func
36359 choke me
36360 #endif
36361
36362 int
36363 main ()
36364 {
36365 return $ac_func ();
36366 ;
36367 return 0;
36368 }
36369 _ACEOF
36370 rm -f conftest.$ac_objext conftest$ac_exeext
36371 if { (ac_try="$ac_link"
36372 case "(($ac_try" in
36373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36374 *) ac_try_echo=$ac_try;;
36375 esac
36376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36377 (eval "$ac_link") 2>conftest.er1
36378 ac_status=$?
36379 grep -v '^ *+' conftest.er1 >conftest.err
36380 rm -f conftest.er1
36381 cat conftest.err >&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } && {
36384 test -z "$ac_c_werror_flag" ||
36385 test ! -s conftest.err
36386 } && test -s conftest$ac_exeext &&
36387 $as_test_x conftest$ac_exeext; then
36388 eval "$as_ac_var=yes"
36389 else
36390 echo "$as_me: failed program was:" >&5
36391 sed 's/^/| /' conftest.$ac_ext >&5
36392
36393 eval "$as_ac_var=no"
36394 fi
36395
36396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36397 conftest$ac_exeext conftest.$ac_ext
36398 fi
36399 ac_res=`eval echo '${'$as_ac_var'}'`
36400 { echo "$as_me:$LINENO: result: $ac_res" >&5
36401 echo "${ECHO_T}$ac_res" >&6; }
36402 if test `eval echo '${'$as_ac_var'}'` = yes; then
36403 cat >>confdefs.h <<_ACEOF
36404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36405 _ACEOF
36406
36407 fi
36408 done
36409
36410 fi
36411
36412 else
36413 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36414 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36415 fi
36416
36417
36418
36419
36420 for ac_func in snprintf vsnprintf vsscanf
36421 do
36422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36425 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428 cat >conftest.$ac_ext <<_ACEOF
36429 /* confdefs.h. */
36430 _ACEOF
36431 cat confdefs.h >>conftest.$ac_ext
36432 cat >>conftest.$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36436 #define $ac_func innocuous_$ac_func
36437
36438 /* System header to define __stub macros and hopefully few prototypes,
36439 which can conflict with char $ac_func (); below.
36440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36441 <limits.h> exists even on freestanding compilers. */
36442
36443 #ifdef __STDC__
36444 # include <limits.h>
36445 #else
36446 # include <assert.h>
36447 #endif
36448
36449 #undef $ac_func
36450
36451 /* Override any GCC internal prototype to avoid an error.
36452 Use char because int might match the return type of a GCC
36453 builtin and then its argument prototype would still apply. */
36454 #ifdef __cplusplus
36455 extern "C"
36456 #endif
36457 char $ac_func ();
36458 /* The GNU C library defines this for functions which it implements
36459 to always fail with ENOSYS. Some functions are actually named
36460 something starting with __ and the normal name is an alias. */
36461 #if defined __stub_$ac_func || defined __stub___$ac_func
36462 choke me
36463 #endif
36464
36465 int
36466 main ()
36467 {
36468 return $ac_func ();
36469 ;
36470 return 0;
36471 }
36472 _ACEOF
36473 rm -f conftest.$ac_objext conftest$ac_exeext
36474 if { (ac_try="$ac_link"
36475 case "(($ac_try" in
36476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36477 *) ac_try_echo=$ac_try;;
36478 esac
36479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36480 (eval "$ac_link") 2>conftest.er1
36481 ac_status=$?
36482 grep -v '^ *+' conftest.er1 >conftest.err
36483 rm -f conftest.er1
36484 cat conftest.err >&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); } && {
36487 test -z "$ac_c_werror_flag" ||
36488 test ! -s conftest.err
36489 } && test -s conftest$ac_exeext &&
36490 $as_test_x conftest$ac_exeext; then
36491 eval "$as_ac_var=yes"
36492 else
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.$ac_ext >&5
36495
36496 eval "$as_ac_var=no"
36497 fi
36498
36499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36500 conftest$ac_exeext conftest.$ac_ext
36501 fi
36502 ac_res=`eval echo '${'$as_ac_var'}'`
36503 { echo "$as_me:$LINENO: result: $ac_res" >&5
36504 echo "${ECHO_T}$ac_res" >&6; }
36505 if test `eval echo '${'$as_ac_var'}'` = yes; then
36506 cat >>confdefs.h <<_ACEOF
36507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36508 _ACEOF
36509
36510 fi
36511 done
36512
36513
36514 ac_ext=cpp
36515 ac_cpp='$CXXCPP $CPPFLAGS'
36516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36519
36520 if test "$ac_cv_func_vsnprintf" = "yes"; then
36521 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36522 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36523 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36524 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 else
36526
36527 cat >conftest.$ac_ext <<_ACEOF
36528 /* confdefs.h. */
36529 _ACEOF
36530 cat confdefs.h >>conftest.$ac_ext
36531 cat >>conftest.$ac_ext <<_ACEOF
36532 /* end confdefs.h. */
36533
36534 #include <stdio.h>
36535 #include <stdarg.h>
36536 #ifdef __MSL__
36537 #if __MSL__ >= 0x6000
36538 namespace std {}
36539 using namespace std;
36540 #endif
36541 #endif
36542
36543 int
36544 main ()
36545 {
36546
36547 char *buf;
36548 va_list ap;
36549 vsnprintf(buf, 10u, "%s", ap);
36550
36551 ;
36552 return 0;
36553 }
36554 _ACEOF
36555 rm -f conftest.$ac_objext
36556 if { (ac_try="$ac_compile"
36557 case "(($ac_try" in
36558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36559 *) ac_try_echo=$ac_try;;
36560 esac
36561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36562 (eval "$ac_compile") 2>conftest.er1
36563 ac_status=$?
36564 grep -v '^ *+' conftest.er1 >conftest.err
36565 rm -f conftest.er1
36566 cat conftest.err >&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); } && {
36569 test -z "$ac_cxx_werror_flag" ||
36570 test ! -s conftest.err
36571 } && test -s conftest.$ac_objext; then
36572 wx_cv_func_vsnprintf_decl=yes
36573 else
36574 echo "$as_me: failed program was:" >&5
36575 sed 's/^/| /' conftest.$ac_ext >&5
36576
36577 wx_cv_func_vsnprintf_decl=no
36578
36579 fi
36580
36581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36582
36583
36584 fi
36585 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36586 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36587
36588 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36589 cat >>confdefs.h <<\_ACEOF
36590 #define HAVE_VSNPRINTF_DECL 1
36591 _ACEOF
36592
36593
36594 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36595 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36596 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 else
36599
36600 cat >conftest.$ac_ext <<_ACEOF
36601 /* confdefs.h. */
36602 _ACEOF
36603 cat confdefs.h >>conftest.$ac_ext
36604 cat >>conftest.$ac_ext <<_ACEOF
36605 /* end confdefs.h. */
36606
36607 #include <stdio.h>
36608 #include <stdarg.h>
36609 #ifdef __MSL__
36610 #if __MSL__ >= 0x6000
36611 namespace std {}
36612 using namespace std;
36613 #endif
36614 #endif
36615
36616 int
36617 main ()
36618 {
36619
36620 char *buf;
36621 va_list ap;
36622 const char *fmt = "%s";
36623 vsnprintf(buf, 10u, fmt, ap);
36624
36625 ;
36626 return 0;
36627 }
36628 _ACEOF
36629 rm -f conftest.$ac_objext
36630 if { (ac_try="$ac_compile"
36631 case "(($ac_try" in
36632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36633 *) ac_try_echo=$ac_try;;
36634 esac
36635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36636 (eval "$ac_compile") 2>conftest.er1
36637 ac_status=$?
36638 grep -v '^ *+' conftest.er1 >conftest.err
36639 rm -f conftest.er1
36640 cat conftest.err >&5
36641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642 (exit $ac_status); } && {
36643 test -z "$ac_cxx_werror_flag" ||
36644 test ! -s conftest.err
36645 } && test -s conftest.$ac_objext; then
36646 wx_cv_func_broken_vsnprintf_decl=no
36647 else
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36650
36651 wx_cv_func_broken_vsnprintf_decl=yes
36652
36653 fi
36654
36655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36656
36657
36658 fi
36659 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36660 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36661
36662 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36663 cat >>confdefs.h <<\_ACEOF
36664 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36665 _ACEOF
36666
36667 fi
36668 fi
36669 fi
36670
36671 if test "$ac_cv_func_snprintf" = "yes"; then
36672 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36673 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36674 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677
36678 cat >conftest.$ac_ext <<_ACEOF
36679 /* confdefs.h. */
36680 _ACEOF
36681 cat confdefs.h >>conftest.$ac_ext
36682 cat >>conftest.$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36684
36685 #include <stdio.h>
36686 #include <stdarg.h>
36687 #ifdef __MSL__
36688 #if __MSL__ >= 0x6000
36689 namespace std {}
36690 using namespace std;
36691 #endif
36692 #endif
36693
36694 int
36695 main ()
36696 {
36697
36698 char *buf;
36699 snprintf(buf, 10u, "%s", "wx");
36700
36701 ;
36702 return 0;
36703 }
36704 _ACEOF
36705 rm -f conftest.$ac_objext
36706 if { (ac_try="$ac_compile"
36707 case "(($ac_try" in
36708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36709 *) ac_try_echo=$ac_try;;
36710 esac
36711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36712 (eval "$ac_compile") 2>conftest.er1
36713 ac_status=$?
36714 grep -v '^ *+' conftest.er1 >conftest.err
36715 rm -f conftest.er1
36716 cat conftest.err >&5
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); } && {
36719 test -z "$ac_cxx_werror_flag" ||
36720 test ! -s conftest.err
36721 } && test -s conftest.$ac_objext; then
36722 wx_cv_func_snprintf_decl=yes
36723 else
36724 echo "$as_me: failed program was:" >&5
36725 sed 's/^/| /' conftest.$ac_ext >&5
36726
36727 wx_cv_func_snprintf_decl=no
36728
36729 fi
36730
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732
36733
36734 fi
36735 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36736 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36737
36738 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36739 cat >>confdefs.h <<\_ACEOF
36740 #define HAVE_SNPRINTF_DECL 1
36741 _ACEOF
36742
36743 fi
36744
36745 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36746
36747 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36748 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36749 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36750 echo $ECHO_N "(cached) $ECHO_C" >&6
36751 else
36752
36753 if test "$cross_compiling" = yes; then
36754
36755 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36756 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36757 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36758 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36759 wx_cv_func_snprintf_pos_params=no
36760
36761
36762 else
36763 cat >conftest.$ac_ext <<_ACEOF
36764 /* confdefs.h. */
36765 _ACEOF
36766 cat confdefs.h >>conftest.$ac_ext
36767 cat >>conftest.$ac_ext <<_ACEOF
36768 /* end confdefs.h. */
36769
36770 #include <stdio.h>
36771
36772 int main (void)
36773 {
36774 char buffer[128];
36775 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36776 if (strcmp ("2 3 1", buffer) == 0)
36777 exit (0);
36778 exit (1);
36779 }
36780
36781 _ACEOF
36782 rm -f conftest$ac_exeext
36783 if { (ac_try="$ac_link"
36784 case "(($ac_try" in
36785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36786 *) ac_try_echo=$ac_try;;
36787 esac
36788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36789 (eval "$ac_link") 2>&5
36790 ac_status=$?
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36793 { (case "(($ac_try" in
36794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36795 *) ac_try_echo=$ac_try;;
36796 esac
36797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36798 (eval "$ac_try") 2>&5
36799 ac_status=$?
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); }; }; then
36802 wx_cv_func_snprintf_pos_params=no
36803 else
36804 echo "$as_me: program exited with status $ac_status" >&5
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36807
36808 ( exit $ac_status )
36809 wx_cv_func_snprintf_pos_params=yes
36810 fi
36811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36812 fi
36813
36814
36815
36816
36817 fi
36818 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36819 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36820
36821 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36822 cat >>confdefs.h <<\_ACEOF
36823 #define HAVE_UNIX98_PRINTF 1
36824 _ACEOF
36825
36826 fi
36827 fi
36828 fi
36829
36830 if test "$ac_cv_func_vsscanf" = "yes"; then
36831 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36832 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36833 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36834 echo $ECHO_N "(cached) $ECHO_C" >&6
36835 else
36836
36837 cat >conftest.$ac_ext <<_ACEOF
36838 /* confdefs.h. */
36839 _ACEOF
36840 cat confdefs.h >>conftest.$ac_ext
36841 cat >>conftest.$ac_ext <<_ACEOF
36842 /* end confdefs.h. */
36843
36844 #include <stdio.h>
36845 #include <stdarg.h>
36846 #ifdef __MSL__
36847 #if __MSL__ >= 0x6000
36848 namespace std {}
36849 using namespace std;
36850 #endif
36851 #endif
36852
36853 int
36854 main ()
36855 {
36856
36857 char *buf;
36858 va_list args;
36859 vsscanf(buf, "%s", args);
36860
36861 ;
36862 return 0;
36863 }
36864 _ACEOF
36865 rm -f conftest.$ac_objext
36866 if { (ac_try="$ac_compile"
36867 case "(($ac_try" in
36868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36869 *) ac_try_echo=$ac_try;;
36870 esac
36871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36872 (eval "$ac_compile") 2>conftest.er1
36873 ac_status=$?
36874 grep -v '^ *+' conftest.er1 >conftest.err
36875 rm -f conftest.er1
36876 cat conftest.err >&5
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); } && {
36879 test -z "$ac_cxx_werror_flag" ||
36880 test ! -s conftest.err
36881 } && test -s conftest.$ac_objext; then
36882 wx_cv_func_vsscanf_decl=yes
36883 else
36884 echo "$as_me: failed program was:" >&5
36885 sed 's/^/| /' conftest.$ac_ext >&5
36886
36887 wx_cv_func_vsscanf_decl=no
36888
36889 fi
36890
36891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892
36893
36894 fi
36895 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36896 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36897
36898 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36899 cat >>confdefs.h <<\_ACEOF
36900 #define HAVE_VSSCANF_DECL 1
36901 _ACEOF
36902
36903 fi
36904 fi
36905 ac_ext=c
36906 ac_cpp='$CPP $CPPFLAGS'
36907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36910
36911
36912 if test "$wxUSE_UNICODE" = yes; then
36913
36914 wchar_headers="#include <stdio.h>
36915 #include <wchar.h>"
36916 case "${host}" in
36917 *-*-solaris2* )
36918
36919 for ac_header in widec.h
36920 do
36921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36922 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36924 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36926 else
36927 cat >conftest.$ac_ext <<_ACEOF
36928 /* confdefs.h. */
36929 _ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933 $ac_includes_default
36934
36935 #include <$ac_header>
36936 _ACEOF
36937 rm -f conftest.$ac_objext
36938 if { (ac_try="$ac_compile"
36939 case "(($ac_try" in
36940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36941 *) ac_try_echo=$ac_try;;
36942 esac
36943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36944 (eval "$ac_compile") 2>conftest.er1
36945 ac_status=$?
36946 grep -v '^ *+' conftest.er1 >conftest.err
36947 rm -f conftest.er1
36948 cat conftest.err >&5
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); } && {
36951 test -z "$ac_c_werror_flag" ||
36952 test ! -s conftest.err
36953 } && test -s conftest.$ac_objext; then
36954 eval "$as_ac_Header=yes"
36955 else
36956 echo "$as_me: failed program was:" >&5
36957 sed 's/^/| /' conftest.$ac_ext >&5
36958
36959 eval "$as_ac_Header=no"
36960 fi
36961
36962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36963 fi
36964 ac_res=`eval echo '${'$as_ac_Header'}'`
36965 { echo "$as_me:$LINENO: result: $ac_res" >&5
36966 echo "${ECHO_T}$ac_res" >&6; }
36967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36968 cat >>confdefs.h <<_ACEOF
36969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36970 _ACEOF
36971
36972 fi
36973
36974 done
36975
36976 if test "$ac_cv_header_widec_h" = "yes"; then
36977 wchar_headers="$wchar_headers
36978 #include <widec.h>"
36979 fi
36980 esac
36981
36982
36983 for wx_func in putws fputws wprintf vswprintf vswscanf
36984 do
36985 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36986 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36987 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36988 echo $ECHO_N "(cached) $ECHO_C" >&6
36989 else
36990
36991 cat >conftest.$ac_ext <<_ACEOF
36992
36993 /* confdefs.h. */
36994 _ACEOF
36995 cat confdefs.h >>conftest.$ac_ext
36996 cat >>conftest.$ac_ext <<_ACEOF
36997 /* end confdefs.h. */
36998
36999 $wchar_headers
37000 $ac_includes_default
37001
37002 int
37003 main ()
37004 {
37005
37006 #ifndef $wx_func
37007 &$wx_func;
37008 #endif
37009
37010
37011 ;
37012 return 0;
37013 }
37014
37015 _ACEOF
37016 rm -f conftest.$ac_objext conftest$ac_exeext
37017 if { (ac_try="$ac_link"
37018 case "(($ac_try" in
37019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37020 *) ac_try_echo=$ac_try;;
37021 esac
37022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37023 (eval "$ac_link") 2>conftest.er1
37024 ac_status=$?
37025 grep -v '^ *+' conftest.er1 >conftest.err
37026 rm -f conftest.er1
37027 cat conftest.err >&5
37028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37029 (exit $ac_status); } && {
37030 test -z "$ac_c_werror_flag" ||
37031 test ! -s conftest.err
37032 } && test -s conftest$ac_exeext &&
37033 $as_test_x conftest$ac_exeext; then
37034 eval wx_cv_func_$wx_func=yes
37035 else
37036 echo "$as_me: failed program was:" >&5
37037 sed 's/^/| /' conftest.$ac_ext >&5
37038
37039 eval wx_cv_func_$wx_func=no
37040 fi
37041
37042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37043 conftest$ac_exeext conftest.$ac_ext
37044
37045 fi
37046 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37047 { echo "$as_me:$LINENO: result: $ac_res" >&5
37048 echo "${ECHO_T}$ac_res" >&6; }
37049
37050 if eval test \$wx_cv_func_$wx_func = yes
37051 then
37052 cat >>confdefs.h <<_ACEOF
37053 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37054 _ACEOF
37055
37056
37057 else
37058 :
37059
37060 fi
37061 done
37062
37063
37064 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37065 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37066 cat >conftest.$ac_ext <<_ACEOF
37067 /* confdefs.h. */
37068 _ACEOF
37069 cat confdefs.h >>conftest.$ac_ext
37070 cat >>conftest.$ac_ext <<_ACEOF
37071 /* end confdefs.h. */
37072 #include <wchar.h>
37073 int
37074 main ()
37075 {
37076 &_vsnwprintf;
37077 ;
37078 return 0;
37079 }
37080 _ACEOF
37081 rm -f conftest.$ac_objext
37082 if { (ac_try="$ac_compile"
37083 case "(($ac_try" in
37084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37085 *) ac_try_echo=$ac_try;;
37086 esac
37087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37088 (eval "$ac_compile") 2>conftest.er1
37089 ac_status=$?
37090 grep -v '^ *+' conftest.er1 >conftest.err
37091 rm -f conftest.er1
37092 cat conftest.err >&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } && {
37095 test -z "$ac_c_werror_flag" ||
37096 test ! -s conftest.err
37097 } && test -s conftest.$ac_objext; then
37098 { echo "$as_me:$LINENO: result: yes" >&5
37099 echo "${ECHO_T}yes" >&6; }
37100 cat >>confdefs.h <<\_ACEOF
37101 #define HAVE__VSNWPRINTF 1
37102 _ACEOF
37103
37104 else
37105 echo "$as_me: failed program was:" >&5
37106 sed 's/^/| /' conftest.$ac_ext >&5
37107
37108 { echo "$as_me:$LINENO: result: no" >&5
37109 echo "${ECHO_T}no" >&6; }
37110 fi
37111
37112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37113 fi
37114
37115 if test "$wxUSE_FILE" = "yes"; then
37116
37117 for wx_func in fsync
37118 do
37119 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37120 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37121 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37122 echo $ECHO_N "(cached) $ECHO_C" >&6
37123 else
37124
37125 cat >conftest.$ac_ext <<_ACEOF
37126
37127 /* confdefs.h. */
37128 _ACEOF
37129 cat confdefs.h >>conftest.$ac_ext
37130 cat >>conftest.$ac_ext <<_ACEOF
37131 /* end confdefs.h. */
37132
37133
37134 $ac_includes_default
37135
37136 int
37137 main ()
37138 {
37139
37140 #ifndef $wx_func
37141 &$wx_func;
37142 #endif
37143
37144
37145 ;
37146 return 0;
37147 }
37148
37149 _ACEOF
37150 rm -f conftest.$ac_objext conftest$ac_exeext
37151 if { (ac_try="$ac_link"
37152 case "(($ac_try" in
37153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37154 *) ac_try_echo=$ac_try;;
37155 esac
37156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37157 (eval "$ac_link") 2>conftest.er1
37158 ac_status=$?
37159 grep -v '^ *+' conftest.er1 >conftest.err
37160 rm -f conftest.er1
37161 cat conftest.err >&5
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); } && {
37164 test -z "$ac_c_werror_flag" ||
37165 test ! -s conftest.err
37166 } && test -s conftest$ac_exeext &&
37167 $as_test_x conftest$ac_exeext; then
37168 eval wx_cv_func_$wx_func=yes
37169 else
37170 echo "$as_me: failed program was:" >&5
37171 sed 's/^/| /' conftest.$ac_ext >&5
37172
37173 eval wx_cv_func_$wx_func=no
37174 fi
37175
37176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37177 conftest$ac_exeext conftest.$ac_ext
37178
37179 fi
37180 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37181 { echo "$as_me:$LINENO: result: $ac_res" >&5
37182 echo "${ECHO_T}$ac_res" >&6; }
37183
37184 if eval test \$wx_cv_func_$wx_func = yes
37185 then
37186 cat >>confdefs.h <<_ACEOF
37187 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37188 _ACEOF
37189
37190
37191 else
37192 :
37193
37194 fi
37195 done
37196
37197 fi
37198
37199 ac_ext=cpp
37200 ac_cpp='$CXXCPP $CPPFLAGS'
37201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37204
37205
37206 for wx_func in round
37207 do
37208 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37209 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37210 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37211 echo $ECHO_N "(cached) $ECHO_C" >&6
37212 else
37213
37214 cat >conftest.$ac_ext <<_ACEOF
37215
37216 /* confdefs.h. */
37217 _ACEOF
37218 cat confdefs.h >>conftest.$ac_ext
37219 cat >>conftest.$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37221
37222 #include <math.h>
37223 $ac_includes_default
37224
37225 int
37226 main ()
37227 {
37228
37229 #ifndef $wx_func
37230 &$wx_func;
37231 #endif
37232
37233
37234 ;
37235 return 0;
37236 }
37237
37238 _ACEOF
37239 rm -f conftest.$ac_objext conftest$ac_exeext
37240 if { (ac_try="$ac_link"
37241 case "(($ac_try" in
37242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37243 *) ac_try_echo=$ac_try;;
37244 esac
37245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37246 (eval "$ac_link") 2>conftest.er1
37247 ac_status=$?
37248 grep -v '^ *+' conftest.er1 >conftest.err
37249 rm -f conftest.er1
37250 cat conftest.err >&5
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); } && {
37253 test -z "$ac_cxx_werror_flag" ||
37254 test ! -s conftest.err
37255 } && test -s conftest$ac_exeext &&
37256 $as_test_x conftest$ac_exeext; then
37257 eval wx_cv_func_$wx_func=yes
37258 else
37259 echo "$as_me: failed program was:" >&5
37260 sed 's/^/| /' conftest.$ac_ext >&5
37261
37262 eval wx_cv_func_$wx_func=no
37263 fi
37264
37265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37266 conftest$ac_exeext conftest.$ac_ext
37267
37268 fi
37269 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37270 { echo "$as_me:$LINENO: result: $ac_res" >&5
37271 echo "${ECHO_T}$ac_res" >&6; }
37272
37273 if eval test \$wx_cv_func_$wx_func = yes
37274 then
37275 cat >>confdefs.h <<_ACEOF
37276 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37277 _ACEOF
37278
37279
37280 else
37281 :
37282
37283 fi
37284 done
37285
37286 ac_ext=c
37287 ac_cpp='$CPP $CPPFLAGS'
37288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37291
37292
37293 if test "$TOOLKIT" != "MSW"; then
37294
37295 if test "$wxUSE_LIBICONV" != "no" ; then
37296
37297
37298
37299 # Check whether --with-libiconv-prefix was given.
37300 if test "${with_libiconv_prefix+set}" = set; then
37301 withval=$with_libiconv_prefix;
37302 for dir in `echo "$withval" | tr : ' '`; do
37303 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37304 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37305 done
37306
37307 fi
37308
37309
37310 { echo "$as_me:$LINENO: checking for iconv" >&5
37311 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37312 if test "${am_cv_func_iconv+set}" = set; then
37313 echo $ECHO_N "(cached) $ECHO_C" >&6
37314 else
37315
37316 am_cv_func_iconv="no, consider installing GNU libiconv"
37317 am_cv_lib_iconv=no
37318 cat >conftest.$ac_ext <<_ACEOF
37319 /* confdefs.h. */
37320 _ACEOF
37321 cat confdefs.h >>conftest.$ac_ext
37322 cat >>conftest.$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324 #include <stdlib.h>
37325 #include <iconv.h>
37326 int
37327 main ()
37328 {
37329 iconv_t cd = iconv_open("","");
37330 iconv(cd,NULL,NULL,NULL,NULL);
37331 iconv_close(cd);
37332 ;
37333 return 0;
37334 }
37335 _ACEOF
37336 rm -f conftest.$ac_objext conftest$ac_exeext
37337 if { (ac_try="$ac_link"
37338 case "(($ac_try" in
37339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37340 *) ac_try_echo=$ac_try;;
37341 esac
37342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37343 (eval "$ac_link") 2>conftest.er1
37344 ac_status=$?
37345 grep -v '^ *+' conftest.er1 >conftest.err
37346 rm -f conftest.er1
37347 cat conftest.err >&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } && {
37350 test -z "$ac_c_werror_flag" ||
37351 test ! -s conftest.err
37352 } && test -s conftest$ac_exeext &&
37353 $as_test_x conftest$ac_exeext; then
37354 am_cv_func_iconv=yes
37355 else
37356 echo "$as_me: failed program was:" >&5
37357 sed 's/^/| /' conftest.$ac_ext >&5
37358
37359
37360 fi
37361
37362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37363 conftest$ac_exeext conftest.$ac_ext
37364 if test "$am_cv_func_iconv" != yes; then
37365 am_save_LIBS="$LIBS"
37366 LIBS="$LIBS -liconv"
37367 cat >conftest.$ac_ext <<_ACEOF
37368 /* confdefs.h. */
37369 _ACEOF
37370 cat confdefs.h >>conftest.$ac_ext
37371 cat >>conftest.$ac_ext <<_ACEOF
37372 /* end confdefs.h. */
37373 #include <stdlib.h>
37374 #include <iconv.h>
37375 int
37376 main ()
37377 {
37378 iconv_t cd = iconv_open("","");
37379 iconv(cd,NULL,NULL,NULL,NULL);
37380 iconv_close(cd);
37381 ;
37382 return 0;
37383 }
37384 _ACEOF
37385 rm -f conftest.$ac_objext conftest$ac_exeext
37386 if { (ac_try="$ac_link"
37387 case "(($ac_try" in
37388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37389 *) ac_try_echo=$ac_try;;
37390 esac
37391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37392 (eval "$ac_link") 2>conftest.er1
37393 ac_status=$?
37394 grep -v '^ *+' conftest.er1 >conftest.err
37395 rm -f conftest.er1
37396 cat conftest.err >&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } && {
37399 test -z "$ac_c_werror_flag" ||
37400 test ! -s conftest.err
37401 } && test -s conftest$ac_exeext &&
37402 $as_test_x conftest$ac_exeext; then
37403 am_cv_lib_iconv=yes
37404 am_cv_func_iconv=yes
37405 else
37406 echo "$as_me: failed program was:" >&5
37407 sed 's/^/| /' conftest.$ac_ext >&5
37408
37409
37410 fi
37411
37412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37413 conftest$ac_exeext conftest.$ac_ext
37414 LIBS="$am_save_LIBS"
37415 fi
37416
37417 fi
37418 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37419 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37420 if test "$am_cv_func_iconv" = yes; then
37421
37422 cat >>confdefs.h <<\_ACEOF
37423 #define HAVE_ICONV 1
37424 _ACEOF
37425
37426 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37427 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37428 if test "${wx_cv_func_iconv_const+set}" = set; then
37429 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 else
37431 cat >conftest.$ac_ext <<_ACEOF
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437
37438 #include <stdlib.h>
37439 #include <iconv.h>
37440 extern
37441 #ifdef __cplusplus
37442 "C"
37443 #endif
37444 #if defined(__STDC__) || defined(__cplusplus)
37445 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37446 #else
37447 size_t iconv();
37448 #endif
37449
37450 int
37451 main ()
37452 {
37453
37454 ;
37455 return 0;
37456 }
37457 _ACEOF
37458 rm -f conftest.$ac_objext
37459 if { (ac_try="$ac_compile"
37460 case "(($ac_try" in
37461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37462 *) ac_try_echo=$ac_try;;
37463 esac
37464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37465 (eval "$ac_compile") 2>conftest.er1
37466 ac_status=$?
37467 grep -v '^ *+' conftest.er1 >conftest.err
37468 rm -f conftest.er1
37469 cat conftest.err >&5
37470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471 (exit $ac_status); } && {
37472 test -z "$ac_c_werror_flag" ||
37473 test ! -s conftest.err
37474 } && test -s conftest.$ac_objext; then
37475 wx_cv_func_iconv_const="no"
37476 else
37477 echo "$as_me: failed program was:" >&5
37478 sed 's/^/| /' conftest.$ac_ext >&5
37479
37480 wx_cv_func_iconv_const="yes"
37481
37482 fi
37483
37484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37485
37486 fi
37487 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37488 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37489
37490 iconv_const=
37491 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37492 iconv_const="const"
37493 fi
37494
37495
37496 cat >>confdefs.h <<_ACEOF
37497 #define ICONV_CONST $iconv_const
37498 _ACEOF
37499
37500 fi
37501 LIBICONV=
37502 if test "$am_cv_lib_iconv" = yes; then
37503 LIBICONV="-liconv"
37504 fi
37505
37506
37507 LIBS="$LIBICONV $LIBS"
37508 fi
37509
37510 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37511
37512 for ac_func in sigaction
37513 do
37514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37515 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37517 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37518 echo $ECHO_N "(cached) $ECHO_C" >&6
37519 else
37520 cat >conftest.$ac_ext <<_ACEOF
37521 /* confdefs.h. */
37522 _ACEOF
37523 cat confdefs.h >>conftest.$ac_ext
37524 cat >>conftest.$ac_ext <<_ACEOF
37525 /* end confdefs.h. */
37526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37528 #define $ac_func innocuous_$ac_func
37529
37530 /* System header to define __stub macros and hopefully few prototypes,
37531 which can conflict with char $ac_func (); below.
37532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37533 <limits.h> exists even on freestanding compilers. */
37534
37535 #ifdef __STDC__
37536 # include <limits.h>
37537 #else
37538 # include <assert.h>
37539 #endif
37540
37541 #undef $ac_func
37542
37543 /* Override any GCC internal prototype to avoid an error.
37544 Use char because int might match the return type of a GCC
37545 builtin and then its argument prototype would still apply. */
37546 #ifdef __cplusplus
37547 extern "C"
37548 #endif
37549 char $ac_func ();
37550 /* The GNU C library defines this for functions which it implements
37551 to always fail with ENOSYS. Some functions are actually named
37552 something starting with __ and the normal name is an alias. */
37553 #if defined __stub_$ac_func || defined __stub___$ac_func
37554 choke me
37555 #endif
37556
37557 int
37558 main ()
37559 {
37560 return $ac_func ();
37561 ;
37562 return 0;
37563 }
37564 _ACEOF
37565 rm -f conftest.$ac_objext conftest$ac_exeext
37566 if { (ac_try="$ac_link"
37567 case "(($ac_try" in
37568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37569 *) ac_try_echo=$ac_try;;
37570 esac
37571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37572 (eval "$ac_link") 2>conftest.er1
37573 ac_status=$?
37574 grep -v '^ *+' conftest.er1 >conftest.err
37575 rm -f conftest.er1
37576 cat conftest.err >&5
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); } && {
37579 test -z "$ac_c_werror_flag" ||
37580 test ! -s conftest.err
37581 } && test -s conftest$ac_exeext &&
37582 $as_test_x conftest$ac_exeext; then
37583 eval "$as_ac_var=yes"
37584 else
37585 echo "$as_me: failed program was:" >&5
37586 sed 's/^/| /' conftest.$ac_ext >&5
37587
37588 eval "$as_ac_var=no"
37589 fi
37590
37591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37592 conftest$ac_exeext conftest.$ac_ext
37593 fi
37594 ac_res=`eval echo '${'$as_ac_var'}'`
37595 { echo "$as_me:$LINENO: result: $ac_res" >&5
37596 echo "${ECHO_T}$ac_res" >&6; }
37597 if test `eval echo '${'$as_ac_var'}'` = yes; then
37598 cat >>confdefs.h <<_ACEOF
37599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37600 _ACEOF
37601
37602 fi
37603 done
37604
37605
37606 if test "$ac_cv_func_sigaction" = "no"; then
37607 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37608 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37609 wxUSE_ON_FATAL_EXCEPTION=no
37610 fi
37611
37612 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37613 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37614 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37615 if test "${wx_cv_type_sa_handler+set}" = set; then
37616 echo $ECHO_N "(cached) $ECHO_C" >&6
37617 else
37618
37619 ac_ext=cpp
37620 ac_cpp='$CXXCPP $CPPFLAGS'
37621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37624
37625 cat >conftest.$ac_ext <<_ACEOF
37626 /* confdefs.h. */
37627 _ACEOF
37628 cat confdefs.h >>conftest.$ac_ext
37629 cat >>conftest.$ac_ext <<_ACEOF
37630 /* end confdefs.h. */
37631 #include <signal.h>
37632 int
37633 main ()
37634 {
37635
37636 extern void testSigHandler(int);
37637
37638 struct sigaction sa;
37639 sa.sa_handler = testSigHandler;
37640
37641 ;
37642 return 0;
37643 }
37644 _ACEOF
37645 rm -f conftest.$ac_objext
37646 if { (ac_try="$ac_compile"
37647 case "(($ac_try" in
37648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37649 *) ac_try_echo=$ac_try;;
37650 esac
37651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37652 (eval "$ac_compile") 2>conftest.er1
37653 ac_status=$?
37654 grep -v '^ *+' conftest.er1 >conftest.err
37655 rm -f conftest.er1
37656 cat conftest.err >&5
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); } && {
37659 test -z "$ac_cxx_werror_flag" ||
37660 test ! -s conftest.err
37661 } && test -s conftest.$ac_objext; then
37662
37663 wx_cv_type_sa_handler=int
37664
37665 else
37666 echo "$as_me: failed program was:" >&5
37667 sed 's/^/| /' conftest.$ac_ext >&5
37668
37669
37670 wx_cv_type_sa_handler=void
37671
37672 fi
37673
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37680
37681
37682 fi
37683 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37684 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37685
37686 cat >>confdefs.h <<_ACEOF
37687 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37688 _ACEOF
37689
37690 fi
37691 fi
37692
37693 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37694 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37695 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37696 if test "${wx_cv_func_backtrace+set}" = set; then
37697 echo $ECHO_N "(cached) $ECHO_C" >&6
37698 else
37699
37700 ac_ext=cpp
37701 ac_cpp='$CXXCPP $CPPFLAGS'
37702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37705
37706 cat >conftest.$ac_ext <<_ACEOF
37707 /* confdefs.h. */
37708 _ACEOF
37709 cat confdefs.h >>conftest.$ac_ext
37710 cat >>conftest.$ac_ext <<_ACEOF
37711 /* end confdefs.h. */
37712 #include <execinfo.h>
37713 int
37714 main ()
37715 {
37716
37717 void *trace[1];
37718 char **messages;
37719
37720 backtrace(trace, 1);
37721 messages = backtrace_symbols(trace, 1);
37722
37723 ;
37724 return 0;
37725 }
37726 _ACEOF
37727 rm -f conftest.$ac_objext
37728 if { (ac_try="$ac_compile"
37729 case "(($ac_try" in
37730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37731 *) ac_try_echo=$ac_try;;
37732 esac
37733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37734 (eval "$ac_compile") 2>conftest.er1
37735 ac_status=$?
37736 grep -v '^ *+' conftest.er1 >conftest.err
37737 rm -f conftest.er1
37738 cat conftest.err >&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); } && {
37741 test -z "$ac_cxx_werror_flag" ||
37742 test ! -s conftest.err
37743 } && test -s conftest.$ac_objext; then
37744 wx_cv_func_backtrace=yes
37745 else
37746 echo "$as_me: failed program was:" >&5
37747 sed 's/^/| /' conftest.$ac_ext >&5
37748
37749 wx_cv_func_backtrace=no
37750
37751 fi
37752
37753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37754 ac_ext=c
37755 ac_cpp='$CPP $CPPFLAGS'
37756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37759
37760
37761
37762 fi
37763 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37764 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37765
37766
37767 if test "$wx_cv_func_backtrace" = "no"; then
37768 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37769 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37770 wxUSE_STACKWALKER=no
37771 else
37772 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37773 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37774 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 else
37777
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37783
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 #include <cxxabi.h>
37791 int
37792 main ()
37793 {
37794
37795 int rc;
37796 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37797
37798 ;
37799 return 0;
37800 }
37801 _ACEOF
37802 rm -f conftest.$ac_objext conftest$ac_exeext
37803 if { (ac_try="$ac_link"
37804 case "(($ac_try" in
37805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37806 *) ac_try_echo=$ac_try;;
37807 esac
37808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37809 (eval "$ac_link") 2>conftest.er1
37810 ac_status=$?
37811 grep -v '^ *+' conftest.er1 >conftest.err
37812 rm -f conftest.er1
37813 cat conftest.err >&5
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); } && {
37816 test -z "$ac_cxx_werror_flag" ||
37817 test ! -s conftest.err
37818 } && test -s conftest$ac_exeext &&
37819 $as_test_x conftest$ac_exeext; then
37820 wx_cv_func_cxa_demangle=yes
37821 else
37822 echo "$as_me: failed program was:" >&5
37823 sed 's/^/| /' conftest.$ac_ext >&5
37824
37825 wx_cv_func_cxa_demangle=no
37826
37827 fi
37828
37829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37830 conftest$ac_exeext conftest.$ac_ext
37831 ac_ext=c
37832 ac_cpp='$CPP $CPPFLAGS'
37833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37836
37837
37838
37839 fi
37840 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37841 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37842
37843 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37844 cat >>confdefs.h <<\_ACEOF
37845 #define HAVE_CXA_DEMANGLE 1
37846 _ACEOF
37847
37848 fi
37849 fi
37850 fi
37851
37852 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37853 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37854 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37855 wxUSE_STACKWALKER=no
37856 fi
37857
37858
37859
37860
37861 for ac_func in mkstemp mktemp
37862 do
37863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 else
37869 cat >conftest.$ac_ext <<_ACEOF
37870 /* confdefs.h. */
37871 _ACEOF
37872 cat confdefs.h >>conftest.$ac_ext
37873 cat >>conftest.$ac_ext <<_ACEOF
37874 /* end confdefs.h. */
37875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37877 #define $ac_func innocuous_$ac_func
37878
37879 /* System header to define __stub macros and hopefully few prototypes,
37880 which can conflict with char $ac_func (); below.
37881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37882 <limits.h> exists even on freestanding compilers. */
37883
37884 #ifdef __STDC__
37885 # include <limits.h>
37886 #else
37887 # include <assert.h>
37888 #endif
37889
37890 #undef $ac_func
37891
37892 /* Override any GCC internal prototype to avoid an error.
37893 Use char because int might match the return type of a GCC
37894 builtin and then its argument prototype would still apply. */
37895 #ifdef __cplusplus
37896 extern "C"
37897 #endif
37898 char $ac_func ();
37899 /* The GNU C library defines this for functions which it implements
37900 to always fail with ENOSYS. Some functions are actually named
37901 something starting with __ and the normal name is an alias. */
37902 #if defined __stub_$ac_func || defined __stub___$ac_func
37903 choke me
37904 #endif
37905
37906 int
37907 main ()
37908 {
37909 return $ac_func ();
37910 ;
37911 return 0;
37912 }
37913 _ACEOF
37914 rm -f conftest.$ac_objext conftest$ac_exeext
37915 if { (ac_try="$ac_link"
37916 case "(($ac_try" in
37917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37918 *) ac_try_echo=$ac_try;;
37919 esac
37920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37921 (eval "$ac_link") 2>conftest.er1
37922 ac_status=$?
37923 grep -v '^ *+' conftest.er1 >conftest.err
37924 rm -f conftest.er1
37925 cat conftest.err >&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } && {
37928 test -z "$ac_c_werror_flag" ||
37929 test ! -s conftest.err
37930 } && test -s conftest$ac_exeext &&
37931 $as_test_x conftest$ac_exeext; then
37932 eval "$as_ac_var=yes"
37933 else
37934 echo "$as_me: failed program was:" >&5
37935 sed 's/^/| /' conftest.$ac_ext >&5
37936
37937 eval "$as_ac_var=no"
37938 fi
37939
37940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37941 conftest$ac_exeext conftest.$ac_ext
37942 fi
37943 ac_res=`eval echo '${'$as_ac_var'}'`
37944 { echo "$as_me:$LINENO: result: $ac_res" >&5
37945 echo "${ECHO_T}$ac_res" >&6; }
37946 if test `eval echo '${'$as_ac_var'}'` = yes; then
37947 cat >>confdefs.h <<_ACEOF
37948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37949 _ACEOF
37950 break
37951 fi
37952 done
37953
37954
37955 { echo "$as_me:$LINENO: checking for statfs" >&5
37956 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37957 if test "${wx_cv_func_statfs+set}" = set; then
37958 echo $ECHO_N "(cached) $ECHO_C" >&6
37959 else
37960 cat >conftest.$ac_ext <<_ACEOF
37961 /* confdefs.h. */
37962 _ACEOF
37963 cat confdefs.h >>conftest.$ac_ext
37964 cat >>conftest.$ac_ext <<_ACEOF
37965 /* end confdefs.h. */
37966
37967 #if defined(__BSD__)
37968 #include <sys/param.h>
37969 #include <sys/mount.h>
37970 #else
37971 #include <sys/vfs.h>
37972 #endif
37973
37974 int
37975 main ()
37976 {
37977
37978 long l;
37979 struct statfs fs;
37980 statfs("/", &fs);
37981 l = fs.f_bsize;
37982 l += fs.f_blocks;
37983 l += fs.f_bavail;
37984
37985 ;
37986 return 0;
37987 }
37988 _ACEOF
37989 rm -f conftest.$ac_objext
37990 if { (ac_try="$ac_compile"
37991 case "(($ac_try" in
37992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37993 *) ac_try_echo=$ac_try;;
37994 esac
37995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37996 (eval "$ac_compile") 2>conftest.er1
37997 ac_status=$?
37998 grep -v '^ *+' conftest.er1 >conftest.err
37999 rm -f conftest.er1
38000 cat conftest.err >&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); } && {
38003 test -z "$ac_c_werror_flag" ||
38004 test ! -s conftest.err
38005 } && test -s conftest.$ac_objext; then
38006 wx_cv_func_statfs=yes
38007 else
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.$ac_ext >&5
38010
38011 wx_cv_func_statfs=no
38012
38013 fi
38014
38015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38016
38017 fi
38018 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38019 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38020
38021 if test "$wx_cv_func_statfs" = "yes"; then
38022 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38023 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38024 if test "${wx_cv_func_statfs_decl+set}" = set; then
38025 echo $ECHO_N "(cached) $ECHO_C" >&6
38026 else
38027 ac_ext=cpp
38028 ac_cpp='$CXXCPP $CPPFLAGS'
38029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38032
38033 cat >conftest.$ac_ext <<_ACEOF
38034 /* confdefs.h. */
38035 _ACEOF
38036 cat confdefs.h >>conftest.$ac_ext
38037 cat >>conftest.$ac_ext <<_ACEOF
38038 /* end confdefs.h. */
38039
38040 #if defined(__BSD__)
38041 #include <sys/param.h>
38042 #include <sys/mount.h>
38043 #else
38044 #include <sys/vfs.h>
38045 #endif
38046
38047 int
38048 main ()
38049 {
38050
38051 struct statfs fs;
38052 statfs("", &fs);
38053
38054 ;
38055 return 0;
38056 }
38057 _ACEOF
38058 rm -f conftest.$ac_objext
38059 if { (ac_try="$ac_compile"
38060 case "(($ac_try" in
38061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38062 *) ac_try_echo=$ac_try;;
38063 esac
38064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38065 (eval "$ac_compile") 2>conftest.er1
38066 ac_status=$?
38067 grep -v '^ *+' conftest.er1 >conftest.err
38068 rm -f conftest.er1
38069 cat conftest.err >&5
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); } && {
38072 test -z "$ac_cxx_werror_flag" ||
38073 test ! -s conftest.err
38074 } && test -s conftest.$ac_objext; then
38075 wx_cv_func_statfs_decl=yes
38076 else
38077 echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.$ac_ext >&5
38079
38080 wx_cv_func_statfs_decl=no
38081
38082 fi
38083
38084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38085 ac_ext=c
38086 ac_cpp='$CPP $CPPFLAGS'
38087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38090
38091
38092 fi
38093 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38094 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38095
38096 if test "$wx_cv_func_statfs_decl" = "yes"; then
38097 cat >>confdefs.h <<\_ACEOF
38098 #define HAVE_STATFS_DECL 1
38099 _ACEOF
38100
38101 fi
38102
38103 wx_cv_type_statvfs_t="struct statfs"
38104 cat >>confdefs.h <<\_ACEOF
38105 #define HAVE_STATFS 1
38106 _ACEOF
38107
38108 else
38109 { echo "$as_me:$LINENO: checking for statvfs" >&5
38110 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38111 if test "${wx_cv_func_statvfs+set}" = set; then
38112 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 else
38114 cat >conftest.$ac_ext <<_ACEOF
38115 /* confdefs.h. */
38116 _ACEOF
38117 cat confdefs.h >>conftest.$ac_ext
38118 cat >>conftest.$ac_ext <<_ACEOF
38119 /* end confdefs.h. */
38120
38121 #include <stddef.h>
38122 #include <sys/statvfs.h>
38123
38124 int
38125 main ()
38126 {
38127
38128 statvfs("/", NULL);
38129
38130 ;
38131 return 0;
38132 }
38133 _ACEOF
38134 rm -f conftest.$ac_objext
38135 if { (ac_try="$ac_compile"
38136 case "(($ac_try" in
38137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38138 *) ac_try_echo=$ac_try;;
38139 esac
38140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38141 (eval "$ac_compile") 2>conftest.er1
38142 ac_status=$?
38143 grep -v '^ *+' conftest.er1 >conftest.err
38144 rm -f conftest.er1
38145 cat conftest.err >&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } && {
38148 test -z "$ac_c_werror_flag" ||
38149 test ! -s conftest.err
38150 } && test -s conftest.$ac_objext; then
38151 wx_cv_func_statvfs=yes
38152 else
38153 echo "$as_me: failed program was:" >&5
38154 sed 's/^/| /' conftest.$ac_ext >&5
38155
38156 wx_cv_func_statvfs=no
38157
38158 fi
38159
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161
38162 fi
38163 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38164 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38165
38166 if test "$wx_cv_func_statvfs" = "yes"; then
38167 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38168 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38169 if test "${wx_cv_type_statvfs_t+set}" = set; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38171 else
38172 ac_ext=cpp
38173 ac_cpp='$CXXCPP $CPPFLAGS'
38174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38177
38178 cat >conftest.$ac_ext <<_ACEOF
38179 /* confdefs.h. */
38180 _ACEOF
38181 cat confdefs.h >>conftest.$ac_ext
38182 cat >>conftest.$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38184
38185 #include <sys/statvfs.h>
38186
38187 int
38188 main ()
38189 {
38190
38191 long l;
38192 statvfs_t fs;
38193 statvfs("/", &fs);
38194 l = fs.f_bsize;
38195 l += fs.f_blocks;
38196 l += fs.f_bavail;
38197
38198 ;
38199 return 0;
38200 }
38201 _ACEOF
38202 rm -f conftest.$ac_objext
38203 if { (ac_try="$ac_compile"
38204 case "(($ac_try" in
38205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38206 *) ac_try_echo=$ac_try;;
38207 esac
38208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38209 (eval "$ac_compile") 2>conftest.er1
38210 ac_status=$?
38211 grep -v '^ *+' conftest.er1 >conftest.err
38212 rm -f conftest.er1
38213 cat conftest.err >&5
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); } && {
38216 test -z "$ac_cxx_werror_flag" ||
38217 test ! -s conftest.err
38218 } && test -s conftest.$ac_objext; then
38219 wx_cv_type_statvfs_t=statvfs_t
38220 else
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.$ac_ext >&5
38223
38224
38225 cat >conftest.$ac_ext <<_ACEOF
38226 /* confdefs.h. */
38227 _ACEOF
38228 cat confdefs.h >>conftest.$ac_ext
38229 cat >>conftest.$ac_ext <<_ACEOF
38230 /* end confdefs.h. */
38231
38232 #include <sys/statvfs.h>
38233
38234 int
38235 main ()
38236 {
38237
38238 long l;
38239 struct statvfs fs;
38240 statvfs("/", &fs);
38241 l = fs.f_bsize;
38242 l += fs.f_blocks;
38243 l += fs.f_bavail;
38244
38245 ;
38246 return 0;
38247 }
38248 _ACEOF
38249 rm -f conftest.$ac_objext
38250 if { (ac_try="$ac_compile"
38251 case "(($ac_try" in
38252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38253 *) ac_try_echo=$ac_try;;
38254 esac
38255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38256 (eval "$ac_compile") 2>conftest.er1
38257 ac_status=$?
38258 grep -v '^ *+' conftest.er1 >conftest.err
38259 rm -f conftest.er1
38260 cat conftest.err >&5
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); } && {
38263 test -z "$ac_cxx_werror_flag" ||
38264 test ! -s conftest.err
38265 } && test -s conftest.$ac_objext; then
38266 wx_cv_type_statvfs_t="struct statvfs"
38267 else
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.$ac_ext >&5
38270
38271 wx_cv_type_statvfs_t="unknown"
38272
38273 fi
38274
38275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38276
38277
38278 fi
38279
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281 ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38286
38287
38288 fi
38289 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38290 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38291
38292 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38293 cat >>confdefs.h <<\_ACEOF
38294 #define HAVE_STATVFS 1
38295 _ACEOF
38296
38297 fi
38298 else
38299 wx_cv_type_statvfs_t="unknown"
38300 fi
38301 fi
38302
38303 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38304 cat >>confdefs.h <<_ACEOF
38305 #define WX_STATFS_T $wx_cv_type_statvfs_t
38306 _ACEOF
38307
38308 else
38309 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38310 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38311 fi
38312
38313 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38314
38315
38316 for ac_func in fcntl flock
38317 do
38318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38322 echo $ECHO_N "(cached) $ECHO_C" >&6
38323 else
38324 cat >conftest.$ac_ext <<_ACEOF
38325 /* confdefs.h. */
38326 _ACEOF
38327 cat confdefs.h >>conftest.$ac_ext
38328 cat >>conftest.$ac_ext <<_ACEOF
38329 /* end confdefs.h. */
38330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38332 #define $ac_func innocuous_$ac_func
38333
38334 /* System header to define __stub macros and hopefully few prototypes,
38335 which can conflict with char $ac_func (); below.
38336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38337 <limits.h> exists even on freestanding compilers. */
38338
38339 #ifdef __STDC__
38340 # include <limits.h>
38341 #else
38342 # include <assert.h>
38343 #endif
38344
38345 #undef $ac_func
38346
38347 /* Override any GCC internal prototype to avoid an error.
38348 Use char because int might match the return type of a GCC
38349 builtin and then its argument prototype would still apply. */
38350 #ifdef __cplusplus
38351 extern "C"
38352 #endif
38353 char $ac_func ();
38354 /* The GNU C library defines this for functions which it implements
38355 to always fail with ENOSYS. Some functions are actually named
38356 something starting with __ and the normal name is an alias. */
38357 #if defined __stub_$ac_func || defined __stub___$ac_func
38358 choke me
38359 #endif
38360
38361 int
38362 main ()
38363 {
38364 return $ac_func ();
38365 ;
38366 return 0;
38367 }
38368 _ACEOF
38369 rm -f conftest.$ac_objext conftest$ac_exeext
38370 if { (ac_try="$ac_link"
38371 case "(($ac_try" in
38372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38373 *) ac_try_echo=$ac_try;;
38374 esac
38375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38376 (eval "$ac_link") 2>conftest.er1
38377 ac_status=$?
38378 grep -v '^ *+' conftest.er1 >conftest.err
38379 rm -f conftest.er1
38380 cat conftest.err >&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } && {
38383 test -z "$ac_c_werror_flag" ||
38384 test ! -s conftest.err
38385 } && test -s conftest$ac_exeext &&
38386 $as_test_x conftest$ac_exeext; then
38387 eval "$as_ac_var=yes"
38388 else
38389 echo "$as_me: failed program was:" >&5
38390 sed 's/^/| /' conftest.$ac_ext >&5
38391
38392 eval "$as_ac_var=no"
38393 fi
38394
38395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38396 conftest$ac_exeext conftest.$ac_ext
38397 fi
38398 ac_res=`eval echo '${'$as_ac_var'}'`
38399 { echo "$as_me:$LINENO: result: $ac_res" >&5
38400 echo "${ECHO_T}$ac_res" >&6; }
38401 if test `eval echo '${'$as_ac_var'}'` = yes; then
38402 cat >>confdefs.h <<_ACEOF
38403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38404 _ACEOF
38405 break
38406 fi
38407 done
38408
38409
38410 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38411 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38412 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38413 wxUSE_SNGLINST_CHECKER=no
38414 fi
38415 fi
38416
38417
38418
38419 for ac_func in setenv putenv
38420 do
38421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38422 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38425 echo $ECHO_N "(cached) $ECHO_C" >&6
38426 else
38427 cat >conftest.$ac_ext <<_ACEOF
38428 /* confdefs.h. */
38429 _ACEOF
38430 cat confdefs.h >>conftest.$ac_ext
38431 cat >>conftest.$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38435 #define $ac_func innocuous_$ac_func
38436
38437 /* System header to define __stub macros and hopefully few prototypes,
38438 which can conflict with char $ac_func (); below.
38439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38440 <limits.h> exists even on freestanding compilers. */
38441
38442 #ifdef __STDC__
38443 # include <limits.h>
38444 #else
38445 # include <assert.h>
38446 #endif
38447
38448 #undef $ac_func
38449
38450 /* Override any GCC internal prototype to avoid an error.
38451 Use char because int might match the return type of a GCC
38452 builtin and then its argument prototype would still apply. */
38453 #ifdef __cplusplus
38454 extern "C"
38455 #endif
38456 char $ac_func ();
38457 /* The GNU C library defines this for functions which it implements
38458 to always fail with ENOSYS. Some functions are actually named
38459 something starting with __ and the normal name is an alias. */
38460 #if defined __stub_$ac_func || defined __stub___$ac_func
38461 choke me
38462 #endif
38463
38464 int
38465 main ()
38466 {
38467 return $ac_func ();
38468 ;
38469 return 0;
38470 }
38471 _ACEOF
38472 rm -f conftest.$ac_objext conftest$ac_exeext
38473 if { (ac_try="$ac_link"
38474 case "(($ac_try" in
38475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38476 *) ac_try_echo=$ac_try;;
38477 esac
38478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38479 (eval "$ac_link") 2>conftest.er1
38480 ac_status=$?
38481 grep -v '^ *+' conftest.er1 >conftest.err
38482 rm -f conftest.er1
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } && {
38486 test -z "$ac_c_werror_flag" ||
38487 test ! -s conftest.err
38488 } && test -s conftest$ac_exeext &&
38489 $as_test_x conftest$ac_exeext; then
38490 eval "$as_ac_var=yes"
38491 else
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38494
38495 eval "$as_ac_var=no"
38496 fi
38497
38498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38499 conftest$ac_exeext conftest.$ac_ext
38500 fi
38501 ac_res=`eval echo '${'$as_ac_var'}'`
38502 { echo "$as_me:$LINENO: result: $ac_res" >&5
38503 echo "${ECHO_T}$ac_res" >&6; }
38504 if test `eval echo '${'$as_ac_var'}'` = yes; then
38505 cat >>confdefs.h <<_ACEOF
38506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38507 _ACEOF
38508 break
38509 fi
38510 done
38511
38512 if test "$ac_cv_func_setenv" = "yes"; then
38513
38514 for ac_func in unsetenv
38515 do
38516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38517 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38519 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 else
38522 cat >conftest.$ac_ext <<_ACEOF
38523 /* confdefs.h. */
38524 _ACEOF
38525 cat confdefs.h >>conftest.$ac_ext
38526 cat >>conftest.$ac_ext <<_ACEOF
38527 /* end confdefs.h. */
38528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38530 #define $ac_func innocuous_$ac_func
38531
38532 /* System header to define __stub macros and hopefully few prototypes,
38533 which can conflict with char $ac_func (); below.
38534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38535 <limits.h> exists even on freestanding compilers. */
38536
38537 #ifdef __STDC__
38538 # include <limits.h>
38539 #else
38540 # include <assert.h>
38541 #endif
38542
38543 #undef $ac_func
38544
38545 /* Override any GCC internal prototype to avoid an error.
38546 Use char because int might match the return type of a GCC
38547 builtin and then its argument prototype would still apply. */
38548 #ifdef __cplusplus
38549 extern "C"
38550 #endif
38551 char $ac_func ();
38552 /* The GNU C library defines this for functions which it implements
38553 to always fail with ENOSYS. Some functions are actually named
38554 something starting with __ and the normal name is an alias. */
38555 #if defined __stub_$ac_func || defined __stub___$ac_func
38556 choke me
38557 #endif
38558
38559 int
38560 main ()
38561 {
38562 return $ac_func ();
38563 ;
38564 return 0;
38565 }
38566 _ACEOF
38567 rm -f conftest.$ac_objext conftest$ac_exeext
38568 if { (ac_try="$ac_link"
38569 case "(($ac_try" in
38570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38571 *) ac_try_echo=$ac_try;;
38572 esac
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_link") 2>conftest.er1
38575 ac_status=$?
38576 grep -v '^ *+' conftest.er1 >conftest.err
38577 rm -f conftest.er1
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_c_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest$ac_exeext &&
38584 $as_test_x conftest$ac_exeext; then
38585 eval "$as_ac_var=yes"
38586 else
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.$ac_ext >&5
38589
38590 eval "$as_ac_var=no"
38591 fi
38592
38593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38594 conftest$ac_exeext conftest.$ac_ext
38595 fi
38596 ac_res=`eval echo '${'$as_ac_var'}'`
38597 { echo "$as_me:$LINENO: result: $ac_res" >&5
38598 echo "${ECHO_T}$ac_res" >&6; }
38599 if test `eval echo '${'$as_ac_var'}'` = yes; then
38600 cat >>confdefs.h <<_ACEOF
38601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38602 _ACEOF
38603
38604 fi
38605 done
38606
38607 fi
38608
38609 HAVE_SOME_SLEEP_FUNC=0
38610 if test "$USE_BEOS" = 1; then
38611 cat >>confdefs.h <<\_ACEOF
38612 #define HAVE_SLEEP 1
38613 _ACEOF
38614
38615 HAVE_SOME_SLEEP_FUNC=1
38616 fi
38617
38618 if test "$USE_DARWIN" = 1; then
38619 cat >>confdefs.h <<\_ACEOF
38620 #define HAVE_USLEEP 1
38621 _ACEOF
38622
38623 HAVE_SOME_SLEEP_FUNC=1
38624 fi
38625
38626 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38627 POSIX4_LINK=
38628
38629 for ac_func in nanosleep
38630 do
38631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38635 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 else
38637 cat >conftest.$ac_ext <<_ACEOF
38638 /* confdefs.h. */
38639 _ACEOF
38640 cat confdefs.h >>conftest.$ac_ext
38641 cat >>conftest.$ac_ext <<_ACEOF
38642 /* end confdefs.h. */
38643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38645 #define $ac_func innocuous_$ac_func
38646
38647 /* System header to define __stub macros and hopefully few prototypes,
38648 which can conflict with char $ac_func (); below.
38649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38650 <limits.h> exists even on freestanding compilers. */
38651
38652 #ifdef __STDC__
38653 # include <limits.h>
38654 #else
38655 # include <assert.h>
38656 #endif
38657
38658 #undef $ac_func
38659
38660 /* Override any GCC internal prototype to avoid an error.
38661 Use char because int might match the return type of a GCC
38662 builtin and then its argument prototype would still apply. */
38663 #ifdef __cplusplus
38664 extern "C"
38665 #endif
38666 char $ac_func ();
38667 /* The GNU C library defines this for functions which it implements
38668 to always fail with ENOSYS. Some functions are actually named
38669 something starting with __ and the normal name is an alias. */
38670 #if defined __stub_$ac_func || defined __stub___$ac_func
38671 choke me
38672 #endif
38673
38674 int
38675 main ()
38676 {
38677 return $ac_func ();
38678 ;
38679 return 0;
38680 }
38681 _ACEOF
38682 rm -f conftest.$ac_objext conftest$ac_exeext
38683 if { (ac_try="$ac_link"
38684 case "(($ac_try" in
38685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38686 *) ac_try_echo=$ac_try;;
38687 esac
38688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38689 (eval "$ac_link") 2>conftest.er1
38690 ac_status=$?
38691 grep -v '^ *+' conftest.er1 >conftest.err
38692 rm -f conftest.er1
38693 cat conftest.err >&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); } && {
38696 test -z "$ac_c_werror_flag" ||
38697 test ! -s conftest.err
38698 } && test -s conftest$ac_exeext &&
38699 $as_test_x conftest$ac_exeext; then
38700 eval "$as_ac_var=yes"
38701 else
38702 echo "$as_me: failed program was:" >&5
38703 sed 's/^/| /' conftest.$ac_ext >&5
38704
38705 eval "$as_ac_var=no"
38706 fi
38707
38708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38709 conftest$ac_exeext conftest.$ac_ext
38710 fi
38711 ac_res=`eval echo '${'$as_ac_var'}'`
38712 { echo "$as_me:$LINENO: result: $ac_res" >&5
38713 echo "${ECHO_T}$ac_res" >&6; }
38714 if test `eval echo '${'$as_ac_var'}'` = yes; then
38715 cat >>confdefs.h <<_ACEOF
38716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38717 _ACEOF
38718 cat >>confdefs.h <<\_ACEOF
38719 #define HAVE_NANOSLEEP 1
38720 _ACEOF
38721
38722 else
38723
38724 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38725 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38726 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38727 echo $ECHO_N "(cached) $ECHO_C" >&6
38728 else
38729 ac_check_lib_save_LIBS=$LIBS
38730 LIBS="-lposix4 $LIBS"
38731 cat >conftest.$ac_ext <<_ACEOF
38732 /* confdefs.h. */
38733 _ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737
38738 /* Override any GCC internal prototype to avoid an error.
38739 Use char because int might match the return type of a GCC
38740 builtin and then its argument prototype would still apply. */
38741 #ifdef __cplusplus
38742 extern "C"
38743 #endif
38744 char nanosleep ();
38745 int
38746 main ()
38747 {
38748 return nanosleep ();
38749 ;
38750 return 0;
38751 }
38752 _ACEOF
38753 rm -f conftest.$ac_objext conftest$ac_exeext
38754 if { (ac_try="$ac_link"
38755 case "(($ac_try" in
38756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38757 *) ac_try_echo=$ac_try;;
38758 esac
38759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38760 (eval "$ac_link") 2>conftest.er1
38761 ac_status=$?
38762 grep -v '^ *+' conftest.er1 >conftest.err
38763 rm -f conftest.er1
38764 cat conftest.err >&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); } && {
38767 test -z "$ac_c_werror_flag" ||
38768 test ! -s conftest.err
38769 } && test -s conftest$ac_exeext &&
38770 $as_test_x conftest$ac_exeext; then
38771 ac_cv_lib_posix4_nanosleep=yes
38772 else
38773 echo "$as_me: failed program was:" >&5
38774 sed 's/^/| /' conftest.$ac_ext >&5
38775
38776 ac_cv_lib_posix4_nanosleep=no
38777 fi
38778
38779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38780 conftest$ac_exeext conftest.$ac_ext
38781 LIBS=$ac_check_lib_save_LIBS
38782 fi
38783 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38784 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38785 if test $ac_cv_lib_posix4_nanosleep = yes; then
38786
38787 cat >>confdefs.h <<\_ACEOF
38788 #define HAVE_NANOSLEEP 1
38789 _ACEOF
38790
38791 POSIX4_LINK=" -lposix4"
38792
38793 else
38794
38795
38796 for wx_func in usleep
38797 do
38798 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38799 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38800 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38801 echo $ECHO_N "(cached) $ECHO_C" >&6
38802 else
38803
38804 cat >conftest.$ac_ext <<_ACEOF
38805
38806 /* confdefs.h. */
38807 _ACEOF
38808 cat confdefs.h >>conftest.$ac_ext
38809 cat >>conftest.$ac_ext <<_ACEOF
38810 /* end confdefs.h. */
38811
38812
38813 $ac_includes_default
38814
38815 int
38816 main ()
38817 {
38818
38819 #ifndef $wx_func
38820 &$wx_func;
38821 #endif
38822
38823
38824 ;
38825 return 0;
38826 }
38827
38828 _ACEOF
38829 rm -f conftest.$ac_objext conftest$ac_exeext
38830 if { (ac_try="$ac_link"
38831 case "(($ac_try" in
38832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38833 *) ac_try_echo=$ac_try;;
38834 esac
38835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38836 (eval "$ac_link") 2>conftest.er1
38837 ac_status=$?
38838 grep -v '^ *+' conftest.er1 >conftest.err
38839 rm -f conftest.er1
38840 cat conftest.err >&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); } && {
38843 test -z "$ac_c_werror_flag" ||
38844 test ! -s conftest.err
38845 } && test -s conftest$ac_exeext &&
38846 $as_test_x conftest$ac_exeext; then
38847 eval wx_cv_func_$wx_func=yes
38848 else
38849 echo "$as_me: failed program was:" >&5
38850 sed 's/^/| /' conftest.$ac_ext >&5
38851
38852 eval wx_cv_func_$wx_func=no
38853 fi
38854
38855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38856 conftest$ac_exeext conftest.$ac_ext
38857
38858 fi
38859 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38860 { echo "$as_me:$LINENO: result: $ac_res" >&5
38861 echo "${ECHO_T}$ac_res" >&6; }
38862
38863 if eval test \$wx_cv_func_$wx_func = yes
38864 then
38865 cat >>confdefs.h <<_ACEOF
38866 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38867 _ACEOF
38868
38869
38870 else
38871 :
38872 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38873 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38874
38875 fi
38876 done
38877
38878
38879
38880 fi
38881
38882
38883
38884 fi
38885 done
38886
38887 fi
38888
38889
38890 for wx_func in uname
38891 do
38892 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38893 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38894 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38895 echo $ECHO_N "(cached) $ECHO_C" >&6
38896 else
38897
38898 cat >conftest.$ac_ext <<_ACEOF
38899
38900 /* confdefs.h. */
38901 _ACEOF
38902 cat confdefs.h >>conftest.$ac_ext
38903 cat >>conftest.$ac_ext <<_ACEOF
38904 /* end confdefs.h. */
38905
38906 #include <sys/utsname.h>
38907 $ac_includes_default
38908
38909 int
38910 main ()
38911 {
38912
38913 #ifndef $wx_func
38914 &$wx_func;
38915 #endif
38916
38917
38918 ;
38919 return 0;
38920 }
38921
38922 _ACEOF
38923 rm -f conftest.$ac_objext conftest$ac_exeext
38924 if { (ac_try="$ac_link"
38925 case "(($ac_try" in
38926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38927 *) ac_try_echo=$ac_try;;
38928 esac
38929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38930 (eval "$ac_link") 2>conftest.er1
38931 ac_status=$?
38932 grep -v '^ *+' conftest.er1 >conftest.err
38933 rm -f conftest.er1
38934 cat conftest.err >&5
38935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38936 (exit $ac_status); } && {
38937 test -z "$ac_c_werror_flag" ||
38938 test ! -s conftest.err
38939 } && test -s conftest$ac_exeext &&
38940 $as_test_x conftest$ac_exeext; then
38941 eval wx_cv_func_$wx_func=yes
38942 else
38943 echo "$as_me: failed program was:" >&5
38944 sed 's/^/| /' conftest.$ac_ext >&5
38945
38946 eval wx_cv_func_$wx_func=no
38947 fi
38948
38949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38950 conftest$ac_exeext conftest.$ac_ext
38951
38952 fi
38953 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38954 { echo "$as_me:$LINENO: result: $ac_res" >&5
38955 echo "${ECHO_T}$ac_res" >&6; }
38956
38957 if eval test \$wx_cv_func_$wx_func = yes
38958 then
38959 cat >>confdefs.h <<_ACEOF
38960 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38961 _ACEOF
38962
38963
38964 else
38965 :
38966
38967 fi
38968 done
38969
38970 if test "$wx_cv_func_uname" != yes; then
38971
38972 for wx_func in gethostname
38973 do
38974 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38975 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38976 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38977 echo $ECHO_N "(cached) $ECHO_C" >&6
38978 else
38979
38980 cat >conftest.$ac_ext <<_ACEOF
38981
38982 /* confdefs.h. */
38983 _ACEOF
38984 cat confdefs.h >>conftest.$ac_ext
38985 cat >>conftest.$ac_ext <<_ACEOF
38986 /* end confdefs.h. */
38987
38988
38989 $ac_includes_default
38990
38991 int
38992 main ()
38993 {
38994
38995 #ifndef $wx_func
38996 &$wx_func;
38997 #endif
38998
38999
39000 ;
39001 return 0;
39002 }
39003
39004 _ACEOF
39005 rm -f conftest.$ac_objext conftest$ac_exeext
39006 if { (ac_try="$ac_link"
39007 case "(($ac_try" in
39008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39009 *) ac_try_echo=$ac_try;;
39010 esac
39011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39012 (eval "$ac_link") 2>conftest.er1
39013 ac_status=$?
39014 grep -v '^ *+' conftest.er1 >conftest.err
39015 rm -f conftest.er1
39016 cat conftest.err >&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } && {
39019 test -z "$ac_c_werror_flag" ||
39020 test ! -s conftest.err
39021 } && test -s conftest$ac_exeext &&
39022 $as_test_x conftest$ac_exeext; then
39023 eval wx_cv_func_$wx_func=yes
39024 else
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.$ac_ext >&5
39027
39028 eval wx_cv_func_$wx_func=no
39029 fi
39030
39031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39032 conftest$ac_exeext conftest.$ac_ext
39033
39034 fi
39035 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39036 { echo "$as_me:$LINENO: result: $ac_res" >&5
39037 echo "${ECHO_T}$ac_res" >&6; }
39038
39039 if eval test \$wx_cv_func_$wx_func = yes
39040 then
39041 cat >>confdefs.h <<_ACEOF
39042 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39043 _ACEOF
39044
39045
39046 else
39047 :
39048
39049 fi
39050 done
39051
39052 fi
39053
39054
39055 for wx_func in strtok_r
39056 do
39057 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39058 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39059 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39060 echo $ECHO_N "(cached) $ECHO_C" >&6
39061 else
39062
39063 cat >conftest.$ac_ext <<_ACEOF
39064
39065 /* confdefs.h. */
39066 _ACEOF
39067 cat confdefs.h >>conftest.$ac_ext
39068 cat >>conftest.$ac_ext <<_ACEOF
39069 /* end confdefs.h. */
39070
39071 #define _REENTRANT
39072 $ac_includes_default
39073
39074 int
39075 main ()
39076 {
39077
39078 #ifndef $wx_func
39079 &$wx_func;
39080 #endif
39081
39082
39083 ;
39084 return 0;
39085 }
39086
39087 _ACEOF
39088 rm -f conftest.$ac_objext conftest$ac_exeext
39089 if { (ac_try="$ac_link"
39090 case "(($ac_try" in
39091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39092 *) ac_try_echo=$ac_try;;
39093 esac
39094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39095 (eval "$ac_link") 2>conftest.er1
39096 ac_status=$?
39097 grep -v '^ *+' conftest.er1 >conftest.err
39098 rm -f conftest.er1
39099 cat conftest.err >&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } && {
39102 test -z "$ac_c_werror_flag" ||
39103 test ! -s conftest.err
39104 } && test -s conftest$ac_exeext &&
39105 $as_test_x conftest$ac_exeext; then
39106 eval wx_cv_func_$wx_func=yes
39107 else
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.$ac_ext >&5
39110
39111 eval wx_cv_func_$wx_func=no
39112 fi
39113
39114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39115 conftest$ac_exeext conftest.$ac_ext
39116
39117 fi
39118 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39119 { echo "$as_me:$LINENO: result: $ac_res" >&5
39120 echo "${ECHO_T}$ac_res" >&6; }
39121
39122 if eval test \$wx_cv_func_$wx_func = yes
39123 then
39124 cat >>confdefs.h <<_ACEOF
39125 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39126 _ACEOF
39127
39128
39129 else
39130 :
39131
39132 fi
39133 done
39134
39135
39136 INET_LINK=
39137
39138 for ac_func in inet_addr
39139 do
39140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39144 echo $ECHO_N "(cached) $ECHO_C" >&6
39145 else
39146 cat >conftest.$ac_ext <<_ACEOF
39147 /* confdefs.h. */
39148 _ACEOF
39149 cat confdefs.h >>conftest.$ac_ext
39150 cat >>conftest.$ac_ext <<_ACEOF
39151 /* end confdefs.h. */
39152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39154 #define $ac_func innocuous_$ac_func
39155
39156 /* System header to define __stub macros and hopefully few prototypes,
39157 which can conflict with char $ac_func (); below.
39158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39159 <limits.h> exists even on freestanding compilers. */
39160
39161 #ifdef __STDC__
39162 # include <limits.h>
39163 #else
39164 # include <assert.h>
39165 #endif
39166
39167 #undef $ac_func
39168
39169 /* Override any GCC internal prototype to avoid an error.
39170 Use char because int might match the return type of a GCC
39171 builtin and then its argument prototype would still apply. */
39172 #ifdef __cplusplus
39173 extern "C"
39174 #endif
39175 char $ac_func ();
39176 /* The GNU C library defines this for functions which it implements
39177 to always fail with ENOSYS. Some functions are actually named
39178 something starting with __ and the normal name is an alias. */
39179 #if defined __stub_$ac_func || defined __stub___$ac_func
39180 choke me
39181 #endif
39182
39183 int
39184 main ()
39185 {
39186 return $ac_func ();
39187 ;
39188 return 0;
39189 }
39190 _ACEOF
39191 rm -f conftest.$ac_objext conftest$ac_exeext
39192 if { (ac_try="$ac_link"
39193 case "(($ac_try" in
39194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39195 *) ac_try_echo=$ac_try;;
39196 esac
39197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39198 (eval "$ac_link") 2>conftest.er1
39199 ac_status=$?
39200 grep -v '^ *+' conftest.er1 >conftest.err
39201 rm -f conftest.er1
39202 cat conftest.err >&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } && {
39205 test -z "$ac_c_werror_flag" ||
39206 test ! -s conftest.err
39207 } && test -s conftest$ac_exeext &&
39208 $as_test_x conftest$ac_exeext; then
39209 eval "$as_ac_var=yes"
39210 else
39211 echo "$as_me: failed program was:" >&5
39212 sed 's/^/| /' conftest.$ac_ext >&5
39213
39214 eval "$as_ac_var=no"
39215 fi
39216
39217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39218 conftest$ac_exeext conftest.$ac_ext
39219 fi
39220 ac_res=`eval echo '${'$as_ac_var'}'`
39221 { echo "$as_me:$LINENO: result: $ac_res" >&5
39222 echo "${ECHO_T}$ac_res" >&6; }
39223 if test `eval echo '${'$as_ac_var'}'` = yes; then
39224 cat >>confdefs.h <<_ACEOF
39225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39226 _ACEOF
39227 cat >>confdefs.h <<\_ACEOF
39228 #define HAVE_INET_ADDR 1
39229 _ACEOF
39230
39231 else
39232
39233 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39234 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39235 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39236 echo $ECHO_N "(cached) $ECHO_C" >&6
39237 else
39238 ac_check_lib_save_LIBS=$LIBS
39239 LIBS="-lnsl $LIBS"
39240 cat >conftest.$ac_ext <<_ACEOF
39241 /* confdefs.h. */
39242 _ACEOF
39243 cat confdefs.h >>conftest.$ac_ext
39244 cat >>conftest.$ac_ext <<_ACEOF
39245 /* end confdefs.h. */
39246
39247 /* Override any GCC internal prototype to avoid an error.
39248 Use char because int might match the return type of a GCC
39249 builtin and then its argument prototype would still apply. */
39250 #ifdef __cplusplus
39251 extern "C"
39252 #endif
39253 char inet_addr ();
39254 int
39255 main ()
39256 {
39257 return inet_addr ();
39258 ;
39259 return 0;
39260 }
39261 _ACEOF
39262 rm -f conftest.$ac_objext conftest$ac_exeext
39263 if { (ac_try="$ac_link"
39264 case "(($ac_try" in
39265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39266 *) ac_try_echo=$ac_try;;
39267 esac
39268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39269 (eval "$ac_link") 2>conftest.er1
39270 ac_status=$?
39271 grep -v '^ *+' conftest.er1 >conftest.err
39272 rm -f conftest.er1
39273 cat conftest.err >&5
39274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275 (exit $ac_status); } && {
39276 test -z "$ac_c_werror_flag" ||
39277 test ! -s conftest.err
39278 } && test -s conftest$ac_exeext &&
39279 $as_test_x conftest$ac_exeext; then
39280 ac_cv_lib_nsl_inet_addr=yes
39281 else
39282 echo "$as_me: failed program was:" >&5
39283 sed 's/^/| /' conftest.$ac_ext >&5
39284
39285 ac_cv_lib_nsl_inet_addr=no
39286 fi
39287
39288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39289 conftest$ac_exeext conftest.$ac_ext
39290 LIBS=$ac_check_lib_save_LIBS
39291 fi
39292 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39293 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39294 if test $ac_cv_lib_nsl_inet_addr = yes; then
39295 INET_LINK="nsl"
39296 else
39297
39298 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39299 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39300 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39301 echo $ECHO_N "(cached) $ECHO_C" >&6
39302 else
39303 ac_check_lib_save_LIBS=$LIBS
39304 LIBS="-lresolv $LIBS"
39305 cat >conftest.$ac_ext <<_ACEOF
39306 /* confdefs.h. */
39307 _ACEOF
39308 cat confdefs.h >>conftest.$ac_ext
39309 cat >>conftest.$ac_ext <<_ACEOF
39310 /* end confdefs.h. */
39311
39312 /* Override any GCC internal prototype to avoid an error.
39313 Use char because int might match the return type of a GCC
39314 builtin and then its argument prototype would still apply. */
39315 #ifdef __cplusplus
39316 extern "C"
39317 #endif
39318 char inet_addr ();
39319 int
39320 main ()
39321 {
39322 return inet_addr ();
39323 ;
39324 return 0;
39325 }
39326 _ACEOF
39327 rm -f conftest.$ac_objext conftest$ac_exeext
39328 if { (ac_try="$ac_link"
39329 case "(($ac_try" in
39330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39331 *) ac_try_echo=$ac_try;;
39332 esac
39333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39334 (eval "$ac_link") 2>conftest.er1
39335 ac_status=$?
39336 grep -v '^ *+' conftest.er1 >conftest.err
39337 rm -f conftest.er1
39338 cat conftest.err >&5
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); } && {
39341 test -z "$ac_c_werror_flag" ||
39342 test ! -s conftest.err
39343 } && test -s conftest$ac_exeext &&
39344 $as_test_x conftest$ac_exeext; then
39345 ac_cv_lib_resolv_inet_addr=yes
39346 else
39347 echo "$as_me: failed program was:" >&5
39348 sed 's/^/| /' conftest.$ac_ext >&5
39349
39350 ac_cv_lib_resolv_inet_addr=no
39351 fi
39352
39353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39354 conftest$ac_exeext conftest.$ac_ext
39355 LIBS=$ac_check_lib_save_LIBS
39356 fi
39357 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39358 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39359 if test $ac_cv_lib_resolv_inet_addr = yes; then
39360 INET_LINK="resolv"
39361 else
39362
39363 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39364 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39365 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39366 echo $ECHO_N "(cached) $ECHO_C" >&6
39367 else
39368 ac_check_lib_save_LIBS=$LIBS
39369 LIBS="-lsocket $LIBS"
39370 cat >conftest.$ac_ext <<_ACEOF
39371 /* confdefs.h. */
39372 _ACEOF
39373 cat confdefs.h >>conftest.$ac_ext
39374 cat >>conftest.$ac_ext <<_ACEOF
39375 /* end confdefs.h. */
39376
39377 /* Override any GCC internal prototype to avoid an error.
39378 Use char because int might match the return type of a GCC
39379 builtin and then its argument prototype would still apply. */
39380 #ifdef __cplusplus
39381 extern "C"
39382 #endif
39383 char inet_addr ();
39384 int
39385 main ()
39386 {
39387 return inet_addr ();
39388 ;
39389 return 0;
39390 }
39391 _ACEOF
39392 rm -f conftest.$ac_objext conftest$ac_exeext
39393 if { (ac_try="$ac_link"
39394 case "(($ac_try" in
39395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39396 *) ac_try_echo=$ac_try;;
39397 esac
39398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39399 (eval "$ac_link") 2>conftest.er1
39400 ac_status=$?
39401 grep -v '^ *+' conftest.er1 >conftest.err
39402 rm -f conftest.er1
39403 cat conftest.err >&5
39404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405 (exit $ac_status); } && {
39406 test -z "$ac_c_werror_flag" ||
39407 test ! -s conftest.err
39408 } && test -s conftest$ac_exeext &&
39409 $as_test_x conftest$ac_exeext; then
39410 ac_cv_lib_socket_inet_addr=yes
39411 else
39412 echo "$as_me: failed program was:" >&5
39413 sed 's/^/| /' conftest.$ac_ext >&5
39414
39415 ac_cv_lib_socket_inet_addr=no
39416 fi
39417
39418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39419 conftest$ac_exeext conftest.$ac_ext
39420 LIBS=$ac_check_lib_save_LIBS
39421 fi
39422 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39423 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39424 if test $ac_cv_lib_socket_inet_addr = yes; then
39425 INET_LINK="socket"
39426
39427 fi
39428
39429
39430
39431 fi
39432
39433
39434
39435 fi
39436
39437
39438
39439 fi
39440 done
39441
39442
39443
39444 for ac_func in inet_aton
39445 do
39446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39450 echo $ECHO_N "(cached) $ECHO_C" >&6
39451 else
39452 cat >conftest.$ac_ext <<_ACEOF
39453 /* confdefs.h. */
39454 _ACEOF
39455 cat confdefs.h >>conftest.$ac_ext
39456 cat >>conftest.$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39460 #define $ac_func innocuous_$ac_func
39461
39462 /* System header to define __stub macros and hopefully few prototypes,
39463 which can conflict with char $ac_func (); below.
39464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39465 <limits.h> exists even on freestanding compilers. */
39466
39467 #ifdef __STDC__
39468 # include <limits.h>
39469 #else
39470 # include <assert.h>
39471 #endif
39472
39473 #undef $ac_func
39474
39475 /* Override any GCC internal prototype to avoid an error.
39476 Use char because int might match the return type of a GCC
39477 builtin and then its argument prototype would still apply. */
39478 #ifdef __cplusplus
39479 extern "C"
39480 #endif
39481 char $ac_func ();
39482 /* The GNU C library defines this for functions which it implements
39483 to always fail with ENOSYS. Some functions are actually named
39484 something starting with __ and the normal name is an alias. */
39485 #if defined __stub_$ac_func || defined __stub___$ac_func
39486 choke me
39487 #endif
39488
39489 int
39490 main ()
39491 {
39492 return $ac_func ();
39493 ;
39494 return 0;
39495 }
39496 _ACEOF
39497 rm -f conftest.$ac_objext conftest$ac_exeext
39498 if { (ac_try="$ac_link"
39499 case "(($ac_try" in
39500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39501 *) ac_try_echo=$ac_try;;
39502 esac
39503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39504 (eval "$ac_link") 2>conftest.er1
39505 ac_status=$?
39506 grep -v '^ *+' conftest.er1 >conftest.err
39507 rm -f conftest.er1
39508 cat conftest.err >&5
39509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39510 (exit $ac_status); } && {
39511 test -z "$ac_c_werror_flag" ||
39512 test ! -s conftest.err
39513 } && test -s conftest$ac_exeext &&
39514 $as_test_x conftest$ac_exeext; then
39515 eval "$as_ac_var=yes"
39516 else
39517 echo "$as_me: failed program was:" >&5
39518 sed 's/^/| /' conftest.$ac_ext >&5
39519
39520 eval "$as_ac_var=no"
39521 fi
39522
39523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39524 conftest$ac_exeext conftest.$ac_ext
39525 fi
39526 ac_res=`eval echo '${'$as_ac_var'}'`
39527 { echo "$as_me:$LINENO: result: $ac_res" >&5
39528 echo "${ECHO_T}$ac_res" >&6; }
39529 if test `eval echo '${'$as_ac_var'}'` = yes; then
39530 cat >>confdefs.h <<_ACEOF
39531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39532 _ACEOF
39533 cat >>confdefs.h <<\_ACEOF
39534 #define HAVE_INET_ATON 1
39535 _ACEOF
39536
39537 else
39538
39539 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39540 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39541 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39542 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39543 echo $ECHO_N "(cached) $ECHO_C" >&6
39544 else
39545 ac_check_lib_save_LIBS=$LIBS
39546 LIBS="-l$INET_LINK $LIBS"
39547 cat >conftest.$ac_ext <<_ACEOF
39548 /* confdefs.h. */
39549 _ACEOF
39550 cat confdefs.h >>conftest.$ac_ext
39551 cat >>conftest.$ac_ext <<_ACEOF
39552 /* end confdefs.h. */
39553
39554 /* Override any GCC internal prototype to avoid an error.
39555 Use char because int might match the return type of a GCC
39556 builtin and then its argument prototype would still apply. */
39557 #ifdef __cplusplus
39558 extern "C"
39559 #endif
39560 char inet_aton ();
39561 int
39562 main ()
39563 {
39564 return inet_aton ();
39565 ;
39566 return 0;
39567 }
39568 _ACEOF
39569 rm -f conftest.$ac_objext conftest$ac_exeext
39570 if { (ac_try="$ac_link"
39571 case "(($ac_try" in
39572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39573 *) ac_try_echo=$ac_try;;
39574 esac
39575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39576 (eval "$ac_link") 2>conftest.er1
39577 ac_status=$?
39578 grep -v '^ *+' conftest.er1 >conftest.err
39579 rm -f conftest.er1
39580 cat conftest.err >&5
39581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582 (exit $ac_status); } && {
39583 test -z "$ac_c_werror_flag" ||
39584 test ! -s conftest.err
39585 } && test -s conftest$ac_exeext &&
39586 $as_test_x conftest$ac_exeext; then
39587 eval "$as_ac_Lib=yes"
39588 else
39589 echo "$as_me: failed program was:" >&5
39590 sed 's/^/| /' conftest.$ac_ext >&5
39591
39592 eval "$as_ac_Lib=no"
39593 fi
39594
39595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39596 conftest$ac_exeext conftest.$ac_ext
39597 LIBS=$ac_check_lib_save_LIBS
39598 fi
39599 ac_res=`eval echo '${'$as_ac_Lib'}'`
39600 { echo "$as_me:$LINENO: result: $ac_res" >&5
39601 echo "${ECHO_T}$ac_res" >&6; }
39602 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39603 cat >>confdefs.h <<\_ACEOF
39604 #define HAVE_INET_ATON 1
39605 _ACEOF
39606
39607 fi
39608
39609
39610 fi
39611 done
39612
39613
39614 if test "x$INET_LINK" != "x"; then
39615 cat >>confdefs.h <<\_ACEOF
39616 #define HAVE_INET_ADDR 1
39617 _ACEOF
39618
39619 INET_LINK=" -l$INET_LINK"
39620 fi
39621
39622
39623 for wx_func in fdopen
39624 do
39625 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39626 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39627 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39628 echo $ECHO_N "(cached) $ECHO_C" >&6
39629 else
39630
39631 cat >conftest.$ac_ext <<_ACEOF
39632
39633 /* confdefs.h. */
39634 _ACEOF
39635 cat confdefs.h >>conftest.$ac_ext
39636 cat >>conftest.$ac_ext <<_ACEOF
39637 /* end confdefs.h. */
39638
39639
39640 $ac_includes_default
39641
39642 int
39643 main ()
39644 {
39645
39646 #ifndef $wx_func
39647 &$wx_func;
39648 #endif
39649
39650
39651 ;
39652 return 0;
39653 }
39654
39655 _ACEOF
39656 rm -f conftest.$ac_objext conftest$ac_exeext
39657 if { (ac_try="$ac_link"
39658 case "(($ac_try" in
39659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39660 *) ac_try_echo=$ac_try;;
39661 esac
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_link") 2>conftest.er1
39664 ac_status=$?
39665 grep -v '^ *+' conftest.er1 >conftest.err
39666 rm -f conftest.er1
39667 cat conftest.err >&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && {
39670 test -z "$ac_c_werror_flag" ||
39671 test ! -s conftest.err
39672 } && test -s conftest$ac_exeext &&
39673 $as_test_x conftest$ac_exeext; then
39674 eval wx_cv_func_$wx_func=yes
39675 else
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.$ac_ext >&5
39678
39679 eval wx_cv_func_$wx_func=no
39680 fi
39681
39682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39683 conftest$ac_exeext conftest.$ac_ext
39684
39685 fi
39686 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39687 { echo "$as_me:$LINENO: result: $ac_res" >&5
39688 echo "${ECHO_T}$ac_res" >&6; }
39689
39690 if eval test \$wx_cv_func_$wx_func = yes
39691 then
39692 cat >>confdefs.h <<_ACEOF
39693 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39694 _ACEOF
39695
39696
39697 else
39698 :
39699
39700 fi
39701 done
39702
39703
39704 if test "$wxUSE_TARSTREAM" = "yes"; then
39705
39706 for wx_func in sysconf
39707 do
39708 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39709 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39710 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39712 else
39713
39714 cat >conftest.$ac_ext <<_ACEOF
39715
39716 /* confdefs.h. */
39717 _ACEOF
39718 cat confdefs.h >>conftest.$ac_ext
39719 cat >>conftest.$ac_ext <<_ACEOF
39720 /* end confdefs.h. */
39721
39722
39723 $ac_includes_default
39724
39725 int
39726 main ()
39727 {
39728
39729 #ifndef $wx_func
39730 &$wx_func;
39731 #endif
39732
39733
39734 ;
39735 return 0;
39736 }
39737
39738 _ACEOF
39739 rm -f conftest.$ac_objext conftest$ac_exeext
39740 if { (ac_try="$ac_link"
39741 case "(($ac_try" in
39742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39743 *) ac_try_echo=$ac_try;;
39744 esac
39745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39746 (eval "$ac_link") 2>conftest.er1
39747 ac_status=$?
39748 grep -v '^ *+' conftest.er1 >conftest.err
39749 rm -f conftest.er1
39750 cat conftest.err >&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } && {
39753 test -z "$ac_c_werror_flag" ||
39754 test ! -s conftest.err
39755 } && test -s conftest$ac_exeext &&
39756 $as_test_x conftest$ac_exeext; then
39757 eval wx_cv_func_$wx_func=yes
39758 else
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.$ac_ext >&5
39761
39762 eval wx_cv_func_$wx_func=no
39763 fi
39764
39765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39766 conftest$ac_exeext conftest.$ac_ext
39767
39768 fi
39769 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39770 { echo "$as_me:$LINENO: result: $ac_res" >&5
39771 echo "${ECHO_T}$ac_res" >&6; }
39772
39773 if eval test \$wx_cv_func_$wx_func = yes
39774 then
39775 cat >>confdefs.h <<_ACEOF
39776 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39777 _ACEOF
39778
39779
39780 else
39781 :
39782
39783 fi
39784 done
39785
39786
39787
39788 for wx_func in getpwuid_r
39789 do
39790 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39791 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39792 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39793 echo $ECHO_N "(cached) $ECHO_C" >&6
39794 else
39795
39796 cat >conftest.$ac_ext <<_ACEOF
39797
39798 /* confdefs.h. */
39799 _ACEOF
39800 cat confdefs.h >>conftest.$ac_ext
39801 cat >>conftest.$ac_ext <<_ACEOF
39802 /* end confdefs.h. */
39803
39804
39805 #define _REENTRANT
39806 #include <pwd.h>
39807
39808 $ac_includes_default
39809
39810 int
39811 main ()
39812 {
39813
39814 #ifndef $wx_func
39815 &$wx_func;
39816 #endif
39817
39818 struct passwd pw, *ppw;
39819 char buf[1024];
39820 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39821
39822
39823 ;
39824 return 0;
39825 }
39826
39827 _ACEOF
39828 rm -f conftest.$ac_objext conftest$ac_exeext
39829 if { (ac_try="$ac_link"
39830 case "(($ac_try" in
39831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39832 *) ac_try_echo=$ac_try;;
39833 esac
39834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39835 (eval "$ac_link") 2>conftest.er1
39836 ac_status=$?
39837 grep -v '^ *+' conftest.er1 >conftest.err
39838 rm -f conftest.er1
39839 cat conftest.err >&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } && {
39842 test -z "$ac_c_werror_flag" ||
39843 test ! -s conftest.err
39844 } && test -s conftest$ac_exeext &&
39845 $as_test_x conftest$ac_exeext; then
39846 eval wx_cv_func_$wx_func=yes
39847 else
39848 echo "$as_me: failed program was:" >&5
39849 sed 's/^/| /' conftest.$ac_ext >&5
39850
39851 eval wx_cv_func_$wx_func=no
39852 fi
39853
39854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39855 conftest$ac_exeext conftest.$ac_ext
39856
39857 fi
39858 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39859 { echo "$as_me:$LINENO: result: $ac_res" >&5
39860 echo "${ECHO_T}$ac_res" >&6; }
39861
39862 if eval test \$wx_cv_func_$wx_func = yes
39863 then
39864 cat >>confdefs.h <<_ACEOF
39865 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39866 _ACEOF
39867
39868
39869 else
39870 :
39871
39872 fi
39873 done
39874
39875
39876
39877 for wx_func in getgrgid_r
39878 do
39879 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39880 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39881 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39882 echo $ECHO_N "(cached) $ECHO_C" >&6
39883 else
39884
39885 cat >conftest.$ac_ext <<_ACEOF
39886
39887 /* confdefs.h. */
39888 _ACEOF
39889 cat confdefs.h >>conftest.$ac_ext
39890 cat >>conftest.$ac_ext <<_ACEOF
39891 /* end confdefs.h. */
39892
39893
39894 #define _REENTRANT
39895 #include <grp.h>
39896
39897 $ac_includes_default
39898
39899 int
39900 main ()
39901 {
39902
39903 #ifndef $wx_func
39904 &$wx_func;
39905 #endif
39906
39907 struct group grp, *pgrp;
39908 char buf[1024];
39909 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39910
39911
39912 ;
39913 return 0;
39914 }
39915
39916 _ACEOF
39917 rm -f conftest.$ac_objext conftest$ac_exeext
39918 if { (ac_try="$ac_link"
39919 case "(($ac_try" in
39920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39921 *) ac_try_echo=$ac_try;;
39922 esac
39923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39924 (eval "$ac_link") 2>conftest.er1
39925 ac_status=$?
39926 grep -v '^ *+' conftest.er1 >conftest.err
39927 rm -f conftest.er1
39928 cat conftest.err >&5
39929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930 (exit $ac_status); } && {
39931 test -z "$ac_c_werror_flag" ||
39932 test ! -s conftest.err
39933 } && test -s conftest$ac_exeext &&
39934 $as_test_x conftest$ac_exeext; then
39935 eval wx_cv_func_$wx_func=yes
39936 else
39937 echo "$as_me: failed program was:" >&5
39938 sed 's/^/| /' conftest.$ac_ext >&5
39939
39940 eval wx_cv_func_$wx_func=no
39941 fi
39942
39943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39944 conftest$ac_exeext conftest.$ac_ext
39945
39946 fi
39947 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39948 { echo "$as_me:$LINENO: result: $ac_res" >&5
39949 echo "${ECHO_T}$ac_res" >&6; }
39950
39951 if eval test \$wx_cv_func_$wx_func = yes
39952 then
39953 cat >>confdefs.h <<_ACEOF
39954 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39955 _ACEOF
39956
39957
39958 else
39959 :
39960
39961 fi
39962 done
39963
39964 fi
39965
39966 fi
39967
39968
39969
39970 cat >confcache <<\_ACEOF
39971 # This file is a shell script that caches the results of configure
39972 # tests run on this system so they can be shared between configure
39973 # scripts and configure runs, see configure's option --config-cache.
39974 # It is not useful on other systems. If it contains results you don't
39975 # want to keep, you may remove or edit it.
39976 #
39977 # config.status only pays attention to the cache file if you give it
39978 # the --recheck option to rerun configure.
39979 #
39980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39982 # following values.
39983
39984 _ACEOF
39985
39986 # The following way of writing the cache mishandles newlines in values,
39987 # but we know of no workaround that is simple, portable, and efficient.
39988 # So, we kill variables containing newlines.
39989 # Ultrix sh set writes to stderr and can't be redirected directly,
39990 # and sets the high bit in the cache file unless we assign to the vars.
39991 (
39992 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39993 eval ac_val=\$$ac_var
39994 case $ac_val in #(
39995 *${as_nl}*)
39996 case $ac_var in #(
39997 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39998 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39999 esac
40000 case $ac_var in #(
40001 _ | IFS | as_nl) ;; #(
40002 *) $as_unset $ac_var ;;
40003 esac ;;
40004 esac
40005 done
40006
40007 (set) 2>&1 |
40008 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40009 *${as_nl}ac_space=\ *)
40010 # `set' does not quote correctly, so add quotes (double-quote
40011 # substitution turns \\\\ into \\, and sed turns \\ into \).
40012 sed -n \
40013 "s/'/'\\\\''/g;
40014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40015 ;; #(
40016 *)
40017 # `set' quotes correctly as required by POSIX, so do not add quotes.
40018 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40019 ;;
40020 esac |
40021 sort
40022 ) |
40023 sed '
40024 /^ac_cv_env_/b end
40025 t clear
40026 :clear
40027 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40028 t end
40029 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40030 :end' >>confcache
40031 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40032 if test -w "$cache_file"; then
40033 test "x$cache_file" != "x/dev/null" &&
40034 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40035 echo "$as_me: updating cache $cache_file" >&6;}
40036 cat confcache >$cache_file
40037 else
40038 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40039 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40040 fi
40041 fi
40042 rm -f confcache
40043
40044
40045 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40046
40047
40048 THREADS_LINK=
40049 THREADS_CFLAGS=
40050
40051 if test "$wxUSE_THREADS" = "yes" ; then
40052 if test "$USE_BEOS" = 1; then
40053 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40054 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40055 wxUSE_THREADS="no"
40056 fi
40057 fi
40058
40059 if test "$wxUSE_THREADS" = "yes" ; then
40060
40061
40062 THREAD_OPTS="-pthread"
40063 if test "x$SUNCXX" = xyes; then
40064 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40065 fi
40066
40067 case "${host}" in
40068 *-*-solaris2* | *-*-sunos4* )
40069 if test "x$GCC" = "xyes"; then
40070 THREAD_OPTS="-pthreads $THREAD_OPTS"
40071 fi
40072 ;;
40073 *-*-freebsd*)
40074 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40075 ;;
40076 *-*-darwin* | *-*-cygwin* )
40077 THREAD_OPTS=""
40078 ;;
40079 *-*-aix*)
40080 THREAD_OPTS="pthreads"
40081 ;;
40082 *-hp-hpux* )
40083 if test "x$GCC" = "xyes"; then
40084 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40085 THREAD_OPTS=""
40086 else
40087 THREAD_OPTS="-mt"
40088 fi
40089 ;;
40090
40091 *-*-irix* )
40092 if test "x$GCC" = "xyes"; then
40093 THREAD_OPTS=""
40094 fi
40095 ;;
40096
40097 *-*-qnx*)
40098 THREAD_OPTS=""
40099 ;;
40100
40101 *-*-*UnixWare*)
40102 if test "x$GCC" != "xyes"; then
40103 THREAD_OPTS="-Ethread"
40104 fi
40105 ;;
40106 esac
40107
40108 case "${host}" in
40109 *-*-qnx*)
40110 THREAD_OPTS="none pthread"
40111 ;;
40112
40113 *)
40114 THREAD_OPTS="$THREAD_OPTS pthread none"
40115 ;;
40116 esac
40117
40118 THREADS_OK=no
40119 for flag in $THREAD_OPTS; do
40120 case $flag in
40121 none)
40122 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40123 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40124 ;;
40125
40126 -*)
40127 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40128 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40129 THREADS_CFLAGS="$flag"
40130 ;;
40131
40132 *)
40133 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40134 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40135 THREADS_LINK="-l$flag"
40136 ;;
40137 esac
40138
40139 save_LIBS="$LIBS"
40140 save_CFLAGS="$CFLAGS"
40141 LIBS="$THREADS_LINK $LIBS"
40142 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40143
40144 cat >conftest.$ac_ext <<_ACEOF
40145 /* confdefs.h. */
40146 _ACEOF
40147 cat confdefs.h >>conftest.$ac_ext
40148 cat >>conftest.$ac_ext <<_ACEOF
40149 /* end confdefs.h. */
40150 #include <pthread.h>
40151 int
40152 main ()
40153 {
40154 pthread_create(0,0,0,0);
40155 ;
40156 return 0;
40157 }
40158 _ACEOF
40159 rm -f conftest.$ac_objext conftest$ac_exeext
40160 if { (ac_try="$ac_link"
40161 case "(($ac_try" in
40162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40163 *) ac_try_echo=$ac_try;;
40164 esac
40165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40166 (eval "$ac_link") 2>conftest.er1
40167 ac_status=$?
40168 grep -v '^ *+' conftest.er1 >conftest.err
40169 rm -f conftest.er1
40170 cat conftest.err >&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); } && {
40173 test -z "$ac_c_werror_flag" ||
40174 test ! -s conftest.err
40175 } && test -s conftest$ac_exeext &&
40176 $as_test_x conftest$ac_exeext; then
40177 THREADS_OK=yes
40178 else
40179 echo "$as_me: failed program was:" >&5
40180 sed 's/^/| /' conftest.$ac_ext >&5
40181
40182
40183 fi
40184
40185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40186 conftest$ac_exeext conftest.$ac_ext
40187
40188 LIBS="$save_LIBS"
40189 CFLAGS="$save_CFLAGS"
40190
40191 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40192 echo "${ECHO_T}$THREADS_OK" >&6; }
40193 if test "x$THREADS_OK" = "xyes"; then
40194 break;
40195 fi
40196
40197 THREADS_LINK=""
40198 THREADS_CFLAGS=""
40199 done
40200
40201 if test "x$THREADS_OK" != "xyes"; then
40202 wxUSE_THREADS=no
40203 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40204 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40205 else
40206 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40207 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40208 LIBS="$THREADS_LINK $LIBS"
40209
40210 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40211 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40212 flag=no
40213 case "${host}" in
40214 *-aix*)
40215 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40216 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40217 flag="-D_THREAD_SAFE"
40218 ;;
40219 *-freebsd*)
40220 flag="-D_THREAD_SAFE"
40221 ;;
40222 *-hp-hpux* )
40223 flag="-D_REENTRANT"
40224 if test "x$GCC" != "xyes"; then
40225 flag="$flag -D_RWSTD_MULTI_THREAD"
40226 fi
40227 ;;
40228 *solaris* | alpha*-osf*)
40229 flag="-D_REENTRANT"
40230 ;;
40231 esac
40232 { echo "$as_me:$LINENO: result: ${flag}" >&5
40233 echo "${ECHO_T}${flag}" >&6; }
40234 if test "x$flag" != xno; then
40235 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40236 fi
40237
40238 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40239 fi
40240 fi
40241
40242 if test "$wxUSE_THREADS" = "yes" ; then
40243
40244 for ac_func in thr_setconcurrency
40245 do
40246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40250 echo $ECHO_N "(cached) $ECHO_C" >&6
40251 else
40252 cat >conftest.$ac_ext <<_ACEOF
40253 /* confdefs.h. */
40254 _ACEOF
40255 cat confdefs.h >>conftest.$ac_ext
40256 cat >>conftest.$ac_ext <<_ACEOF
40257 /* end confdefs.h. */
40258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40260 #define $ac_func innocuous_$ac_func
40261
40262 /* System header to define __stub macros and hopefully few prototypes,
40263 which can conflict with char $ac_func (); below.
40264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40265 <limits.h> exists even on freestanding compilers. */
40266
40267 #ifdef __STDC__
40268 # include <limits.h>
40269 #else
40270 # include <assert.h>
40271 #endif
40272
40273 #undef $ac_func
40274
40275 /* Override any GCC internal prototype to avoid an error.
40276 Use char because int might match the return type of a GCC
40277 builtin and then its argument prototype would still apply. */
40278 #ifdef __cplusplus
40279 extern "C"
40280 #endif
40281 char $ac_func ();
40282 /* The GNU C library defines this for functions which it implements
40283 to always fail with ENOSYS. Some functions are actually named
40284 something starting with __ and the normal name is an alias. */
40285 #if defined __stub_$ac_func || defined __stub___$ac_func
40286 choke me
40287 #endif
40288
40289 int
40290 main ()
40291 {
40292 return $ac_func ();
40293 ;
40294 return 0;
40295 }
40296 _ACEOF
40297 rm -f conftest.$ac_objext conftest$ac_exeext
40298 if { (ac_try="$ac_link"
40299 case "(($ac_try" in
40300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40301 *) ac_try_echo=$ac_try;;
40302 esac
40303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40304 (eval "$ac_link") 2>conftest.er1
40305 ac_status=$?
40306 grep -v '^ *+' conftest.er1 >conftest.err
40307 rm -f conftest.er1
40308 cat conftest.err >&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); } && {
40311 test -z "$ac_c_werror_flag" ||
40312 test ! -s conftest.err
40313 } && test -s conftest$ac_exeext &&
40314 $as_test_x conftest$ac_exeext; then
40315 eval "$as_ac_var=yes"
40316 else
40317 echo "$as_me: failed program was:" >&5
40318 sed 's/^/| /' conftest.$ac_ext >&5
40319
40320 eval "$as_ac_var=no"
40321 fi
40322
40323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40324 conftest$ac_exeext conftest.$ac_ext
40325 fi
40326 ac_res=`eval echo '${'$as_ac_var'}'`
40327 { echo "$as_me:$LINENO: result: $ac_res" >&5
40328 echo "${ECHO_T}$ac_res" >&6; }
40329 if test `eval echo '${'$as_ac_var'}'` = yes; then
40330 cat >>confdefs.h <<_ACEOF
40331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40332 _ACEOF
40333
40334 fi
40335 done
40336
40337
40338 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40339 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40340 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40341 echo $ECHO_N "(cached) $ECHO_C" >&6
40342 else
40343
40344 ac_ext=cpp
40345 ac_cpp='$CXXCPP $CPPFLAGS'
40346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40349
40350 cat >conftest.$ac_ext <<_ACEOF
40351 /* confdefs.h. */
40352 _ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40356 #include <pthread.h>
40357 void ThreadCleanupFunc(void *p);
40358
40359 int
40360 main ()
40361 {
40362
40363 void *p;
40364 pthread_cleanup_push(ThreadCleanupFunc, p);
40365 pthread_cleanup_pop(0);
40366
40367 ;
40368 return 0;
40369 }
40370 _ACEOF
40371 rm -f conftest.$ac_objext
40372 if { (ac_try="$ac_compile"
40373 case "(($ac_try" in
40374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40375 *) ac_try_echo=$ac_try;;
40376 esac
40377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40378 (eval "$ac_compile") 2>conftest.er1
40379 ac_status=$?
40380 grep -v '^ *+' conftest.er1 >conftest.err
40381 rm -f conftest.er1
40382 cat conftest.err >&5
40383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); } && {
40385 test -z "$ac_cxx_werror_flag" ||
40386 test ! -s conftest.err
40387 } && test -s conftest.$ac_objext; then
40388
40389 wx_cv_func_pthread_cleanup=yes
40390
40391 else
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.$ac_ext >&5
40394
40395
40396 wx_cv_func_pthread_cleanup=no
40397
40398
40399 fi
40400
40401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40402 ac_ext=c
40403 ac_cpp='$CPP $CPPFLAGS'
40404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40407
40408
40409 fi
40410 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40411 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40412 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40413 cat >>confdefs.h <<\_ACEOF
40414 #define wxHAVE_PTHREAD_CLEANUP 1
40415 _ACEOF
40416
40417 fi
40418
40419
40420 for ac_header in sched.h
40421 do
40422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40426 echo $ECHO_N "(cached) $ECHO_C" >&6
40427 else
40428 cat >conftest.$ac_ext <<_ACEOF
40429 /* confdefs.h. */
40430 _ACEOF
40431 cat confdefs.h >>conftest.$ac_ext
40432 cat >>conftest.$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40434 $ac_includes_default
40435
40436 #include <$ac_header>
40437 _ACEOF
40438 rm -f conftest.$ac_objext
40439 if { (ac_try="$ac_compile"
40440 case "(($ac_try" in
40441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40442 *) ac_try_echo=$ac_try;;
40443 esac
40444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40445 (eval "$ac_compile") 2>conftest.er1
40446 ac_status=$?
40447 grep -v '^ *+' conftest.er1 >conftest.err
40448 rm -f conftest.er1
40449 cat conftest.err >&5
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); } && {
40452 test -z "$ac_c_werror_flag" ||
40453 test ! -s conftest.err
40454 } && test -s conftest.$ac_objext; then
40455 eval "$as_ac_Header=yes"
40456 else
40457 echo "$as_me: failed program was:" >&5
40458 sed 's/^/| /' conftest.$ac_ext >&5
40459
40460 eval "$as_ac_Header=no"
40461 fi
40462
40463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40464 fi
40465 ac_res=`eval echo '${'$as_ac_Header'}'`
40466 { echo "$as_me:$LINENO: result: $ac_res" >&5
40467 echo "${ECHO_T}$ac_res" >&6; }
40468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40469 cat >>confdefs.h <<_ACEOF
40470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40471 _ACEOF
40472
40473 fi
40474
40475 done
40476
40477 if test "$ac_cv_header_sched_h" = "yes"; then
40478 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40479 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40480 if test "${ac_cv_func_sched_yield+set}" = set; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 else
40483 cat >conftest.$ac_ext <<_ACEOF
40484 /* confdefs.h. */
40485 _ACEOF
40486 cat confdefs.h >>conftest.$ac_ext
40487 cat >>conftest.$ac_ext <<_ACEOF
40488 /* end confdefs.h. */
40489 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40491 #define sched_yield innocuous_sched_yield
40492
40493 /* System header to define __stub macros and hopefully few prototypes,
40494 which can conflict with char sched_yield (); below.
40495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40496 <limits.h> exists even on freestanding compilers. */
40497
40498 #ifdef __STDC__
40499 # include <limits.h>
40500 #else
40501 # include <assert.h>
40502 #endif
40503
40504 #undef sched_yield
40505
40506 /* Override any GCC internal prototype to avoid an error.
40507 Use char because int might match the return type of a GCC
40508 builtin and then its argument prototype would still apply. */
40509 #ifdef __cplusplus
40510 extern "C"
40511 #endif
40512 char sched_yield ();
40513 /* The GNU C library defines this for functions which it implements
40514 to always fail with ENOSYS. Some functions are actually named
40515 something starting with __ and the normal name is an alias. */
40516 #if defined __stub_sched_yield || defined __stub___sched_yield
40517 choke me
40518 #endif
40519
40520 int
40521 main ()
40522 {
40523 return sched_yield ();
40524 ;
40525 return 0;
40526 }
40527 _ACEOF
40528 rm -f conftest.$ac_objext conftest$ac_exeext
40529 if { (ac_try="$ac_link"
40530 case "(($ac_try" in
40531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40532 *) ac_try_echo=$ac_try;;
40533 esac
40534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40535 (eval "$ac_link") 2>conftest.er1
40536 ac_status=$?
40537 grep -v '^ *+' conftest.er1 >conftest.err
40538 rm -f conftest.er1
40539 cat conftest.err >&5
40540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40541 (exit $ac_status); } && {
40542 test -z "$ac_c_werror_flag" ||
40543 test ! -s conftest.err
40544 } && test -s conftest$ac_exeext &&
40545 $as_test_x conftest$ac_exeext; then
40546 ac_cv_func_sched_yield=yes
40547 else
40548 echo "$as_me: failed program was:" >&5
40549 sed 's/^/| /' conftest.$ac_ext >&5
40550
40551 ac_cv_func_sched_yield=no
40552 fi
40553
40554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40555 conftest$ac_exeext conftest.$ac_ext
40556 fi
40557 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40558 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40559 if test $ac_cv_func_sched_yield = yes; then
40560 cat >>confdefs.h <<\_ACEOF
40561 #define HAVE_SCHED_YIELD 1
40562 _ACEOF
40563
40564 else
40565
40566 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40567 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40568 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40569 echo $ECHO_N "(cached) $ECHO_C" >&6
40570 else
40571 ac_check_lib_save_LIBS=$LIBS
40572 LIBS="-lposix4 $LIBS"
40573 cat >conftest.$ac_ext <<_ACEOF
40574 /* confdefs.h. */
40575 _ACEOF
40576 cat confdefs.h >>conftest.$ac_ext
40577 cat >>conftest.$ac_ext <<_ACEOF
40578 /* end confdefs.h. */
40579
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40583 #ifdef __cplusplus
40584 extern "C"
40585 #endif
40586 char sched_yield ();
40587 int
40588 main ()
40589 {
40590 return sched_yield ();
40591 ;
40592 return 0;
40593 }
40594 _ACEOF
40595 rm -f conftest.$ac_objext conftest$ac_exeext
40596 if { (ac_try="$ac_link"
40597 case "(($ac_try" in
40598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40599 *) ac_try_echo=$ac_try;;
40600 esac
40601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40602 (eval "$ac_link") 2>conftest.er1
40603 ac_status=$?
40604 grep -v '^ *+' conftest.er1 >conftest.err
40605 rm -f conftest.er1
40606 cat conftest.err >&5
40607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40608 (exit $ac_status); } && {
40609 test -z "$ac_c_werror_flag" ||
40610 test ! -s conftest.err
40611 } && test -s conftest$ac_exeext &&
40612 $as_test_x conftest$ac_exeext; then
40613 ac_cv_lib_posix4_sched_yield=yes
40614 else
40615 echo "$as_me: failed program was:" >&5
40616 sed 's/^/| /' conftest.$ac_ext >&5
40617
40618 ac_cv_lib_posix4_sched_yield=no
40619 fi
40620
40621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40622 conftest$ac_exeext conftest.$ac_ext
40623 LIBS=$ac_check_lib_save_LIBS
40624 fi
40625 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40626 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40627 if test $ac_cv_lib_posix4_sched_yield = yes; then
40628 cat >>confdefs.h <<\_ACEOF
40629 #define HAVE_SCHED_YIELD 1
40630 _ACEOF
40631 POSIX4_LINK=" -lposix4"
40632 else
40633 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40634 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40635
40636 fi
40637
40638
40639
40640 fi
40641
40642 fi
40643
40644 HAVE_PRIOR_FUNCS=0
40645 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40646 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40647 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40648 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 else
40650 cat >conftest.$ac_ext <<_ACEOF
40651 /* confdefs.h. */
40652 _ACEOF
40653 cat confdefs.h >>conftest.$ac_ext
40654 cat >>conftest.$ac_ext <<_ACEOF
40655 /* end confdefs.h. */
40656 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40658 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40659
40660 /* System header to define __stub macros and hopefully few prototypes,
40661 which can conflict with char pthread_attr_getschedpolicy (); below.
40662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40663 <limits.h> exists even on freestanding compilers. */
40664
40665 #ifdef __STDC__
40666 # include <limits.h>
40667 #else
40668 # include <assert.h>
40669 #endif
40670
40671 #undef pthread_attr_getschedpolicy
40672
40673 /* Override any GCC internal prototype to avoid an error.
40674 Use char because int might match the return type of a GCC
40675 builtin and then its argument prototype would still apply. */
40676 #ifdef __cplusplus
40677 extern "C"
40678 #endif
40679 char pthread_attr_getschedpolicy ();
40680 /* The GNU C library defines this for functions which it implements
40681 to always fail with ENOSYS. Some functions are actually named
40682 something starting with __ and the normal name is an alias. */
40683 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40684 choke me
40685 #endif
40686
40687 int
40688 main ()
40689 {
40690 return pthread_attr_getschedpolicy ();
40691 ;
40692 return 0;
40693 }
40694 _ACEOF
40695 rm -f conftest.$ac_objext conftest$ac_exeext
40696 if { (ac_try="$ac_link"
40697 case "(($ac_try" in
40698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40699 *) ac_try_echo=$ac_try;;
40700 esac
40701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40702 (eval "$ac_link") 2>conftest.er1
40703 ac_status=$?
40704 grep -v '^ *+' conftest.er1 >conftest.err
40705 rm -f conftest.er1
40706 cat conftest.err >&5
40707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708 (exit $ac_status); } && {
40709 test -z "$ac_c_werror_flag" ||
40710 test ! -s conftest.err
40711 } && test -s conftest$ac_exeext &&
40712 $as_test_x conftest$ac_exeext; then
40713 ac_cv_func_pthread_attr_getschedpolicy=yes
40714 else
40715 echo "$as_me: failed program was:" >&5
40716 sed 's/^/| /' conftest.$ac_ext >&5
40717
40718 ac_cv_func_pthread_attr_getschedpolicy=no
40719 fi
40720
40721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40722 conftest$ac_exeext conftest.$ac_ext
40723 fi
40724 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40725 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40726 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40727 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40728 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40729 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40730 echo $ECHO_N "(cached) $ECHO_C" >&6
40731 else
40732 cat >conftest.$ac_ext <<_ACEOF
40733 /* confdefs.h. */
40734 _ACEOF
40735 cat confdefs.h >>conftest.$ac_ext
40736 cat >>conftest.$ac_ext <<_ACEOF
40737 /* end confdefs.h. */
40738 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40740 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40741
40742 /* System header to define __stub macros and hopefully few prototypes,
40743 which can conflict with char pthread_attr_setschedparam (); below.
40744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40745 <limits.h> exists even on freestanding compilers. */
40746
40747 #ifdef __STDC__
40748 # include <limits.h>
40749 #else
40750 # include <assert.h>
40751 #endif
40752
40753 #undef pthread_attr_setschedparam
40754
40755 /* Override any GCC internal prototype to avoid an error.
40756 Use char because int might match the return type of a GCC
40757 builtin and then its argument prototype would still apply. */
40758 #ifdef __cplusplus
40759 extern "C"
40760 #endif
40761 char pthread_attr_setschedparam ();
40762 /* The GNU C library defines this for functions which it implements
40763 to always fail with ENOSYS. Some functions are actually named
40764 something starting with __ and the normal name is an alias. */
40765 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40766 choke me
40767 #endif
40768
40769 int
40770 main ()
40771 {
40772 return pthread_attr_setschedparam ();
40773 ;
40774 return 0;
40775 }
40776 _ACEOF
40777 rm -f conftest.$ac_objext conftest$ac_exeext
40778 if { (ac_try="$ac_link"
40779 case "(($ac_try" in
40780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40781 *) ac_try_echo=$ac_try;;
40782 esac
40783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40784 (eval "$ac_link") 2>conftest.er1
40785 ac_status=$?
40786 grep -v '^ *+' conftest.er1 >conftest.err
40787 rm -f conftest.er1
40788 cat conftest.err >&5
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); } && {
40791 test -z "$ac_c_werror_flag" ||
40792 test ! -s conftest.err
40793 } && test -s conftest$ac_exeext &&
40794 $as_test_x conftest$ac_exeext; then
40795 ac_cv_func_pthread_attr_setschedparam=yes
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40799
40800 ac_cv_func_pthread_attr_setschedparam=no
40801 fi
40802
40803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40804 conftest$ac_exeext conftest.$ac_ext
40805 fi
40806 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40807 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40808 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40809 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40810 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40811 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40812 echo $ECHO_N "(cached) $ECHO_C" >&6
40813 else
40814 cat >conftest.$ac_ext <<_ACEOF
40815 /* confdefs.h. */
40816 _ACEOF
40817 cat confdefs.h >>conftest.$ac_ext
40818 cat >>conftest.$ac_ext <<_ACEOF
40819 /* end confdefs.h. */
40820 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40822 #define sched_get_priority_max innocuous_sched_get_priority_max
40823
40824 /* System header to define __stub macros and hopefully few prototypes,
40825 which can conflict with char sched_get_priority_max (); below.
40826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40827 <limits.h> exists even on freestanding compilers. */
40828
40829 #ifdef __STDC__
40830 # include <limits.h>
40831 #else
40832 # include <assert.h>
40833 #endif
40834
40835 #undef sched_get_priority_max
40836
40837 /* Override any GCC internal prototype to avoid an error.
40838 Use char because int might match the return type of a GCC
40839 builtin and then its argument prototype would still apply. */
40840 #ifdef __cplusplus
40841 extern "C"
40842 #endif
40843 char sched_get_priority_max ();
40844 /* The GNU C library defines this for functions which it implements
40845 to always fail with ENOSYS. Some functions are actually named
40846 something starting with __ and the normal name is an alias. */
40847 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40848 choke me
40849 #endif
40850
40851 int
40852 main ()
40853 {
40854 return sched_get_priority_max ();
40855 ;
40856 return 0;
40857 }
40858 _ACEOF
40859 rm -f conftest.$ac_objext conftest$ac_exeext
40860 if { (ac_try="$ac_link"
40861 case "(($ac_try" in
40862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40863 *) ac_try_echo=$ac_try;;
40864 esac
40865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40866 (eval "$ac_link") 2>conftest.er1
40867 ac_status=$?
40868 grep -v '^ *+' conftest.er1 >conftest.err
40869 rm -f conftest.er1
40870 cat conftest.err >&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); } && {
40873 test -z "$ac_c_werror_flag" ||
40874 test ! -s conftest.err
40875 } && test -s conftest$ac_exeext &&
40876 $as_test_x conftest$ac_exeext; then
40877 ac_cv_func_sched_get_priority_max=yes
40878 else
40879 echo "$as_me: failed program was:" >&5
40880 sed 's/^/| /' conftest.$ac_ext >&5
40881
40882 ac_cv_func_sched_get_priority_max=no
40883 fi
40884
40885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40886 conftest$ac_exeext conftest.$ac_ext
40887 fi
40888 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40889 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40890 if test $ac_cv_func_sched_get_priority_max = yes; then
40891 HAVE_PRIOR_FUNCS=1
40892 else
40893 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40894 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40895 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40896 echo $ECHO_N "(cached) $ECHO_C" >&6
40897 else
40898 ac_check_lib_save_LIBS=$LIBS
40899 LIBS="-lposix4 $LIBS"
40900 cat >conftest.$ac_ext <<_ACEOF
40901 /* confdefs.h. */
40902 _ACEOF
40903 cat confdefs.h >>conftest.$ac_ext
40904 cat >>conftest.$ac_ext <<_ACEOF
40905 /* end confdefs.h. */
40906
40907 /* Override any GCC internal prototype to avoid an error.
40908 Use char because int might match the return type of a GCC
40909 builtin and then its argument prototype would still apply. */
40910 #ifdef __cplusplus
40911 extern "C"
40912 #endif
40913 char sched_get_priority_max ();
40914 int
40915 main ()
40916 {
40917 return sched_get_priority_max ();
40918 ;
40919 return 0;
40920 }
40921 _ACEOF
40922 rm -f conftest.$ac_objext conftest$ac_exeext
40923 if { (ac_try="$ac_link"
40924 case "(($ac_try" in
40925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40926 *) ac_try_echo=$ac_try;;
40927 esac
40928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40929 (eval "$ac_link") 2>conftest.er1
40930 ac_status=$?
40931 grep -v '^ *+' conftest.er1 >conftest.err
40932 rm -f conftest.er1
40933 cat conftest.err >&5
40934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40935 (exit $ac_status); } && {
40936 test -z "$ac_c_werror_flag" ||
40937 test ! -s conftest.err
40938 } && test -s conftest$ac_exeext &&
40939 $as_test_x conftest$ac_exeext; then
40940 ac_cv_lib_posix4_sched_get_priority_max=yes
40941 else
40942 echo "$as_me: failed program was:" >&5
40943 sed 's/^/| /' conftest.$ac_ext >&5
40944
40945 ac_cv_lib_posix4_sched_get_priority_max=no
40946 fi
40947
40948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40949 conftest$ac_exeext conftest.$ac_ext
40950 LIBS=$ac_check_lib_save_LIBS
40951 fi
40952 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40953 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40954 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40955
40956 HAVE_PRIOR_FUNCS=1
40957 POSIX4_LINK=" -lposix4"
40958
40959 fi
40960
40961
40962 fi
40963
40964
40965 fi
40966
40967
40968 fi
40969
40970
40971 if test "$HAVE_PRIOR_FUNCS" = 1; then
40972 cat >>confdefs.h <<\_ACEOF
40973 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40974 _ACEOF
40975
40976 else
40977 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40978 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40979 fi
40980
40981 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40982 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40983 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40984 echo $ECHO_N "(cached) $ECHO_C" >&6
40985 else
40986 cat >conftest.$ac_ext <<_ACEOF
40987 /* confdefs.h. */
40988 _ACEOF
40989 cat confdefs.h >>conftest.$ac_ext
40990 cat >>conftest.$ac_ext <<_ACEOF
40991 /* end confdefs.h. */
40992 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40994 #define pthread_cancel innocuous_pthread_cancel
40995
40996 /* System header to define __stub macros and hopefully few prototypes,
40997 which can conflict with char pthread_cancel (); below.
40998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40999 <limits.h> exists even on freestanding compilers. */
41000
41001 #ifdef __STDC__
41002 # include <limits.h>
41003 #else
41004 # include <assert.h>
41005 #endif
41006
41007 #undef pthread_cancel
41008
41009 /* Override any GCC internal prototype to avoid an error.
41010 Use char because int might match the return type of a GCC
41011 builtin and then its argument prototype would still apply. */
41012 #ifdef __cplusplus
41013 extern "C"
41014 #endif
41015 char pthread_cancel ();
41016 /* The GNU C library defines this for functions which it implements
41017 to always fail with ENOSYS. Some functions are actually named
41018 something starting with __ and the normal name is an alias. */
41019 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41020 choke me
41021 #endif
41022
41023 int
41024 main ()
41025 {
41026 return pthread_cancel ();
41027 ;
41028 return 0;
41029 }
41030 _ACEOF
41031 rm -f conftest.$ac_objext conftest$ac_exeext
41032 if { (ac_try="$ac_link"
41033 case "(($ac_try" in
41034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41035 *) ac_try_echo=$ac_try;;
41036 esac
41037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41038 (eval "$ac_link") 2>conftest.er1
41039 ac_status=$?
41040 grep -v '^ *+' conftest.er1 >conftest.err
41041 rm -f conftest.er1
41042 cat conftest.err >&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); } && {
41045 test -z "$ac_c_werror_flag" ||
41046 test ! -s conftest.err
41047 } && test -s conftest$ac_exeext &&
41048 $as_test_x conftest$ac_exeext; then
41049 ac_cv_func_pthread_cancel=yes
41050 else
41051 echo "$as_me: failed program was:" >&5
41052 sed 's/^/| /' conftest.$ac_ext >&5
41053
41054 ac_cv_func_pthread_cancel=no
41055 fi
41056
41057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41058 conftest$ac_exeext conftest.$ac_ext
41059 fi
41060 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41061 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41062 if test $ac_cv_func_pthread_cancel = yes; then
41063 cat >>confdefs.h <<\_ACEOF
41064 #define HAVE_PTHREAD_CANCEL 1
41065 _ACEOF
41066
41067 else
41068 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41069 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41070 fi
41071
41072
41073 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41074 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41075 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41076 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 else
41078 cat >conftest.$ac_ext <<_ACEOF
41079 /* confdefs.h. */
41080 _ACEOF
41081 cat confdefs.h >>conftest.$ac_ext
41082 cat >>conftest.$ac_ext <<_ACEOF
41083 /* end confdefs.h. */
41084 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41086 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41087
41088 /* System header to define __stub macros and hopefully few prototypes,
41089 which can conflict with char pthread_mutex_timedlock (); below.
41090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41091 <limits.h> exists even on freestanding compilers. */
41092
41093 #ifdef __STDC__
41094 # include <limits.h>
41095 #else
41096 # include <assert.h>
41097 #endif
41098
41099 #undef pthread_mutex_timedlock
41100
41101 /* Override any GCC internal prototype to avoid an error.
41102 Use char because int might match the return type of a GCC
41103 builtin and then its argument prototype would still apply. */
41104 #ifdef __cplusplus
41105 extern "C"
41106 #endif
41107 char pthread_mutex_timedlock ();
41108 /* The GNU C library defines this for functions which it implements
41109 to always fail with ENOSYS. Some functions are actually named
41110 something starting with __ and the normal name is an alias. */
41111 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41112 choke me
41113 #endif
41114
41115 int
41116 main ()
41117 {
41118 return pthread_mutex_timedlock ();
41119 ;
41120 return 0;
41121 }
41122 _ACEOF
41123 rm -f conftest.$ac_objext conftest$ac_exeext
41124 if { (ac_try="$ac_link"
41125 case "(($ac_try" in
41126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41127 *) ac_try_echo=$ac_try;;
41128 esac
41129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41130 (eval "$ac_link") 2>conftest.er1
41131 ac_status=$?
41132 grep -v '^ *+' conftest.er1 >conftest.err
41133 rm -f conftest.er1
41134 cat conftest.err >&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } && {
41137 test -z "$ac_c_werror_flag" ||
41138 test ! -s conftest.err
41139 } && test -s conftest$ac_exeext &&
41140 $as_test_x conftest$ac_exeext; then
41141 ac_cv_func_pthread_mutex_timedlock=yes
41142 else
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.$ac_ext >&5
41145
41146 ac_cv_func_pthread_mutex_timedlock=no
41147 fi
41148
41149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41150 conftest$ac_exeext conftest.$ac_ext
41151 fi
41152 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41153 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41154 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41155 cat >>confdefs.h <<\_ACEOF
41156 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41157 _ACEOF
41158
41159 else
41160 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41161 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41162 fi
41163
41164
41165 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41166 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41167 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41168 echo $ECHO_N "(cached) $ECHO_C" >&6
41169 else
41170 cat >conftest.$ac_ext <<_ACEOF
41171 /* confdefs.h. */
41172 _ACEOF
41173 cat confdefs.h >>conftest.$ac_ext
41174 cat >>conftest.$ac_ext <<_ACEOF
41175 /* end confdefs.h. */
41176 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41178 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41179
41180 /* System header to define __stub macros and hopefully few prototypes,
41181 which can conflict with char pthread_attr_setstacksize (); below.
41182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41183 <limits.h> exists even on freestanding compilers. */
41184
41185 #ifdef __STDC__
41186 # include <limits.h>
41187 #else
41188 # include <assert.h>
41189 #endif
41190
41191 #undef pthread_attr_setstacksize
41192
41193 /* Override any GCC internal prototype to avoid an error.
41194 Use char because int might match the return type of a GCC
41195 builtin and then its argument prototype would still apply. */
41196 #ifdef __cplusplus
41197 extern "C"
41198 #endif
41199 char pthread_attr_setstacksize ();
41200 /* The GNU C library defines this for functions which it implements
41201 to always fail with ENOSYS. Some functions are actually named
41202 something starting with __ and the normal name is an alias. */
41203 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41204 choke me
41205 #endif
41206
41207 int
41208 main ()
41209 {
41210 return pthread_attr_setstacksize ();
41211 ;
41212 return 0;
41213 }
41214 _ACEOF
41215 rm -f conftest.$ac_objext conftest$ac_exeext
41216 if { (ac_try="$ac_link"
41217 case "(($ac_try" in
41218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41219 *) ac_try_echo=$ac_try;;
41220 esac
41221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41222 (eval "$ac_link") 2>conftest.er1
41223 ac_status=$?
41224 grep -v '^ *+' conftest.er1 >conftest.err
41225 rm -f conftest.er1
41226 cat conftest.err >&5
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); } && {
41229 test -z "$ac_c_werror_flag" ||
41230 test ! -s conftest.err
41231 } && test -s conftest$ac_exeext &&
41232 $as_test_x conftest$ac_exeext; then
41233 ac_cv_func_pthread_attr_setstacksize=yes
41234 else
41235 echo "$as_me: failed program was:" >&5
41236 sed 's/^/| /' conftest.$ac_ext >&5
41237
41238 ac_cv_func_pthread_attr_setstacksize=no
41239 fi
41240
41241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41242 conftest$ac_exeext conftest.$ac_ext
41243 fi
41244 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41245 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41246 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41247 cat >>confdefs.h <<\_ACEOF
41248 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41249 _ACEOF
41250
41251 fi
41252
41253
41254
41255 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41256 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41257 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41258 echo $ECHO_N "(cached) $ECHO_C" >&6
41259 else
41260
41261 cat >conftest.$ac_ext <<_ACEOF
41262 /* confdefs.h. */
41263 _ACEOF
41264 cat confdefs.h >>conftest.$ac_ext
41265 cat >>conftest.$ac_ext <<_ACEOF
41266 /* end confdefs.h. */
41267 #include <pthread.h>
41268 int
41269 main ()
41270 {
41271
41272 pthread_mutexattr_t attr;
41273 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41274
41275 ;
41276 return 0;
41277 }
41278 _ACEOF
41279 rm -f conftest.$ac_objext
41280 if { (ac_try="$ac_compile"
41281 case "(($ac_try" in
41282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41283 *) ac_try_echo=$ac_try;;
41284 esac
41285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41286 (eval "$ac_compile") 2>conftest.er1
41287 ac_status=$?
41288 grep -v '^ *+' conftest.er1 >conftest.err
41289 rm -f conftest.er1
41290 cat conftest.err >&5
41291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292 (exit $ac_status); } && {
41293 test -z "$ac_c_werror_flag" ||
41294 test ! -s conftest.err
41295 } && test -s conftest.$ac_objext; then
41296 wx_cv_type_pthread_mutexattr_t=yes
41297 else
41298 echo "$as_me: failed program was:" >&5
41299 sed 's/^/| /' conftest.$ac_ext >&5
41300
41301 wx_cv_type_pthread_mutexattr_t=no
41302
41303 fi
41304
41305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41306
41307 fi
41308 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41309 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41310
41311 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41312 cat >>confdefs.h <<\_ACEOF
41313 #define HAVE_PTHREAD_MUTEXATTR_T 1
41314 _ACEOF
41315
41316
41317 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41318 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41319 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41320 echo $ECHO_N "(cached) $ECHO_C" >&6
41321 else
41322
41323 cat >conftest.$ac_ext <<_ACEOF
41324 /* confdefs.h. */
41325 _ACEOF
41326 cat confdefs.h >>conftest.$ac_ext
41327 cat >>conftest.$ac_ext <<_ACEOF
41328 /* end confdefs.h. */
41329 #include <pthread.h>
41330 int
41331 main ()
41332 {
41333
41334 pthread_mutexattr_t attr;
41335 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41336
41337 ;
41338 return 0;
41339 }
41340 _ACEOF
41341 rm -f conftest.$ac_objext
41342 if { (ac_try="$ac_compile"
41343 case "(($ac_try" in
41344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41345 *) ac_try_echo=$ac_try;;
41346 esac
41347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41348 (eval "$ac_compile") 2>conftest.er1
41349 ac_status=$?
41350 grep -v '^ *+' conftest.er1 >conftest.err
41351 rm -f conftest.er1
41352 cat conftest.err >&5
41353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41354 (exit $ac_status); } && {
41355 test -z "$ac_c_werror_flag" ||
41356 test ! -s conftest.err
41357 } && test -s conftest.$ac_objext; then
41358 wx_cv_func_pthread_mutexattr_settype_decl=yes
41359 else
41360 echo "$as_me: failed program was:" >&5
41361 sed 's/^/| /' conftest.$ac_ext >&5
41362
41363 wx_cv_func_pthread_mutexattr_settype_decl=no
41364
41365 fi
41366
41367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41368
41369 fi
41370 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41371 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41372 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41373 cat >>confdefs.h <<\_ACEOF
41374 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41375 _ACEOF
41376
41377 fi
41378 else
41379 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41380 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41381 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41382 echo $ECHO_N "(cached) $ECHO_C" >&6
41383 else
41384
41385 cat >conftest.$ac_ext <<_ACEOF
41386 /* confdefs.h. */
41387 _ACEOF
41388 cat confdefs.h >>conftest.$ac_ext
41389 cat >>conftest.$ac_ext <<_ACEOF
41390 /* end confdefs.h. */
41391 #include <pthread.h>
41392 int
41393 main ()
41394 {
41395
41396 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41397
41398 ;
41399 return 0;
41400 }
41401 _ACEOF
41402 rm -f conftest.$ac_objext
41403 if { (ac_try="$ac_compile"
41404 case "(($ac_try" in
41405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41406 *) ac_try_echo=$ac_try;;
41407 esac
41408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41409 (eval "$ac_compile") 2>conftest.er1
41410 ac_status=$?
41411 grep -v '^ *+' conftest.er1 >conftest.err
41412 rm -f conftest.er1
41413 cat conftest.err >&5
41414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41415 (exit $ac_status); } && {
41416 test -z "$ac_c_werror_flag" ||
41417 test ! -s conftest.err
41418 } && test -s conftest.$ac_objext; then
41419
41420 wx_cv_type_pthread_rec_mutex_init=yes
41421
41422 else
41423 echo "$as_me: failed program was:" >&5
41424 sed 's/^/| /' conftest.$ac_ext >&5
41425
41426
41427 wx_cv_type_pthread_rec_mutex_init=no
41428
41429
41430 fi
41431
41432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41433
41434 fi
41435 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41436 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41437 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41438 cat >>confdefs.h <<\_ACEOF
41439 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41440 _ACEOF
41441
41442 else
41443 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41444 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41445 fi
41446 fi
41447
41448 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41449 if test "$USE_NETBSD" = 1; then
41450 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41451 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41452 wxUSE_COMPILER_TLS=no
41453 else
41454 wxUSE_COMPILER_TLS=yes
41455 fi
41456 fi
41457
41458 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41459 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41460 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41461 if test "${wx_cv_cc___thread+set}" = set; then
41462 echo $ECHO_N "(cached) $ECHO_C" >&6
41463 else
41464
41465 cat >conftest.$ac_ext <<_ACEOF
41466 /* confdefs.h. */
41467 _ACEOF
41468 cat confdefs.h >>conftest.$ac_ext
41469 cat >>conftest.$ac_ext <<_ACEOF
41470 /* end confdefs.h. */
41471 #include <pthread.h>
41472 int
41473 main ()
41474 {
41475
41476 static __thread int n = 0;
41477 static __thread int *p = 0;
41478
41479 ;
41480 return 0;
41481 }
41482 _ACEOF
41483 rm -f conftest.$ac_objext
41484 if { (ac_try="$ac_compile"
41485 case "(($ac_try" in
41486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41487 *) ac_try_echo=$ac_try;;
41488 esac
41489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41490 (eval "$ac_compile") 2>conftest.er1
41491 ac_status=$?
41492 grep -v '^ *+' conftest.er1 >conftest.err
41493 rm -f conftest.er1
41494 cat conftest.err >&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } && {
41497 test -z "$ac_c_werror_flag" ||
41498 test ! -s conftest.err
41499 } && test -s conftest.$ac_objext; then
41500 wx_cv_cc___thread=yes
41501 else
41502 echo "$as_me: failed program was:" >&5
41503 sed 's/^/| /' conftest.$ac_ext >&5
41504
41505 wx_cv_cc___thread=no
41506
41507 fi
41508
41509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41510
41511
41512 fi
41513 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41514 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41515
41516 if test "$wx_cv_cc___thread" = "yes"; then
41517
41518 GXX_VERSION=""
41519
41520
41521
41522 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41523 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41524
41525 if test "x$GCC" = "xyes" ; then
41526
41527 if test -z "" ; then
41528
41529 ax_gcc_option_test="int main()
41530 {
41531 return 0;
41532 }"
41533
41534 else
41535
41536 ax_gcc_option_test=""
41537
41538 fi
41539
41540
41541 # Dump the test program to file
41542 cat <<EOF > conftest.c
41543 $ax_gcc_option_test
41544 EOF
41545
41546 # Dump back the file to the log, useful for debugging purposes
41547 { ac_try='cat conftest.c 1>&5'
41548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41549 (eval $ac_try) 2>&5
41550 ac_status=$?
41551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41552 (exit $ac_status); }; }
41553
41554 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41556 (eval $ac_try) 2>&5
41557 ac_status=$?
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; } ; then
41560
41561 { echo "$as_me:$LINENO: result: yes" >&5
41562 echo "${ECHO_T}yes" >&6; }
41563
41564 ax_gcc_version_option=yes
41565
41566
41567 else
41568
41569 { echo "$as_me:$LINENO: result: no" >&5
41570 echo "${ECHO_T}no" >&6; }
41571
41572 ax_gcc_version_option=no
41573
41574
41575 fi
41576
41577
41578 else
41579
41580 { echo "$as_me:$LINENO: result: no gcc available" >&5
41581 echo "${ECHO_T}no gcc available" >&6; }
41582
41583 fi
41584
41585
41586 if test "x$GXX" = "xyes"; then
41587
41588 if test "x$ax_gxx_version_option" != "no"; then
41589
41590 { echo "$as_me:$LINENO: checking gxx version" >&5
41591 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41592 if test "${ax_cv_gxx_version+set}" = set; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41594 else
41595
41596 ax_cv_gxx_version="`$CXX -dumpversion`"
41597 if test "x$ax_cv_gxx_version" = "x"; then
41598
41599 ax_cv_gxx_version=""
41600
41601 fi
41602
41603
41604 fi
41605 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41606 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41607 GXX_VERSION=$ax_cv_gxx_version
41608
41609 fi
41610
41611
41612 fi
41613
41614
41615
41616 if test -n "$ax_cv_gxx_version"; then
41617 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41618 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41619 case "$ax_cv_gxx_version" in
41620 1.* | 2.* | 3.* )
41621 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41622 echo "${ECHO_T}no, it's broken" >&6; }
41623 wx_cv_cc___thread=no
41624 ;;
41625 *)
41626 { echo "$as_me:$LINENO: result: yes, it works" >&5
41627 echo "${ECHO_T}yes, it works" >&6; }
41628 ;;
41629 esac
41630 fi
41631 fi
41632
41633 if test "$wx_cv_cc___thread" = "yes"; then
41634 cat >>confdefs.h <<\_ACEOF
41635 #define HAVE___THREAD_KEYWORD 1
41636 _ACEOF
41637
41638 fi
41639 fi
41640 fi
41641
41642 else
41643 if test "$wxUSE_THREADS" = "yes" ; then
41644 case "${host}" in
41645 x86_64-*-mingw32* )
41646 ;;
41647 *-*-mingw32* )
41648 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41649 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41650 if test "${wx_cv_cflags_mthread+set}" = set; then
41651 echo $ECHO_N "(cached) $ECHO_C" >&6
41652 else
41653
41654 CFLAGS_OLD="$CFLAGS"
41655 CFLAGS="-mthreads $CFLAGS"
41656 cat >conftest.$ac_ext <<_ACEOF
41657 /* confdefs.h. */
41658 _ACEOF
41659 cat confdefs.h >>conftest.$ac_ext
41660 cat >>conftest.$ac_ext <<_ACEOF
41661 /* end confdefs.h. */
41662
41663 int
41664 main ()
41665 {
41666
41667 ;
41668 return 0;
41669 }
41670 _ACEOF
41671 rm -f conftest.$ac_objext
41672 if { (ac_try="$ac_compile"
41673 case "(($ac_try" in
41674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41675 *) ac_try_echo=$ac_try;;
41676 esac
41677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41678 (eval "$ac_compile") 2>conftest.er1
41679 ac_status=$?
41680 grep -v '^ *+' conftest.er1 >conftest.err
41681 rm -f conftest.er1
41682 cat conftest.err >&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } && {
41685 test -z "$ac_c_werror_flag" ||
41686 test ! -s conftest.err
41687 } && test -s conftest.$ac_objext; then
41688 wx_cv_cflags_mthread=yes
41689 else
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.$ac_ext >&5
41692
41693 wx_cv_cflags_mthread=no
41694
41695 fi
41696
41697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41698
41699
41700 fi
41701 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41702 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41703
41704 if test "$wx_cv_cflags_mthread" = "yes"; then
41705 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41706 LDFLAGS="$LDFLAGS -mthreads"
41707 else
41708 CFLAGS="$CFLAGS_OLD"
41709 fi
41710 ;;
41711 *-pc-os2*emx )
41712 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41713 LDFLAGS="$LDFLAGS -Zmt"
41714 ;;
41715 esac
41716 fi
41717 fi
41718
41719 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41720 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41721 if test "${ac_cv_func_localtime_r+set}" = set; then
41722 echo $ECHO_N "(cached) $ECHO_C" >&6
41723 else
41724 cat >conftest.$ac_ext <<_ACEOF
41725 /* confdefs.h. */
41726 _ACEOF
41727 cat confdefs.h >>conftest.$ac_ext
41728 cat >>conftest.$ac_ext <<_ACEOF
41729 /* end confdefs.h. */
41730 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41732 #define localtime_r innocuous_localtime_r
41733
41734 /* System header to define __stub macros and hopefully few prototypes,
41735 which can conflict with char localtime_r (); below.
41736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41737 <limits.h> exists even on freestanding compilers. */
41738
41739 #ifdef __STDC__
41740 # include <limits.h>
41741 #else
41742 # include <assert.h>
41743 #endif
41744
41745 #undef localtime_r
41746
41747 /* Override any GCC internal prototype to avoid an error.
41748 Use char because int might match the return type of a GCC
41749 builtin and then its argument prototype would still apply. */
41750 #ifdef __cplusplus
41751 extern "C"
41752 #endif
41753 char localtime_r ();
41754 /* The GNU C library defines this for functions which it implements
41755 to always fail with ENOSYS. Some functions are actually named
41756 something starting with __ and the normal name is an alias. */
41757 #if defined __stub_localtime_r || defined __stub___localtime_r
41758 choke me
41759 #endif
41760
41761 int
41762 main ()
41763 {
41764 return localtime_r ();
41765 ;
41766 return 0;
41767 }
41768 _ACEOF
41769 rm -f conftest.$ac_objext conftest$ac_exeext
41770 if { (ac_try="$ac_link"
41771 case "(($ac_try" in
41772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41773 *) ac_try_echo=$ac_try;;
41774 esac
41775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41776 (eval "$ac_link") 2>conftest.er1
41777 ac_status=$?
41778 grep -v '^ *+' conftest.er1 >conftest.err
41779 rm -f conftest.er1
41780 cat conftest.err >&5
41781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41782 (exit $ac_status); } && {
41783 test -z "$ac_c_werror_flag" ||
41784 test ! -s conftest.err
41785 } && test -s conftest$ac_exeext &&
41786 $as_test_x conftest$ac_exeext; then
41787 ac_cv_func_localtime_r=yes
41788 else
41789 echo "$as_me: failed program was:" >&5
41790 sed 's/^/| /' conftest.$ac_ext >&5
41791
41792 ac_cv_func_localtime_r=no
41793 fi
41794
41795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41796 conftest$ac_exeext conftest.$ac_ext
41797 fi
41798 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41799 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41800 if test $ac_cv_func_localtime_r = yes; then
41801 cat >>confdefs.h <<\_ACEOF
41802 #define HAVE_LOCALTIME_R 1
41803 _ACEOF
41804
41805 fi
41806
41807 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41808 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41809 if test "${ac_cv_func_gmtime_r+set}" = set; then
41810 echo $ECHO_N "(cached) $ECHO_C" >&6
41811 else
41812 cat >conftest.$ac_ext <<_ACEOF
41813 /* confdefs.h. */
41814 _ACEOF
41815 cat confdefs.h >>conftest.$ac_ext
41816 cat >>conftest.$ac_ext <<_ACEOF
41817 /* end confdefs.h. */
41818 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41820 #define gmtime_r innocuous_gmtime_r
41821
41822 /* System header to define __stub macros and hopefully few prototypes,
41823 which can conflict with char gmtime_r (); below.
41824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41825 <limits.h> exists even on freestanding compilers. */
41826
41827 #ifdef __STDC__
41828 # include <limits.h>
41829 #else
41830 # include <assert.h>
41831 #endif
41832
41833 #undef gmtime_r
41834
41835 /* Override any GCC internal prototype to avoid an error.
41836 Use char because int might match the return type of a GCC
41837 builtin and then its argument prototype would still apply. */
41838 #ifdef __cplusplus
41839 extern "C"
41840 #endif
41841 char gmtime_r ();
41842 /* The GNU C library defines this for functions which it implements
41843 to always fail with ENOSYS. Some functions are actually named
41844 something starting with __ and the normal name is an alias. */
41845 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41846 choke me
41847 #endif
41848
41849 int
41850 main ()
41851 {
41852 return gmtime_r ();
41853 ;
41854 return 0;
41855 }
41856 _ACEOF
41857 rm -f conftest.$ac_objext conftest$ac_exeext
41858 if { (ac_try="$ac_link"
41859 case "(($ac_try" in
41860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41861 *) ac_try_echo=$ac_try;;
41862 esac
41863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41864 (eval "$ac_link") 2>conftest.er1
41865 ac_status=$?
41866 grep -v '^ *+' conftest.er1 >conftest.err
41867 rm -f conftest.er1
41868 cat conftest.err >&5
41869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41870 (exit $ac_status); } && {
41871 test -z "$ac_c_werror_flag" ||
41872 test ! -s conftest.err
41873 } && test -s conftest$ac_exeext &&
41874 $as_test_x conftest$ac_exeext; then
41875 ac_cv_func_gmtime_r=yes
41876 else
41877 echo "$as_me: failed program was:" >&5
41878 sed 's/^/| /' conftest.$ac_ext >&5
41879
41880 ac_cv_func_gmtime_r=no
41881 fi
41882
41883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41884 conftest$ac_exeext conftest.$ac_ext
41885 fi
41886 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41887 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41888 if test $ac_cv_func_gmtime_r = yes; then
41889 cat >>confdefs.h <<\_ACEOF
41890 #define HAVE_GMTIME_R 1
41891 _ACEOF
41892
41893 fi
41894
41895
41896
41897
41898 ac_ext=c
41899 ac_cpp='$CPP $CPPFLAGS'
41900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41903
41904 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41905 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41906
41907 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41908 echo $ECHO_N "(cached) $ECHO_C" >&6
41909 else
41910
41911
41912 ################################################################
41913
41914 ac_cv_func_which_gethostbyname_r=unknown
41915
41916 #
41917 # ONE ARGUMENT (sanity check)
41918 #
41919
41920 # This should fail, as there is no variant of gethostbyname_r() that takes
41921 # a single argument. If it actually compiles, then we can assume that
41922 # netdb.h is not declaring the function, and the compiler is thereby
41923 # assuming an implicit prototype. In which case, we're out of luck.
41924 #
41925 cat >conftest.$ac_ext <<_ACEOF
41926 /* confdefs.h. */
41927 _ACEOF
41928 cat confdefs.h >>conftest.$ac_ext
41929 cat >>conftest.$ac_ext <<_ACEOF
41930 /* end confdefs.h. */
41931 #include <netdb.h>
41932 int
41933 main ()
41934 {
41935
41936 char *name = "www.gnu.org";
41937 (void)gethostbyname_r(name) /* ; */
41938
41939 ;
41940 return 0;
41941 }
41942 _ACEOF
41943 rm -f conftest.$ac_objext
41944 if { (ac_try="$ac_compile"
41945 case "(($ac_try" in
41946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41947 *) ac_try_echo=$ac_try;;
41948 esac
41949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41950 (eval "$ac_compile") 2>conftest.er1
41951 ac_status=$?
41952 grep -v '^ *+' conftest.er1 >conftest.err
41953 rm -f conftest.er1
41954 cat conftest.err >&5
41955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41956 (exit $ac_status); } && {
41957 test -z "$ac_c_werror_flag" ||
41958 test ! -s conftest.err
41959 } && test -s conftest.$ac_objext; then
41960 ac_cv_func_which_gethostbyname_r=no
41961 else
41962 echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.$ac_ext >&5
41964
41965
41966 fi
41967
41968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41969
41970 #
41971 # SIX ARGUMENTS
41972 # (e.g. Linux)
41973 #
41974
41975 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41976
41977 cat >conftest.$ac_ext <<_ACEOF
41978 /* confdefs.h. */
41979 _ACEOF
41980 cat confdefs.h >>conftest.$ac_ext
41981 cat >>conftest.$ac_ext <<_ACEOF
41982 /* end confdefs.h. */
41983 #include <netdb.h>
41984 int
41985 main ()
41986 {
41987
41988 char *name = "www.gnu.org";
41989 struct hostent ret, *retp;
41990 char buf[1024];
41991 int buflen = 1024;
41992 int my_h_errno;
41993 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41994
41995 ;
41996 return 0;
41997 }
41998 _ACEOF
41999 rm -f conftest.$ac_objext
42000 if { (ac_try="$ac_compile"
42001 case "(($ac_try" in
42002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42003 *) ac_try_echo=$ac_try;;
42004 esac
42005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42006 (eval "$ac_compile") 2>conftest.er1
42007 ac_status=$?
42008 grep -v '^ *+' conftest.er1 >conftest.err
42009 rm -f conftest.er1
42010 cat conftest.err >&5
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); } && {
42013 test -z "$ac_c_werror_flag" ||
42014 test ! -s conftest.err
42015 } && test -s conftest.$ac_objext; then
42016 ac_cv_func_which_gethostbyname_r=six
42017 else
42018 echo "$as_me: failed program was:" >&5
42019 sed 's/^/| /' conftest.$ac_ext >&5
42020
42021
42022 fi
42023
42024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42025
42026 fi
42027
42028 #
42029 # FIVE ARGUMENTS
42030 # (e.g. Solaris)
42031 #
42032
42033 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42034
42035 cat >conftest.$ac_ext <<_ACEOF
42036 /* confdefs.h. */
42037 _ACEOF
42038 cat confdefs.h >>conftest.$ac_ext
42039 cat >>conftest.$ac_ext <<_ACEOF
42040 /* end confdefs.h. */
42041 #include <netdb.h>
42042 int
42043 main ()
42044 {
42045
42046 char *name = "www.gnu.org";
42047 struct hostent ret;
42048 char buf[1024];
42049 int buflen = 1024;
42050 int my_h_errno;
42051 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42052
42053 ;
42054 return 0;
42055 }
42056 _ACEOF
42057 rm -f conftest.$ac_objext
42058 if { (ac_try="$ac_compile"
42059 case "(($ac_try" in
42060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42061 *) ac_try_echo=$ac_try;;
42062 esac
42063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42064 (eval "$ac_compile") 2>conftest.er1
42065 ac_status=$?
42066 grep -v '^ *+' conftest.er1 >conftest.err
42067 rm -f conftest.er1
42068 cat conftest.err >&5
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); } && {
42071 test -z "$ac_c_werror_flag" ||
42072 test ! -s conftest.err
42073 } && test -s conftest.$ac_objext; then
42074 ac_cv_func_which_gethostbyname_r=five
42075 else
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.$ac_ext >&5
42078
42079
42080 fi
42081
42082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42083
42084 fi
42085
42086 #
42087 # THREE ARGUMENTS
42088 # (e.g. AIX, HP-UX, Tru64)
42089 #
42090
42091 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42092
42093 cat >conftest.$ac_ext <<_ACEOF
42094 /* confdefs.h. */
42095 _ACEOF
42096 cat confdefs.h >>conftest.$ac_ext
42097 cat >>conftest.$ac_ext <<_ACEOF
42098 /* end confdefs.h. */
42099 #include <netdb.h>
42100 int
42101 main ()
42102 {
42103
42104 char *name = "www.gnu.org";
42105 struct hostent ret;
42106 struct hostent_data data;
42107 (void)gethostbyname_r(name, &ret, &data) /* ; */
42108
42109 ;
42110 return 0;
42111 }
42112 _ACEOF
42113 rm -f conftest.$ac_objext
42114 if { (ac_try="$ac_compile"
42115 case "(($ac_try" in
42116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42117 *) ac_try_echo=$ac_try;;
42118 esac
42119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42120 (eval "$ac_compile") 2>conftest.er1
42121 ac_status=$?
42122 grep -v '^ *+' conftest.er1 >conftest.err
42123 rm -f conftest.er1
42124 cat conftest.err >&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); } && {
42127 test -z "$ac_c_werror_flag" ||
42128 test ! -s conftest.err
42129 } && test -s conftest.$ac_objext; then
42130 ac_cv_func_which_gethostbyname_r=three
42131 else
42132 echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.$ac_ext >&5
42134
42135
42136 fi
42137
42138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42139
42140 fi
42141
42142 ################################################################
42143
42144
42145 fi
42146
42147 case "$ac_cv_func_which_gethostbyname_r" in
42148 three)
42149 { echo "$as_me:$LINENO: result: three" >&5
42150 echo "${ECHO_T}three" >&6; }
42151 cat >>confdefs.h <<\_ACEOF
42152 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42153 _ACEOF
42154
42155 ;;
42156
42157 five)
42158 { echo "$as_me:$LINENO: result: five" >&5
42159 echo "${ECHO_T}five" >&6; }
42160 cat >>confdefs.h <<\_ACEOF
42161 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42162 _ACEOF
42163
42164 ;;
42165
42166 six)
42167 { echo "$as_me:$LINENO: result: six" >&5
42168 echo "${ECHO_T}six" >&6; }
42169 cat >>confdefs.h <<\_ACEOF
42170 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42171 _ACEOF
42172
42173 ;;
42174
42175 no)
42176 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42177 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42178 ;;
42179
42180 unknown)
42181 { echo "$as_me:$LINENO: result: can't tell" >&5
42182 echo "${ECHO_T}can't tell" >&6; }
42183 ;;
42184
42185 *)
42186 { { echo "$as_me:$LINENO: error: internal error" >&5
42187 echo "$as_me: error: internal error" >&2;}
42188 { (exit 1); exit 1; }; }
42189 ;;
42190 esac
42191
42192 ac_ext=c
42193 ac_cpp='$CPP $CPPFLAGS'
42194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42197
42198
42199
42200 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42201 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42202 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42203 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42204 if test "${ac_cv_func_gethostbyname+set}" = set; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42206 else
42207 cat >conftest.$ac_ext <<_ACEOF
42208 /* confdefs.h. */
42209 _ACEOF
42210 cat confdefs.h >>conftest.$ac_ext
42211 cat >>conftest.$ac_ext <<_ACEOF
42212 /* end confdefs.h. */
42213 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42215 #define gethostbyname innocuous_gethostbyname
42216
42217 /* System header to define __stub macros and hopefully few prototypes,
42218 which can conflict with char gethostbyname (); below.
42219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42220 <limits.h> exists even on freestanding compilers. */
42221
42222 #ifdef __STDC__
42223 # include <limits.h>
42224 #else
42225 # include <assert.h>
42226 #endif
42227
42228 #undef gethostbyname
42229
42230 /* Override any GCC internal prototype to avoid an error.
42231 Use char because int might match the return type of a GCC
42232 builtin and then its argument prototype would still apply. */
42233 #ifdef __cplusplus
42234 extern "C"
42235 #endif
42236 char gethostbyname ();
42237 /* The GNU C library defines this for functions which it implements
42238 to always fail with ENOSYS. Some functions are actually named
42239 something starting with __ and the normal name is an alias. */
42240 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42241 choke me
42242 #endif
42243
42244 int
42245 main ()
42246 {
42247 return gethostbyname ();
42248 ;
42249 return 0;
42250 }
42251 _ACEOF
42252 rm -f conftest.$ac_objext conftest$ac_exeext
42253 if { (ac_try="$ac_link"
42254 case "(($ac_try" in
42255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42256 *) ac_try_echo=$ac_try;;
42257 esac
42258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42259 (eval "$ac_link") 2>conftest.er1
42260 ac_status=$?
42261 grep -v '^ *+' conftest.er1 >conftest.err
42262 rm -f conftest.er1
42263 cat conftest.err >&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } && {
42266 test -z "$ac_c_werror_flag" ||
42267 test ! -s conftest.err
42268 } && test -s conftest$ac_exeext &&
42269 $as_test_x conftest$ac_exeext; then
42270 ac_cv_func_gethostbyname=yes
42271 else
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.$ac_ext >&5
42274
42275 ac_cv_func_gethostbyname=no
42276 fi
42277
42278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42279 conftest$ac_exeext conftest.$ac_ext
42280 fi
42281 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42282 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42283 if test $ac_cv_func_gethostbyname = yes; then
42284 cat >>confdefs.h <<\_ACEOF
42285 #define HAVE_GETHOSTBYNAME 1
42286 _ACEOF
42287
42288 fi
42289
42290 fi
42291
42292 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42293 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42294 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42295 echo $ECHO_N "(cached) $ECHO_C" >&6
42296 else
42297
42298 ac_ext=cpp
42299 ac_cpp='$CXXCPP $CPPFLAGS'
42300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42303
42304
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311 #include <netdb.h>
42312 int
42313 main ()
42314 {
42315
42316 char *name;
42317 char *proto;
42318 struct servent *se, *res;
42319 char buffer[2048];
42320 int buflen = 2048;
42321 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42322
42323 ;
42324 return 0;
42325 }
42326 _ACEOF
42327 rm -f conftest.$ac_objext
42328 if { (ac_try="$ac_compile"
42329 case "(($ac_try" in
42330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42331 *) ac_try_echo=$ac_try;;
42332 esac
42333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42334 (eval "$ac_compile") 2>conftest.er1
42335 ac_status=$?
42336 grep -v '^ *+' conftest.er1 >conftest.err
42337 rm -f conftest.er1
42338 cat conftest.err >&5
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); } && {
42341 test -z "$ac_cxx_werror_flag" ||
42342 test ! -s conftest.err
42343 } && test -s conftest.$ac_objext; then
42344 ac_cv_func_which_getservbyname_r=six
42345 else
42346 echo "$as_me: failed program was:" >&5
42347 sed 's/^/| /' conftest.$ac_ext >&5
42348
42349
42350 cat >conftest.$ac_ext <<_ACEOF
42351 /* confdefs.h. */
42352 _ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42356 #include <netdb.h>
42357 int
42358 main ()
42359 {
42360
42361 char *name;
42362 char *proto;
42363 struct servent *se;
42364 char buffer[2048];
42365 int buflen = 2048;
42366 (void) getservbyname_r(name, proto, se, buffer, buflen)
42367
42368 ;
42369 return 0;
42370 }
42371 _ACEOF
42372 rm -f conftest.$ac_objext
42373 if { (ac_try="$ac_compile"
42374 case "(($ac_try" in
42375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42376 *) ac_try_echo=$ac_try;;
42377 esac
42378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42379 (eval "$ac_compile") 2>conftest.er1
42380 ac_status=$?
42381 grep -v '^ *+' conftest.er1 >conftest.err
42382 rm -f conftest.er1
42383 cat conftest.err >&5
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); } && {
42386 test -z "$ac_cxx_werror_flag" ||
42387 test ! -s conftest.err
42388 } && test -s conftest.$ac_objext; then
42389 ac_cv_func_which_getservbyname_r=five
42390 else
42391 echo "$as_me: failed program was:" >&5
42392 sed 's/^/| /' conftest.$ac_ext >&5
42393
42394
42395 cat >conftest.$ac_ext <<_ACEOF
42396 /* confdefs.h. */
42397 _ACEOF
42398 cat confdefs.h >>conftest.$ac_ext
42399 cat >>conftest.$ac_ext <<_ACEOF
42400 /* end confdefs.h. */
42401 #include <netdb.h>
42402 int
42403 main ()
42404 {
42405
42406 char *name;
42407 char *proto;
42408 struct servent *se;
42409 struct servent_data data;
42410 (void) getservbyname_r(name, proto, se, &data);
42411
42412 ;
42413 return 0;
42414 }
42415 _ACEOF
42416 rm -f conftest.$ac_objext
42417 if { (ac_try="$ac_compile"
42418 case "(($ac_try" in
42419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42420 *) ac_try_echo=$ac_try;;
42421 esac
42422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42423 (eval "$ac_compile") 2>conftest.er1
42424 ac_status=$?
42425 grep -v '^ *+' conftest.er1 >conftest.err
42426 rm -f conftest.er1
42427 cat conftest.err >&5
42428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42429 (exit $ac_status); } && {
42430 test -z "$ac_cxx_werror_flag" ||
42431 test ! -s conftest.err
42432 } && test -s conftest.$ac_objext; then
42433 ac_cv_func_which_getservbyname_r=four
42434 else
42435 echo "$as_me: failed program was:" >&5
42436 sed 's/^/| /' conftest.$ac_ext >&5
42437
42438 ac_cv_func_which_getservbyname_r=no
42439
42440 fi
42441
42442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42443
42444
42445 fi
42446
42447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42448
42449
42450 fi
42451
42452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42453 ac_ext=c
42454 ac_cpp='$CPP $CPPFLAGS'
42455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42458
42459
42460
42461 fi
42462 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42463 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42464
42465 if test $ac_cv_func_which_getservbyname_r = six; then
42466 cat >>confdefs.h <<\_ACEOF
42467 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42468 _ACEOF
42469
42470 elif test $ac_cv_func_which_getservbyname_r = five; then
42471 cat >>confdefs.h <<\_ACEOF
42472 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42473 _ACEOF
42474
42475 elif test $ac_cv_func_which_getservbyname_r = four; then
42476 cat >>confdefs.h <<\_ACEOF
42477 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42478 _ACEOF
42479
42480 fi
42481
42482
42483 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42484 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42485
42486 for ac_func in getservbyname
42487 do
42488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42492 echo $ECHO_N "(cached) $ECHO_C" >&6
42493 else
42494 cat >conftest.$ac_ext <<_ACEOF
42495 /* confdefs.h. */
42496 _ACEOF
42497 cat confdefs.h >>conftest.$ac_ext
42498 cat >>conftest.$ac_ext <<_ACEOF
42499 /* end confdefs.h. */
42500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42502 #define $ac_func innocuous_$ac_func
42503
42504 /* System header to define __stub macros and hopefully few prototypes,
42505 which can conflict with char $ac_func (); below.
42506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42507 <limits.h> exists even on freestanding compilers. */
42508
42509 #ifdef __STDC__
42510 # include <limits.h>
42511 #else
42512 # include <assert.h>
42513 #endif
42514
42515 #undef $ac_func
42516
42517 /* Override any GCC internal prototype to avoid an error.
42518 Use char because int might match the return type of a GCC
42519 builtin and then its argument prototype would still apply. */
42520 #ifdef __cplusplus
42521 extern "C"
42522 #endif
42523 char $ac_func ();
42524 /* The GNU C library defines this for functions which it implements
42525 to always fail with ENOSYS. Some functions are actually named
42526 something starting with __ and the normal name is an alias. */
42527 #if defined __stub_$ac_func || defined __stub___$ac_func
42528 choke me
42529 #endif
42530
42531 int
42532 main ()
42533 {
42534 return $ac_func ();
42535 ;
42536 return 0;
42537 }
42538 _ACEOF
42539 rm -f conftest.$ac_objext conftest$ac_exeext
42540 if { (ac_try="$ac_link"
42541 case "(($ac_try" in
42542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42543 *) ac_try_echo=$ac_try;;
42544 esac
42545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42546 (eval "$ac_link") 2>conftest.er1
42547 ac_status=$?
42548 grep -v '^ *+' conftest.er1 >conftest.err
42549 rm -f conftest.er1
42550 cat conftest.err >&5
42551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42552 (exit $ac_status); } && {
42553 test -z "$ac_c_werror_flag" ||
42554 test ! -s conftest.err
42555 } && test -s conftest$ac_exeext &&
42556 $as_test_x conftest$ac_exeext; then
42557 eval "$as_ac_var=yes"
42558 else
42559 echo "$as_me: failed program was:" >&5
42560 sed 's/^/| /' conftest.$ac_ext >&5
42561
42562 eval "$as_ac_var=no"
42563 fi
42564
42565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42566 conftest$ac_exeext conftest.$ac_ext
42567 fi
42568 ac_res=`eval echo '${'$as_ac_var'}'`
42569 { echo "$as_me:$LINENO: result: $ac_res" >&5
42570 echo "${ECHO_T}$ac_res" >&6; }
42571 if test `eval echo '${'$as_ac_var'}'` = yes; then
42572 cat >>confdefs.h <<_ACEOF
42573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42574 _ACEOF
42575 cat >>confdefs.h <<\_ACEOF
42576 #define HAVE_GETSERVBYNAME 1
42577 _ACEOF
42578
42579 fi
42580 done
42581
42582 fi
42583
42584 if test "$wxUSE_THREADS" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_THREADS 1
42587 _ACEOF
42588
42589
42590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42591 else
42592 if test "$wx_cv_func_strtok_r" = "yes"; then
42593 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42594 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42595 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42596 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42597 { echo "$as_me:$LINENO: result: yes" >&5
42598 echo "${ECHO_T}yes" >&6; }
42599 else
42600 { echo "$as_me:$LINENO: result: no" >&5
42601 echo "${ECHO_T}no" >&6; }
42602 fi
42603 fi
42604 fi
42605
42606 if test "$WXGTK2" = 1 ; then
42607 cat >>confdefs.h <<_ACEOF
42608 #define __WXGTK20__ $WXGTK2
42609 _ACEOF
42610
42611 WXGTK12=1
42612 fi
42613
42614 if test "$WXGTK12" = 1 ; then
42615 cat >>confdefs.h <<_ACEOF
42616 #define __WXGTK12__ $WXGTK12
42617 _ACEOF
42618
42619 fi
42620
42621 if test "$WXGTK127" = 1 ; then
42622 cat >>confdefs.h <<_ACEOF
42623 #define __WXGTK127__ $WXGTK127
42624 _ACEOF
42625
42626 fi
42627
42628 if test "$WXGPE" = 1 ; then
42629 cat >>confdefs.h <<_ACEOF
42630 #define __WXGPE__ $WXGPE
42631 _ACEOF
42632
42633 fi
42634
42635 DEBUG_CFLAGS=
42636 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42637 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42638 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42639 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42640 DEBUG_CFLAGS="-g"
42641 fi
42642
42643 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42644 wxUSE_DEBUG_INFO=yes
42645 if test "$GCC" = yes; then
42646 DEBUG_CFLAGS="-ggdb"
42647 fi
42648 fi
42649
42650 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42651 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42652
42653 if test "$wxUSE_GTK" = 1 ; then
42654 if test "x$wxGTK_VERSION" = "x1" ; then
42655 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42656 fi
42657 fi
42658 fi
42659
42660 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42661 cat >>confdefs.h <<\_ACEOF
42662 #define wxUSE_MEMORY_TRACING 1
42663 _ACEOF
42664
42665 cat >>confdefs.h <<\_ACEOF
42666 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42667 _ACEOF
42668
42669 cat >>confdefs.h <<\_ACEOF
42670 #define wxUSE_DEBUG_NEW_ALWAYS 1
42671 _ACEOF
42672
42673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42674 fi
42675
42676 if test "$wxUSE_DMALLOC" = "yes" ; then
42677 DMALLOC_LIBS="-ldmallocthcxx"
42678 fi
42679
42680 PROFILE_FLAGS=
42681 if test "$wxUSE_PROFILE" = "yes" ; then
42682 PROFILE_FLAGS=" -pg"
42683 fi
42684
42685 if test "$GCC" = "yes" ; then
42686 if test "$wxUSE_NO_RTTI" = "yes" ; then
42687 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42688 fi
42689 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42690 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42691 fi
42692 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42693 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42694 fi
42695
42696 case "${host}" in
42697 powerpc*-*-aix* )
42698 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42699 ;;
42700 *-hppa* )
42701 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42702 ;;
42703 esac
42704 fi
42705
42706 OPTIMISE_CFLAGS=
42707 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42708 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42709 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42710 else
42711 if test "$wxUSE_OPTIMISE" = "no" ; then
42712 if test "$GCC" = yes ; then
42713 OPTIMISE_CFLAGS="-O0"
42714 fi
42715 else
42716 if test "$GCC" = yes ; then
42717 case "${host}" in
42718 *-pc-os2_emx | *-pc-os2-emx )
42719 OPTIMISE_CFLAGS="-O2"
42720 ;;
42721 *)
42722 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42723 ;;
42724 esac
42725 else
42726 OPTIMISE_CFLAGS="-O"
42727 fi
42728 fi
42729 fi
42730
42731
42732 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42733 cat >>confdefs.h <<\_ACEOF
42734 #define WXWIN_COMPATIBILITY_2_6 1
42735 _ACEOF
42736
42737
42738 WXWIN_COMPATIBILITY_2_8="yes"
42739 fi
42740
42741 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42742 cat >>confdefs.h <<\_ACEOF
42743 #define WXWIN_COMPATIBILITY_2_8 1
42744 _ACEOF
42745
42746 fi
42747
42748
42749 if test "$wxUSE_GUI" = "yes"; then
42750 cat >>confdefs.h <<\_ACEOF
42751 #define wxUSE_GUI 1
42752 _ACEOF
42753
42754
42755 fi
42756
42757
42758 if test "$wxUSE_UNIX" = "yes"; then
42759 cat >>confdefs.h <<\_ACEOF
42760 #define wxUSE_UNIX 1
42761 _ACEOF
42762
42763 fi
42764
42765
42766 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42767
42768 HAVE_DL_FUNCS=0
42769 HAVE_SHL_FUNCS=0
42770 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42771 if test "$USE_DOS" = 1; then
42772 HAVE_DL_FUNCS=0
42773 else
42774
42775 for ac_func in dlopen
42776 do
42777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42782 else
42783 cat >conftest.$ac_ext <<_ACEOF
42784 /* confdefs.h. */
42785 _ACEOF
42786 cat confdefs.h >>conftest.$ac_ext
42787 cat >>conftest.$ac_ext <<_ACEOF
42788 /* end confdefs.h. */
42789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42791 #define $ac_func innocuous_$ac_func
42792
42793 /* System header to define __stub macros and hopefully few prototypes,
42794 which can conflict with char $ac_func (); below.
42795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42796 <limits.h> exists even on freestanding compilers. */
42797
42798 #ifdef __STDC__
42799 # include <limits.h>
42800 #else
42801 # include <assert.h>
42802 #endif
42803
42804 #undef $ac_func
42805
42806 /* Override any GCC internal prototype to avoid an error.
42807 Use char because int might match the return type of a GCC
42808 builtin and then its argument prototype would still apply. */
42809 #ifdef __cplusplus
42810 extern "C"
42811 #endif
42812 char $ac_func ();
42813 /* The GNU C library defines this for functions which it implements
42814 to always fail with ENOSYS. Some functions are actually named
42815 something starting with __ and the normal name is an alias. */
42816 #if defined __stub_$ac_func || defined __stub___$ac_func
42817 choke me
42818 #endif
42819
42820 int
42821 main ()
42822 {
42823 return $ac_func ();
42824 ;
42825 return 0;
42826 }
42827 _ACEOF
42828 rm -f conftest.$ac_objext conftest$ac_exeext
42829 if { (ac_try="$ac_link"
42830 case "(($ac_try" in
42831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42832 *) ac_try_echo=$ac_try;;
42833 esac
42834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42835 (eval "$ac_link") 2>conftest.er1
42836 ac_status=$?
42837 grep -v '^ *+' conftest.er1 >conftest.err
42838 rm -f conftest.er1
42839 cat conftest.err >&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); } && {
42842 test -z "$ac_c_werror_flag" ||
42843 test ! -s conftest.err
42844 } && test -s conftest$ac_exeext &&
42845 $as_test_x conftest$ac_exeext; then
42846 eval "$as_ac_var=yes"
42847 else
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.$ac_ext >&5
42850
42851 eval "$as_ac_var=no"
42852 fi
42853
42854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42855 conftest$ac_exeext conftest.$ac_ext
42856 fi
42857 ac_res=`eval echo '${'$as_ac_var'}'`
42858 { echo "$as_me:$LINENO: result: $ac_res" >&5
42859 echo "${ECHO_T}$ac_res" >&6; }
42860 if test `eval echo '${'$as_ac_var'}'` = yes; then
42861 cat >>confdefs.h <<_ACEOF
42862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42863 _ACEOF
42864
42865 cat >>confdefs.h <<\_ACEOF
42866 #define HAVE_DLOPEN 1
42867 _ACEOF
42868
42869 HAVE_DL_FUNCS=1
42870
42871 else
42872
42873 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42874 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42875 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42876 echo $ECHO_N "(cached) $ECHO_C" >&6
42877 else
42878 ac_check_lib_save_LIBS=$LIBS
42879 LIBS="-ldl $LIBS"
42880 cat >conftest.$ac_ext <<_ACEOF
42881 /* confdefs.h. */
42882 _ACEOF
42883 cat confdefs.h >>conftest.$ac_ext
42884 cat >>conftest.$ac_ext <<_ACEOF
42885 /* end confdefs.h. */
42886
42887 /* Override any GCC internal prototype to avoid an error.
42888 Use char because int might match the return type of a GCC
42889 builtin and then its argument prototype would still apply. */
42890 #ifdef __cplusplus
42891 extern "C"
42892 #endif
42893 char dlopen ();
42894 int
42895 main ()
42896 {
42897 return dlopen ();
42898 ;
42899 return 0;
42900 }
42901 _ACEOF
42902 rm -f conftest.$ac_objext conftest$ac_exeext
42903 if { (ac_try="$ac_link"
42904 case "(($ac_try" in
42905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42906 *) ac_try_echo=$ac_try;;
42907 esac
42908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42909 (eval "$ac_link") 2>conftest.er1
42910 ac_status=$?
42911 grep -v '^ *+' conftest.er1 >conftest.err
42912 rm -f conftest.er1
42913 cat conftest.err >&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); } && {
42916 test -z "$ac_c_werror_flag" ||
42917 test ! -s conftest.err
42918 } && test -s conftest$ac_exeext &&
42919 $as_test_x conftest$ac_exeext; then
42920 ac_cv_lib_dl_dlopen=yes
42921 else
42922 echo "$as_me: failed program was:" >&5
42923 sed 's/^/| /' conftest.$ac_ext >&5
42924
42925 ac_cv_lib_dl_dlopen=no
42926 fi
42927
42928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42929 conftest$ac_exeext conftest.$ac_ext
42930 LIBS=$ac_check_lib_save_LIBS
42931 fi
42932 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42933 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42934 if test $ac_cv_lib_dl_dlopen = yes; then
42935
42936 cat >>confdefs.h <<\_ACEOF
42937 #define HAVE_DLOPEN 1
42938 _ACEOF
42939
42940 HAVE_DL_FUNCS=1
42941 DL_LINK=" -ldl$DL_LINK"
42942
42943 else
42944
42945
42946 for ac_func in shl_load
42947 do
42948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42952 echo $ECHO_N "(cached) $ECHO_C" >&6
42953 else
42954 cat >conftest.$ac_ext <<_ACEOF
42955 /* confdefs.h. */
42956 _ACEOF
42957 cat confdefs.h >>conftest.$ac_ext
42958 cat >>conftest.$ac_ext <<_ACEOF
42959 /* end confdefs.h. */
42960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42962 #define $ac_func innocuous_$ac_func
42963
42964 /* System header to define __stub macros and hopefully few prototypes,
42965 which can conflict with char $ac_func (); below.
42966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42967 <limits.h> exists even on freestanding compilers. */
42968
42969 #ifdef __STDC__
42970 # include <limits.h>
42971 #else
42972 # include <assert.h>
42973 #endif
42974
42975 #undef $ac_func
42976
42977 /* Override any GCC internal prototype to avoid an error.
42978 Use char because int might match the return type of a GCC
42979 builtin and then its argument prototype would still apply. */
42980 #ifdef __cplusplus
42981 extern "C"
42982 #endif
42983 char $ac_func ();
42984 /* The GNU C library defines this for functions which it implements
42985 to always fail with ENOSYS. Some functions are actually named
42986 something starting with __ and the normal name is an alias. */
42987 #if defined __stub_$ac_func || defined __stub___$ac_func
42988 choke me
42989 #endif
42990
42991 int
42992 main ()
42993 {
42994 return $ac_func ();
42995 ;
42996 return 0;
42997 }
42998 _ACEOF
42999 rm -f conftest.$ac_objext conftest$ac_exeext
43000 if { (ac_try="$ac_link"
43001 case "(($ac_try" in
43002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43003 *) ac_try_echo=$ac_try;;
43004 esac
43005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43006 (eval "$ac_link") 2>conftest.er1
43007 ac_status=$?
43008 grep -v '^ *+' conftest.er1 >conftest.err
43009 rm -f conftest.er1
43010 cat conftest.err >&5
43011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012 (exit $ac_status); } && {
43013 test -z "$ac_c_werror_flag" ||
43014 test ! -s conftest.err
43015 } && test -s conftest$ac_exeext &&
43016 $as_test_x conftest$ac_exeext; then
43017 eval "$as_ac_var=yes"
43018 else
43019 echo "$as_me: failed program was:" >&5
43020 sed 's/^/| /' conftest.$ac_ext >&5
43021
43022 eval "$as_ac_var=no"
43023 fi
43024
43025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43026 conftest$ac_exeext conftest.$ac_ext
43027 fi
43028 ac_res=`eval echo '${'$as_ac_var'}'`
43029 { echo "$as_me:$LINENO: result: $ac_res" >&5
43030 echo "${ECHO_T}$ac_res" >&6; }
43031 if test `eval echo '${'$as_ac_var'}'` = yes; then
43032 cat >>confdefs.h <<_ACEOF
43033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43034 _ACEOF
43035
43036 cat >>confdefs.h <<\_ACEOF
43037 #define HAVE_SHL_LOAD 1
43038 _ACEOF
43039
43040 HAVE_SHL_FUNCS=1
43041
43042 else
43043
43044 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43045 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43046 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43047 echo $ECHO_N "(cached) $ECHO_C" >&6
43048 else
43049 ac_check_lib_save_LIBS=$LIBS
43050 LIBS="-lshl_load $LIBS"
43051 cat >conftest.$ac_ext <<_ACEOF
43052 /* confdefs.h. */
43053 _ACEOF
43054 cat confdefs.h >>conftest.$ac_ext
43055 cat >>conftest.$ac_ext <<_ACEOF
43056 /* end confdefs.h. */
43057
43058 /* Override any GCC internal prototype to avoid an error.
43059 Use char because int might match the return type of a GCC
43060 builtin and then its argument prototype would still apply. */
43061 #ifdef __cplusplus
43062 extern "C"
43063 #endif
43064 char dld ();
43065 int
43066 main ()
43067 {
43068 return dld ();
43069 ;
43070 return 0;
43071 }
43072 _ACEOF
43073 rm -f conftest.$ac_objext conftest$ac_exeext
43074 if { (ac_try="$ac_link"
43075 case "(($ac_try" in
43076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43077 *) ac_try_echo=$ac_try;;
43078 esac
43079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43080 (eval "$ac_link") 2>conftest.er1
43081 ac_status=$?
43082 grep -v '^ *+' conftest.er1 >conftest.err
43083 rm -f conftest.er1
43084 cat conftest.err >&5
43085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086 (exit $ac_status); } && {
43087 test -z "$ac_c_werror_flag" ||
43088 test ! -s conftest.err
43089 } && test -s conftest$ac_exeext &&
43090 $as_test_x conftest$ac_exeext; then
43091 ac_cv_lib_shl_load_dld=yes
43092 else
43093 echo "$as_me: failed program was:" >&5
43094 sed 's/^/| /' conftest.$ac_ext >&5
43095
43096 ac_cv_lib_shl_load_dld=no
43097 fi
43098
43099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43100 conftest$ac_exeext conftest.$ac_ext
43101 LIBS=$ac_check_lib_save_LIBS
43102 fi
43103 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43104 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43105 if test $ac_cv_lib_shl_load_dld = yes; then
43106
43107 HAVE_SHL_FUNCS=1
43108 DL_LINK=" -ldld$DL_LINK"
43109
43110 fi
43111
43112
43113 fi
43114 done
43115
43116
43117 fi
43118
43119
43120 fi
43121 done
43122
43123
43124 if test "$HAVE_DL_FUNCS" = 1; then
43125
43126 for ac_func in dlerror
43127 do
43128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43132 echo $ECHO_N "(cached) $ECHO_C" >&6
43133 else
43134 cat >conftest.$ac_ext <<_ACEOF
43135 /* confdefs.h. */
43136 _ACEOF
43137 cat confdefs.h >>conftest.$ac_ext
43138 cat >>conftest.$ac_ext <<_ACEOF
43139 /* end confdefs.h. */
43140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43142 #define $ac_func innocuous_$ac_func
43143
43144 /* System header to define __stub macros and hopefully few prototypes,
43145 which can conflict with char $ac_func (); below.
43146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43147 <limits.h> exists even on freestanding compilers. */
43148
43149 #ifdef __STDC__
43150 # include <limits.h>
43151 #else
43152 # include <assert.h>
43153 #endif
43154
43155 #undef $ac_func
43156
43157 /* Override any GCC internal prototype to avoid an error.
43158 Use char because int might match the return type of a GCC
43159 builtin and then its argument prototype would still apply. */
43160 #ifdef __cplusplus
43161 extern "C"
43162 #endif
43163 char $ac_func ();
43164 /* The GNU C library defines this for functions which it implements
43165 to always fail with ENOSYS. Some functions are actually named
43166 something starting with __ and the normal name is an alias. */
43167 #if defined __stub_$ac_func || defined __stub___$ac_func
43168 choke me
43169 #endif
43170
43171 int
43172 main ()
43173 {
43174 return $ac_func ();
43175 ;
43176 return 0;
43177 }
43178 _ACEOF
43179 rm -f conftest.$ac_objext conftest$ac_exeext
43180 if { (ac_try="$ac_link"
43181 case "(($ac_try" in
43182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43183 *) ac_try_echo=$ac_try;;
43184 esac
43185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43186 (eval "$ac_link") 2>conftest.er1
43187 ac_status=$?
43188 grep -v '^ *+' conftest.er1 >conftest.err
43189 rm -f conftest.er1
43190 cat conftest.err >&5
43191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192 (exit $ac_status); } && {
43193 test -z "$ac_c_werror_flag" ||
43194 test ! -s conftest.err
43195 } && test -s conftest$ac_exeext &&
43196 $as_test_x conftest$ac_exeext; then
43197 eval "$as_ac_var=yes"
43198 else
43199 echo "$as_me: failed program was:" >&5
43200 sed 's/^/| /' conftest.$ac_ext >&5
43201
43202 eval "$as_ac_var=no"
43203 fi
43204
43205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43206 conftest$ac_exeext conftest.$ac_ext
43207 fi
43208 ac_res=`eval echo '${'$as_ac_var'}'`
43209 { echo "$as_me:$LINENO: result: $ac_res" >&5
43210 echo "${ECHO_T}$ac_res" >&6; }
43211 if test `eval echo '${'$as_ac_var'}'` = yes; then
43212 cat >>confdefs.h <<_ACEOF
43213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43214 _ACEOF
43215 cat >>confdefs.h <<\_ACEOF
43216 #define HAVE_DLERROR 1
43217 _ACEOF
43218
43219 else
43220
43221 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43222 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43223 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43224 echo $ECHO_N "(cached) $ECHO_C" >&6
43225 else
43226 ac_check_lib_save_LIBS=$LIBS
43227 LIBS="-ldl $LIBS"
43228 cat >conftest.$ac_ext <<_ACEOF
43229 /* confdefs.h. */
43230 _ACEOF
43231 cat confdefs.h >>conftest.$ac_ext
43232 cat >>conftest.$ac_ext <<_ACEOF
43233 /* end confdefs.h. */
43234
43235 /* Override any GCC internal prototype to avoid an error.
43236 Use char because int might match the return type of a GCC
43237 builtin and then its argument prototype would still apply. */
43238 #ifdef __cplusplus
43239 extern "C"
43240 #endif
43241 char dlerror ();
43242 int
43243 main ()
43244 {
43245 return dlerror ();
43246 ;
43247 return 0;
43248 }
43249 _ACEOF
43250 rm -f conftest.$ac_objext conftest$ac_exeext
43251 if { (ac_try="$ac_link"
43252 case "(($ac_try" in
43253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43254 *) ac_try_echo=$ac_try;;
43255 esac
43256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43257 (eval "$ac_link") 2>conftest.er1
43258 ac_status=$?
43259 grep -v '^ *+' conftest.er1 >conftest.err
43260 rm -f conftest.er1
43261 cat conftest.err >&5
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); } && {
43264 test -z "$ac_c_werror_flag" ||
43265 test ! -s conftest.err
43266 } && test -s conftest$ac_exeext &&
43267 $as_test_x conftest$ac_exeext; then
43268 ac_cv_lib_dl_dlerror=yes
43269 else
43270 echo "$as_me: failed program was:" >&5
43271 sed 's/^/| /' conftest.$ac_ext >&5
43272
43273 ac_cv_lib_dl_dlerror=no
43274 fi
43275
43276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43277 conftest$ac_exeext conftest.$ac_ext
43278 LIBS=$ac_check_lib_save_LIBS
43279 fi
43280 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43281 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43282 if test $ac_cv_lib_dl_dlerror = yes; then
43283 cat >>confdefs.h <<\_ACEOF
43284 #define HAVE_DLERROR 1
43285 _ACEOF
43286
43287 fi
43288
43289
43290
43291 fi
43292 done
43293
43294 fi
43295 fi
43296
43297 if test "$USE_DARWIN" = 1; then
43298 HAVE_DL_FUNCS=1
43299 fi
43300
43301 if test "$HAVE_DL_FUNCS" = 0; then
43302 if test "$HAVE_SHL_FUNCS" = 0; then
43303 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43304 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43305 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43306 wxUSE_DYNAMIC_LOADER=no
43307 wxUSE_DYNLIB_CLASS=no
43308 else
43309 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43310 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43311 fi
43312 fi
43313 fi
43314 fi
43315 fi
43316
43317 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43318 cat >>confdefs.h <<\_ACEOF
43319 #define wxUSE_DYNAMIC_LOADER 1
43320 _ACEOF
43321
43322 fi
43323 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43324 cat >>confdefs.h <<\_ACEOF
43325 #define wxUSE_DYNLIB_CLASS 1
43326 _ACEOF
43327
43328 fi
43329
43330
43331
43332 if test "$wxUSE_PLUGINS" = "yes" ; then
43333 if test "$wxUSE_SHARED" = "no" ; then
43334 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43335 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43336 wxUSE_PLUGINS=no
43337 fi
43338 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43339 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43340 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43341 wxUSE_PLUGINS=no
43342 fi
43343 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43344 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43345 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43346 wxUSE_PLUGINS=no
43347 fi
43348 if test "$wxUSE_PLUGINS" = "yes" ; then
43349 cat >>confdefs.h <<\_ACEOF
43350 #define wxUSE_PLUGINS 1
43351 _ACEOF
43352
43353 fi
43354 fi
43355
43356
43357 if test "$wxUSE_FSWATCHER" = "yes"; then
43358 if test "$wxUSE_MSW" != "1"; then
43359 if test "$wxUSE_UNIX" = "yes"; then
43360
43361 for ac_header in sys/inotify.h
43362 do
43363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43367 echo $ECHO_N "(cached) $ECHO_C" >&6
43368 else
43369 cat >conftest.$ac_ext <<_ACEOF
43370 /* confdefs.h. */
43371 _ACEOF
43372 cat confdefs.h >>conftest.$ac_ext
43373 cat >>conftest.$ac_ext <<_ACEOF
43374 /* end confdefs.h. */
43375 $ac_includes_default
43376
43377 #include <$ac_header>
43378 _ACEOF
43379 rm -f conftest.$ac_objext
43380 if { (ac_try="$ac_compile"
43381 case "(($ac_try" in
43382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43383 *) ac_try_echo=$ac_try;;
43384 esac
43385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43386 (eval "$ac_compile") 2>conftest.er1
43387 ac_status=$?
43388 grep -v '^ *+' conftest.er1 >conftest.err
43389 rm -f conftest.er1
43390 cat conftest.err >&5
43391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43392 (exit $ac_status); } && {
43393 test -z "$ac_c_werror_flag" ||
43394 test ! -s conftest.err
43395 } && test -s conftest.$ac_objext; then
43396 eval "$as_ac_Header=yes"
43397 else
43398 echo "$as_me: failed program was:" >&5
43399 sed 's/^/| /' conftest.$ac_ext >&5
43400
43401 eval "$as_ac_Header=no"
43402 fi
43403
43404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43405 fi
43406 ac_res=`eval echo '${'$as_ac_Header'}'`
43407 { echo "$as_me:$LINENO: result: $ac_res" >&5
43408 echo "${ECHO_T}$ac_res" >&6; }
43409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43410 cat >>confdefs.h <<_ACEOF
43411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43412 _ACEOF
43413
43414 fi
43415
43416 done
43417
43418 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43419 cat >>confdefs.h <<\_ACEOF
43420 #define wxHAS_INOTIFY 1
43421 _ACEOF
43422
43423 else
43424
43425 for ac_header in sys/event.h
43426 do
43427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43431 echo $ECHO_N "(cached) $ECHO_C" >&6
43432 else
43433 cat >conftest.$ac_ext <<_ACEOF
43434 /* confdefs.h. */
43435 _ACEOF
43436 cat confdefs.h >>conftest.$ac_ext
43437 cat >>conftest.$ac_ext <<_ACEOF
43438 /* end confdefs.h. */
43439 $ac_includes_default
43440
43441 #include <$ac_header>
43442 _ACEOF
43443 rm -f conftest.$ac_objext
43444 if { (ac_try="$ac_compile"
43445 case "(($ac_try" in
43446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43447 *) ac_try_echo=$ac_try;;
43448 esac
43449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43450 (eval "$ac_compile") 2>conftest.er1
43451 ac_status=$?
43452 grep -v '^ *+' conftest.er1 >conftest.err
43453 rm -f conftest.er1
43454 cat conftest.err >&5
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); } && {
43457 test -z "$ac_c_werror_flag" ||
43458 test ! -s conftest.err
43459 } && test -s conftest.$ac_objext; then
43460 eval "$as_ac_Header=yes"
43461 else
43462 echo "$as_me: failed program was:" >&5
43463 sed 's/^/| /' conftest.$ac_ext >&5
43464
43465 eval "$as_ac_Header=no"
43466 fi
43467
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469 fi
43470 ac_res=`eval echo '${'$as_ac_Header'}'`
43471 { echo "$as_me:$LINENO: result: $ac_res" >&5
43472 echo "${ECHO_T}$ac_res" >&6; }
43473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43474 cat >>confdefs.h <<_ACEOF
43475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43476 _ACEOF
43477
43478 fi
43479
43480 done
43481
43482 if test "$ac_cv_header_sys_event_h" = "yes"; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define wxHAS_KQUEUE 1
43485 _ACEOF
43486
43487 else
43488 wxUSE_FSWATCHER=no
43489 fi
43490 fi
43491 else
43492 wxUSE_FSWATCHER=no
43493 fi
43494 fi
43495
43496 if test "$wxUSE_FSWATCHER" = "yes"; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_FSWATCHER 1
43499 _ACEOF
43500
43501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43502 else
43503 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43504 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43505 fi
43506 fi
43507
43508
43509 if test "$wxUSE_STL" = "yes"; then
43510 cat >>confdefs.h <<\_ACEOF
43511 #define wxUSE_STL 1
43512 _ACEOF
43513
43514 fi
43515
43516 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43517 cat >>confdefs.h <<\_ACEOF
43518 #define wxUSE_EXTENDED_RTTI 1
43519 _ACEOF
43520
43521 fi
43522
43523 if test "$wxUSE_ANY" = "yes"; then
43524 cat >>confdefs.h <<\_ACEOF
43525 #define wxUSE_ANY 1
43526 _ACEOF
43527
43528 fi
43529
43530 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define wxUSE_APPLE_IEEE 1
43533 _ACEOF
43534
43535 fi
43536
43537 if test "$wxUSE_TIMER" = "yes"; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_TIMER 1
43540 _ACEOF
43541
43542 fi
43543
43544 if test "$USE_UNIX" = 1 ; then
43545 if test "$wxUSE_MGL" != 1; then
43546 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43547 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43548 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43549 echo $ECHO_N "(cached) $ECHO_C" >&6
43550 else
43551
43552 cat >conftest.$ac_ext <<_ACEOF
43553 /* confdefs.h. */
43554 _ACEOF
43555 cat confdefs.h >>conftest.$ac_ext
43556 cat >>conftest.$ac_ext <<_ACEOF
43557 /* end confdefs.h. */
43558
43559 #include <sys/ioctl.h>
43560 #include <sys/soundcard.h>
43561
43562 int
43563 main ()
43564 {
43565
43566 ioctl(0, SNDCTL_DSP_SPEED, 0);
43567
43568 ;
43569 return 0;
43570 }
43571 _ACEOF
43572 rm -f conftest.$ac_objext conftest$ac_exeext
43573 if { (ac_try="$ac_link"
43574 case "(($ac_try" in
43575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43576 *) ac_try_echo=$ac_try;;
43577 esac
43578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43579 (eval "$ac_link") 2>conftest.er1
43580 ac_status=$?
43581 grep -v '^ *+' conftest.er1 >conftest.err
43582 rm -f conftest.er1
43583 cat conftest.err >&5
43584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43585 (exit $ac_status); } && {
43586 test -z "$ac_c_werror_flag" ||
43587 test ! -s conftest.err
43588 } && test -s conftest$ac_exeext &&
43589 $as_test_x conftest$ac_exeext; then
43590 ac_cv_header_sys_soundcard=yes
43591 else
43592 echo "$as_me: failed program was:" >&5
43593 sed 's/^/| /' conftest.$ac_ext >&5
43594
43595
43596 saveLibs="$LIBS"
43597 LIBS="$saveLibs -lossaudio"
43598 cat >conftest.$ac_ext <<_ACEOF
43599 /* confdefs.h. */
43600 _ACEOF
43601 cat confdefs.h >>conftest.$ac_ext
43602 cat >>conftest.$ac_ext <<_ACEOF
43603 /* end confdefs.h. */
43604
43605 #include <sys/ioctl.h>
43606 #include <sys/soundcard.h>
43607
43608 int
43609 main ()
43610 {
43611
43612 ioctl(0, SNDCTL_DSP_SPEED, 0);
43613
43614 ;
43615 return 0;
43616 }
43617 _ACEOF
43618 rm -f conftest.$ac_objext conftest$ac_exeext
43619 if { (ac_try="$ac_link"
43620 case "(($ac_try" in
43621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43622 *) ac_try_echo=$ac_try;;
43623 esac
43624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43625 (eval "$ac_link") 2>conftest.er1
43626 ac_status=$?
43627 grep -v '^ *+' conftest.er1 >conftest.err
43628 rm -f conftest.er1
43629 cat conftest.err >&5
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); } && {
43632 test -z "$ac_c_werror_flag" ||
43633 test ! -s conftest.err
43634 } && test -s conftest$ac_exeext &&
43635 $as_test_x conftest$ac_exeext; then
43636 ac_cv_header_sys_soundcard=yes
43637 else
43638 echo "$as_me: failed program was:" >&5
43639 sed 's/^/| /' conftest.$ac_ext >&5
43640
43641
43642 LIBS="$saveLibs"
43643 ac_cv_header_sys_soundcard=no
43644
43645
43646 fi
43647
43648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43649 conftest$ac_exeext conftest.$ac_ext
43650
43651
43652 fi
43653
43654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43655 conftest$ac_exeext conftest.$ac_ext
43656
43657 fi
43658 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43659 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43660 fi
43661
43662 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define HAVE_SYS_SOUNDCARD_H 1
43665 _ACEOF
43666
43667 fi
43668 fi
43669
43670 WITH_PLUGIN_SDL=0
43671 if test "$wxUSE_SOUND" = "yes"; then
43672 if test "$USE_UNIX" = 1 ; then
43673 if test "$wxUSE_LIBSDL" != "no"; then
43674
43675 # Check whether --with-sdl-prefix was given.
43676 if test "${with_sdl_prefix+set}" = set; then
43677 withval=$with_sdl_prefix; sdl_prefix="$withval"
43678 else
43679 sdl_prefix=""
43680 fi
43681
43682
43683 # Check whether --with-sdl-exec-prefix was given.
43684 if test "${with_sdl_exec_prefix+set}" = set; then
43685 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43686 else
43687 sdl_exec_prefix=""
43688 fi
43689
43690 # Check whether --enable-sdltest was given.
43691 if test "${enable_sdltest+set}" = set; then
43692 enableval=$enable_sdltest;
43693 else
43694 enable_sdltest=yes
43695 fi
43696
43697
43698 if test x$sdl_exec_prefix != x ; then
43699 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43700 if test x${SDL_CONFIG+set} != xset ; then
43701 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43702 fi
43703 fi
43704 if test x$sdl_prefix != x ; then
43705 sdl_args="$sdl_args --prefix=$sdl_prefix"
43706 if test x${SDL_CONFIG+set} != xset ; then
43707 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43708 fi
43709 fi
43710
43711 if test "x$prefix" != xNONE; then
43712 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43713 fi
43714 # Extract the first word of "sdl-config", so it can be a program name with args.
43715 set dummy sdl-config; ac_word=$2
43716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43718 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43719 echo $ECHO_N "(cached) $ECHO_C" >&6
43720 else
43721 case $SDL_CONFIG in
43722 [\\/]* | ?:[\\/]*)
43723 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43724 ;;
43725 *)
43726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43727 for as_dir in $PATH
43728 do
43729 IFS=$as_save_IFS
43730 test -z "$as_dir" && as_dir=.
43731 for ac_exec_ext in '' $ac_executable_extensions; do
43732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43733 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43735 break 2
43736 fi
43737 done
43738 done
43739 IFS=$as_save_IFS
43740
43741 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43742 ;;
43743 esac
43744 fi
43745 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43746 if test -n "$SDL_CONFIG"; then
43747 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43748 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43749 else
43750 { echo "$as_me:$LINENO: result: no" >&5
43751 echo "${ECHO_T}no" >&6; }
43752 fi
43753
43754
43755 min_sdl_version=1.2.0
43756 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43757 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43758 no_sdl=""
43759 if test "$SDL_CONFIG" = "no" ; then
43760 no_sdl=yes
43761 else
43762 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43763 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43764
43765 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43767 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43769 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43771 if test "x$enable_sdltest" = "xyes" ; then
43772 ac_save_CFLAGS="$CFLAGS"
43773 ac_save_CXXFLAGS="$CXXFLAGS"
43774 ac_save_LIBS="$LIBS"
43775 CFLAGS="$CFLAGS $SDL_CFLAGS"
43776 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43777 LIBS="$LIBS $SDL_LIBS"
43778 rm -f conf.sdltest
43779 if test "$cross_compiling" = yes; then
43780 echo $ac_n "cross compiling; assumed OK... $ac_c"
43781 else
43782 cat >conftest.$ac_ext <<_ACEOF
43783 /* confdefs.h. */
43784 _ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43788
43789 #include <stdio.h>
43790 #include <stdlib.h>
43791 #include <string.h>
43792 #include "SDL.h"
43793
43794 char*
43795 my_strdup (char *str)
43796 {
43797 char *new_str;
43798
43799 if (str)
43800 {
43801 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43802 strcpy (new_str, str);
43803 }
43804 else
43805 new_str = NULL;
43806
43807 return new_str;
43808 }
43809
43810 int main (int argc, char *argv[])
43811 {
43812 int major, minor, micro;
43813 char *tmp_version;
43814
43815 /* This hangs on some systems (?)
43816 system ("touch conf.sdltest");
43817 */
43818 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43819
43820 /* HP/UX 9 (%@#!) writes to sscanf strings */
43821 tmp_version = my_strdup("$min_sdl_version");
43822 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43823 printf("%s, bad version string\n", "$min_sdl_version");
43824 exit(1);
43825 }
43826
43827 if (($sdl_major_version > major) ||
43828 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43829 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43830 {
43831 return 0;
43832 }
43833 else
43834 {
43835 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43836 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43837 printf("*** best to upgrade to the required version.\n");
43838 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43839 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43840 printf("*** config.cache before re-running configure\n");
43841 return 1;
43842 }
43843 }
43844
43845
43846 _ACEOF
43847 rm -f conftest$ac_exeext
43848 if { (ac_try="$ac_link"
43849 case "(($ac_try" in
43850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43851 *) ac_try_echo=$ac_try;;
43852 esac
43853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43854 (eval "$ac_link") 2>&5
43855 ac_status=$?
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43858 { (case "(($ac_try" in
43859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43860 *) ac_try_echo=$ac_try;;
43861 esac
43862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43863 (eval "$ac_try") 2>&5
43864 ac_status=$?
43865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43866 (exit $ac_status); }; }; then
43867 :
43868 else
43869 echo "$as_me: program exited with status $ac_status" >&5
43870 echo "$as_me: failed program was:" >&5
43871 sed 's/^/| /' conftest.$ac_ext >&5
43872
43873 ( exit $ac_status )
43874 no_sdl=yes
43875 fi
43876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43877 fi
43878
43879
43880 CFLAGS="$ac_save_CFLAGS"
43881 CXXFLAGS="$ac_save_CXXFLAGS"
43882 LIBS="$ac_save_LIBS"
43883 fi
43884 fi
43885 if test "x$no_sdl" = x ; then
43886 { echo "$as_me:$LINENO: result: yes" >&5
43887 echo "${ECHO_T}yes" >&6; }
43888
43889 EXTRALIBS_SDL="$SDL_LIBS"
43890 CFLAGS="$SDL_CFLAGS $CFLAGS"
43891 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43892 cat >>confdefs.h <<\_ACEOF
43893 #define wxUSE_LIBSDL 1
43894 _ACEOF
43895
43896
43897 else
43898 { echo "$as_me:$LINENO: result: no" >&5
43899 echo "${ECHO_T}no" >&6; }
43900 if test "$SDL_CONFIG" = "no" ; then
43901 echo "*** The sdl-config script installed by SDL could not be found"
43902 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43903 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43904 echo "*** full path to sdl-config."
43905 else
43906 if test -f conf.sdltest ; then
43907 :
43908 else
43909 echo "*** Could not run SDL test program, checking why..."
43910 CFLAGS="$CFLAGS $SDL_CFLAGS"
43911 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43912 LIBS="$LIBS $SDL_LIBS"
43913 cat >conftest.$ac_ext <<_ACEOF
43914 /* confdefs.h. */
43915 _ACEOF
43916 cat confdefs.h >>conftest.$ac_ext
43917 cat >>conftest.$ac_ext <<_ACEOF
43918 /* end confdefs.h. */
43919
43920 #include <stdio.h>
43921 #include "SDL.h"
43922
43923 int main(int argc, char *argv[])
43924 { return 0; }
43925 #undef main
43926 #define main K_and_R_C_main
43927
43928 int
43929 main ()
43930 {
43931 return 0;
43932 ;
43933 return 0;
43934 }
43935 _ACEOF
43936 rm -f conftest.$ac_objext conftest$ac_exeext
43937 if { (ac_try="$ac_link"
43938 case "(($ac_try" in
43939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43940 *) ac_try_echo=$ac_try;;
43941 esac
43942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43943 (eval "$ac_link") 2>conftest.er1
43944 ac_status=$?
43945 grep -v '^ *+' conftest.er1 >conftest.err
43946 rm -f conftest.er1
43947 cat conftest.err >&5
43948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43949 (exit $ac_status); } && {
43950 test -z "$ac_c_werror_flag" ||
43951 test ! -s conftest.err
43952 } && test -s conftest$ac_exeext &&
43953 $as_test_x conftest$ac_exeext; then
43954 echo "*** The test program compiled, but did not run. This usually means"
43955 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43956 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43957 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43958 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43959 echo "*** is required on your system"
43960 echo "***"
43961 echo "*** If you have an old version installed, it is best to remove it, although"
43962 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43963 else
43964 echo "$as_me: failed program was:" >&5
43965 sed 's/^/| /' conftest.$ac_ext >&5
43966
43967 echo "*** The test program failed to compile or link. See the file config.log for the"
43968 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43969 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43970 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43971 fi
43972
43973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43974 conftest$ac_exeext conftest.$ac_ext
43975 CFLAGS="$ac_save_CFLAGS"
43976 CXXFLAGS="$ac_save_CXXFLAGS"
43977 LIBS="$ac_save_LIBS"
43978 fi
43979 fi
43980 SDL_CFLAGS=""
43981 SDL_LIBS=""
43982 wxUSE_LIBSDL="no"
43983 fi
43984
43985
43986 rm -f conf.sdltest
43987
43988 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43989 WITH_PLUGIN_SDL=1
43990 fi
43991 fi
43992 else
43993 if test "$wxUSE_MGL" = 1; then
43994 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43995 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43996 wxUSE_SOUND="no"
43997 fi
43998 fi
43999 fi
44000
44001 if test "$wxUSE_SOUND" = "yes"; then
44002 cat >>confdefs.h <<\_ACEOF
44003 #define wxUSE_SOUND 1
44004 _ACEOF
44005
44006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44007 fi
44008
44009 if test "$WXGTK2" = 1; then
44010
44011
44012 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44013 if test -n "$ac_tool_prefix"; then
44014 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44015 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44018 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44019 echo $ECHO_N "(cached) $ECHO_C" >&6
44020 else
44021 case $PKG_CONFIG in
44022 [\\/]* | ?:[\\/]*)
44023 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44024 ;;
44025 *)
44026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44027 for as_dir in $PATH
44028 do
44029 IFS=$as_save_IFS
44030 test -z "$as_dir" && as_dir=.
44031 for ac_exec_ext in '' $ac_executable_extensions; do
44032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44033 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44035 break 2
44036 fi
44037 done
44038 done
44039 IFS=$as_save_IFS
44040
44041 ;;
44042 esac
44043 fi
44044 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44045 if test -n "$PKG_CONFIG"; then
44046 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44047 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44048 else
44049 { echo "$as_me:$LINENO: result: no" >&5
44050 echo "${ECHO_T}no" >&6; }
44051 fi
44052
44053
44054 fi
44055 if test -z "$ac_cv_path_PKG_CONFIG"; then
44056 ac_pt_PKG_CONFIG=$PKG_CONFIG
44057 # Extract the first word of "pkg-config", so it can be a program name with args.
44058 set dummy pkg-config; ac_word=$2
44059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44061 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44062 echo $ECHO_N "(cached) $ECHO_C" >&6
44063 else
44064 case $ac_pt_PKG_CONFIG in
44065 [\\/]* | ?:[\\/]*)
44066 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44067 ;;
44068 *)
44069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44070 for as_dir in $PATH
44071 do
44072 IFS=$as_save_IFS
44073 test -z "$as_dir" && as_dir=.
44074 for ac_exec_ext in '' $ac_executable_extensions; do
44075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44076 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44078 break 2
44079 fi
44080 done
44081 done
44082 IFS=$as_save_IFS
44083
44084 ;;
44085 esac
44086 fi
44087 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44088 if test -n "$ac_pt_PKG_CONFIG"; then
44089 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44090 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44091 else
44092 { echo "$as_me:$LINENO: result: no" >&5
44093 echo "${ECHO_T}no" >&6; }
44094 fi
44095
44096 if test "x$ac_pt_PKG_CONFIG" = x; then
44097 PKG_CONFIG=""
44098 else
44099 case $cross_compiling:$ac_tool_warned in
44100 yes:)
44101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44102 whose name does not start with the host triplet. If you think this
44103 configuration is useful to you, please write to autoconf@gnu.org." >&5
44104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44105 whose name does not start with the host triplet. If you think this
44106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44107 ac_tool_warned=yes ;;
44108 esac
44109 PKG_CONFIG=$ac_pt_PKG_CONFIG
44110 fi
44111 else
44112 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44113 fi
44114
44115 fi
44116 if test -n "$PKG_CONFIG"; then
44117 _pkg_min_version=0.9.0
44118 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44119 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44120 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44121 { echo "$as_me:$LINENO: result: yes" >&5
44122 echo "${ECHO_T}yes" >&6; }
44123 else
44124 { echo "$as_me:$LINENO: result: no" >&5
44125 echo "${ECHO_T}no" >&6; }
44126 PKG_CONFIG=""
44127 fi
44128
44129 fi
44130
44131 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44132
44133 if test "$wxUSE_GTKPRINT" = "yes" ; then
44134
44135
44136 pkg_failed=no
44137 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44138 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44139
44140 if test -n "$PKG_CONFIG"; then
44141 if test -n "$GTKPRINT_CFLAGS"; then
44142 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44143 else
44144 if test -n "$PKG_CONFIG" && \
44145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44146 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44147 ac_status=$?
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); }; then
44150 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44151 else
44152 pkg_failed=yes
44153 fi
44154 fi
44155 else
44156 pkg_failed=untried
44157 fi
44158 if test -n "$PKG_CONFIG"; then
44159 if test -n "$GTKPRINT_LIBS"; then
44160 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44161 else
44162 if test -n "$PKG_CONFIG" && \
44163 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44164 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44165 ac_status=$?
44166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44167 (exit $ac_status); }; then
44168 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44169 else
44170 pkg_failed=yes
44171 fi
44172 fi
44173 else
44174 pkg_failed=untried
44175 fi
44176
44177
44178
44179 if test $pkg_failed = yes; then
44180
44181 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44182 _pkg_short_errors_supported=yes
44183 else
44184 _pkg_short_errors_supported=no
44185 fi
44186 if test $_pkg_short_errors_supported = yes; then
44187 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44188 else
44189 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44190 fi
44191 # Put the nasty error message in config.log where it belongs
44192 echo "$GTKPRINT_PKG_ERRORS" >&5
44193
44194
44195 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44196 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44197 wxUSE_GTKPRINT="no"
44198
44199
44200 elif test $pkg_failed = untried; then
44201
44202 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44203 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44204 wxUSE_GTKPRINT="no"
44205
44206
44207 else
44208 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44209 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44210 { echo "$as_me:$LINENO: result: yes" >&5
44211 echo "${ECHO_T}yes" >&6; }
44212
44213 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44214 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44215 cat >>confdefs.h <<\_ACEOF
44216 #define wxUSE_GTKPRINT 1
44217 _ACEOF
44218
44219
44220 fi
44221 fi
44222
44223 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44224
44225
44226 pkg_failed=no
44227 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44228 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44229
44230 if test -n "$PKG_CONFIG"; then
44231 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44232 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44233 else
44234 if test -n "$PKG_CONFIG" && \
44235 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44236 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44237 ac_status=$?
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; then
44240 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44241 else
44242 pkg_failed=yes
44243 fi
44244 fi
44245 else
44246 pkg_failed=untried
44247 fi
44248 if test -n "$PKG_CONFIG"; then
44249 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44250 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44251 else
44252 if test -n "$PKG_CONFIG" && \
44253 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44254 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44255 ac_status=$?
44256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44257 (exit $ac_status); }; then
44258 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44259 else
44260 pkg_failed=yes
44261 fi
44262 fi
44263 else
44264 pkg_failed=untried
44265 fi
44266
44267
44268
44269 if test $pkg_failed = yes; then
44270
44271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44272 _pkg_short_errors_supported=yes
44273 else
44274 _pkg_short_errors_supported=no
44275 fi
44276 if test $_pkg_short_errors_supported = yes; then
44277 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44278 else
44279 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44280 fi
44281 # Put the nasty error message in config.log where it belongs
44282 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44283
44284
44285 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44286 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44287 wxUSE_LIBGNOMEPRINT="no"
44288
44289
44290 elif test $pkg_failed = untried; then
44291
44292 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44293 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44294 wxUSE_LIBGNOMEPRINT="no"
44295
44296
44297 else
44298 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44299 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44300 { echo "$as_me:$LINENO: result: yes" >&5
44301 echo "${ECHO_T}yes" >&6; }
44302
44303 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44304 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44305 cat >>confdefs.h <<\_ACEOF
44306 #define wxUSE_LIBGNOMEPRINT 1
44307 _ACEOF
44308
44309
44310 fi
44311 fi
44312 fi
44313
44314 if test "$wxUSE_MIMETYPE" = "yes" ; then
44315 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44316
44317
44318 pkg_failed=no
44319 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44320 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44321
44322 if test -n "$PKG_CONFIG"; then
44323 if test -n "$GNOMEVFS_CFLAGS"; then
44324 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44325 else
44326 if test -n "$PKG_CONFIG" && \
44327 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44328 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44329 ac_status=$?
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); }; then
44332 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44333 else
44334 pkg_failed=yes
44335 fi
44336 fi
44337 else
44338 pkg_failed=untried
44339 fi
44340 if test -n "$PKG_CONFIG"; then
44341 if test -n "$GNOMEVFS_LIBS"; then
44342 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44343 else
44344 if test -n "$PKG_CONFIG" && \
44345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44346 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44347 ac_status=$?
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); }; then
44350 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44351 else
44352 pkg_failed=yes
44353 fi
44354 fi
44355 else
44356 pkg_failed=untried
44357 fi
44358
44359
44360
44361 if test $pkg_failed = yes; then
44362
44363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44364 _pkg_short_errors_supported=yes
44365 else
44366 _pkg_short_errors_supported=no
44367 fi
44368 if test $_pkg_short_errors_supported = yes; then
44369 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44370 else
44371 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44372 fi
44373 # Put the nasty error message in config.log where it belongs
44374 echo "$GNOMEVFS_PKG_ERRORS" >&5
44375
44376
44377 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44378 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44379 wxUSE_LIBGNOMEVFS="no"
44380
44381
44382 elif test $pkg_failed = untried; then
44383
44384 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44385 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44386 wxUSE_LIBGNOMEVFS="no"
44387
44388
44389 else
44390 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44391 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44392 { echo "$as_me:$LINENO: result: yes" >&5
44393 echo "${ECHO_T}yes" >&6; }
44394
44395 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44396 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_LIBGNOMEVFS 1
44399 _ACEOF
44400
44401
44402 fi
44403 fi
44404 fi
44405
44406 if test "$wxUSE_LIBHILDON" = "yes" ; then
44407
44408 pkg_failed=no
44409 { echo "$as_me:$LINENO: checking for HILDON" >&5
44410 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44411
44412 if test -n "$PKG_CONFIG"; then
44413 if test -n "$HILDON_CFLAGS"; then
44414 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44415 else
44416 if test -n "$PKG_CONFIG" && \
44417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44418 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44419 ac_status=$?
44420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44421 (exit $ac_status); }; then
44422 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44423 else
44424 pkg_failed=yes
44425 fi
44426 fi
44427 else
44428 pkg_failed=untried
44429 fi
44430 if test -n "$PKG_CONFIG"; then
44431 if test -n "$HILDON_LIBS"; then
44432 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44433 else
44434 if test -n "$PKG_CONFIG" && \
44435 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44436 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44437 ac_status=$?
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); }; then
44440 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44441 else
44442 pkg_failed=yes
44443 fi
44444 fi
44445 else
44446 pkg_failed=untried
44447 fi
44448
44449
44450
44451 if test $pkg_failed = yes; then
44452
44453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44454 _pkg_short_errors_supported=yes
44455 else
44456 _pkg_short_errors_supported=no
44457 fi
44458 if test $_pkg_short_errors_supported = yes; then
44459 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44460 else
44461 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44462 fi
44463 # Put the nasty error message in config.log where it belongs
44464 echo "$HILDON_PKG_ERRORS" >&5
44465
44466
44467 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44468 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44469 wxUSE_LIBHILDON="no"
44470 ac_hildon_lgpl=0
44471
44472
44473 elif test $pkg_failed = untried; then
44474
44475 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44476 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44477 wxUSE_LIBHILDON="no"
44478 ac_hildon_lgpl=0
44479
44480
44481 else
44482 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44483 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44484 { echo "$as_me:$LINENO: result: yes" >&5
44485 echo "${ECHO_T}yes" >&6; }
44486
44487 EXTRALIBS_HILDON="$HILDON_LIBS"
44488 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44489 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44490 cat >>confdefs.h <<\_ACEOF
44491 #define wxUSE_LIBHILDON 1
44492 _ACEOF
44493
44494 ac_hildon_lgpl=1
44495
44496 fi
44497
44498 if test "$ac_hildon_lgpl" = 0 ; then
44499
44500 pkg_failed=no
44501 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44502 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44503
44504 if test -n "$PKG_CONFIG"; then
44505 if test -n "$HILDON2_CFLAGS"; then
44506 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44507 else
44508 if test -n "$PKG_CONFIG" && \
44509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44510 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44511 ac_status=$?
44512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44513 (exit $ac_status); }; then
44514 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44515 else
44516 pkg_failed=yes
44517 fi
44518 fi
44519 else
44520 pkg_failed=untried
44521 fi
44522 if test -n "$PKG_CONFIG"; then
44523 if test -n "$HILDON2_LIBS"; then
44524 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44525 else
44526 if test -n "$PKG_CONFIG" && \
44527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44528 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44529 ac_status=$?
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); }; then
44532 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44533 else
44534 pkg_failed=yes
44535 fi
44536 fi
44537 else
44538 pkg_failed=untried
44539 fi
44540
44541
44542
44543 if test $pkg_failed = yes; then
44544
44545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44546 _pkg_short_errors_supported=yes
44547 else
44548 _pkg_short_errors_supported=no
44549 fi
44550 if test $_pkg_short_errors_supported = yes; then
44551 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44552 else
44553 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44554 fi
44555 # Put the nasty error message in config.log where it belongs
44556 echo "$HILDON2_PKG_ERRORS" >&5
44557
44558
44559 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44560 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44561 wxUSE_LIBHILDON2="no"
44562
44563
44564 elif test $pkg_failed = untried; then
44565
44566 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44567 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44568 wxUSE_LIBHILDON2="no"
44569
44570
44571 else
44572 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44573 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44574 { echo "$as_me:$LINENO: result: yes" >&5
44575 echo "${ECHO_T}yes" >&6; }
44576
44577 EXTRALIBS_HILDON="$HILDON2_LIBS"
44578 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44579 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44580 cat >>confdefs.h <<\_ACEOF
44581 #define wxUSE_LIBHILDON2 1
44582 _ACEOF
44583
44584
44585 fi
44586 fi
44587 fi
44588 fi
44589
44590 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_CMDLINE_PARSER 1
44593 _ACEOF
44594
44595 fi
44596
44597 if test "$wxUSE_STOPWATCH" = "yes"; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_STOPWATCH 1
44600 _ACEOF
44601
44602 fi
44603
44604 if test "$wxUSE_DATETIME" = "yes"; then
44605 cat >>confdefs.h <<\_ACEOF
44606 #define wxUSE_DATETIME 1
44607 _ACEOF
44608
44609 fi
44610
44611 if test "$wxUSE_FILE" = "yes"; then
44612 cat >>confdefs.h <<\_ACEOF
44613 #define wxUSE_FILE 1
44614 _ACEOF
44615
44616 fi
44617
44618 if test "$wxUSE_FFILE" = "yes"; then
44619 cat >>confdefs.h <<\_ACEOF
44620 #define wxUSE_FFILE 1
44621 _ACEOF
44622
44623 fi
44624
44625 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44626 if test "$wxUSE_STREAMS" != yes; then
44627 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44628 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44629 wxUSE_ARCHIVE_STREAMS=no
44630 else
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_ARCHIVE_STREAMS 1
44633 _ACEOF
44634
44635 fi
44636 fi
44637
44638 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44639 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44640 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44641 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44642 elif test "$wxUSE_ZLIB" = "no"; then
44643 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44644 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44645 else
44646 cat >>confdefs.h <<\_ACEOF
44647 #define wxUSE_ZIPSTREAM 1
44648 _ACEOF
44649
44650 fi
44651 fi
44652
44653 if test "$wxUSE_TARSTREAM" = "yes"; then
44654 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44655 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44656 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44657 else
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_TARSTREAM 1
44660 _ACEOF
44661
44662 fi
44663 fi
44664
44665 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44666 cat >>confdefs.h <<\_ACEOF
44667 #define wxUSE_FILE_HISTORY 1
44668 _ACEOF
44669
44670 fi
44671
44672 if test "$wxUSE_FILESYSTEM" = "yes"; then
44673 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44674 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44675 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44676 wxUSE_FILESYSTEM=no
44677 else
44678 cat >>confdefs.h <<\_ACEOF
44679 #define wxUSE_FILESYSTEM 1
44680 _ACEOF
44681
44682 fi
44683 fi
44684
44685 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44686 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44687 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44688 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44689 else
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_FS_ARCHIVE 1
44692 _ACEOF
44693
44694 fi
44695 fi
44696
44697 if test "$wxUSE_FS_ZIP" = "yes"; then
44698 if test "$wxUSE_FS_ARCHIVE" != yes; then
44699 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44700 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44701 else
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_FS_ZIP 1
44704 _ACEOF
44705
44706 fi
44707 fi
44708
44709 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44710 if test "$USE_UNIX" != 1; then
44711 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44712 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44713 wxUSE_ON_FATAL_EXCEPTION=no
44714 else
44715 cat >>confdefs.h <<\_ACEOF
44716 #define wxUSE_ON_FATAL_EXCEPTION 1
44717 _ACEOF
44718
44719 fi
44720 fi
44721
44722 if test "$wxUSE_STACKWALKER" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_STACKWALKER 1
44725 _ACEOF
44726
44727 fi
44728
44729 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44730 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44731 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44732 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44733 wxUSE_DEBUGREPORT=no
44734 else
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_DEBUGREPORT 1
44737 _ACEOF
44738
44739 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44741 fi
44742 fi
44743 fi
44744
44745 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44746 cat >>confdefs.h <<\_ACEOF
44747 #define wxUSE_SNGLINST_CHECKER 1
44748 _ACEOF
44749
44750 fi
44751
44752 if test "$wxUSE_BUSYINFO" = "yes"; then
44753 cat >>confdefs.h <<\_ACEOF
44754 #define wxUSE_BUSYINFO 1
44755 _ACEOF
44756
44757 fi
44758
44759 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_STD_IOSTREAM 1
44762 _ACEOF
44763
44764 fi
44765
44766 if test "$wxUSE_STD_STRING" = "yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_STD_STRING 1
44769 _ACEOF
44770
44771 fi
44772
44773 if test "$wxUSE_STDPATHS" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_STDPATHS 1
44776 _ACEOF
44777
44778 fi
44779
44780 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_TEXTBUFFER 1
44783 _ACEOF
44784
44785 fi
44786
44787 if test "$wxUSE_TEXTFILE" = "yes"; then
44788 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44789 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44790 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44791 else
44792 cat >>confdefs.h <<\_ACEOF
44793 #define wxUSE_TEXTFILE 1
44794 _ACEOF
44795
44796 fi
44797 fi
44798
44799 if test "$wxUSE_CONFIG" = "yes" ; then
44800 if test "$wxUSE_TEXTFILE" != "yes"; then
44801 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44802 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44803 else
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_CONFIG 1
44806 _ACEOF
44807
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_CONFIG_NATIVE 1
44810 _ACEOF
44811
44812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44813 fi
44814 fi
44815
44816 if test "$wxUSE_INTL" = "yes" ; then
44817 if test "$wxUSE_FILE" != "yes"; then
44818 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44819 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44820 else
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_INTL 1
44823 _ACEOF
44824
44825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44826 GUIDIST="$GUIDIST INTL_DIST"
44827 fi
44828 fi
44829
44830 if test "$wxUSE_XLOCALE" = "yes" ; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_XLOCALE 1
44833 _ACEOF
44834
44835 { echo "$as_me:$LINENO: checking for locale_t" >&5
44836 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44837 if test "${ac_cv_type_locale_t+set}" = set; then
44838 echo $ECHO_N "(cached) $ECHO_C" >&6
44839 else
44840 cat >conftest.$ac_ext <<_ACEOF
44841 /* confdefs.h. */
44842 _ACEOF
44843 cat confdefs.h >>conftest.$ac_ext
44844 cat >>conftest.$ac_ext <<_ACEOF
44845 /* end confdefs.h. */
44846 #include <xlocale.h>
44847 #include <locale.h>
44848
44849 typedef locale_t ac__type_new_;
44850 int
44851 main ()
44852 {
44853 if ((ac__type_new_ *) 0)
44854 return 0;
44855 if (sizeof (ac__type_new_))
44856 return 0;
44857 ;
44858 return 0;
44859 }
44860 _ACEOF
44861 rm -f conftest.$ac_objext
44862 if { (ac_try="$ac_compile"
44863 case "(($ac_try" in
44864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44865 *) ac_try_echo=$ac_try;;
44866 esac
44867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44868 (eval "$ac_compile") 2>conftest.er1
44869 ac_status=$?
44870 grep -v '^ *+' conftest.er1 >conftest.err
44871 rm -f conftest.er1
44872 cat conftest.err >&5
44873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44874 (exit $ac_status); } && {
44875 test -z "$ac_c_werror_flag" ||
44876 test ! -s conftest.err
44877 } && test -s conftest.$ac_objext; then
44878 ac_cv_type_locale_t=yes
44879 else
44880 echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.$ac_ext >&5
44882
44883 ac_cv_type_locale_t=no
44884 fi
44885
44886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44887 fi
44888 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44889 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44890 if test $ac_cv_type_locale_t = yes; then
44891
44892 cat >>confdefs.h <<_ACEOF
44893 #define HAVE_LOCALE_T 1
44894 _ACEOF
44895
44896
44897 fi
44898
44899 fi
44900
44901 if test "$wxUSE_LOG" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_LOG 1
44904 _ACEOF
44905
44906
44907 if test "$wxUSE_LOGGUI" = "yes"; then
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_LOGGUI 1
44910 _ACEOF
44911
44912 fi
44913
44914 if test "$wxUSE_LOGWINDOW" = "yes"; then
44915 cat >>confdefs.h <<\_ACEOF
44916 #define wxUSE_LOGWINDOW 1
44917 _ACEOF
44918
44919 fi
44920
44921 if test "$wxUSE_LOGDIALOG" = "yes"; then
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_LOG_DIALOG 1
44924 _ACEOF
44925
44926 fi
44927
44928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44929 fi
44930
44931 if test "$wxUSE_LONGLONG" = "yes"; then
44932 cat >>confdefs.h <<\_ACEOF
44933 #define wxUSE_LONGLONG 1
44934 _ACEOF
44935
44936 fi
44937
44938 if test "$wxUSE_GEOMETRY" = "yes"; then
44939 cat >>confdefs.h <<\_ACEOF
44940 #define wxUSE_GEOMETRY 1
44941 _ACEOF
44942
44943 fi
44944
44945 if test "$wxUSE_BASE64" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_BASE64 1
44948 _ACEOF
44949
44950 fi
44951
44952 if test "$wxUSE_STREAMS" = "yes" ; then
44953 cat >>confdefs.h <<\_ACEOF
44954 #define wxUSE_STREAMS 1
44955 _ACEOF
44956
44957 fi
44958
44959 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_PRINTF_POS_PARAMS 1
44962 _ACEOF
44963
44964 fi
44965
44966 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_OBJC_UNIQUIFYING 1
44969 _ACEOF
44970
44971 fi
44972
44973
44974 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_CONSOLE_EVENTLOOP 1
44977 _ACEOF
44978
44979
44980 if test "$wxUSE_UNIX" = "yes"; then
44981 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44982 cat >>confdefs.h <<\_ACEOF
44983 #define wxUSE_SELECT_DISPATCHER 1
44984 _ACEOF
44985
44986 fi
44987
44988 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44989
44990 for ac_header in sys/epoll.h
44991 do
44992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44996 echo $ECHO_N "(cached) $ECHO_C" >&6
44997 else
44998 cat >conftest.$ac_ext <<_ACEOF
44999 /* confdefs.h. */
45000 _ACEOF
45001 cat confdefs.h >>conftest.$ac_ext
45002 cat >>conftest.$ac_ext <<_ACEOF
45003 /* end confdefs.h. */
45004 $ac_includes_default
45005
45006 #include <$ac_header>
45007 _ACEOF
45008 rm -f conftest.$ac_objext
45009 if { (ac_try="$ac_compile"
45010 case "(($ac_try" in
45011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45012 *) ac_try_echo=$ac_try;;
45013 esac
45014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45015 (eval "$ac_compile") 2>conftest.er1
45016 ac_status=$?
45017 grep -v '^ *+' conftest.er1 >conftest.err
45018 rm -f conftest.er1
45019 cat conftest.err >&5
45020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021 (exit $ac_status); } && {
45022 test -z "$ac_c_werror_flag" ||
45023 test ! -s conftest.err
45024 } && test -s conftest.$ac_objext; then
45025 eval "$as_ac_Header=yes"
45026 else
45027 echo "$as_me: failed program was:" >&5
45028 sed 's/^/| /' conftest.$ac_ext >&5
45029
45030 eval "$as_ac_Header=no"
45031 fi
45032
45033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45034 fi
45035 ac_res=`eval echo '${'$as_ac_Header'}'`
45036 { echo "$as_me:$LINENO: result: $ac_res" >&5
45037 echo "${ECHO_T}$ac_res" >&6; }
45038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45039 cat >>confdefs.h <<_ACEOF
45040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45041 _ACEOF
45042
45043 fi
45044
45045 done
45046
45047 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_EPOLL_DISPATCHER 1
45050 _ACEOF
45051
45052 else
45053 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45054 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45055 fi
45056 fi
45057 fi
45058 fi
45059
45060
45061
45062
45063 for ac_func in gettimeofday ftime
45064 do
45065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45069 echo $ECHO_N "(cached) $ECHO_C" >&6
45070 else
45071 cat >conftest.$ac_ext <<_ACEOF
45072 /* confdefs.h. */
45073 _ACEOF
45074 cat confdefs.h >>conftest.$ac_ext
45075 cat >>conftest.$ac_ext <<_ACEOF
45076 /* end confdefs.h. */
45077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45079 #define $ac_func innocuous_$ac_func
45080
45081 /* System header to define __stub macros and hopefully few prototypes,
45082 which can conflict with char $ac_func (); below.
45083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45084 <limits.h> exists even on freestanding compilers. */
45085
45086 #ifdef __STDC__
45087 # include <limits.h>
45088 #else
45089 # include <assert.h>
45090 #endif
45091
45092 #undef $ac_func
45093
45094 /* Override any GCC internal prototype to avoid an error.
45095 Use char because int might match the return type of a GCC
45096 builtin and then its argument prototype would still apply. */
45097 #ifdef __cplusplus
45098 extern "C"
45099 #endif
45100 char $ac_func ();
45101 /* The GNU C library defines this for functions which it implements
45102 to always fail with ENOSYS. Some functions are actually named
45103 something starting with __ and the normal name is an alias. */
45104 #if defined __stub_$ac_func || defined __stub___$ac_func
45105 choke me
45106 #endif
45107
45108 int
45109 main ()
45110 {
45111 return $ac_func ();
45112 ;
45113 return 0;
45114 }
45115 _ACEOF
45116 rm -f conftest.$ac_objext conftest$ac_exeext
45117 if { (ac_try="$ac_link"
45118 case "(($ac_try" in
45119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45120 *) ac_try_echo=$ac_try;;
45121 esac
45122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45123 (eval "$ac_link") 2>conftest.er1
45124 ac_status=$?
45125 grep -v '^ *+' conftest.er1 >conftest.err
45126 rm -f conftest.er1
45127 cat conftest.err >&5
45128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45129 (exit $ac_status); } && {
45130 test -z "$ac_c_werror_flag" ||
45131 test ! -s conftest.err
45132 } && test -s conftest$ac_exeext &&
45133 $as_test_x conftest$ac_exeext; then
45134 eval "$as_ac_var=yes"
45135 else
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45138
45139 eval "$as_ac_var=no"
45140 fi
45141
45142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45143 conftest$ac_exeext conftest.$ac_ext
45144 fi
45145 ac_res=`eval echo '${'$as_ac_var'}'`
45146 { echo "$as_me:$LINENO: result: $ac_res" >&5
45147 echo "${ECHO_T}$ac_res" >&6; }
45148 if test `eval echo '${'$as_ac_var'}'` = yes; then
45149 cat >>confdefs.h <<_ACEOF
45150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45151 _ACEOF
45152 break
45153 fi
45154 done
45155
45156
45157 if test "$ac_cv_func_gettimeofday" = "yes"; then
45158 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45159 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45160 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45161 echo $ECHO_N "(cached) $ECHO_C" >&6
45162 else
45163
45164 cat >conftest.$ac_ext <<_ACEOF
45165 /* confdefs.h. */
45166 _ACEOF
45167 cat confdefs.h >>conftest.$ac_ext
45168 cat >>conftest.$ac_ext <<_ACEOF
45169 /* end confdefs.h. */
45170
45171 #include <sys/time.h>
45172 #include <unistd.h>
45173
45174 int
45175 main ()
45176 {
45177
45178 struct timeval tv;
45179 gettimeofday(&tv, NULL);
45180
45181 ;
45182 return 0;
45183 }
45184 _ACEOF
45185 rm -f conftest.$ac_objext
45186 if { (ac_try="$ac_compile"
45187 case "(($ac_try" in
45188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45189 *) ac_try_echo=$ac_try;;
45190 esac
45191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45192 (eval "$ac_compile") 2>conftest.er1
45193 ac_status=$?
45194 grep -v '^ *+' conftest.er1 >conftest.err
45195 rm -f conftest.er1
45196 cat conftest.err >&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); } && {
45199 test -z "$ac_c_werror_flag" ||
45200 test ! -s conftest.err
45201 } && test -s conftest.$ac_objext; then
45202 wx_cv_func_gettimeofday_has_2_args=yes
45203 else
45204 echo "$as_me: failed program was:" >&5
45205 sed 's/^/| /' conftest.$ac_ext >&5
45206
45207 cat >conftest.$ac_ext <<_ACEOF
45208 /* confdefs.h. */
45209 _ACEOF
45210 cat confdefs.h >>conftest.$ac_ext
45211 cat >>conftest.$ac_ext <<_ACEOF
45212 /* end confdefs.h. */
45213
45214 #include <sys/time.h>
45215 #include <unistd.h>
45216
45217 int
45218 main ()
45219 {
45220
45221 struct timeval tv;
45222 gettimeofday(&tv);
45223
45224 ;
45225 return 0;
45226 }
45227 _ACEOF
45228 rm -f conftest.$ac_objext
45229 if { (ac_try="$ac_compile"
45230 case "(($ac_try" in
45231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45232 *) ac_try_echo=$ac_try;;
45233 esac
45234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45235 (eval "$ac_compile") 2>conftest.er1
45236 ac_status=$?
45237 grep -v '^ *+' conftest.er1 >conftest.err
45238 rm -f conftest.er1
45239 cat conftest.err >&5
45240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45241 (exit $ac_status); } && {
45242 test -z "$ac_c_werror_flag" ||
45243 test ! -s conftest.err
45244 } && test -s conftest.$ac_objext; then
45245 wx_cv_func_gettimeofday_has_2_args=no
45246 else
45247 echo "$as_me: failed program was:" >&5
45248 sed 's/^/| /' conftest.$ac_ext >&5
45249
45250
45251 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45252 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45253 wx_cv_func_gettimeofday_has_2_args=unknown
45254
45255
45256 fi
45257
45258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45259
45260 fi
45261
45262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45263
45264 fi
45265 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45266 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45267
45268 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45269 cat >>confdefs.h <<\_ACEOF
45270 #define WX_GETTIMEOFDAY_NO_TZ 1
45271 _ACEOF
45272
45273 fi
45274 fi
45275
45276 if test "$wxUSE_DATETIME" = "yes"; then
45277 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45278 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45279 if test "${wx_cv_var_timezone+set}" = set; then
45280 echo $ECHO_N "(cached) $ECHO_C" >&6
45281 else
45282
45283 ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45288
45289 cat >conftest.$ac_ext <<_ACEOF
45290 /* confdefs.h. */
45291 _ACEOF
45292 cat confdefs.h >>conftest.$ac_ext
45293 cat >>conftest.$ac_ext <<_ACEOF
45294 /* end confdefs.h. */
45295
45296 #include <time.h>
45297
45298 int
45299 main ()
45300 {
45301
45302 int tz;
45303 tz = timezone;
45304
45305 ;
45306 return 0;
45307 }
45308 _ACEOF
45309 rm -f conftest.$ac_objext
45310 if { (ac_try="$ac_compile"
45311 case "(($ac_try" in
45312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45313 *) ac_try_echo=$ac_try;;
45314 esac
45315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45316 (eval "$ac_compile") 2>conftest.er1
45317 ac_status=$?
45318 grep -v '^ *+' conftest.er1 >conftest.err
45319 rm -f conftest.er1
45320 cat conftest.err >&5
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); } && {
45323 test -z "$ac_cxx_werror_flag" ||
45324 test ! -s conftest.err
45325 } && test -s conftest.$ac_objext; then
45326
45327 wx_cv_var_timezone=timezone
45328
45329 else
45330 echo "$as_me: failed program was:" >&5
45331 sed 's/^/| /' conftest.$ac_ext >&5
45332
45333
45334 cat >conftest.$ac_ext <<_ACEOF
45335 /* confdefs.h. */
45336 _ACEOF
45337 cat confdefs.h >>conftest.$ac_ext
45338 cat >>conftest.$ac_ext <<_ACEOF
45339 /* end confdefs.h. */
45340
45341 #include <time.h>
45342
45343 int
45344 main ()
45345 {
45346
45347 int tz;
45348 tz = _timezone;
45349
45350 ;
45351 return 0;
45352 }
45353 _ACEOF
45354 rm -f conftest.$ac_objext
45355 if { (ac_try="$ac_compile"
45356 case "(($ac_try" in
45357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45358 *) ac_try_echo=$ac_try;;
45359 esac
45360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45361 (eval "$ac_compile") 2>conftest.er1
45362 ac_status=$?
45363 grep -v '^ *+' conftest.er1 >conftest.err
45364 rm -f conftest.er1
45365 cat conftest.err >&5
45366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367 (exit $ac_status); } && {
45368 test -z "$ac_cxx_werror_flag" ||
45369 test ! -s conftest.err
45370 } && test -s conftest.$ac_objext; then
45371
45372 wx_cv_var_timezone=_timezone
45373
45374 else
45375 echo "$as_me: failed program was:" >&5
45376 sed 's/^/| /' conftest.$ac_ext >&5
45377
45378
45379 cat >conftest.$ac_ext <<_ACEOF
45380 /* confdefs.h. */
45381 _ACEOF
45382 cat confdefs.h >>conftest.$ac_ext
45383 cat >>conftest.$ac_ext <<_ACEOF
45384 /* end confdefs.h. */
45385
45386 #include <time.h>
45387
45388 int
45389 main ()
45390 {
45391
45392 int tz;
45393 tz = __timezone;
45394
45395 ;
45396 return 0;
45397 }
45398 _ACEOF
45399 rm -f conftest.$ac_objext
45400 if { (ac_try="$ac_compile"
45401 case "(($ac_try" in
45402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45403 *) ac_try_echo=$ac_try;;
45404 esac
45405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45406 (eval "$ac_compile") 2>conftest.er1
45407 ac_status=$?
45408 grep -v '^ *+' conftest.er1 >conftest.err
45409 rm -f conftest.er1
45410 cat conftest.err >&5
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); } && {
45413 test -z "$ac_cxx_werror_flag" ||
45414 test ! -s conftest.err
45415 } && test -s conftest.$ac_objext; then
45416
45417 wx_cv_var_timezone=__timezone
45418
45419 else
45420 echo "$as_me: failed program was:" >&5
45421 sed 's/^/| /' conftest.$ac_ext >&5
45422
45423
45424 if test "$USE_DOS" = 0 ; then
45425 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45426 echo "$as_me: WARNING: no timezone variable" >&2;}
45427 fi
45428
45429
45430 fi
45431
45432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45433
45434
45435 fi
45436
45437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45438
45439
45440 fi
45441
45442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45443 ac_ext=c
45444 ac_cpp='$CPP $CPPFLAGS'
45445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45448
45449
45450
45451 fi
45452 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45453 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45454
45455 if test "x$wx_cv_var_timezone" != x ; then
45456 cat >>confdefs.h <<_ACEOF
45457 #define WX_TIMEZONE $wx_cv_var_timezone
45458 _ACEOF
45459
45460 fi
45461
45462
45463 for ac_func in localtime
45464 do
45465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45469 echo $ECHO_N "(cached) $ECHO_C" >&6
45470 else
45471 cat >conftest.$ac_ext <<_ACEOF
45472 /* confdefs.h. */
45473 _ACEOF
45474 cat confdefs.h >>conftest.$ac_ext
45475 cat >>conftest.$ac_ext <<_ACEOF
45476 /* end confdefs.h. */
45477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45479 #define $ac_func innocuous_$ac_func
45480
45481 /* System header to define __stub macros and hopefully few prototypes,
45482 which can conflict with char $ac_func (); below.
45483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45484 <limits.h> exists even on freestanding compilers. */
45485
45486 #ifdef __STDC__
45487 # include <limits.h>
45488 #else
45489 # include <assert.h>
45490 #endif
45491
45492 #undef $ac_func
45493
45494 /* Override any GCC internal prototype to avoid an error.
45495 Use char because int might match the return type of a GCC
45496 builtin and then its argument prototype would still apply. */
45497 #ifdef __cplusplus
45498 extern "C"
45499 #endif
45500 char $ac_func ();
45501 /* The GNU C library defines this for functions which it implements
45502 to always fail with ENOSYS. Some functions are actually named
45503 something starting with __ and the normal name is an alias. */
45504 #if defined __stub_$ac_func || defined __stub___$ac_func
45505 choke me
45506 #endif
45507
45508 int
45509 main ()
45510 {
45511 return $ac_func ();
45512 ;
45513 return 0;
45514 }
45515 _ACEOF
45516 rm -f conftest.$ac_objext conftest$ac_exeext
45517 if { (ac_try="$ac_link"
45518 case "(($ac_try" in
45519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45520 *) ac_try_echo=$ac_try;;
45521 esac
45522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45523 (eval "$ac_link") 2>conftest.er1
45524 ac_status=$?
45525 grep -v '^ *+' conftest.er1 >conftest.err
45526 rm -f conftest.er1
45527 cat conftest.err >&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); } && {
45530 test -z "$ac_c_werror_flag" ||
45531 test ! -s conftest.err
45532 } && test -s conftest$ac_exeext &&
45533 $as_test_x conftest$ac_exeext; then
45534 eval "$as_ac_var=yes"
45535 else
45536 echo "$as_me: failed program was:" >&5
45537 sed 's/^/| /' conftest.$ac_ext >&5
45538
45539 eval "$as_ac_var=no"
45540 fi
45541
45542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45543 conftest$ac_exeext conftest.$ac_ext
45544 fi
45545 ac_res=`eval echo '${'$as_ac_var'}'`
45546 { echo "$as_me:$LINENO: result: $ac_res" >&5
45547 echo "${ECHO_T}$ac_res" >&6; }
45548 if test `eval echo '${'$as_ac_var'}'` = yes; then
45549 cat >>confdefs.h <<_ACEOF
45550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45551 _ACEOF
45552
45553 fi
45554 done
45555
45556
45557 if test "$ac_cv_func_localtime" = "yes"; then
45558 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45559 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45560 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45561 echo $ECHO_N "(cached) $ECHO_C" >&6
45562 else
45563
45564 cat >conftest.$ac_ext <<_ACEOF
45565 /* confdefs.h. */
45566 _ACEOF
45567 cat confdefs.h >>conftest.$ac_ext
45568 cat >>conftest.$ac_ext <<_ACEOF
45569 /* end confdefs.h. */
45570
45571 #include <time.h>
45572
45573 int
45574 main ()
45575 {
45576
45577 struct tm tm;
45578 tm.tm_gmtoff++;
45579
45580 ;
45581 return 0;
45582 }
45583 _ACEOF
45584 rm -f conftest.$ac_objext
45585 if { (ac_try="$ac_compile"
45586 case "(($ac_try" in
45587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45588 *) ac_try_echo=$ac_try;;
45589 esac
45590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45591 (eval "$ac_compile") 2>conftest.er1
45592 ac_status=$?
45593 grep -v '^ *+' conftest.er1 >conftest.err
45594 rm -f conftest.er1
45595 cat conftest.err >&5
45596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45597 (exit $ac_status); } && {
45598 test -z "$ac_c_werror_flag" ||
45599 test ! -s conftest.err
45600 } && test -s conftest.$ac_objext; then
45601
45602 wx_cv_struct_tm_has_gmtoff=yes
45603
45604 else
45605 echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.$ac_ext >&5
45607
45608 wx_cv_struct_tm_has_gmtoff=no
45609
45610 fi
45611
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45613
45614 fi
45615 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45616 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45617 fi
45618
45619 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define WX_GMTOFF_IN_TM 1
45622 _ACEOF
45623
45624 fi
45625
45626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45627 fi
45628
45629
45630 if test "$wxUSE_SOCKETS" = "yes"; then
45631 if test "$wxUSE_MGL" = 1; then
45632 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45633 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45634 wxUSE_SOCKETS="no"
45635 fi
45636 fi
45637
45638 if test "$wxUSE_SOCKETS" = "yes"; then
45639 if test "$TOOLKIT" != "MSW"; then
45640 { echo "$as_me:$LINENO: checking for socket" >&5
45641 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45642 if test "${ac_cv_func_socket+set}" = set; then
45643 echo $ECHO_N "(cached) $ECHO_C" >&6
45644 else
45645 cat >conftest.$ac_ext <<_ACEOF
45646 /* confdefs.h. */
45647 _ACEOF
45648 cat confdefs.h >>conftest.$ac_ext
45649 cat >>conftest.$ac_ext <<_ACEOF
45650 /* end confdefs.h. */
45651 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45653 #define socket innocuous_socket
45654
45655 /* System header to define __stub macros and hopefully few prototypes,
45656 which can conflict with char socket (); below.
45657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45658 <limits.h> exists even on freestanding compilers. */
45659
45660 #ifdef __STDC__
45661 # include <limits.h>
45662 #else
45663 # include <assert.h>
45664 #endif
45665
45666 #undef socket
45667
45668 /* Override any GCC internal prototype to avoid an error.
45669 Use char because int might match the return type of a GCC
45670 builtin and then its argument prototype would still apply. */
45671 #ifdef __cplusplus
45672 extern "C"
45673 #endif
45674 char socket ();
45675 /* The GNU C library defines this for functions which it implements
45676 to always fail with ENOSYS. Some functions are actually named
45677 something starting with __ and the normal name is an alias. */
45678 #if defined __stub_socket || defined __stub___socket
45679 choke me
45680 #endif
45681
45682 int
45683 main ()
45684 {
45685 return socket ();
45686 ;
45687 return 0;
45688 }
45689 _ACEOF
45690 rm -f conftest.$ac_objext conftest$ac_exeext
45691 if { (ac_try="$ac_link"
45692 case "(($ac_try" in
45693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45694 *) ac_try_echo=$ac_try;;
45695 esac
45696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45697 (eval "$ac_link") 2>conftest.er1
45698 ac_status=$?
45699 grep -v '^ *+' conftest.er1 >conftest.err
45700 rm -f conftest.er1
45701 cat conftest.err >&5
45702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45703 (exit $ac_status); } && {
45704 test -z "$ac_c_werror_flag" ||
45705 test ! -s conftest.err
45706 } && test -s conftest$ac_exeext &&
45707 $as_test_x conftest$ac_exeext; then
45708 ac_cv_func_socket=yes
45709 else
45710 echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45712
45713 ac_cv_func_socket=no
45714 fi
45715
45716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45717 conftest$ac_exeext conftest.$ac_ext
45718 fi
45719 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45720 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45721 if test $ac_cv_func_socket = yes; then
45722 :
45723 else
45724
45725 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45726 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45727 if test "${ac_cv_lib_socket_socket+set}" = set; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45729 else
45730 ac_check_lib_save_LIBS=$LIBS
45731 LIBS="-lsocket $LIBS"
45732 cat >conftest.$ac_ext <<_ACEOF
45733 /* confdefs.h. */
45734 _ACEOF
45735 cat confdefs.h >>conftest.$ac_ext
45736 cat >>conftest.$ac_ext <<_ACEOF
45737 /* end confdefs.h. */
45738
45739 /* Override any GCC internal prototype to avoid an error.
45740 Use char because int might match the return type of a GCC
45741 builtin and then its argument prototype would still apply. */
45742 #ifdef __cplusplus
45743 extern "C"
45744 #endif
45745 char socket ();
45746 int
45747 main ()
45748 {
45749 return socket ();
45750 ;
45751 return 0;
45752 }
45753 _ACEOF
45754 rm -f conftest.$ac_objext conftest$ac_exeext
45755 if { (ac_try="$ac_link"
45756 case "(($ac_try" in
45757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45758 *) ac_try_echo=$ac_try;;
45759 esac
45760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45761 (eval "$ac_link") 2>conftest.er1
45762 ac_status=$?
45763 grep -v '^ *+' conftest.er1 >conftest.err
45764 rm -f conftest.er1
45765 cat conftest.err >&5
45766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45767 (exit $ac_status); } && {
45768 test -z "$ac_c_werror_flag" ||
45769 test ! -s conftest.err
45770 } && test -s conftest$ac_exeext &&
45771 $as_test_x conftest$ac_exeext; then
45772 ac_cv_lib_socket_socket=yes
45773 else
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.$ac_ext >&5
45776
45777 ac_cv_lib_socket_socket=no
45778 fi
45779
45780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45781 conftest$ac_exeext conftest.$ac_ext
45782 LIBS=$ac_check_lib_save_LIBS
45783 fi
45784 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45785 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45786 if test $ac_cv_lib_socket_socket = yes; then
45787 if test "$INET_LINK" != " -lsocket"; then
45788 INET_LINK="$INET_LINK -lsocket"
45789 fi
45790 else
45791
45792 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45793 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45794 wxUSE_SOCKETS=no
45795
45796
45797 fi
45798
45799
45800
45801 fi
45802
45803 fi
45804 fi
45805
45806 if test "$wxUSE_SOCKETS" = "yes" ; then
45807 if test "$TOOLKIT" != "MSW"; then
45808 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45809 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45810 if test "${wx_cv_type_getsockname3+set}" = set; then
45811 echo $ECHO_N "(cached) $ECHO_C" >&6
45812 else
45813
45814 ac_ext=cpp
45815 ac_cpp='$CXXCPP $CPPFLAGS'
45816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45819
45820 cat >conftest.$ac_ext <<_ACEOF
45821 /* confdefs.h. */
45822 _ACEOF
45823 cat confdefs.h >>conftest.$ac_ext
45824 cat >>conftest.$ac_ext <<_ACEOF
45825 /* end confdefs.h. */
45826
45827 #include <sys/types.h>
45828 #include <sys/socket.h>
45829
45830 int
45831 main ()
45832 {
45833
45834 socklen_t len;
45835 getsockname(0, 0, &len);
45836
45837 ;
45838 return 0;
45839 }
45840 _ACEOF
45841 rm -f conftest.$ac_objext
45842 if { (ac_try="$ac_compile"
45843 case "(($ac_try" in
45844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45845 *) ac_try_echo=$ac_try;;
45846 esac
45847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45848 (eval "$ac_compile") 2>conftest.er1
45849 ac_status=$?
45850 grep -v '^ *+' conftest.er1 >conftest.err
45851 rm -f conftest.er1
45852 cat conftest.err >&5
45853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45854 (exit $ac_status); } && {
45855 test -z "$ac_cxx_werror_flag" ||
45856 test ! -s conftest.err
45857 } && test -s conftest.$ac_objext; then
45858 wx_cv_type_getsockname3=socklen_t
45859 else
45860 echo "$as_me: failed program was:" >&5
45861 sed 's/^/| /' conftest.$ac_ext >&5
45862
45863
45864 CFLAGS_OLD="$CFLAGS"
45865 if test "$GCC" = yes ; then
45866 CFLAGS="-Werror $CFLAGS"
45867 fi
45868
45869 cat >conftest.$ac_ext <<_ACEOF
45870 /* confdefs.h. */
45871 _ACEOF
45872 cat confdefs.h >>conftest.$ac_ext
45873 cat >>conftest.$ac_ext <<_ACEOF
45874 /* end confdefs.h. */
45875
45876 #include <sys/types.h>
45877 #include <sys/socket.h>
45878
45879 int
45880 main ()
45881 {
45882
45883 size_t len;
45884 getsockname(0, 0, &len);
45885
45886 ;
45887 return 0;
45888 }
45889 _ACEOF
45890 rm -f conftest.$ac_objext
45891 if { (ac_try="$ac_compile"
45892 case "(($ac_try" in
45893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45894 *) ac_try_echo=$ac_try;;
45895 esac
45896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45897 (eval "$ac_compile") 2>conftest.er1
45898 ac_status=$?
45899 grep -v '^ *+' conftest.er1 >conftest.err
45900 rm -f conftest.er1
45901 cat conftest.err >&5
45902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45903 (exit $ac_status); } && {
45904 test -z "$ac_cxx_werror_flag" ||
45905 test ! -s conftest.err
45906 } && test -s conftest.$ac_objext; then
45907 wx_cv_type_getsockname3=size_t
45908 else
45909 echo "$as_me: failed program was:" >&5
45910 sed 's/^/| /' conftest.$ac_ext >&5
45911
45912 cat >conftest.$ac_ext <<_ACEOF
45913 /* confdefs.h. */
45914 _ACEOF
45915 cat confdefs.h >>conftest.$ac_ext
45916 cat >>conftest.$ac_ext <<_ACEOF
45917 /* end confdefs.h. */
45918
45919 #include <sys/types.h>
45920 #include <sys/socket.h>
45921
45922 int
45923 main ()
45924 {
45925
45926 int len;
45927 getsockname(0, 0, &len);
45928
45929 ;
45930 return 0;
45931 }
45932 _ACEOF
45933 rm -f conftest.$ac_objext
45934 if { (ac_try="$ac_compile"
45935 case "(($ac_try" in
45936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45937 *) ac_try_echo=$ac_try;;
45938 esac
45939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45940 (eval "$ac_compile") 2>conftest.er1
45941 ac_status=$?
45942 grep -v '^ *+' conftest.er1 >conftest.err
45943 rm -f conftest.er1
45944 cat conftest.err >&5
45945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45946 (exit $ac_status); } && {
45947 test -z "$ac_cxx_werror_flag" ||
45948 test ! -s conftest.err
45949 } && test -s conftest.$ac_objext; then
45950 wx_cv_type_getsockname3=int
45951 else
45952 echo "$as_me: failed program was:" >&5
45953 sed 's/^/| /' conftest.$ac_ext >&5
45954
45955 wx_cv_type_getsockname3=unknown
45956
45957 fi
45958
45959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45960
45961 fi
45962
45963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45964
45965 CFLAGS="$CFLAGS_OLD"
45966
45967
45968 fi
45969
45970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45971 ac_ext=c
45972 ac_cpp='$CPP $CPPFLAGS'
45973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45976
45977
45978 fi
45979 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45980 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45981
45982 if test "$wx_cv_type_getsockname3" = "unknown"; then
45983 wxUSE_SOCKETS=no
45984 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45985 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45986 else
45987 cat >>confdefs.h <<_ACEOF
45988 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45989 _ACEOF
45990
45991 fi
45992 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45993 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45994 if test "${wx_cv_type_getsockopt5+set}" = set; then
45995 echo $ECHO_N "(cached) $ECHO_C" >&6
45996 else
45997
45998 ac_ext=cpp
45999 ac_cpp='$CXXCPP $CPPFLAGS'
46000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46003
46004 cat >conftest.$ac_ext <<_ACEOF
46005 /* confdefs.h. */
46006 _ACEOF
46007 cat confdefs.h >>conftest.$ac_ext
46008 cat >>conftest.$ac_ext <<_ACEOF
46009 /* end confdefs.h. */
46010
46011 #include <sys/types.h>
46012 #include <sys/socket.h>
46013
46014 int
46015 main ()
46016 {
46017
46018 socklen_t len;
46019 getsockopt(0, 0, 0, 0, &len);
46020
46021 ;
46022 return 0;
46023 }
46024 _ACEOF
46025 rm -f conftest.$ac_objext
46026 if { (ac_try="$ac_compile"
46027 case "(($ac_try" in
46028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46029 *) ac_try_echo=$ac_try;;
46030 esac
46031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46032 (eval "$ac_compile") 2>conftest.er1
46033 ac_status=$?
46034 grep -v '^ *+' conftest.er1 >conftest.err
46035 rm -f conftest.er1
46036 cat conftest.err >&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); } && {
46039 test -z "$ac_cxx_werror_flag" ||
46040 test ! -s conftest.err
46041 } && test -s conftest.$ac_objext; then
46042 wx_cv_type_getsockopt5=socklen_t
46043 else
46044 echo "$as_me: failed program was:" >&5
46045 sed 's/^/| /' conftest.$ac_ext >&5
46046
46047
46048 cat >conftest.$ac_ext <<_ACEOF
46049 /* confdefs.h. */
46050 _ACEOF
46051 cat confdefs.h >>conftest.$ac_ext
46052 cat >>conftest.$ac_ext <<_ACEOF
46053 /* end confdefs.h. */
46054
46055 #include <sys/types.h>
46056 #include <sys/socket.h>
46057
46058 int
46059 main ()
46060 {
46061
46062 size_t len;
46063 getsockopt(0, 0, 0, 0, &len);
46064
46065 ;
46066 return 0;
46067 }
46068 _ACEOF
46069 rm -f conftest.$ac_objext
46070 if { (ac_try="$ac_compile"
46071 case "(($ac_try" in
46072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46073 *) ac_try_echo=$ac_try;;
46074 esac
46075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46076 (eval "$ac_compile") 2>conftest.er1
46077 ac_status=$?
46078 grep -v '^ *+' conftest.er1 >conftest.err
46079 rm -f conftest.er1
46080 cat conftest.err >&5
46081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082 (exit $ac_status); } && {
46083 test -z "$ac_cxx_werror_flag" ||
46084 test ! -s conftest.err
46085 } && test -s conftest.$ac_objext; then
46086 wx_cv_type_getsockopt5=size_t
46087 else
46088 echo "$as_me: failed program was:" >&5
46089 sed 's/^/| /' conftest.$ac_ext >&5
46090
46091 cat >conftest.$ac_ext <<_ACEOF
46092 /* confdefs.h. */
46093 _ACEOF
46094 cat confdefs.h >>conftest.$ac_ext
46095 cat >>conftest.$ac_ext <<_ACEOF
46096 /* end confdefs.h. */
46097
46098 #include <sys/types.h>
46099 #include <sys/socket.h>
46100
46101 int
46102 main ()
46103 {
46104
46105 int len;
46106 getsockopt(0, 0, 0, 0, &len);
46107
46108 ;
46109 return 0;
46110 }
46111 _ACEOF
46112 rm -f conftest.$ac_objext
46113 if { (ac_try="$ac_compile"
46114 case "(($ac_try" in
46115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46116 *) ac_try_echo=$ac_try;;
46117 esac
46118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46119 (eval "$ac_compile") 2>conftest.er1
46120 ac_status=$?
46121 grep -v '^ *+' conftest.er1 >conftest.err
46122 rm -f conftest.er1
46123 cat conftest.err >&5
46124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46125 (exit $ac_status); } && {
46126 test -z "$ac_cxx_werror_flag" ||
46127 test ! -s conftest.err
46128 } && test -s conftest.$ac_objext; then
46129 wx_cv_type_getsockopt5=int
46130 else
46131 echo "$as_me: failed program was:" >&5
46132 sed 's/^/| /' conftest.$ac_ext >&5
46133
46134 wx_cv_type_getsockopt5=unknown
46135
46136 fi
46137
46138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46139
46140 fi
46141
46142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46143
46144
46145 fi
46146
46147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46148 ac_ext=c
46149 ac_cpp='$CPP $CPPFLAGS'
46150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46153
46154
46155 fi
46156 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46157 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46158
46159 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46160 wxUSE_SOCKETS=no
46161 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46162 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46163 else
46164 cat >>confdefs.h <<_ACEOF
46165 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46166 _ACEOF
46167
46168 fi
46169 fi
46170 fi
46171
46172 if test "$wxUSE_SOCKETS" = "yes" ; then
46173 if test "$wxUSE_IPV6" = "yes"; then
46174 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46175 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46176 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46177 echo $ECHO_N "(cached) $ECHO_C" >&6
46178 else
46179
46180 cat >conftest.$ac_ext <<_ACEOF
46181 /* confdefs.h. */
46182 _ACEOF
46183 cat confdefs.h >>conftest.$ac_ext
46184 cat >>conftest.$ac_ext <<_ACEOF
46185 /* end confdefs.h. */
46186
46187 #include <sys/types.h>
46188 #include <sys/socket.h>
46189 #include <netinet/in.h>
46190
46191 int
46192 main ()
46193 {
46194
46195 struct sockaddr_in6 sa6;
46196
46197 ;
46198 return 0;
46199 }
46200 _ACEOF
46201 rm -f conftest.$ac_objext
46202 if { (ac_try="$ac_compile"
46203 case "(($ac_try" in
46204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46205 *) ac_try_echo=$ac_try;;
46206 esac
46207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46208 (eval "$ac_compile") 2>conftest.er1
46209 ac_status=$?
46210 grep -v '^ *+' conftest.er1 >conftest.err
46211 rm -f conftest.er1
46212 cat conftest.err >&5
46213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214 (exit $ac_status); } && {
46215 test -z "$ac_c_werror_flag" ||
46216 test ! -s conftest.err
46217 } && test -s conftest.$ac_objext; then
46218 wx_cv_type_sockaddr_in6=yes
46219 else
46220 echo "$as_me: failed program was:" >&5
46221 sed 's/^/| /' conftest.$ac_ext >&5
46222
46223 wx_cv_type_sockaddr_in6=no
46224
46225 fi
46226
46227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46228
46229
46230 fi
46231 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46232 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46233
46234 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_IPV6 1
46237 _ACEOF
46238
46239 else
46240 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46241 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46242 fi
46243 fi
46244
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_SOCKETS 1
46247 _ACEOF
46248
46249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46250 fi
46251
46252 if test "$wxUSE_PROTOCOL" = "yes"; then
46253 if test "$wxUSE_SOCKETS" != "yes"; then
46254 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46255 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46256 wxUSE_PROTOCOL=no
46257 fi
46258 fi
46259
46260 if test "$wxUSE_PROTOCOL" = "yes"; then
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_PROTOCOL 1
46263 _ACEOF
46264
46265
46266 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_PROTOCOL_HTTP 1
46269 _ACEOF
46270
46271 fi
46272 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_PROTOCOL_FTP 1
46275 _ACEOF
46276
46277 fi
46278 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_PROTOCOL_FILE 1
46281 _ACEOF
46282
46283 fi
46284 else
46285 if test "$wxUSE_FS_INET" = "yes"; then
46286 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46287 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46288 wxUSE_FS_INET="no"
46289 fi
46290 fi
46291
46292 if test "$wxUSE_URL" = "yes"; then
46293 if test "$wxUSE_PROTOCOL" != "yes"; then
46294 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46295 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46296 wxUSE_URL=no
46297 fi
46298 if test "$wxUSE_URL" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_URL 1
46301 _ACEOF
46302
46303 fi
46304 fi
46305
46306 if test "$wxUSE_VARIANT" = "yes"; then
46307 cat >>confdefs.h <<\_ACEOF
46308 #define wxUSE_VARIANT 1
46309 _ACEOF
46310
46311 fi
46312
46313 if test "$wxUSE_FS_INET" = "yes"; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_FS_INET 1
46316 _ACEOF
46317
46318 fi
46319
46320
46321 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46322 wxUSE_JOYSTICK=no
46323
46324 if test "$TOOLKIT" = "MSW"; then
46325 wxUSE_JOYSTICK=yes
46326
46327 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46328 if test "$USE_DARWIN" = 1; then
46329 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46330 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46331 ac_ext=cpp
46332 ac_cpp='$CXXCPP $CPPFLAGS'
46333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46336
46337 cat >conftest.$ac_ext <<_ACEOF
46338 /* confdefs.h. */
46339 _ACEOF
46340 cat confdefs.h >>conftest.$ac_ext
46341 cat >>conftest.$ac_ext <<_ACEOF
46342 /* end confdefs.h. */
46343 #include <IOKit/hid/IOHIDLib.h>
46344 int
46345 main ()
46346 {
46347 IOHIDQueueInterface *qi = NULL;
46348 IOHIDCallbackFunction cb = NULL;
46349 qi->setEventCallout(NULL, cb, NULL, NULL);
46350 ;
46351 return 0;
46352 }
46353 _ACEOF
46354 rm -f conftest.$ac_objext
46355 if { (ac_try="$ac_compile"
46356 case "(($ac_try" in
46357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46358 *) ac_try_echo=$ac_try;;
46359 esac
46360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46361 (eval "$ac_compile") 2>conftest.er1
46362 ac_status=$?
46363 grep -v '^ *+' conftest.er1 >conftest.err
46364 rm -f conftest.er1
46365 cat conftest.err >&5
46366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367 (exit $ac_status); } && {
46368 test -z "$ac_cxx_werror_flag" ||
46369 test ! -s conftest.err
46370 } && test -s conftest.$ac_objext; then
46371 wxUSE_JOYSTICK=yes
46372
46373 else
46374 echo "$as_me: failed program was:" >&5
46375 sed 's/^/| /' conftest.$ac_ext >&5
46376
46377
46378 fi
46379
46380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46381 ac_ext=c
46382 ac_cpp='$CPP $CPPFLAGS'
46383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46386
46387 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46388 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46389 fi
46390
46391 else
46392 if test "$wxUSE_MGL" != 1; then
46393
46394 for ac_header in linux/joystick.h
46395 do
46396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46400 echo $ECHO_N "(cached) $ECHO_C" >&6
46401 else
46402 cat >conftest.$ac_ext <<_ACEOF
46403 /* confdefs.h. */
46404 _ACEOF
46405 cat confdefs.h >>conftest.$ac_ext
46406 cat >>conftest.$ac_ext <<_ACEOF
46407 /* end confdefs.h. */
46408 $ac_includes_default
46409
46410 #include <$ac_header>
46411 _ACEOF
46412 rm -f conftest.$ac_objext
46413 if { (ac_try="$ac_compile"
46414 case "(($ac_try" in
46415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46416 *) ac_try_echo=$ac_try;;
46417 esac
46418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46419 (eval "$ac_compile") 2>conftest.er1
46420 ac_status=$?
46421 grep -v '^ *+' conftest.er1 >conftest.err
46422 rm -f conftest.er1
46423 cat conftest.err >&5
46424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46425 (exit $ac_status); } && {
46426 test -z "$ac_c_werror_flag" ||
46427 test ! -s conftest.err
46428 } && test -s conftest.$ac_objext; then
46429 eval "$as_ac_Header=yes"
46430 else
46431 echo "$as_me: failed program was:" >&5
46432 sed 's/^/| /' conftest.$ac_ext >&5
46433
46434 eval "$as_ac_Header=no"
46435 fi
46436
46437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46438 fi
46439 ac_res=`eval echo '${'$as_ac_Header'}'`
46440 { echo "$as_me:$LINENO: result: $ac_res" >&5
46441 echo "${ECHO_T}$ac_res" >&6; }
46442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46443 cat >>confdefs.h <<_ACEOF
46444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46445 _ACEOF
46446 wxUSE_JOYSTICK=yes
46447 fi
46448
46449 done
46450
46451 fi
46452 fi
46453
46454 if test "$wxUSE_JOYSTICK" = "yes"; then
46455 cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_JOYSTICK 1
46457 _ACEOF
46458
46459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46460 else
46461 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46462 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46463 fi
46464 fi
46465
46466
46467
46468 if test "$wxUSE_FONTENUM" = "yes" ; then
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_FONTENUM 1
46471 _ACEOF
46472
46473 fi
46474
46475 if test "$wxUSE_FONTMAP" = "yes" ; then
46476 cat >>confdefs.h <<\_ACEOF
46477 #define wxUSE_FONTMAP 1
46478 _ACEOF
46479
46480 fi
46481
46482 if test "$wxUSE_UNICODE" = "yes" ; then
46483 cat >>confdefs.h <<\_ACEOF
46484 #define wxUSE_UNICODE 1
46485 _ACEOF
46486
46487
46488 if test "$USE_WIN32" != 1; then
46489 wxUSE_UNICODE_MSLU=no
46490 fi
46491
46492 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46493 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46494 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46495 if test "${ac_cv_lib_unicows_main+set}" = set; then
46496 echo $ECHO_N "(cached) $ECHO_C" >&6
46497 else
46498 ac_check_lib_save_LIBS=$LIBS
46499 LIBS="-lunicows $LIBS"
46500 cat >conftest.$ac_ext <<_ACEOF
46501 /* confdefs.h. */
46502 _ACEOF
46503 cat confdefs.h >>conftest.$ac_ext
46504 cat >>conftest.$ac_ext <<_ACEOF
46505 /* end confdefs.h. */
46506
46507
46508 int
46509 main ()
46510 {
46511 return main ();
46512 ;
46513 return 0;
46514 }
46515 _ACEOF
46516 rm -f conftest.$ac_objext conftest$ac_exeext
46517 if { (ac_try="$ac_link"
46518 case "(($ac_try" in
46519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46520 *) ac_try_echo=$ac_try;;
46521 esac
46522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46523 (eval "$ac_link") 2>conftest.er1
46524 ac_status=$?
46525 grep -v '^ *+' conftest.er1 >conftest.err
46526 rm -f conftest.er1
46527 cat conftest.err >&5
46528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46529 (exit $ac_status); } && {
46530 test -z "$ac_c_werror_flag" ||
46531 test ! -s conftest.err
46532 } && test -s conftest$ac_exeext &&
46533 $as_test_x conftest$ac_exeext; then
46534 ac_cv_lib_unicows_main=yes
46535 else
46536 echo "$as_me: failed program was:" >&5
46537 sed 's/^/| /' conftest.$ac_ext >&5
46538
46539 ac_cv_lib_unicows_main=no
46540 fi
46541
46542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46543 conftest$ac_exeext conftest.$ac_ext
46544 LIBS=$ac_check_lib_save_LIBS
46545 fi
46546 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46547 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46548 if test $ac_cv_lib_unicows_main = yes; then
46549
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_UNICODE_MSLU 1
46552 _ACEOF
46553
46554
46555 else
46556
46557 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46558 Applications will only run on Windows NT/2000/XP!" >&5
46559 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46560 Applications will only run on Windows NT/2000/XP!" >&2;}
46561 wxUSE_UNICODE_MSLU=no
46562
46563 fi
46564
46565 fi
46566 fi
46567
46568 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_UNICODE_UTF8 1
46571 _ACEOF
46572
46573
46574 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_UTF8_LOCALE_ONLY 1
46577 _ACEOF
46578
46579 fi
46580 fi
46581
46582
46583 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_CONSTRAINTS 1
46586 _ACEOF
46587
46588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46589 fi
46590
46591 if test "$wxUSE_MDI" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_MDI 1
46594 _ACEOF
46595
46596
46597 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_MDI_ARCHITECTURE 1
46600 _ACEOF
46601
46602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46603 fi
46604 fi
46605
46606 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46609 _ACEOF
46610
46611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46612 fi
46613
46614 if test "$wxUSE_HELP" = "yes"; then
46615 cat >>confdefs.h <<\_ACEOF
46616 #define wxUSE_HELP 1
46617 _ACEOF
46618
46619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46620
46621 if test "$wxUSE_MSW" = 1; then
46622 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_MS_HTML_HELP 1
46625 _ACEOF
46626
46627 fi
46628 fi
46629
46630 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46631 if test "$wxUSE_HTML" = "yes"; then
46632 cat >>confdefs.h <<\_ACEOF
46633 #define wxUSE_WXHTML_HELP 1
46634 _ACEOF
46635
46636 else
46637 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46638 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46639 wxUSE_WXHTML_HELP=no
46640 fi
46641 fi
46642 fi
46643
46644 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46645 cat >>confdefs.h <<\_ACEOF
46646 #define wxUSE_PRINTING_ARCHITECTURE 1
46647 _ACEOF
46648
46649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46650 fi
46651
46652 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46653 cat >>confdefs.h <<\_ACEOF
46654 #define wxUSE_POSTSCRIPT 1
46655 _ACEOF
46656
46657 fi
46658
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46661 _ACEOF
46662
46663
46664 if test "$wxUSE_SVG" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_SVG 1
46667 _ACEOF
46668
46669 fi
46670
46671
46672 if test "$wxUSE_METAFILE" = "yes"; then
46673 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46674 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46675 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46676 wxUSE_METAFILE=no
46677 fi
46678 fi
46679
46680
46681 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46682 -o "$wxUSE_CLIPBOARD" = "yes" \
46683 -o "$wxUSE_OLE" = "yes" \
46684 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46685 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46686 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46687 if test "${ac_cv_header_ole2_h+set}" = set; then
46688 echo $ECHO_N "(cached) $ECHO_C" >&6
46689 else
46690 cat >conftest.$ac_ext <<_ACEOF
46691 /* confdefs.h. */
46692 _ACEOF
46693 cat confdefs.h >>conftest.$ac_ext
46694 cat >>conftest.$ac_ext <<_ACEOF
46695 /* end confdefs.h. */
46696
46697
46698 #include <ole2.h>
46699 _ACEOF
46700 rm -f conftest.$ac_objext
46701 if { (ac_try="$ac_compile"
46702 case "(($ac_try" in
46703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46704 *) ac_try_echo=$ac_try;;
46705 esac
46706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46707 (eval "$ac_compile") 2>conftest.er1
46708 ac_status=$?
46709 grep -v '^ *+' conftest.er1 >conftest.err
46710 rm -f conftest.er1
46711 cat conftest.err >&5
46712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46713 (exit $ac_status); } && {
46714 test -z "$ac_c_werror_flag" ||
46715 test ! -s conftest.err
46716 } && test -s conftest.$ac_objext; then
46717 ac_cv_header_ole2_h=yes
46718 else
46719 echo "$as_me: failed program was:" >&5
46720 sed 's/^/| /' conftest.$ac_ext >&5
46721
46722 ac_cv_header_ole2_h=no
46723 fi
46724
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 fi
46727 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46728 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46729
46730
46731
46732 if test "$ac_cv_header_ole2_h" = "yes" ; then
46733 if test "$GCC" = yes ; then
46734 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46735 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46736 cat >conftest.$ac_ext <<_ACEOF
46737 /* confdefs.h. */
46738 _ACEOF
46739 cat confdefs.h >>conftest.$ac_ext
46740 cat >>conftest.$ac_ext <<_ACEOF
46741 /* end confdefs.h. */
46742 #include <windows.h>
46743 #include <ole2.h>
46744 int
46745 main ()
46746 {
46747
46748 ;
46749 return 0;
46750 }
46751 _ACEOF
46752 rm -f conftest.$ac_objext
46753 if { (ac_try="$ac_compile"
46754 case "(($ac_try" in
46755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46756 *) ac_try_echo=$ac_try;;
46757 esac
46758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46759 (eval "$ac_compile") 2>conftest.er1
46760 ac_status=$?
46761 grep -v '^ *+' conftest.er1 >conftest.err
46762 rm -f conftest.er1
46763 cat conftest.err >&5
46764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46765 (exit $ac_status); } && {
46766 test -z "$ac_c_werror_flag" ||
46767 test ! -s conftest.err
46768 } && test -s conftest.$ac_objext; then
46769 { echo "$as_me:$LINENO: result: no" >&5
46770 echo "${ECHO_T}no" >&6; }
46771 else
46772 echo "$as_me: failed program was:" >&5
46773 sed 's/^/| /' conftest.$ac_ext >&5
46774
46775 { echo "$as_me:$LINENO: result: yes" >&5
46776 echo "${ECHO_T}yes" >&6; }
46777 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46778 fi
46779
46780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46781 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46782 if test "$wxUSE_OLE" = "yes" ; then
46783 cat >>confdefs.h <<\_ACEOF
46784 #define wxUSE_OLE 1
46785 _ACEOF
46786
46787 cat >>confdefs.h <<\_ACEOF
46788 #define wxUSE_OLE_AUTOMATION 1
46789 _ACEOF
46790
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_ACTIVEX 1
46793 _ACEOF
46794
46795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46796 fi
46797 fi
46798
46799 if test "$wxUSE_DATAOBJ" = "yes" ; then
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_DATAOBJ 1
46802 _ACEOF
46803
46804 fi
46805 else
46806 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46807 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46808
46809 wxUSE_CLIPBOARD=no
46810 wxUSE_DRAG_AND_DROP=no
46811 wxUSE_DATAOBJ=no
46812 wxUSE_OLE=no
46813 fi
46814
46815 if test "$wxUSE_METAFILE" = "yes"; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_METAFILE 1
46818 _ACEOF
46819
46820
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_ENH_METAFILE 1
46823 _ACEOF
46824
46825 fi
46826 fi
46827
46828 if test "$wxUSE_IPC" = "yes"; then
46829 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46830 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46831 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46832 wxUSE_IPC=no
46833 fi
46834
46835 if test "$wxUSE_IPC" = "yes"; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_IPC 1
46838 _ACEOF
46839
46840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46841 fi
46842 fi
46843
46844 if test "$wxUSE_DATAOBJ" = "yes"; then
46845 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46846 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46847 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46848 wxUSE_DATAOBJ=no
46849 else
46850 cat >>confdefs.h <<\_ACEOF
46851 #define wxUSE_DATAOBJ 1
46852 _ACEOF
46853
46854 fi
46855 else
46856 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46857 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46858 wxUSE_CLIPBOARD=no
46859 wxUSE_DRAG_AND_DROP=no
46860 fi
46861
46862 if test "$wxUSE_CLIPBOARD" = "yes"; then
46863 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46864 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46865 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46866 wxUSE_CLIPBOARD=no
46867 fi
46868
46869 if test "$wxUSE_CLIPBOARD" = "yes"; then
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_CLIPBOARD 1
46872 _ACEOF
46873
46874 fi
46875 fi
46876
46877 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46878 if test "$wxUSE_GTK" = 1; then
46879 if test "$WXGTK12" != 1; then
46880 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46881 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46882 wxUSE_DRAG_AND_DROP=no
46883 fi
46884 fi
46885
46886 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46887 "$wxUSE_DFB" = 1; then
46888 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46889 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46890 wxUSE_DRAG_AND_DROP=no
46891 fi
46892
46893 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46894 cat >>confdefs.h <<\_ACEOF
46895 #define wxUSE_DRAG_AND_DROP 1
46896 _ACEOF
46897
46898 fi
46899
46900 fi
46901
46902 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46904 fi
46905
46906 if test "$wxUSE_CLIPBOARD" = "yes"; then
46907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46908 fi
46909
46910 if test "$wxUSE_SPLINES" = "yes" ; then
46911 cat >>confdefs.h <<\_ACEOF
46912 #define wxUSE_SPLINES 1
46913 _ACEOF
46914
46915 fi
46916
46917 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46918 cat >>confdefs.h <<\_ACEOF
46919 #define wxUSE_MOUSEWHEEL 1
46920 _ACEOF
46921
46922 fi
46923
46924 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_UIACTIONSIMULATOR 1
46927 _ACEOF
46928
46929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46930 fi
46931
46932
46933 USES_CONTROLS=0
46934 if test "$wxUSE_CONTROLS" = "yes"; then
46935 USES_CONTROLS=1
46936 fi
46937
46938 if test "$wxUSE_ACCEL" = "yes"; then
46939 cat >>confdefs.h <<\_ACEOF
46940 #define wxUSE_ACCEL 1
46941 _ACEOF
46942
46943 USES_CONTROLS=1
46944 fi
46945
46946 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_ANIMATIONCTRL 1
46949 _ACEOF
46950
46951 USES_CONTROLS=1
46952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46953 fi
46954
46955 if test "$wxUSE_BUTTON" = "yes"; then
46956 cat >>confdefs.h <<\_ACEOF
46957 #define wxUSE_BUTTON 1
46958 _ACEOF
46959
46960 USES_CONTROLS=1
46961 fi
46962
46963 if test "$wxUSE_BMPBUTTON" = "yes"; then
46964 cat >>confdefs.h <<\_ACEOF
46965 #define wxUSE_BMPBUTTON 1
46966 _ACEOF
46967
46968 USES_CONTROLS=1
46969 fi
46970
46971 if test "$wxUSE_CALCTRL" = "yes"; then
46972 cat >>confdefs.h <<\_ACEOF
46973 #define wxUSE_CALENDARCTRL 1
46974 _ACEOF
46975
46976 USES_CONTROLS=1
46977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46978 fi
46979
46980 if test "$wxUSE_CARET" = "yes"; then
46981 cat >>confdefs.h <<\_ACEOF
46982 #define wxUSE_CARET 1
46983 _ACEOF
46984
46985 USES_CONTROLS=1
46986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46987 fi
46988
46989 if test "$wxUSE_COLLPANE" = "yes"; then
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_COLLPANE 1
46992 _ACEOF
46993
46994 USES_CONTROLS=1
46995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46996 fi
46997
46998 if test "$wxUSE_COMBOBOX" = "yes"; then
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_COMBOBOX 1
47001 _ACEOF
47002
47003 USES_CONTROLS=1
47004 fi
47005
47006 if test "$wxUSE_COMBOCTRL" = "yes"; then
47007 cat >>confdefs.h <<\_ACEOF
47008 #define wxUSE_COMBOCTRL 1
47009 _ACEOF
47010
47011 USES_CONTROLS=1
47012 fi
47013
47014 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47015 cat >>confdefs.h <<\_ACEOF
47016 #define wxUSE_COMMANDLINKBUTTON 1
47017 _ACEOF
47018
47019 USES_CONTROLS=1
47020 fi
47021
47022 if test "$wxUSE_CHOICE" = "yes"; then
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_CHOICE 1
47025 _ACEOF
47026
47027 USES_CONTROLS=1
47028 fi
47029
47030 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47031 cat >>confdefs.h <<\_ACEOF
47032 #define wxUSE_CHOICEBOOK 1
47033 _ACEOF
47034
47035 USES_CONTROLS=1
47036 fi
47037
47038 if test "$wxUSE_CHECKBOX" = "yes"; then
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_CHECKBOX 1
47041 _ACEOF
47042
47043 USES_CONTROLS=1
47044 fi
47045
47046 if test "$wxUSE_CHECKLST" = "yes"; then
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_CHECKLISTBOX 1
47049 _ACEOF
47050
47051 USES_CONTROLS=1
47052 fi
47053
47054 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47055 cat >>confdefs.h <<\_ACEOF
47056 #define wxUSE_COLOURPICKERCTRL 1
47057 _ACEOF
47058
47059 USES_CONTROLS=1
47060 fi
47061
47062 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47063 cat >>confdefs.h <<\_ACEOF
47064 #define wxUSE_DATEPICKCTRL 1
47065 _ACEOF
47066
47067 USES_CONTROLS=1
47068 fi
47069
47070 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_DIRPICKERCTRL 1
47073 _ACEOF
47074
47075 USES_CONTROLS=1
47076 fi
47077
47078 if test "$wxUSE_FILECTRL" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_FILECTRL 1
47081 _ACEOF
47082
47083 USES_CONTROLS=1
47084 fi
47085
47086 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_FILEPICKERCTRL 1
47089 _ACEOF
47090
47091 USES_CONTROLS=1
47092 fi
47093
47094 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_FONTPICKERCTRL 1
47097 _ACEOF
47098
47099 USES_CONTROLS=1
47100 fi
47101
47102 if test "$wxUSE_DISPLAY" = "yes"; then
47103 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47104 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47105 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47106 wxUSE_DISPLAY=no
47107 else
47108 cat >>confdefs.h <<\_ACEOF
47109 #define wxUSE_DISPLAY 1
47110 _ACEOF
47111
47112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47113 fi
47114 fi
47115
47116 if test "$wxUSE_DETECT_SM" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_DETECT_SM 1
47119 _ACEOF
47120
47121 fi
47122
47123 if test "$wxUSE_GAUGE" = "yes"; then
47124 cat >>confdefs.h <<\_ACEOF
47125 #define wxUSE_GAUGE 1
47126 _ACEOF
47127
47128 USES_CONTROLS=1
47129 fi
47130
47131 if test "$wxUSE_GRID" = "yes"; then
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_GRID 1
47134 _ACEOF
47135
47136 USES_CONTROLS=1
47137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47138 fi
47139
47140 if test "$wxUSE_HEADERCTRL" = "yes"; then
47141 cat >>confdefs.h <<\_ACEOF
47142 #define wxUSE_HEADERCTRL 1
47143 _ACEOF
47144
47145 USES_CONTROLS=1
47146 fi
47147
47148 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47149 cat >>confdefs.h <<\_ACEOF
47150 #define wxUSE_HYPERLINKCTRL 1
47151 _ACEOF
47152
47153 USES_CONTROLS=1
47154 fi
47155
47156 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47157 cat >>confdefs.h <<\_ACEOF
47158 #define wxUSE_BITMAPCOMBOBOX 1
47159 _ACEOF
47160
47161 USES_CONTROLS=1
47162 fi
47163
47164 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47165 cat >>confdefs.h <<\_ACEOF
47166 #define wxUSE_DATAVIEWCTRL 1
47167 _ACEOF
47168
47169 USES_CONTROLS=1
47170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47171 fi
47172
47173 if test "$wxUSE_IMAGLIST" = "yes"; then
47174 cat >>confdefs.h <<\_ACEOF
47175 #define wxUSE_IMAGLIST 1
47176 _ACEOF
47177
47178 fi
47179
47180 if test "$wxUSE_INFOBAR" = "yes"; then
47181 cat >>confdefs.h <<\_ACEOF
47182 #define wxUSE_INFOBAR 1
47183 _ACEOF
47184
47185 fi
47186
47187 if test "$wxUSE_LISTBOOK" = "yes"; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_LISTBOOK 1
47190 _ACEOF
47191
47192 USES_CONTROLS=1
47193 fi
47194
47195 if test "$wxUSE_LISTBOX" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_LISTBOX 1
47198 _ACEOF
47199
47200 USES_CONTROLS=1
47201 fi
47202
47203 if test "$wxUSE_LISTCTRL" = "yes"; then
47204 if test "$wxUSE_IMAGLIST" = "yes"; then
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_LISTCTRL 1
47207 _ACEOF
47208
47209 USES_CONTROLS=1
47210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47211 else
47212 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47213 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47214 fi
47215 fi
47216
47217 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47218 cat >>confdefs.h <<\_ACEOF
47219 #define wxUSE_EDITABLELISTBOX 1
47220 _ACEOF
47221
47222 USES_CONTROLS=1
47223 fi
47224
47225 if test "$wxUSE_NOTEBOOK" = "yes"; then
47226 cat >>confdefs.h <<\_ACEOF
47227 #define wxUSE_NOTEBOOK 1
47228 _ACEOF
47229
47230 USES_CONTROLS=1
47231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47232 fi
47233
47234 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47235 cat >>confdefs.h <<\_ACEOF
47236 #define wxUSE_NOTIFICATION_MESSAGE 1
47237 _ACEOF
47238
47239 fi
47240
47241 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_ODCOMBOBOX 1
47244 _ACEOF
47245
47246 USES_CONTROLS=1
47247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47248 fi
47249
47250 if test "$wxUSE_RADIOBOX" = "yes"; then
47251 cat >>confdefs.h <<\_ACEOF
47252 #define wxUSE_RADIOBOX 1
47253 _ACEOF
47254
47255 USES_CONTROLS=1
47256 fi
47257
47258 if test "$wxUSE_RADIOBTN" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_RADIOBTN 1
47261 _ACEOF
47262
47263 USES_CONTROLS=1
47264 fi
47265
47266 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47267 cat >>confdefs.h <<\_ACEOF
47268 #define wxUSE_REARRANGECTRL 1
47269 _ACEOF
47270
47271 fi
47272
47273 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_RICHMSGDLG 1
47276 _ACEOF
47277
47278 fi
47279
47280 if test "$wxUSE_SASH" = "yes"; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_SASH 1
47283 _ACEOF
47284
47285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47286 fi
47287
47288 if test "$wxUSE_SCROLLBAR" = "yes"; then
47289 cat >>confdefs.h <<\_ACEOF
47290 #define wxUSE_SCROLLBAR 1
47291 _ACEOF
47292
47293 USES_CONTROLS=1
47294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47295 fi
47296
47297 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_SEARCHCTRL 1
47300 _ACEOF
47301
47302 USES_CONTROLS=1
47303 fi
47304
47305 if test "$wxUSE_SLIDER" = "yes"; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_SLIDER 1
47308 _ACEOF
47309
47310 USES_CONTROLS=1
47311 fi
47312
47313 if test "$wxUSE_SPINBTN" = "yes"; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_SPINBTN 1
47316 _ACEOF
47317
47318 USES_CONTROLS=1
47319 fi
47320
47321 if test "$wxUSE_SPINCTRL" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_SPINCTRL 1
47324 _ACEOF
47325
47326 USES_CONTROLS=1
47327 fi
47328
47329 if test "$wxUSE_SPLITTER" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_SPLITTER 1
47332 _ACEOF
47333
47334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47335 fi
47336
47337 if test "$wxUSE_STATBMP" = "yes"; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_STATBMP 1
47340 _ACEOF
47341
47342 USES_CONTROLS=1
47343 fi
47344
47345 if test "$wxUSE_STATBOX" = "yes"; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_STATBOX 1
47348 _ACEOF
47349
47350 USES_CONTROLS=1
47351 fi
47352
47353 if test "$wxUSE_STATTEXT" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_STATTEXT 1
47356 _ACEOF
47357
47358 USES_CONTROLS=1
47359 fi
47360
47361 if test "$wxUSE_STATLINE" = "yes"; then
47362 cat >>confdefs.h <<\_ACEOF
47363 #define wxUSE_STATLINE 1
47364 _ACEOF
47365
47366 USES_CONTROLS=1
47367 fi
47368
47369 if test "$wxUSE_STATUSBAR" = "yes"; then
47370 cat >>confdefs.h <<\_ACEOF
47371 #define wxUSE_NATIVE_STATUSBAR 1
47372 _ACEOF
47373
47374 cat >>confdefs.h <<\_ACEOF
47375 #define wxUSE_STATUSBAR 1
47376 _ACEOF
47377
47378 USES_CONTROLS=1
47379
47380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47381 fi
47382
47383 if test "$wxUSE_TEXTCTRL" = "yes"; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_TEXTCTRL 1
47386 _ACEOF
47387
47388 USES_CONTROLS=1
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47390
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_RICHEDIT 1
47393 _ACEOF
47394
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_RICHEDIT2 1
47397 _ACEOF
47398
47399 fi
47400
47401 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47402 if test "$wxUSE_OLD_COCOA" = 1 ; then
47403 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47404 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47405 wxUSE_TOGGLEBTN=no
47406 fi
47407
47408 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_TOGGLEBTN 1
47411 _ACEOF
47412
47413 USES_CONTROLS=1
47414 fi
47415 fi
47416
47417 if test "$wxUSE_TOOLBAR" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_TOOLBAR 1
47420 _ACEOF
47421
47422 USES_CONTROLS=1
47423
47424 if test "$wxUSE_UNIVERSAL" = "yes"; then
47425 wxUSE_TOOLBAR_NATIVE="no"
47426 else
47427 wxUSE_TOOLBAR_NATIVE="yes"
47428 cat >>confdefs.h <<\_ACEOF
47429 #define wxUSE_TOOLBAR_NATIVE 1
47430 _ACEOF
47431
47432 fi
47433
47434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47435 fi
47436
47437 if test "$wxUSE_TOOLTIPS" = "yes"; then
47438 if test "$wxUSE_MOTIF" = 1; then
47439 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47440 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47441 else
47442 if test "$wxUSE_UNIVERSAL" = "yes"; then
47443 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47444 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47445 else
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_TOOLTIPS 1
47448 _ACEOF
47449
47450 fi
47451 fi
47452 fi
47453
47454 if test "$wxUSE_TREEBOOK" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_TREEBOOK 1
47457 _ACEOF
47458
47459 USES_CONTROLS=1
47460 fi
47461
47462 if test "$wxUSE_TOOLBOOK" = "yes"; then
47463 cat >>confdefs.h <<\_ACEOF
47464 #define wxUSE_TOOLBOOK 1
47465 _ACEOF
47466
47467 USES_CONTROLS=1
47468 fi
47469
47470 if test "$wxUSE_TREECTRL" = "yes"; then
47471 if test "$wxUSE_IMAGLIST" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_TREECTRL 1
47474 _ACEOF
47475
47476 USES_CONTROLS=1
47477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47478 else
47479 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47480 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47481 fi
47482 fi
47483
47484 if test "$wxUSE_POPUPWIN" = "yes"; then
47485 if test "$wxUSE_OLD_COCOA" = 1 ; then
47486 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47487 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47488 else
47489 if test "$wxUSE_PM" = 1; then
47490 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47491 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47492 else
47493 cat >>confdefs.h <<\_ACEOF
47494 #define wxUSE_POPUPWIN 1
47495 _ACEOF
47496
47497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47498
47499 USES_CONTROLS=1
47500 fi
47501 fi
47502 fi
47503
47504 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47505 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47506 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47507 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47508 else
47509 cat >>confdefs.h <<\_ACEOF
47510 #define wxUSE_DIALUP_MANAGER 1
47511 _ACEOF
47512
47513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47514 fi
47515 fi
47516
47517 if test "$wxUSE_TIPWINDOW" = "yes"; then
47518 if test "$wxUSE_PM" = 1; then
47519 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47520 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47521 else
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_TIPWINDOW 1
47524 _ACEOF
47525
47526 fi
47527 fi
47528
47529 if test "$USES_CONTROLS" = 1; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_CONTROLS 1
47532 _ACEOF
47533
47534 fi
47535
47536
47537 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_ACCESSIBILITY 1
47540 _ACEOF
47541
47542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47543 fi
47544
47545 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_DRAGIMAGE 1
47548 _ACEOF
47549
47550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47551 fi
47552
47553 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47554 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47555 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47556 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47557 else
47558 cat >>confdefs.h <<\_ACEOF
47559 #define wxUSE_EXCEPTIONS 1
47560 _ACEOF
47561
47562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47563 fi
47564 fi
47565
47566 USE_HTML=0
47567 if test "$wxUSE_HTML" = "yes"; then
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_HTML 1
47570 _ACEOF
47571
47572 USE_HTML=1
47573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47574 fi
47575 if test "$wxUSE_WEBKIT" = "yes"; then
47576 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47577 old_CPPFLAGS="$CPPFLAGS"
47578 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47579 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47580 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47581 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47582 echo $ECHO_N "(cached) $ECHO_C" >&6
47583 else
47584 cat >conftest.$ac_ext <<_ACEOF
47585 /* confdefs.h. */
47586 _ACEOF
47587 cat confdefs.h >>conftest.$ac_ext
47588 cat >>conftest.$ac_ext <<_ACEOF
47589 /* end confdefs.h. */
47590
47591 #include <Carbon/Carbon.h>
47592 #include <WebKit/WebKit.h>
47593
47594
47595 #include <WebKit/HIWebView.h>
47596 _ACEOF
47597 rm -f conftest.$ac_objext
47598 if { (ac_try="$ac_compile"
47599 case "(($ac_try" in
47600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47601 *) ac_try_echo=$ac_try;;
47602 esac
47603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47604 (eval "$ac_compile") 2>conftest.er1
47605 ac_status=$?
47606 grep -v '^ *+' conftest.er1 >conftest.err
47607 rm -f conftest.er1
47608 cat conftest.err >&5
47609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610 (exit $ac_status); } && {
47611 test -z "$ac_c_werror_flag" ||
47612 test ! -s conftest.err
47613 } && test -s conftest.$ac_objext; then
47614 ac_cv_header_WebKit_HIWebView_h=yes
47615 else
47616 echo "$as_me: failed program was:" >&5
47617 sed 's/^/| /' conftest.$ac_ext >&5
47618
47619 ac_cv_header_WebKit_HIWebView_h=no
47620 fi
47621
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47623 fi
47624 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47625 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47626 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47627
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_WEBKIT 1
47630 _ACEOF
47631
47632 WEBKIT_LINK="-framework WebKit"
47633
47634 else
47635
47636 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47637 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47638 wxUSE_WEBKIT=no
47639
47640 fi
47641
47642
47643 CPPFLAGS="$old_CPPFLAGS"
47644 elif test "$wxUSE_OLD_COCOA" = 1; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_WEBKIT 1
47647 _ACEOF
47648
47649 else
47650 wxUSE_WEBKIT=no
47651 fi
47652 if test "$wxUSE_WEBKIT" = "yes"; then
47653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47654 fi
47655 fi
47656
47657 USE_XRC=0
47658 if test "$wxUSE_XRC" = "yes"; then
47659 if test "$wxUSE_XML" != "yes"; then
47660 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47661 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47662 wxUSE_XRC=no
47663 else
47664 cat >>confdefs.h <<\_ACEOF
47665 #define wxUSE_XRC 1
47666 _ACEOF
47667
47668 USE_XRC=1
47669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47670 fi
47671 fi
47672
47673 USE_AUI=0
47674 if test "$wxUSE_AUI" = "yes"; then
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_AUI 1
47677 _ACEOF
47678
47679 USE_AUI=1
47680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47681 fi
47682
47683 USE_PROPGRID=0
47684 if test "$wxUSE_PROPGRID" = "yes"; then
47685 cat >>confdefs.h <<\_ACEOF
47686 #define wxUSE_PROPGRID 1
47687 _ACEOF
47688
47689 USE_PROPGRID=1
47690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47691 fi
47692
47693 USE_RIBBON=0
47694 if test "$wxUSE_RIBBON" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_RIBBON 1
47697 _ACEOF
47698
47699 USE_RIBBON=1
47700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47701 fi
47702
47703 USE_STC=0
47704 if test "$wxUSE_STC" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_STC 1
47707 _ACEOF
47708
47709 USE_STC=1
47710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47711
47712 # Extract the first word of "python", so it can be a program name with args.
47713 set dummy python; ac_word=$2
47714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47716 if test "${ac_cv_path_PYTHON+set}" = set; then
47717 echo $ECHO_N "(cached) $ECHO_C" >&6
47718 else
47719 case $PYTHON in
47720 [\\/]* | ?:[\\/]*)
47721 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47722 ;;
47723 *)
47724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47725 for as_dir in $PATH
47726 do
47727 IFS=$as_save_IFS
47728 test -z "$as_dir" && as_dir=.
47729 for ac_exec_ext in '' $ac_executable_extensions; do
47730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47731 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47733 break 2
47734 fi
47735 done
47736 done
47737 IFS=$as_save_IFS
47738
47739 ;;
47740 esac
47741 fi
47742 PYTHON=$ac_cv_path_PYTHON
47743 if test -n "$PYTHON"; then
47744 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47745 echo "${ECHO_T}$PYTHON" >&6; }
47746 else
47747 { echo "$as_me:$LINENO: result: no" >&5
47748 echo "${ECHO_T}no" >&6; }
47749 fi
47750
47751
47752 if test "x$PYTHON" = "x"; then
47753 COND_PYTHON="#"
47754 fi
47755
47756 fi
47757
47758 if test "$wxUSE_MENUS" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_MENUS 1
47761 _ACEOF
47762
47763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47764 fi
47765
47766 if test "$wxUSE_METAFILE" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_METAFILE 1
47769 _ACEOF
47770
47771 fi
47772
47773 if test "$wxUSE_MIMETYPE" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_MIMETYPE 1
47776 _ACEOF
47777
47778 fi
47779
47780 if test "$wxUSE_MINIFRAME" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_MINIFRAME 1
47783 _ACEOF
47784
47785 fi
47786
47787 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_SYSTEM_OPTIONS 1
47790 _ACEOF
47791
47792 fi
47793
47794 if test "$wxUSE_TASKBARICON" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_TASKBARICON 1
47797 _ACEOF
47798
47799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47800 fi
47801
47802
47803 if test "$wxUSE_VALIDATORS" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_VALIDATORS 1
47806 _ACEOF
47807
47808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47809 fi
47810
47811 if test "$wxUSE_PALETTE" = "yes" ; then
47812 if test "$wxUSE_DFB" = 1; then
47813 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47814 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47815 wxUSE_PALETTE=no
47816 else
47817 cat >>confdefs.h <<\_ACEOF
47818 #define wxUSE_PALETTE 1
47819 _ACEOF
47820
47821 fi
47822 fi
47823
47824 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47825 LIBS=" -lunicows $LIBS"
47826 fi
47827
47828 USE_RICHTEXT=0
47829 if test "$wxUSE_RICHTEXT" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_RICHTEXT 1
47832 _ACEOF
47833
47834 USE_RICHTEXT=1
47835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47836 fi
47837
47838
47839 if test "$wxUSE_IMAGE" = "yes" ; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_IMAGE 1
47842 _ACEOF
47843
47844
47845 if test "$wxUSE_GIF" = "yes" ; then
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_GIF 1
47848 _ACEOF
47849
47850 fi
47851
47852 if test "$wxUSE_PCX" = "yes" ; then
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_PCX 1
47855 _ACEOF
47856
47857 fi
47858
47859 if test "$wxUSE_TGA" = "yes" ; then
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_TGA 1
47862 _ACEOF
47863
47864 fi
47865
47866 if test "$wxUSE_IFF" = "yes" ; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_IFF 1
47869 _ACEOF
47870
47871 fi
47872
47873 if test "$wxUSE_PNM" = "yes" ; then
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_PNM 1
47876 _ACEOF
47877
47878 fi
47879
47880 if test "$wxUSE_XPM" = "yes" ; then
47881 cat >>confdefs.h <<\_ACEOF
47882 #define wxUSE_XPM 1
47883 _ACEOF
47884
47885 fi
47886
47887 if test "$wxUSE_ICO_CUR" = "yes" ; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_ICO_CUR 1
47890 _ACEOF
47891
47892 fi
47893 fi
47894
47895
47896 if test "$wxUSE_ABOUTDLG" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_ABOUTDLG 1
47899 _ACEOF
47900
47901 fi
47902
47903 if test "$wxUSE_CHOICEDLG" = "yes"; then
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_CHOICEDLG 1
47906 _ACEOF
47907
47908 fi
47909
47910 if test "$wxUSE_COLOURDLG" = "yes"; then
47911 cat >>confdefs.h <<\_ACEOF
47912 #define wxUSE_COLOURDLG 1
47913 _ACEOF
47914
47915 fi
47916
47917 if test "$wxUSE_FILEDLG" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_FILEDLG 1
47920 _ACEOF
47921
47922 fi
47923
47924 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_FINDREPLDLG 1
47927 _ACEOF
47928
47929 fi
47930
47931 if test "$wxUSE_FONTDLG" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_FONTDLG 1
47934 _ACEOF
47935
47936 fi
47937
47938 if test "$wxUSE_DIRDLG" = "yes"; then
47939 if test "$wxUSE_TREECTRL" != "yes"; then
47940 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47941 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47942 else
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_DIRDLG 1
47945 _ACEOF
47946
47947 fi
47948 fi
47949
47950 if test "$wxUSE_MSGDLG" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_MSGDLG 1
47953 _ACEOF
47954
47955 fi
47956
47957 if test "$wxUSE_NUMBERDLG" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_NUMBERDLG 1
47960 _ACEOF
47961
47962 fi
47963
47964 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47965 cat >>confdefs.h <<\_ACEOF
47966 #define wxUSE_PROGRESSDLG 1
47967 _ACEOF
47968
47969 fi
47970
47971 if test "$wxUSE_SPLASH" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_SPLASH 1
47974 _ACEOF
47975
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47977 fi
47978
47979 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_STARTUP_TIPS 1
47982 _ACEOF
47983
47984 fi
47985
47986 if test "$wxUSE_TEXTDLG" = "yes"; then
47987 cat >>confdefs.h <<\_ACEOF
47988 #define wxUSE_TEXTDLG 1
47989 _ACEOF
47990
47991 fi
47992
47993 if test "$wxUSE_WIZARDDLG" = "yes"; then
47994 cat >>confdefs.h <<\_ACEOF
47995 #define wxUSE_WIZARDDLG 1
47996 _ACEOF
47997
47998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47999 fi
48000
48001
48002 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48003 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48004 cat >>confdefs.h <<\_ACEOF
48005 #define wxUSE_OWNER_DRAWN 1
48006 _ACEOF
48007
48008 fi
48009 fi
48010
48011
48012 if test "$wxUSE_MSW" = 1 ; then
48013
48014 if test "$wxUSE_DC_CACHEING" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_DC_CACHEING 1
48017 _ACEOF
48018
48019 fi
48020
48021 if test "$wxUSE_DIB" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_WXDIB 1
48024 _ACEOF
48025
48026 fi
48027
48028 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48031 _ACEOF
48032
48033 fi
48034
48035 if test "$wxUSE_UXTHEME" = "yes"; then
48036 cat >>confdefs.h <<\_ACEOF
48037 #define wxUSE_UXTHEME 1
48038 _ACEOF
48039
48040 fi
48041
48042 fi
48043
48044 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_AUTOID_MANAGEMENT 1
48047 _ACEOF
48048
48049 fi
48050
48051 if test "$USE_WIN32" = 1 ; then
48052 if test "$wxUSE_INICONF" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_INICONF 1
48055 _ACEOF
48056
48057 fi
48058
48059 if test "$wxUSE_REGKEY" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_REGKEY 1
48062 _ACEOF
48063
48064 fi
48065 fi
48066
48067
48068 if test "$wxUSE_MAC" = 1; then
48069 wxUSE_GRAPHICS_CONTEXT="yes"
48070 fi
48071
48072 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48073 wx_has_graphics=0
48074 if test "$wxUSE_MSW" = 1; then
48075 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48076 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48077 if test "${wx_cv_lib_gdiplus+set}" = set; then
48078 echo $ECHO_N "(cached) $ECHO_C" >&6
48079 else
48080
48081 ac_ext=cpp
48082 ac_cpp='$CXXCPP $CPPFLAGS'
48083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48086
48087 cat >conftest.$ac_ext <<_ACEOF
48088 /* confdefs.h. */
48089 _ACEOF
48090 cat confdefs.h >>conftest.$ac_ext
48091 cat >>conftest.$ac_ext <<_ACEOF
48092 /* end confdefs.h. */
48093 #include <windows.h>
48094 #include <gdiplus.h>
48095 int
48096 main ()
48097 {
48098
48099 using namespace Gdiplus;
48100
48101 ;
48102 return 0;
48103 }
48104 _ACEOF
48105 rm -f conftest.$ac_objext
48106 if { (ac_try="$ac_compile"
48107 case "(($ac_try" in
48108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48109 *) ac_try_echo=$ac_try;;
48110 esac
48111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48112 (eval "$ac_compile") 2>conftest.er1
48113 ac_status=$?
48114 grep -v '^ *+' conftest.er1 >conftest.err
48115 rm -f conftest.er1
48116 cat conftest.err >&5
48117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48118 (exit $ac_status); } && {
48119 test -z "$ac_cxx_werror_flag" ||
48120 test ! -s conftest.err
48121 } && test -s conftest.$ac_objext; then
48122 wx_cv_lib_gdiplus=yes
48123 else
48124 echo "$as_me: failed program was:" >&5
48125 sed 's/^/| /' conftest.$ac_ext >&5
48126
48127 wx_cv_lib_gdiplus=no
48128
48129 fi
48130
48131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48132 ac_ext=c
48133 ac_cpp='$CPP $CPPFLAGS'
48134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48137
48138
48139
48140 fi
48141 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48142 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48143 if test "$wx_cv_lib_gdiplus" = "yes"; then
48144 wx_has_graphics=1
48145 fi
48146 elif test "$wxUSE_GTK" = 1; then
48147
48148 pkg_failed=no
48149 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48150 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48151
48152 if test -n "$PKG_CONFIG"; then
48153 if test -n "$CAIRO_CFLAGS"; then
48154 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48155 else
48156 if test -n "$PKG_CONFIG" && \
48157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48158 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48159 ac_status=$?
48160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48161 (exit $ac_status); }; then
48162 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48163 else
48164 pkg_failed=yes
48165 fi
48166 fi
48167 else
48168 pkg_failed=untried
48169 fi
48170 if test -n "$PKG_CONFIG"; then
48171 if test -n "$CAIRO_LIBS"; then
48172 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48173 else
48174 if test -n "$PKG_CONFIG" && \
48175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48176 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48177 ac_status=$?
48178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48179 (exit $ac_status); }; then
48180 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48181 else
48182 pkg_failed=yes
48183 fi
48184 fi
48185 else
48186 pkg_failed=untried
48187 fi
48188
48189
48190
48191 if test $pkg_failed = yes; then
48192
48193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48194 _pkg_short_errors_supported=yes
48195 else
48196 _pkg_short_errors_supported=no
48197 fi
48198 if test $_pkg_short_errors_supported = yes; then
48199 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48200 else
48201 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48202 fi
48203 # Put the nasty error message in config.log where it belongs
48204 echo "$CAIRO_PKG_ERRORS" >&5
48205
48206 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48207 echo "$as_me: WARNING: Cairo library not found" >&2;}
48208
48209 elif test $pkg_failed = untried; then
48210 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48211 echo "$as_me: WARNING: Cairo library not found" >&2;}
48212
48213 else
48214 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48215 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48216 { echo "$as_me:$LINENO: result: yes" >&5
48217 echo "${ECHO_T}yes" >&6; }
48218 wx_has_graphics=1
48219 fi
48220 else
48221 wx_has_graphics=1
48222 fi
48223
48224 if test "$wx_has_graphics" = 1; then
48225 cat >>confdefs.h <<\_ACEOF
48226 #define wxUSE_GRAPHICS_CONTEXT 1
48227 _ACEOF
48228
48229 else
48230 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48231 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48232 fi
48233 fi
48234
48235
48236 USE_MEDIA=0
48237
48238 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48239 USE_MEDIA=1
48240
48241 if test "$wxUSE_GTK" = 1; then
48242 wxUSE_GSTREAMER="no"
48243
48244 GST_VERSION_MAJOR=0
48245 GST_VERSION_MINOR=10
48246 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48247
48248 if test "$wxUSE_GSTREAMER8" = "no"; then
48249
48250 pkg_failed=no
48251 { echo "$as_me:$LINENO: checking for GST" >&5
48252 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48253
48254 if test -n "$PKG_CONFIG"; then
48255 if test -n "$GST_CFLAGS"; then
48256 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48257 else
48258 if test -n "$PKG_CONFIG" && \
48259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48260 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48261 ac_status=$?
48262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48263 (exit $ac_status); }; then
48264 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48265 else
48266 pkg_failed=yes
48267 fi
48268 fi
48269 else
48270 pkg_failed=untried
48271 fi
48272 if test -n "$PKG_CONFIG"; then
48273 if test -n "$GST_LIBS"; then
48274 pkg_cv_GST_LIBS="$GST_LIBS"
48275 else
48276 if test -n "$PKG_CONFIG" && \
48277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48278 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48279 ac_status=$?
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); }; then
48282 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48283 else
48284 pkg_failed=yes
48285 fi
48286 fi
48287 else
48288 pkg_failed=untried
48289 fi
48290
48291
48292
48293 if test $pkg_failed = yes; then
48294
48295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48296 _pkg_short_errors_supported=yes
48297 else
48298 _pkg_short_errors_supported=no
48299 fi
48300 if test $_pkg_short_errors_supported = yes; then
48301 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48302 else
48303 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48304 fi
48305 # Put the nasty error message in config.log where it belongs
48306 echo "$GST_PKG_ERRORS" >&5
48307
48308
48309 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48310 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48311 GST_VERSION_MINOR=8
48312
48313
48314 elif test $pkg_failed = untried; then
48315
48316 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48317 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48318 GST_VERSION_MINOR=8
48319
48320
48321 else
48322 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48323 GST_LIBS=$pkg_cv_GST_LIBS
48324 { echo "$as_me:$LINENO: result: yes" >&5
48325 echo "${ECHO_T}yes" >&6; }
48326
48327 wxUSE_GSTREAMER="yes"
48328 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48329
48330 fi
48331 else
48332 GST_VERSION_MINOR=8
48333 fi
48334
48335 if test $GST_VERSION_MINOR = "8"; then
48336 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48337
48338 pkg_failed=no
48339 { echo "$as_me:$LINENO: checking for GST" >&5
48340 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48341
48342 if test -n "$PKG_CONFIG"; then
48343 if test -n "$GST_CFLAGS"; then
48344 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48345 else
48346 if test -n "$PKG_CONFIG" && \
48347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48348 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48349 ac_status=$?
48350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48351 (exit $ac_status); }; then
48352 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48353 else
48354 pkg_failed=yes
48355 fi
48356 fi
48357 else
48358 pkg_failed=untried
48359 fi
48360 if test -n "$PKG_CONFIG"; then
48361 if test -n "$GST_LIBS"; then
48362 pkg_cv_GST_LIBS="$GST_LIBS"
48363 else
48364 if test -n "$PKG_CONFIG" && \
48365 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48366 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48367 ac_status=$?
48368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48369 (exit $ac_status); }; then
48370 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48371 else
48372 pkg_failed=yes
48373 fi
48374 fi
48375 else
48376 pkg_failed=untried
48377 fi
48378
48379
48380
48381 if test $pkg_failed = yes; then
48382
48383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48384 _pkg_short_errors_supported=yes
48385 else
48386 _pkg_short_errors_supported=no
48387 fi
48388 if test $_pkg_short_errors_supported = yes; then
48389 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48390 else
48391 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48392 fi
48393 # Put the nasty error message in config.log where it belongs
48394 echo "$GST_PKG_ERRORS" >&5
48395
48396
48397 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48398 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48399
48400 elif test $pkg_failed = untried; then
48401
48402 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48403 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48404
48405 else
48406 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48407 GST_LIBS=$pkg_cv_GST_LIBS
48408 { echo "$as_me:$LINENO: result: yes" >&5
48409 echo "${ECHO_T}yes" >&6; }
48410 wxUSE_GSTREAMER="yes"
48411 fi
48412 fi
48413
48414
48415 if test "$wxUSE_GSTREAMER" = "yes"; then
48416 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48417 EXTRALIBS_MEDIA="$GST_LIBS"
48418
48419 cat >>confdefs.h <<\_ACEOF
48420 #define wxUSE_GSTREAMER 1
48421 _ACEOF
48422
48423 else
48424 USE_MEDIA=0
48425 fi
48426 fi
48427
48428 if test $USE_MEDIA = 1; then
48429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48430 cat >>confdefs.h <<\_ACEOF
48431 #define wxUSE_MEDIACTRL 1
48432 _ACEOF
48433
48434 else
48435 if test "$wxUSE_MEDIACTRL" = "yes"; then
48436 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48437 echo "$as_me: error: GStreamer not available" >&2;}
48438 { (exit 1); exit 1; }; }
48439 else
48440 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48441 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48442 fi
48443 fi
48444 fi
48445
48446
48447 if test "$cross_compiling" != "no"; then
48448 OSINFO="\"$host\""
48449 else
48450 OSINFO=`uname -s -r -m`
48451 OSINFO="\"$OSINFO\""
48452 fi
48453
48454 cat >>confdefs.h <<_ACEOF
48455 #define WXWIN_OS_DESCRIPTION $OSINFO
48456 _ACEOF
48457
48458
48459
48460 if test "x$prefix" != "xNONE"; then
48461 wxPREFIX=$prefix
48462 else
48463 wxPREFIX=$ac_default_prefix
48464 fi
48465
48466 cat >>confdefs.h <<_ACEOF
48467 #define wxINSTALL_PREFIX "$wxPREFIX"
48468 _ACEOF
48469
48470
48471
48472
48473 STD_BASE_LIBS="base"
48474 STD_GUI_LIBS=""
48475 BUILT_WX_LIBS="base"
48476 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48477
48478 if test "$wxUSE_SOCKETS" = "yes" ; then
48479 STD_BASE_LIBS="net $STD_BASE_LIBS"
48480 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48481 fi
48482 if test "$wxUSE_XML" = "yes" ; then
48483 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48484 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48485 fi
48486
48487 if test "$wxUSE_GUI" = "yes"; then
48488 STD_GUI_LIBS="adv core"
48489 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48490
48491 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48492 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48493 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48494 fi
48495 if test "$wxUSE_HTML" = "yes" ; then
48496 STD_GUI_LIBS="html $STD_GUI_LIBS"
48497 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48498 fi
48499 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48500 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48501 fi
48502 if test "$wxUSE_OPENGL" = "yes" ; then
48503 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48504 fi
48505 if test "$wxUSE_AUI" = "yes" ; then
48506 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48507 fi
48508 if test "$wxUSE_PROPGRID" = "yes" ; then
48509 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48510 fi
48511 if test "$wxUSE_RIBBON" = "yes" ; then
48512 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48513 fi
48514 if test "$wxUSE_RICHTEXT" = "yes" ; then
48515 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48516 fi
48517 if test "$wxUSE_STC" = "yes" ; then
48518 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48519 fi
48520 if test "$wxUSE_XRC" = "yes" ; then
48521 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48522 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48523 fi
48524 fi
48525
48526
48527
48528
48529
48530
48531
48532 EXTRA_FRAMEWORKS=
48533 if test "$wxUSE_MAC" = 1 ; then
48534 if test "$USE_DARWIN" = 1; then
48535 if test "$wxUSE_OSX_IPHONE" = 1; then
48536 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48537 else
48538 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48539 fi
48540 fi
48541 fi
48542 if test "$wxUSE_OLD_COCOA" = 1 ; then
48543 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48544 if test "$wxUSE_MEDIACTRL" = "yes"; then
48545 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48546 fi
48547 fi
48548 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48549 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48550 fi
48551
48552 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48553 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48554
48555 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48556
48557 if test "$wxUSE_GUI" = "yes"; then
48558
48559
48560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48561 erase event exec font image minimal render \
48562 shaped svg taborder vscroll widgets wrapsizer"
48563
48564 if test "$wxUSE_MONOLITHIC" != "yes"; then
48565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48566 fi
48567 if test "$TOOLKIT" = "MSW"; then
48568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48569 if test "$wxUSE_UNIVERSAL" != "yes"; then
48570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48571 fi
48572 fi
48573 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48575 fi
48576 else
48577 SAMPLES_SUBDIRS="console"
48578 if test "$wxUSE_SOCKETS" = "yes" ; then
48579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48580 fi
48581 if test "$wxUSE_IPC" = "yes" ; then
48582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48583 fi
48584 fi
48585
48586
48587 if test "x$INTELCC" = "xyes" ; then
48588 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48589 elif test "$GCC" = yes ; then
48590 CWARNINGS="-Wall -Wundef"
48591 fi
48592
48593 if test "x$INTELCXX" = "xyes" ; then
48594 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48595 elif test "$GXX" = yes ; then
48596 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48597 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48598 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48599 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48600 echo $ECHO_N "(cached) $ECHO_C" >&6
48601 else
48602 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48603
48604 ac_ext=cpp
48605 ac_cpp='$CXXCPP $CPPFLAGS'
48606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48609
48610 ac_save_CXXFLAGS="$CXXFLAGS"
48611 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48612 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48613 cat >conftest.$ac_ext <<_ACEOF
48614 /* confdefs.h. */
48615 _ACEOF
48616 cat confdefs.h >>conftest.$ac_ext
48617 cat >>conftest.$ac_ext <<_ACEOF
48618 /* end confdefs.h. */
48619
48620 int
48621 main ()
48622 {
48623 return 0;
48624 ;
48625 return 0;
48626 }
48627 _ACEOF
48628 rm -f conftest.$ac_objext
48629 if { (ac_try="$ac_compile"
48630 case "(($ac_try" in
48631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48632 *) ac_try_echo=$ac_try;;
48633 esac
48634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48635 (eval "$ac_compile") 2>conftest.er1
48636 ac_status=$?
48637 grep -v '^ *+' conftest.er1 >conftest.err
48638 rm -f conftest.er1
48639 cat conftest.err >&5
48640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48641 (exit $ac_status); } && {
48642 test -z "$ac_cxx_werror_flag" ||
48643 test ! -s conftest.err
48644 } && test -s conftest.$ac_objext; then
48645 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48646 else
48647 echo "$as_me: failed program was:" >&5
48648 sed 's/^/| /' conftest.$ac_ext >&5
48649
48650
48651 fi
48652
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654 done
48655 CXXFLAGS="$ac_save_CXXFLAGS"
48656 ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48661
48662
48663 fi
48664 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48665 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48666 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48667 .ok|.ok,*) ;;
48668 .|.no|.no,*) ;;
48669 *)
48670 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48671 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48672 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48673 ac_status=$?
48674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48675 (exit $ac_status); }
48676 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48677 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48678 ac_status=$?
48679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48680 (exit $ac_status); }
48681 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48682 fi
48683 ;;
48684 esac
48685
48686
48687 if test "$wxUSE_MAC" = 1 ; then
48688 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48689 fi
48690 fi
48691
48692
48693 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48694 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48695
48696
48697 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48698 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48699 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48700 $CPPFLAGS `
48701
48702 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48703 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48704 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48705 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48706 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48707
48708 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48709
48710
48711 if test "x$MWCC" = "xyes"; then
48712
48713 CC="$CC -cwd source -I-"
48714 CXX="$CXX -cwd source -I-"
48715 fi
48716
48717
48718 LIBS=`echo $LIBS`
48719 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48720 EXTRALIBS_XML="$EXPAT_LINK"
48721 EXTRALIBS_HTML="$MSPACK_LINK"
48722 EXTRALIBS_MEDIA="$GST_LIBS"
48723 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48724 if test "$wxUSE_GUI" = "yes"; then
48725 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48726 fi
48727 if test "$wxUSE_OPENGL" = "yes"; then
48728 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48729 fi
48730
48731 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48732
48733 WXCONFIG_LIBS="$LIBS"
48734
48735 if test "$wxUSE_REGEX" = "builtin" ; then
48736 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48737 fi
48738 if test "$wxUSE_EXPAT" = "builtin" ; then
48739 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48740 fi
48741 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48742 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48743 fi
48744 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48745 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48746 fi
48747 if test "$wxUSE_LIBPNG" = "builtin" ; then
48748 wxconfig_3rdparty="png $wxconfig_3rdparty"
48749 fi
48750 if test "$wxUSE_ZLIB" = "builtin" ; then
48751 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48752 fi
48753
48754 for i in $wxconfig_3rdparty ; do
48755 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48756 done
48757
48758
48759 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48760 WXUNIV=1
48761
48762 case "$wxUNIV_THEMES" in
48763 ''|all)
48764 cat >>confdefs.h <<\_ACEOF
48765 #define wxUSE_ALL_THEMES 1
48766 _ACEOF
48767
48768 ;;
48769
48770 *)
48771 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48772 cat >>confdefs.h <<_ACEOF
48773 #define wxUSE_THEME_$t 1
48774 _ACEOF
48775
48776 done
48777 esac
48778 else
48779 WXUNIV=0
48780 fi
48781
48782
48783
48784
48785
48786
48787
48788
48789 if test $wxUSE_MONOLITHIC = "yes" ; then
48790 MONOLITHIC=1
48791 else
48792 MONOLITHIC=0
48793 fi
48794
48795 if test $wxUSE_PLUGINS = "yes" ; then
48796 USE_PLUGINS=1
48797 else
48798 USE_PLUGINS=0
48799 fi
48800
48801 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48802 USE_QA=1
48803 else
48804 USE_QA=0
48805 fi
48806
48807 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48808 OFFICIAL_BUILD=1
48809 else
48810 OFFICIAL_BUILD=0
48811 fi
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850 case "$TOOLKIT" in
48851 GTK)
48852 TOOLKIT_DESC="GTK+"
48853 if test "$WXGTK2" = 1; then
48854 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48855 if test "$wxUSE_GTKPRINT" = "yes" ; then
48856 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48857 fi
48858 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48859 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48860 fi
48861 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48862 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48863 fi
48864 if test "$wxUSE_LIBHILDON" = "yes"; then
48865 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48866 fi
48867 if test "$wxUSE_LIBHILDON2" = "yes"; then
48868 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48869 fi
48870
48871 if test "$TOOLKIT_EXTRA" != ""; then
48872 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48873 fi
48874 fi
48875 ;;
48876
48877 ?*)
48878 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48879 ;;
48880
48881 *)
48882 TOOLKIT_DESC="base only"
48883 ;;
48884 esac
48885
48886 if test "$wxUSE_WINE" = "yes"; then
48887 BAKEFILE_FORCE_PLATFORM=win32
48888 fi
48889
48890 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48891 then
48892 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48893 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48894 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48895 echo $ECHO_N "(cached) $ECHO_C" >&6
48896 else
48897
48898 echo '#include <stdio.h>
48899 const wchar_t test_var[] = L"awidetest";' > conftest.h
48900
48901 echo '#include "conftest.h"
48902 int main()
48903 {
48904 printf("%ls", test_var);
48905 return 0;
48906 }' > conftest.cpp
48907
48908 wx_cv_gcc_pch_bug="pch not supported"
48909
48910 if $CXX conftest.h >/dev/null 2>&1
48911 then
48912 wx_cv_gcc_pch_bug=
48913
48914 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48915 then
48916 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48917 grep awidetest >/dev/null
48918 then
48919 wx_cv_gcc_pch_bug=no
48920 else
48921 wx_cv_gcc_pch_bug=yes
48922 fi
48923 fi
48924 fi
48925
48926 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48927
48928 fi
48929 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48930 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48931
48932 if test "$wx_cv_gcc_pch_bug" = yes; then
48933 bk_use_pch=no
48934 fi
48935 fi
48936
48937
48938
48939
48940
48941
48942
48943 if test "x$BAKEFILE_HOST" = "x"; then
48944 if test "x${host}" = "x" ; then
48945 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48946 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48947 { (exit 1); exit 1; }; }
48948 fi
48949
48950 BAKEFILE_HOST="${host}"
48951 fi
48952
48953 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48954
48955 if test -n "$ac_tool_prefix"; then
48956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48960 if test "${ac_cv_prog_RANLIB+set}" = set; then
48961 echo $ECHO_N "(cached) $ECHO_C" >&6
48962 else
48963 if test -n "$RANLIB"; then
48964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48965 else
48966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48967 for as_dir in $PATH
48968 do
48969 IFS=$as_save_IFS
48970 test -z "$as_dir" && as_dir=.
48971 for ac_exec_ext in '' $ac_executable_extensions; do
48972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48973 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48975 break 2
48976 fi
48977 done
48978 done
48979 IFS=$as_save_IFS
48980
48981 fi
48982 fi
48983 RANLIB=$ac_cv_prog_RANLIB
48984 if test -n "$RANLIB"; then
48985 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48986 echo "${ECHO_T}$RANLIB" >&6; }
48987 else
48988 { echo "$as_me:$LINENO: result: no" >&5
48989 echo "${ECHO_T}no" >&6; }
48990 fi
48991
48992
48993 fi
48994 if test -z "$ac_cv_prog_RANLIB"; then
48995 ac_ct_RANLIB=$RANLIB
48996 # Extract the first word of "ranlib", so it can be a program name with args.
48997 set dummy ranlib; ac_word=$2
48998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49000 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49001 echo $ECHO_N "(cached) $ECHO_C" >&6
49002 else
49003 if test -n "$ac_ct_RANLIB"; then
49004 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49005 else
49006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49007 for as_dir in $PATH
49008 do
49009 IFS=$as_save_IFS
49010 test -z "$as_dir" && as_dir=.
49011 for ac_exec_ext in '' $ac_executable_extensions; do
49012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49013 ac_cv_prog_ac_ct_RANLIB="ranlib"
49014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49015 break 2
49016 fi
49017 done
49018 done
49019 IFS=$as_save_IFS
49020
49021 fi
49022 fi
49023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49024 if test -n "$ac_ct_RANLIB"; then
49025 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49026 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49027 else
49028 { echo "$as_me:$LINENO: result: no" >&5
49029 echo "${ECHO_T}no" >&6; }
49030 fi
49031
49032 if test "x$ac_ct_RANLIB" = x; then
49033 RANLIB=":"
49034 else
49035 case $cross_compiling:$ac_tool_warned in
49036 yes:)
49037 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49038 whose name does not start with the host triplet. If you think this
49039 configuration is useful to you, please write to autoconf@gnu.org." >&5
49040 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49041 whose name does not start with the host triplet. If you think this
49042 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49043 ac_tool_warned=yes ;;
49044 esac
49045 RANLIB=$ac_ct_RANLIB
49046 fi
49047 else
49048 RANLIB="$ac_cv_prog_RANLIB"
49049 fi
49050
49051 # Find a good install program. We prefer a C program (faster),
49052 # so one script is as good as another. But avoid the broken or
49053 # incompatible versions:
49054 # SysV /etc/install, /usr/sbin/install
49055 # SunOS /usr/etc/install
49056 # IRIX /sbin/install
49057 # AIX /bin/install
49058 # AmigaOS /C/install, which installs bootblocks on floppy discs
49059 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49060 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49061 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49062 # OS/2's system install, which has a completely different semantic
49063 # ./install, which can be erroneously created by make from ./install.sh.
49064 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49065 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49066 if test -z "$INSTALL"; then
49067 if test "${ac_cv_path_install+set}" = set; then
49068 echo $ECHO_N "(cached) $ECHO_C" >&6
49069 else
49070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49071 for as_dir in $PATH
49072 do
49073 IFS=$as_save_IFS
49074 test -z "$as_dir" && as_dir=.
49075 # Account for people who put trailing slashes in PATH elements.
49076 case $as_dir/ in
49077 ./ | .// | /cC/* | \
49078 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49079 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49080 /usr/ucb/* ) ;;
49081 *)
49082 # OSF1 and SCO ODT 3.0 have their own names for install.
49083 # Don't use installbsd from OSF since it installs stuff as root
49084 # by default.
49085 for ac_prog in ginstall scoinst install; do
49086 for ac_exec_ext in '' $ac_executable_extensions; do
49087 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49088 if test $ac_prog = install &&
49089 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49090 # AIX install. It has an incompatible calling convention.
49091 :
49092 elif test $ac_prog = install &&
49093 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49094 # program-specific install script used by HP pwplus--don't use.
49095 :
49096 else
49097 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49098 break 3
49099 fi
49100 fi
49101 done
49102 done
49103 ;;
49104 esac
49105 done
49106 IFS=$as_save_IFS
49107
49108
49109 fi
49110 if test "${ac_cv_path_install+set}" = set; then
49111 INSTALL=$ac_cv_path_install
49112 else
49113 # As a last resort, use the slow shell script. Don't cache a
49114 # value for INSTALL within a source directory, because that will
49115 # break other packages using the cache if that directory is
49116 # removed, or if the value is a relative name.
49117 INSTALL=$ac_install_sh
49118 fi
49119 fi
49120 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49121 echo "${ECHO_T}$INSTALL" >&6; }
49122
49123 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49124 # It thinks the first close brace ends the variable substitution.
49125 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49126
49127 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49128
49129 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49130
49131 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49132 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49133 LN_S=$as_ln_s
49134 if test "$LN_S" = "ln -s"; then
49135 { echo "$as_me:$LINENO: result: yes" >&5
49136 echo "${ECHO_T}yes" >&6; }
49137 else
49138 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49139 echo "${ECHO_T}no, using $LN_S" >&6; }
49140 fi
49141
49142
49143 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49144 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49145 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49146 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49147 echo $ECHO_N "(cached) $ECHO_C" >&6
49148 else
49149 cat >conftest.make <<\_ACEOF
49150 SHELL = /bin/sh
49151 all:
49152 @echo '@@@%%%=$(MAKE)=@@@%%%'
49153 _ACEOF
49154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49155 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49156 *@@@%%%=?*=@@@%%%*)
49157 eval ac_cv_prog_make_${ac_make}_set=yes;;
49158 *)
49159 eval ac_cv_prog_make_${ac_make}_set=no;;
49160 esac
49161 rm -f conftest.make
49162 fi
49163 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49164 { echo "$as_me:$LINENO: result: yes" >&5
49165 echo "${ECHO_T}yes" >&6; }
49166 SET_MAKE=
49167 else
49168 { echo "$as_me:$LINENO: result: no" >&5
49169 echo "${ECHO_T}no" >&6; }
49170 SET_MAKE="MAKE=${MAKE-make}"
49171 fi
49172
49173
49174
49175 if test "x$SUNCXX" = "xyes"; then
49176 AR=$CXX
49177 AROPTIONS="-xar -o"
49178
49179 elif test "x$SGICC" = "xyes"; then
49180 AR=$CXX
49181 AROPTIONS="-ar -o"
49182
49183 else
49184 if test -n "$ac_tool_prefix"; then
49185 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49186 set dummy ${ac_tool_prefix}ar; ac_word=$2
49187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49189 if test "${ac_cv_prog_AR+set}" = set; then
49190 echo $ECHO_N "(cached) $ECHO_C" >&6
49191 else
49192 if test -n "$AR"; then
49193 ac_cv_prog_AR="$AR" # Let the user override the test.
49194 else
49195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49196 for as_dir in $PATH
49197 do
49198 IFS=$as_save_IFS
49199 test -z "$as_dir" && as_dir=.
49200 for ac_exec_ext in '' $ac_executable_extensions; do
49201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49202 ac_cv_prog_AR="${ac_tool_prefix}ar"
49203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49204 break 2
49205 fi
49206 done
49207 done
49208 IFS=$as_save_IFS
49209
49210 fi
49211 fi
49212 AR=$ac_cv_prog_AR
49213 if test -n "$AR"; then
49214 { echo "$as_me:$LINENO: result: $AR" >&5
49215 echo "${ECHO_T}$AR" >&6; }
49216 else
49217 { echo "$as_me:$LINENO: result: no" >&5
49218 echo "${ECHO_T}no" >&6; }
49219 fi
49220
49221
49222 fi
49223 if test -z "$ac_cv_prog_AR"; then
49224 ac_ct_AR=$AR
49225 # Extract the first word of "ar", so it can be a program name with args.
49226 set dummy ar; ac_word=$2
49227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49229 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49230 echo $ECHO_N "(cached) $ECHO_C" >&6
49231 else
49232 if test -n "$ac_ct_AR"; then
49233 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49234 else
49235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49236 for as_dir in $PATH
49237 do
49238 IFS=$as_save_IFS
49239 test -z "$as_dir" && as_dir=.
49240 for ac_exec_ext in '' $ac_executable_extensions; do
49241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49242 ac_cv_prog_ac_ct_AR="ar"
49243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49244 break 2
49245 fi
49246 done
49247 done
49248 IFS=$as_save_IFS
49249
49250 fi
49251 fi
49252 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49253 if test -n "$ac_ct_AR"; then
49254 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49255 echo "${ECHO_T}$ac_ct_AR" >&6; }
49256 else
49257 { echo "$as_me:$LINENO: result: no" >&5
49258 echo "${ECHO_T}no" >&6; }
49259 fi
49260
49261 if test "x$ac_ct_AR" = x; then
49262 AR="ar"
49263 else
49264 case $cross_compiling:$ac_tool_warned in
49265 yes:)
49266 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49267 whose name does not start with the host triplet. If you think this
49268 configuration is useful to you, please write to autoconf@gnu.org." >&5
49269 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49270 whose name does not start with the host triplet. If you think this
49271 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49272 ac_tool_warned=yes ;;
49273 esac
49274 AR=$ac_ct_AR
49275 fi
49276 else
49277 AR="$ac_cv_prog_AR"
49278 fi
49279
49280 AROPTIONS=rcu
49281 fi
49282
49283
49284 if test -n "$ac_tool_prefix"; then
49285 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49286 set dummy ${ac_tool_prefix}strip; ac_word=$2
49287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49289 if test "${ac_cv_prog_STRIP+set}" = set; then
49290 echo $ECHO_N "(cached) $ECHO_C" >&6
49291 else
49292 if test -n "$STRIP"; then
49293 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49294 else
49295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49296 for as_dir in $PATH
49297 do
49298 IFS=$as_save_IFS
49299 test -z "$as_dir" && as_dir=.
49300 for ac_exec_ext in '' $ac_executable_extensions; do
49301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49302 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49304 break 2
49305 fi
49306 done
49307 done
49308 IFS=$as_save_IFS
49309
49310 fi
49311 fi
49312 STRIP=$ac_cv_prog_STRIP
49313 if test -n "$STRIP"; then
49314 { echo "$as_me:$LINENO: result: $STRIP" >&5
49315 echo "${ECHO_T}$STRIP" >&6; }
49316 else
49317 { echo "$as_me:$LINENO: result: no" >&5
49318 echo "${ECHO_T}no" >&6; }
49319 fi
49320
49321
49322 fi
49323 if test -z "$ac_cv_prog_STRIP"; then
49324 ac_ct_STRIP=$STRIP
49325 # Extract the first word of "strip", so it can be a program name with args.
49326 set dummy strip; ac_word=$2
49327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49329 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49330 echo $ECHO_N "(cached) $ECHO_C" >&6
49331 else
49332 if test -n "$ac_ct_STRIP"; then
49333 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49334 else
49335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49336 for as_dir in $PATH
49337 do
49338 IFS=$as_save_IFS
49339 test -z "$as_dir" && as_dir=.
49340 for ac_exec_ext in '' $ac_executable_extensions; do
49341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49342 ac_cv_prog_ac_ct_STRIP="strip"
49343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49344 break 2
49345 fi
49346 done
49347 done
49348 IFS=$as_save_IFS
49349
49350 fi
49351 fi
49352 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49353 if test -n "$ac_ct_STRIP"; then
49354 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49355 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49356 else
49357 { echo "$as_me:$LINENO: result: no" >&5
49358 echo "${ECHO_T}no" >&6; }
49359 fi
49360
49361 if test "x$ac_ct_STRIP" = x; then
49362 STRIP=":"
49363 else
49364 case $cross_compiling:$ac_tool_warned in
49365 yes:)
49366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49367 whose name does not start with the host triplet. If you think this
49368 configuration is useful to you, please write to autoconf@gnu.org." >&5
49369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49370 whose name does not start with the host triplet. If you think this
49371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49372 ac_tool_warned=yes ;;
49373 esac
49374 STRIP=$ac_ct_STRIP
49375 fi
49376 else
49377 STRIP="$ac_cv_prog_STRIP"
49378 fi
49379
49380 if test -n "$ac_tool_prefix"; then
49381 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49382 set dummy ${ac_tool_prefix}nm; ac_word=$2
49383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49385 if test "${ac_cv_prog_NM+set}" = set; then
49386 echo $ECHO_N "(cached) $ECHO_C" >&6
49387 else
49388 if test -n "$NM"; then
49389 ac_cv_prog_NM="$NM" # Let the user override the test.
49390 else
49391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49392 for as_dir in $PATH
49393 do
49394 IFS=$as_save_IFS
49395 test -z "$as_dir" && as_dir=.
49396 for ac_exec_ext in '' $ac_executable_extensions; do
49397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49398 ac_cv_prog_NM="${ac_tool_prefix}nm"
49399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49400 break 2
49401 fi
49402 done
49403 done
49404 IFS=$as_save_IFS
49405
49406 fi
49407 fi
49408 NM=$ac_cv_prog_NM
49409 if test -n "$NM"; then
49410 { echo "$as_me:$LINENO: result: $NM" >&5
49411 echo "${ECHO_T}$NM" >&6; }
49412 else
49413 { echo "$as_me:$LINENO: result: no" >&5
49414 echo "${ECHO_T}no" >&6; }
49415 fi
49416
49417
49418 fi
49419 if test -z "$ac_cv_prog_NM"; then
49420 ac_ct_NM=$NM
49421 # Extract the first word of "nm", so it can be a program name with args.
49422 set dummy nm; ac_word=$2
49423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49425 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49426 echo $ECHO_N "(cached) $ECHO_C" >&6
49427 else
49428 if test -n "$ac_ct_NM"; then
49429 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49430 else
49431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49432 for as_dir in $PATH
49433 do
49434 IFS=$as_save_IFS
49435 test -z "$as_dir" && as_dir=.
49436 for ac_exec_ext in '' $ac_executable_extensions; do
49437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49438 ac_cv_prog_ac_ct_NM="nm"
49439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49440 break 2
49441 fi
49442 done
49443 done
49444 IFS=$as_save_IFS
49445
49446 fi
49447 fi
49448 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49449 if test -n "$ac_ct_NM"; then
49450 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49451 echo "${ECHO_T}$ac_ct_NM" >&6; }
49452 else
49453 { echo "$as_me:$LINENO: result: no" >&5
49454 echo "${ECHO_T}no" >&6; }
49455 fi
49456
49457 if test "x$ac_ct_NM" = x; then
49458 NM=":"
49459 else
49460 case $cross_compiling:$ac_tool_warned in
49461 yes:)
49462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49463 whose name does not start with the host triplet. If you think this
49464 configuration is useful to you, please write to autoconf@gnu.org." >&5
49465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49466 whose name does not start with the host triplet. If you think this
49467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49468 ac_tool_warned=yes ;;
49469 esac
49470 NM=$ac_ct_NM
49471 fi
49472 else
49473 NM="$ac_cv_prog_NM"
49474 fi
49475
49476
49477 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49478 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49479 INSTALL_TEST_DIR=acbftest$$
49480 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49481 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49482 rmdir $INSTALL_TEST_DIR
49483 INSTALL_DIR='$(INSTALL) -d'
49484 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49485 echo "${ECHO_T}$INSTALL -d" >&6; }
49486 else
49487 INSTALL_DIR="mkdir -p"
49488 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49489 echo "${ECHO_T}mkdir -p" >&6; }
49490 fi
49491
49492
49493 LDFLAGS_GUI=
49494 case ${BAKEFILE_HOST} in
49495 *-*-cygwin* | *-*-mingw32* )
49496 LDFLAGS_GUI="-mwindows"
49497 esac
49498
49499
49500 fi
49501
49502 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49503 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49504 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49505 echo $ECHO_N "(cached) $ECHO_C" >&6
49506 else
49507
49508 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49509 egrep -s GNU > /dev/null); then
49510 bakefile_cv_prog_makeisgnu="yes"
49511 else
49512 bakefile_cv_prog_makeisgnu="no"
49513 fi
49514
49515 fi
49516 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49517 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49518
49519 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49520 IF_GNU_MAKE=""
49521 else
49522 IF_GNU_MAKE="#"
49523 fi
49524
49525
49526
49527 PLATFORM_UNIX=0
49528 PLATFORM_WIN32=0
49529 PLATFORM_MSDOS=0
49530 PLATFORM_MAC=0
49531 PLATFORM_MACOS=0
49532 PLATFORM_MACOSX=0
49533 PLATFORM_OS2=0
49534 PLATFORM_BEOS=0
49535
49536 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49537 case "${BAKEFILE_HOST}" in
49538 *-*-mingw32* )
49539 PLATFORM_WIN32=1
49540 ;;
49541 *-pc-msdosdjgpp )
49542 PLATFORM_MSDOS=1
49543 ;;
49544 *-pc-os2_emx | *-pc-os2-emx )
49545 PLATFORM_OS2=1
49546 ;;
49547 *-*-darwin* )
49548 PLATFORM_MAC=1
49549 PLATFORM_MACOSX=1
49550 ;;
49551 *-*-beos* )
49552 PLATFORM_BEOS=1
49553 ;;
49554 powerpc-apple-macos* )
49555 PLATFORM_MAC=1
49556 PLATFORM_MACOS=1
49557 ;;
49558 * )
49559 PLATFORM_UNIX=1
49560 ;;
49561 esac
49562 else
49563 case "$BAKEFILE_FORCE_PLATFORM" in
49564 win32 )
49565 PLATFORM_WIN32=1
49566 ;;
49567 msdos )
49568 PLATFORM_MSDOS=1
49569 ;;
49570 os2 )
49571 PLATFORM_OS2=1
49572 ;;
49573 darwin )
49574 PLATFORM_MAC=1
49575 PLATFORM_MACOSX=1
49576 ;;
49577 unix )
49578 PLATFORM_UNIX=1
49579 ;;
49580 beos )
49581 PLATFORM_BEOS=1
49582 ;;
49583 * )
49584 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49585 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49586 { (exit 1); exit 1; }; }
49587 ;;
49588 esac
49589 fi
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601 # Check whether --enable-omf was given.
49602 if test "${enable_omf+set}" = set; then
49603 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49604 fi
49605
49606
49607 case "${BAKEFILE_HOST}" in
49608 *-*-darwin* )
49609 if test "x$GCC" = "xyes"; then
49610 CFLAGS="$CFLAGS -fno-common"
49611 CXXFLAGS="$CXXFLAGS -fno-common"
49612 fi
49613 if test "x$XLCC" = "xyes"; then
49614 CFLAGS="$CFLAGS -qnocommon"
49615 CXXFLAGS="$CXXFLAGS -qnocommon"
49616 fi
49617 ;;
49618
49619 *-pc-os2_emx | *-pc-os2-emx )
49620 if test "x$bk_os2_use_omf" = "xyes" ; then
49621 AR=emxomfar
49622 RANLIB=:
49623 LDFLAGS="-Zomf $LDFLAGS"
49624 CFLAGS="-Zomf $CFLAGS"
49625 CXXFLAGS="-Zomf $CXXFLAGS"
49626 OS2_LIBEXT="lib"
49627 else
49628 OS2_LIBEXT="a"
49629 fi
49630 ;;
49631
49632 i*86-*-beos* )
49633 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49634 ;;
49635 esac
49636
49637
49638 SO_SUFFIX="so"
49639 SO_SUFFIX_MODULE="so"
49640 EXEEXT=""
49641 LIBPREFIX="lib"
49642 LIBEXT=".a"
49643 DLLPREFIX="lib"
49644 DLLPREFIX_MODULE=""
49645 DLLIMP_SUFFIX=""
49646 dlldir="$libdir"
49647
49648 case "${BAKEFILE_HOST}" in
49649 ia64-hp-hpux* )
49650 ;;
49651 *-hp-hpux* )
49652 SO_SUFFIX="sl"
49653 SO_SUFFIX_MODULE="sl"
49654 ;;
49655 *-*-aix* )
49656 SO_SUFFIX="a"
49657 SO_SUFFIX_MODULE="a"
49658 ;;
49659 *-*-cygwin* )
49660 SO_SUFFIX="dll"
49661 SO_SUFFIX_MODULE="dll"
49662 DLLIMP_SUFFIX="dll.a"
49663 EXEEXT=".exe"
49664 DLLPREFIX="cyg"
49665 dlldir="$bindir"
49666 ;;
49667 *-*-mingw32* )
49668 SO_SUFFIX="dll"
49669 SO_SUFFIX_MODULE="dll"
49670 DLLIMP_SUFFIX="dll.a"
49671 EXEEXT=".exe"
49672 DLLPREFIX=""
49673 dlldir="$bindir"
49674 ;;
49675 *-pc-msdosdjgpp )
49676 EXEEXT=".exe"
49677 DLLPREFIX=""
49678 dlldir="$bindir"
49679 ;;
49680 *-pc-os2_emx | *-pc-os2-emx )
49681 SO_SUFFIX="dll"
49682 SO_SUFFIX_MODULE="dll"
49683 DLLIMP_SUFFIX=$OS2_LIBEXT
49684 EXEEXT=".exe"
49685 DLLPREFIX=""
49686 LIBPREFIX=""
49687 LIBEXT=".$OS2_LIBEXT"
49688 dlldir="$bindir"
49689 ;;
49690 *-*-darwin* )
49691 SO_SUFFIX="dylib"
49692 SO_SUFFIX_MODULE="bundle"
49693 ;;
49694 esac
49695
49696 if test "x$DLLIMP_SUFFIX" = "x" ; then
49697 DLLIMP_SUFFIX="$SO_SUFFIX"
49698 fi
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711 PIC_FLAG=""
49712 if test "x$GCC" = "xyes"; then
49713 PIC_FLAG="-fPIC"
49714 fi
49715
49716 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49717 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49718 WINDOWS_IMPLIB=0
49719
49720 case "${BAKEFILE_HOST}" in
49721 *-hp-hpux* )
49722 if test "x$GCC" != "xyes"; then
49723 LDFLAGS="$LDFLAGS -L/usr/lib"
49724
49725 SHARED_LD_CC="${CC} -b -o"
49726 SHARED_LD_CXX="${CXX} -b -o"
49727 PIC_FLAG="+Z"
49728 fi
49729 ;;
49730
49731 *-*-linux* )
49732 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49733 PIC_FLAG="-KPIC"
49734 elif test "x$SUNCXX" = "xyes"; then
49735 SHARED_LD_CC="${CC} -G -o"
49736 SHARED_LD_CXX="${CXX} -G -o"
49737 PIC_FLAG="-KPIC"
49738 fi
49739 ;;
49740
49741 *-*-solaris2* )
49742 if test "x$SUNCXX" = xyes ; then
49743 SHARED_LD_CC="${CC} -G -o"
49744 SHARED_LD_CXX="${CXX} -G -o"
49745 PIC_FLAG="-KPIC"
49746 fi
49747 ;;
49748
49749 *-*-darwin* )
49750
49751 D='$'
49752 cat <<EOF >shared-ld-sh
49753 #!/bin/sh
49754 #-----------------------------------------------------------------------------
49755 #-- Name: distrib/mac/shared-ld-sh
49756 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49757 #-- Author: Gilles Depeyrot
49758 #-- Copyright: (c) 2002 Gilles Depeyrot
49759 #-- Licence: any use permitted
49760 #-----------------------------------------------------------------------------
49761
49762 verbose=0
49763 args=""
49764 objects=""
49765 linking_flag="-dynamiclib"
49766 ldargs="-r -keep_private_externs -nostdlib"
49767
49768 if test "x${D}CXX" = "x"; then
49769 CXX="c++"
49770 fi
49771
49772 while test ${D}# -gt 0; do
49773 case ${D}1 in
49774
49775 -v)
49776 verbose=1
49777 ;;
49778
49779 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49780 # collect these options and values
49781 args="${D}{args} ${D}1 ${D}2"
49782 shift
49783 ;;
49784
49785 -arch|-isysroot)
49786 # collect these options and values
49787 ldargs="${D}{ldargs} ${D}1 ${D}2"
49788 shift
49789 ;;
49790
49791 -s|-Wl,*)
49792 # collect these load args
49793 ldargs="${D}{ldargs} ${D}1"
49794 ;;
49795
49796 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49797 # collect these options
49798 args="${D}{args} ${D}1"
49799 ;;
49800
49801 -dynamiclib|-bundle)
49802 linking_flag="${D}1"
49803 ;;
49804
49805 -*)
49806 echo "shared-ld: unhandled option '${D}1'"
49807 exit 1
49808 ;;
49809
49810 *.o | *.a | *.dylib)
49811 # collect object files
49812 objects="${D}{objects} ${D}1"
49813 ;;
49814
49815 *)
49816 echo "shared-ld: unhandled argument '${D}1'"
49817 exit 1
49818 ;;
49819
49820 esac
49821 shift
49822 done
49823
49824 status=0
49825
49826 #
49827 # Link one module containing all the others
49828 #
49829 if test ${D}{verbose} = 1; then
49830 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49831 fi
49832 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49833 status=${D}?
49834
49835 #
49836 # Link the shared library from the single module created, but only if the
49837 # previous command didn't fail:
49838 #
49839 if test ${D}{status} = 0; then
49840 if test ${D}{verbose} = 1; then
49841 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49842 fi
49843 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49844 status=${D}?
49845 fi
49846
49847 #
49848 # Remove intermediate module
49849 #
49850 rm -f master.${D}${D}.o
49851
49852 exit ${D}status
49853 EOF
49854
49855 chmod +x shared-ld-sh
49856
49857 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49858 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49859
49860
49861 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49862 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49863 if test "${bakefile_cv_gcc31+set}" = set; then
49864 echo $ECHO_N "(cached) $ECHO_C" >&6
49865 else
49866
49867 cat >conftest.$ac_ext <<_ACEOF
49868 /* confdefs.h. */
49869 _ACEOF
49870 cat confdefs.h >>conftest.$ac_ext
49871 cat >>conftest.$ac_ext <<_ACEOF
49872 /* end confdefs.h. */
49873
49874 int
49875 main ()
49876 {
49877
49878 #if (__GNUC__ < 3) || \
49879 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49880 This is old gcc
49881 #endif
49882
49883 ;
49884 return 0;
49885 }
49886 _ACEOF
49887 rm -f conftest.$ac_objext
49888 if { (ac_try="$ac_compile"
49889 case "(($ac_try" in
49890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49891 *) ac_try_echo=$ac_try;;
49892 esac
49893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49894 (eval "$ac_compile") 2>conftest.er1
49895 ac_status=$?
49896 grep -v '^ *+' conftest.er1 >conftest.err
49897 rm -f conftest.er1
49898 cat conftest.err >&5
49899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49900 (exit $ac_status); } && {
49901 test -z "$ac_c_werror_flag" ||
49902 test ! -s conftest.err
49903 } && test -s conftest.$ac_objext; then
49904
49905 bakefile_cv_gcc31=yes
49906
49907 else
49908 echo "$as_me: failed program was:" >&5
49909 sed 's/^/| /' conftest.$ac_ext >&5
49910
49911
49912 bakefile_cv_gcc31=no
49913
49914
49915 fi
49916
49917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49918
49919 fi
49920 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49921 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49922 if test "$bakefile_cv_gcc31" = "no"; then
49923 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49924 SHARED_LD_CXX="$SHARED_LD_CC"
49925 else
49926 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49927 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49928 fi
49929
49930 if test "x$GCC" == "xyes"; then
49931 PIC_FLAG="-dynamic -fPIC"
49932 fi
49933 if test "x$XLCC" = "xyes"; then
49934 PIC_FLAG="-dynamic -DPIC"
49935 fi
49936 ;;
49937
49938 *-*-aix* )
49939 if test "x$GCC" = "xyes"; then
49940 PIC_FLAG=""
49941
49942 case "${BAKEFILE_HOST}" in
49943 *-*-aix5* )
49944 LD_EXPFULL="-Wl,-bexpfull"
49945 ;;
49946 esac
49947
49948 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49949 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49950 else
49951 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49952 set dummy makeC++SharedLib; ac_word=$2
49953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49955 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49956 echo $ECHO_N "(cached) $ECHO_C" >&6
49957 else
49958 if test -n "$AIX_CXX_LD"; then
49959 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49960 else
49961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49962 for as_dir in $PATH
49963 do
49964 IFS=$as_save_IFS
49965 test -z "$as_dir" && as_dir=.
49966 for ac_exec_ext in '' $ac_executable_extensions; do
49967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49968 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49970 break 2
49971 fi
49972 done
49973 done
49974 IFS=$as_save_IFS
49975
49976 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49977 fi
49978 fi
49979 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49980 if test -n "$AIX_CXX_LD"; then
49981 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49982 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49983 else
49984 { echo "$as_me:$LINENO: result: no" >&5
49985 echo "${ECHO_T}no" >&6; }
49986 fi
49987
49988
49989 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49990 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49991 fi
49992 ;;
49993
49994 *-*-beos* )
49995 SHARED_LD_CC="${LD} -nostart -o"
49996 SHARED_LD_CXX="${LD} -nostart -o"
49997 ;;
49998
49999 *-*-irix* )
50000 if test "x$GCC" != "xyes"; then
50001 PIC_FLAG="-KPIC"
50002 fi
50003 ;;
50004
50005 *-*-cygwin* | *-*-mingw32* )
50006 PIC_FLAG=""
50007 SHARED_LD_CC="\$(CC) -shared -o"
50008 SHARED_LD_CXX="\$(CXX) -shared -o"
50009 WINDOWS_IMPLIB=1
50010 ;;
50011
50012 *-pc-os2_emx | *-pc-os2-emx )
50013 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50014 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50015 PIC_FLAG=""
50016
50017 D='$'
50018 cat <<EOF >dllar.sh
50019 #!/bin/sh
50020 #
50021 # dllar - a tool to build both a .dll and an .a file
50022 # from a set of object (.o) files for EMX/OS2.
50023 #
50024 # Written by Andrew Zabolotny, bit@freya.etu.ru
50025 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50026 #
50027 # This script will accept a set of files on the command line.
50028 # All the public symbols from the .o files will be exported into
50029 # a .DEF file, then linker will be run (through gcc) against them to
50030 # build a shared library consisting of all given .o files. All libraries
50031 # (.a) will be first decompressed into component .o files then act as
50032 # described above. You can optionally give a description (-d "description")
50033 # which will be put into .DLL. To see the list of accepted options (as well
50034 # as command-line format) simply run this program without options. The .DLL
50035 # is built to be imported by name (there is no guarantee that new versions
50036 # of the library you build will have same ordinals for same symbols).
50037 #
50038 # dllar is free software; you can redistribute it and/or modify
50039 # it under the terms of the GNU General Public License as published by
50040 # the Free Software Foundation; either version 2, or (at your option)
50041 # any later version.
50042 #
50043 # dllar is distributed in the hope that it will be useful,
50044 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50045 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50046 # GNU General Public License for more details.
50047 #
50048 # You should have received a copy of the GNU General Public License
50049 # along with dllar; see the file COPYING. If not, write to the Free
50050 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50051 # 02111-1307, USA.
50052
50053 # To successfuly run this program you will need:
50054 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50055 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50056 # - gcc
50057 # (used to build the .dll)
50058 # - emxexp
50059 # (used to create .def file from .o files)
50060 # - emximp
50061 # (used to create .a file from .def file)
50062 # - GNU text utilites (cat, sort, uniq)
50063 # used to process emxexp output
50064 # - GNU file utilities (mv, rm)
50065 # - GNU sed
50066 # - lxlite (optional, see flag below)
50067 # (used for general .dll cleanup)
50068 #
50069
50070 flag_USE_LXLITE=1;
50071
50072 #
50073 # helper functions
50074 # basnam, variant of basename, which does _not_ remove the path, _iff_
50075 # second argument (suffix to remove) is given
50076 basnam(){
50077 case ${D}# in
50078 1)
50079 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50080 ;;
50081 2)
50082 echo ${D}1 | sed 's/'${D}2'${D}//'
50083 ;;
50084 *)
50085 echo "error in basnam ${D}*"
50086 exit 8
50087 ;;
50088 esac
50089 }
50090
50091 # Cleanup temporary files and output
50092 CleanUp() {
50093 cd ${D}curDir
50094 for i in ${D}inputFiles ; do
50095 case ${D}i in
50096 *!)
50097 rm -rf \`basnam ${D}i !\`
50098 ;;
50099 *)
50100 ;;
50101 esac
50102 done
50103
50104 # Kill result in case of failure as there is just to many stupid make/nmake
50105 # things out there which doesn't do this.
50106 if [ ${D}# -eq 0 ]; then
50107 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50108 fi
50109 }
50110
50111 # Print usage and exit script with rc=1.
50112 PrintHelp() {
50113 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50114 echo ' [-name-mangler-script script.sh]'
50115 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50116 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50117 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50118 echo ' [*.o] [*.a]'
50119 echo '*> "output_file" should have no extension.'
50120 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50121 echo ' The import library name is derived from this and is set to "name".a,'
50122 echo ' unless overridden by -import'
50123 echo '*> "importlib_name" should have no extension.'
50124 echo ' If it has the .o, or .a extension, it is automatically removed.'
50125 echo ' This name is used as the import library name and may be longer and'
50126 echo ' more descriptive than the DLL name which has to follow the old '
50127 echo ' 8.3 convention of FAT.'
50128 echo '*> "script.sh may be given to override the output_file name by a'
50129 echo ' different name. It is mainly useful if the regular make process'
50130 echo ' of some package does not take into account OS/2 restriction of'
50131 echo ' DLL name lengths. It takes the importlib name as input and is'
50132 echo ' supposed to procude a shorter name as output. The script should'
50133 echo ' expect to get importlib_name without extension and should produce'
50134 echo ' a (max.) 8 letter name without extension.'
50135 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50136 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50137 echo ' These flags will be put at the start of GCC command line.'
50138 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50139 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50140 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50141 echo ' If the last character of a symbol is "*", all symbols beginning'
50142 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50143 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50144 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50145 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50146 echo ' C runtime DLLs.'
50147 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50148 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50149 echo ' unchanged to GCC at the end of command line.'
50150 echo '*> If you create a DLL from a library and you do not specify -o,'
50151 echo ' the basename for DLL and import library will be set to library name,'
50152 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50153 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50154 echo ' library will be renamed into gcc_s.a.'
50155 echo '--------'
50156 echo 'Example:'
50157 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50158 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50159 CleanUp
50160 exit 1
50161 }
50162
50163 # Execute a command.
50164 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50165 # @Uses Whatever CleanUp() uses.
50166 doCommand() {
50167 echo "${D}*"
50168 eval ${D}*
50169 rcCmd=${D}?
50170
50171 if [ ${D}rcCmd -ne 0 ]; then
50172 echo "command failed, exit code="${D}rcCmd
50173 CleanUp
50174 exit ${D}rcCmd
50175 fi
50176 }
50177
50178 # main routine
50179 # setup globals
50180 cmdLine=${D}*
50181 outFile=""
50182 outimpFile=""
50183 inputFiles=""
50184 renameScript=""
50185 description=""
50186 CC=gcc.exe
50187 CFLAGS="-s -Zcrtdll"
50188 EXTRA_CFLAGS=""
50189 EXPORT_BY_ORDINALS=0
50190 exclude_symbols=""
50191 library_flags=""
50192 curDir=\`pwd\`
50193 curDirS=curDir
50194 case ${D}curDirS in
50195 */)
50196 ;;
50197 *)
50198 curDirS=${D}{curDirS}"/"
50199 ;;
50200 esac
50201 # Parse commandline
50202 libsToLink=0
50203 omfLinking=0
50204 while [ ${D}1 ]; do
50205 case ${D}1 in
50206 -ord*)
50207 EXPORT_BY_ORDINALS=1;
50208 ;;
50209 -o*)
50210 shift
50211 outFile=${D}1
50212 ;;
50213 -i*)
50214 shift
50215 outimpFile=${D}1
50216 ;;
50217 -name-mangler-script)
50218 shift
50219 renameScript=${D}1
50220 ;;
50221 -d*)
50222 shift
50223 description=${D}1
50224 ;;
50225 -f*)
50226 shift
50227 CFLAGS=${D}1
50228 ;;
50229 -c*)
50230 shift
50231 CC=${D}1
50232 ;;
50233 -h*)
50234 PrintHelp
50235 ;;
50236 -ex*)
50237 shift
50238 exclude_symbols=${D}{exclude_symbols}${D}1" "
50239 ;;
50240 -libf*)
50241 shift
50242 library_flags=${D}{library_flags}${D}1" "
50243 ;;
50244 -nocrt*)
50245 CFLAGS="-s"
50246 ;;
50247 -nolxl*)
50248 flag_USE_LXLITE=0
50249 ;;
50250 -* | /*)
50251 case ${D}1 in
50252 -L* | -l*)
50253 libsToLink=1
50254 ;;
50255 -Zomf)
50256 omfLinking=1
50257 ;;
50258 *)
50259 ;;
50260 esac
50261 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50262 ;;
50263 *.dll)
50264 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50265 if [ ${D}omfLinking -eq 1 ]; then
50266 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50267 else
50268 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50269 fi
50270 ;;
50271 *)
50272 found=0;
50273 if [ ${D}libsToLink -ne 0 ]; then
50274 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50275 else
50276 for file in ${D}1 ; do
50277 if [ -f ${D}file ]; then
50278 inputFiles="${D}{inputFiles} ${D}file"
50279 found=1
50280 fi
50281 done
50282 if [ ${D}found -eq 0 ]; then
50283 echo "ERROR: No file(s) found: "${D}1
50284 exit 8
50285 fi
50286 fi
50287 ;;
50288 esac
50289 shift
50290 done # iterate cmdline words
50291
50292 #
50293 if [ -z "${D}inputFiles" ]; then
50294 echo "dllar: no input files"
50295 PrintHelp
50296 fi
50297
50298 # Now extract all .o files from .a files
50299 newInputFiles=""
50300 for file in ${D}inputFiles ; do
50301 case ${D}file in
50302 *.a | *.lib)
50303 case ${D}file in
50304 *.a)
50305 suffix=".a"
50306 AR="ar"
50307 ;;
50308 *.lib)
50309 suffix=".lib"
50310 AR="emxomfar"
50311 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50312 ;;
50313 *)
50314 ;;
50315 esac
50316 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50317 mkdir ${D}dirname
50318 if [ ${D}? -ne 0 ]; then
50319 echo "Failed to create subdirectory ./${D}dirname"
50320 CleanUp
50321 exit 8;
50322 fi
50323 # Append '!' to indicate archive
50324 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50325 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50326 cd ${D}curDir
50327 found=0;
50328 for subfile in ${D}dirname/*.o* ; do
50329 if [ -f ${D}subfile ]; then
50330 found=1
50331 if [ -s ${D}subfile ]; then
50332 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50333 newInputFiles="${D}newInputFiles ${D}subfile"
50334 fi
50335 fi
50336 done
50337 if [ ${D}found -eq 0 ]; then
50338 echo "WARNING: there are no files in archive \\'${D}file\\'"
50339 fi
50340 ;;
50341 *)
50342 newInputFiles="${D}{newInputFiles} ${D}file"
50343 ;;
50344 esac
50345 done
50346 inputFiles="${D}newInputFiles"
50347
50348 # Output filename(s).
50349 do_backup=0;
50350 if [ -z ${D}outFile ]; then
50351 do_backup=1;
50352 set outFile ${D}inputFiles; outFile=${D}2
50353 fi
50354
50355 # If it is an archive, remove the '!' and the '_%' suffixes
50356 case ${D}outFile in
50357 *_%!)
50358 outFile=\`basnam ${D}outFile _%!\`
50359 ;;
50360 *)
50361 ;;
50362 esac
50363 case ${D}outFile in
50364 *.dll)
50365 outFile=\`basnam ${D}outFile .dll\`
50366 ;;
50367 *.DLL)
50368 outFile=\`basnam ${D}outFile .DLL\`
50369 ;;
50370 *.o)
50371 outFile=\`basnam ${D}outFile .o\`
50372 ;;
50373 *.obj)
50374 outFile=\`basnam ${D}outFile .obj\`
50375 ;;
50376 *.a)
50377 outFile=\`basnam ${D}outFile .a\`
50378 ;;
50379 *.lib)
50380 outFile=\`basnam ${D}outFile .lib\`
50381 ;;
50382 *)
50383 ;;
50384 esac
50385 case ${D}outimpFile in
50386 *.a)
50387 outimpFile=\`basnam ${D}outimpFile .a\`
50388 ;;
50389 *.lib)
50390 outimpFile=\`basnam ${D}outimpFile .lib\`
50391 ;;
50392 *)
50393 ;;
50394 esac
50395 if [ -z ${D}outimpFile ]; then
50396 outimpFile=${D}outFile
50397 fi
50398 defFile="${D}{outFile}.def"
50399 arcFile="${D}{outimpFile}.a"
50400 arcFile2="${D}{outimpFile}.lib"
50401
50402 #create ${D}dllFile as something matching 8.3 restrictions,
50403 if [ -z ${D}renameScript ] ; then
50404 dllFile="${D}outFile"
50405 else
50406 dllFile=\`${D}renameScript ${D}outimpFile\`
50407 fi
50408
50409 if [ ${D}do_backup -ne 0 ] ; then
50410 if [ -f ${D}arcFile ] ; then
50411 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50412 fi
50413 if [ -f ${D}arcFile2 ] ; then
50414 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50415 fi
50416 fi
50417
50418 # Extract public symbols from all the object files.
50419 tmpdefFile=${D}{defFile}_%
50420 rm -f ${D}tmpdefFile
50421 for file in ${D}inputFiles ; do
50422 case ${D}file in
50423 *!)
50424 ;;
50425 *)
50426 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50427 ;;
50428 esac
50429 done
50430
50431 # Create the def file.
50432 rm -f ${D}defFile
50433 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50434 dllFile="${D}{dllFile}.dll"
50435 if [ ! -z ${D}description ]; then
50436 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50437 fi
50438 echo "EXPORTS" >> ${D}defFile
50439
50440 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50441 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50442
50443 # Checks if the export is ok or not.
50444 for word in ${D}exclude_symbols; do
50445 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50446 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50447 done
50448
50449
50450 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50451 sed "=" < ${D}tmpdefFile | \\
50452 sed '
50453 N
50454 : loop
50455 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50456 t loop
50457 ' > ${D}{tmpdefFile}%
50458 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50459 else
50460 rm -f ${D}{tmpdefFile}%
50461 fi
50462 cat ${D}tmpdefFile >> ${D}defFile
50463 rm -f ${D}tmpdefFile
50464
50465 # Do linking, create implib, and apply lxlite.
50466 gccCmdl="";
50467 for file in ${D}inputFiles ; do
50468 case ${D}file in
50469 *!)
50470 ;;
50471 *)
50472 gccCmdl="${D}gccCmdl ${D}file"
50473 ;;
50474 esac
50475 done
50476 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50477 touch "${D}{outFile}.dll"
50478
50479 doCommand "emximp -o ${D}arcFile ${D}defFile"
50480 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50481 add_flags="";
50482 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50483 add_flags="-ynd"
50484 fi
50485 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50486 fi
50487 doCommand "emxomf -s -l ${D}arcFile"
50488
50489 # Successful exit.
50490 CleanUp 1
50491 exit 0
50492 EOF
50493
50494 chmod +x dllar.sh
50495 ;;
50496
50497 powerpc-apple-macos* | \
50498 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50499 *-*-mirbsd* | \
50500 *-*-sunos4* | \
50501 *-*-osf* | \
50502 *-*-dgux5* | \
50503 *-*-sysv5* | \
50504 *-pc-msdosdjgpp )
50505 ;;
50506
50507 *)
50508 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50509 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50510 { (exit 1); exit 1; }; }
50511 esac
50512
50513 if test "x$PIC_FLAG" != "x" ; then
50514 PIC_FLAG="$PIC_FLAG -DPIC"
50515 fi
50516
50517 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50518 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50519 fi
50520 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50521 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50522 fi
50523
50524
50525
50526
50527
50528
50529
50530
50531
50532 USE_SOVERSION=0
50533 USE_SOVERLINUX=0
50534 USE_SOVERSOLARIS=0
50535 USE_SOVERCYGWIN=0
50536 USE_SOTWOSYMLINKS=0
50537 USE_MACVERSION=0
50538 SONAME_FLAG=
50539
50540 case "${BAKEFILE_HOST}" in
50541 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50542 *-*-k*bsd*-gnu | *-*-mirbsd* )
50543 if test "x$SUNCXX" = "xyes"; then
50544 SONAME_FLAG="-h "
50545 else
50546 SONAME_FLAG="-Wl,-soname,"
50547 fi
50548 USE_SOVERSION=1
50549 USE_SOVERLINUX=1
50550 USE_SOTWOSYMLINKS=1
50551 ;;
50552
50553 *-*-solaris2* )
50554 SONAME_FLAG="-h "
50555 USE_SOVERSION=1
50556 USE_SOVERSOLARIS=1
50557 ;;
50558
50559 *-*-darwin* )
50560 USE_MACVERSION=1
50561 USE_SOVERSION=1
50562 USE_SOTWOSYMLINKS=1
50563 ;;
50564
50565 *-*-cygwin* )
50566 USE_SOVERSION=1
50567 USE_SOVERCYGWIN=1
50568 ;;
50569 esac
50570
50571
50572
50573
50574
50575
50576
50577
50578
50579
50580 # Check whether --enable-dependency-tracking was given.
50581 if test "${enable_dependency_tracking+set}" = set; then
50582 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50583 fi
50584
50585
50586 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50587 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50588
50589 BK_DEPS=""
50590 if test "x$bk_use_trackdeps" = "xno" ; then
50591 DEPS_TRACKING=0
50592 { echo "$as_me:$LINENO: result: disabled" >&5
50593 echo "${ECHO_T}disabled" >&6; }
50594 else
50595 DEPS_TRACKING=1
50596
50597 if test "x$GCC" = "xyes"; then
50598 DEPSMODE=gcc
50599 case "${BAKEFILE_HOST}" in
50600 *-*-darwin* )
50601 DEPSFLAG="-no-cpp-precomp -MMD"
50602 ;;
50603 * )
50604 DEPSFLAG="-MMD"
50605 ;;
50606 esac
50607 { echo "$as_me:$LINENO: result: gcc" >&5
50608 echo "${ECHO_T}gcc" >&6; }
50609 elif test "x$MWCC" = "xyes"; then
50610 DEPSMODE=mwcc
50611 DEPSFLAG="-MM"
50612 { echo "$as_me:$LINENO: result: mwcc" >&5
50613 echo "${ECHO_T}mwcc" >&6; }
50614 elif test "x$SUNCC" = "xyes"; then
50615 DEPSMODE=unixcc
50616 DEPSFLAG="-xM1"
50617 { echo "$as_me:$LINENO: result: Sun cc" >&5
50618 echo "${ECHO_T}Sun cc" >&6; }
50619 elif test "x$SGICC" = "xyes"; then
50620 DEPSMODE=unixcc
50621 DEPSFLAG="-M"
50622 { echo "$as_me:$LINENO: result: SGI cc" >&5
50623 echo "${ECHO_T}SGI cc" >&6; }
50624 elif test "x$HPCC" = "xyes"; then
50625 DEPSMODE=unixcc
50626 DEPSFLAG="+make"
50627 { echo "$as_me:$LINENO: result: HP cc" >&5
50628 echo "${ECHO_T}HP cc" >&6; }
50629 elif test "x$COMPAQCC" = "xyes"; then
50630 DEPSMODE=gcc
50631 DEPSFLAG="-MD"
50632 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50633 echo "${ECHO_T}Compaq cc" >&6; }
50634 else
50635 DEPS_TRACKING=0
50636 { echo "$as_me:$LINENO: result: none" >&5
50637 echo "${ECHO_T}none" >&6; }
50638 fi
50639
50640 if test $DEPS_TRACKING = 1 ; then
50641
50642 D='$'
50643 cat <<EOF >bk-deps
50644 #!/bin/sh
50645
50646 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50647 # script. It is used to track C/C++ files dependencies in portable way.
50648 #
50649 # Permission is given to use this file in any way.
50650
50651 DEPSMODE=${DEPSMODE}
50652 DEPSFLAG="${DEPSFLAG}"
50653 DEPSDIRBASE=.deps
50654
50655 if test ${D}DEPSMODE = gcc ; then
50656 ${D}* ${D}{DEPSFLAG}
50657 status=${D}?
50658
50659 # determine location of created files:
50660 while test ${D}# -gt 0; do
50661 case "${D}1" in
50662 -o )
50663 shift
50664 objfile=${D}1
50665 ;;
50666 -* )
50667 ;;
50668 * )
50669 srcfile=${D}1
50670 ;;
50671 esac
50672 shift
50673 done
50674 objfilebase=\`basename ${D}objfile\`
50675 builddir=\`dirname ${D}objfile\`
50676 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50677 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50678 depsdir=${D}builddir/${D}DEPSDIRBASE
50679 mkdir -p ${D}depsdir
50680
50681 # if the compiler failed, we're done:
50682 if test ${D}{status} != 0 ; then
50683 rm -f ${D}depfile
50684 exit ${D}{status}
50685 fi
50686
50687 # move created file to the location we want it in:
50688 if test -f ${D}depfile ; then
50689 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50690 rm -f ${D}depfile
50691 else
50692 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50693 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50694 if test ! -f ${D}depfile ; then
50695 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50696 depfile="${D}objfile.d"
50697 fi
50698 if test -f ${D}depfile ; then
50699 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50700 rm -f ${D}depfile
50701 fi
50702 fi
50703 exit 0
50704
50705 elif test ${D}DEPSMODE = mwcc ; then
50706 ${D}* || exit ${D}?
50707 # Run mwcc again with -MM and redirect into the dep file we want
50708 # NOTE: We can't use shift here because we need ${D}* to be valid
50709 prevarg=
50710 for arg in ${D}* ; do
50711 if test "${D}prevarg" = "-o"; then
50712 objfile=${D}arg
50713 else
50714 case "${D}arg" in
50715 -* )
50716 ;;
50717 * )
50718 srcfile=${D}arg
50719 ;;
50720 esac
50721 fi
50722 prevarg="${D}arg"
50723 done
50724
50725 objfilebase=\`basename ${D}objfile\`
50726 builddir=\`dirname ${D}objfile\`
50727 depsdir=${D}builddir/${D}DEPSDIRBASE
50728 mkdir -p ${D}depsdir
50729
50730 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50731 exit 0
50732
50733 elif test ${D}DEPSMODE = unixcc; then
50734 ${D}* || exit ${D}?
50735 # Run compiler again with deps flag and redirect into the dep file.
50736 # It doesn't work if the '-o FILE' option is used, but without it the
50737 # dependency file will contain the wrong name for the object. So it is
50738 # removed from the command line, and the dep file is fixed with sed.
50739 cmd=""
50740 while test ${D}# -gt 0; do
50741 case "${D}1" in
50742 -o )
50743 shift
50744 objfile=${D}1
50745 ;;
50746 * )
50747 eval arg${D}#=\\${D}1
50748 cmd="${D}cmd \\${D}arg${D}#"
50749 ;;
50750 esac
50751 shift
50752 done
50753
50754 objfilebase=\`basename ${D}objfile\`
50755 builddir=\`dirname ${D}objfile\`
50756 depsdir=${D}builddir/${D}DEPSDIRBASE
50757 mkdir -p ${D}depsdir
50758
50759 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50760 exit 0
50761
50762 else
50763 ${D}*
50764 exit ${D}?
50765 fi
50766 EOF
50767
50768 chmod +x bk-deps
50769 BK_DEPS="`pwd`/bk-deps"
50770 fi
50771 fi
50772
50773
50774
50775
50776
50777 case ${BAKEFILE_HOST} in
50778 *-*-cygwin* | *-*-mingw32* )
50779 if test -n "$ac_tool_prefix"; then
50780 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50781 set dummy ${ac_tool_prefix}windres; ac_word=$2
50782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50784 if test "${ac_cv_prog_WINDRES+set}" = set; then
50785 echo $ECHO_N "(cached) $ECHO_C" >&6
50786 else
50787 if test -n "$WINDRES"; then
50788 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50789 else
50790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50791 for as_dir in $PATH
50792 do
50793 IFS=$as_save_IFS
50794 test -z "$as_dir" && as_dir=.
50795 for ac_exec_ext in '' $ac_executable_extensions; do
50796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50797 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50799 break 2
50800 fi
50801 done
50802 done
50803 IFS=$as_save_IFS
50804
50805 fi
50806 fi
50807 WINDRES=$ac_cv_prog_WINDRES
50808 if test -n "$WINDRES"; then
50809 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50810 echo "${ECHO_T}$WINDRES" >&6; }
50811 else
50812 { echo "$as_me:$LINENO: result: no" >&5
50813 echo "${ECHO_T}no" >&6; }
50814 fi
50815
50816
50817 fi
50818 if test -z "$ac_cv_prog_WINDRES"; then
50819 ac_ct_WINDRES=$WINDRES
50820 # Extract the first word of "windres", so it can be a program name with args.
50821 set dummy windres; ac_word=$2
50822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50824 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50825 echo $ECHO_N "(cached) $ECHO_C" >&6
50826 else
50827 if test -n "$ac_ct_WINDRES"; then
50828 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50829 else
50830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50831 for as_dir in $PATH
50832 do
50833 IFS=$as_save_IFS
50834 test -z "$as_dir" && as_dir=.
50835 for ac_exec_ext in '' $ac_executable_extensions; do
50836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50837 ac_cv_prog_ac_ct_WINDRES="windres"
50838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50839 break 2
50840 fi
50841 done
50842 done
50843 IFS=$as_save_IFS
50844
50845 fi
50846 fi
50847 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50848 if test -n "$ac_ct_WINDRES"; then
50849 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50850 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50851 else
50852 { echo "$as_me:$LINENO: result: no" >&5
50853 echo "${ECHO_T}no" >&6; }
50854 fi
50855
50856 if test "x$ac_ct_WINDRES" = x; then
50857 WINDRES=""
50858 else
50859 case $cross_compiling:$ac_tool_warned in
50860 yes:)
50861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50862 whose name does not start with the host triplet. If you think this
50863 configuration is useful to you, please write to autoconf@gnu.org." >&5
50864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50865 whose name does not start with the host triplet. If you think this
50866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50867 ac_tool_warned=yes ;;
50868 esac
50869 WINDRES=$ac_ct_WINDRES
50870 fi
50871 else
50872 WINDRES="$ac_cv_prog_WINDRES"
50873 fi
50874
50875 ;;
50876
50877 *-*-darwin* | powerpc-apple-macos* )
50878 # Extract the first word of "Rez", so it can be a program name with args.
50879 set dummy Rez; ac_word=$2
50880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50882 if test "${ac_cv_prog_REZ+set}" = set; then
50883 echo $ECHO_N "(cached) $ECHO_C" >&6
50884 else
50885 if test -n "$REZ"; then
50886 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50887 else
50888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50889 for as_dir in $PATH
50890 do
50891 IFS=$as_save_IFS
50892 test -z "$as_dir" && as_dir=.
50893 for ac_exec_ext in '' $ac_executable_extensions; do
50894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50895 ac_cv_prog_REZ="Rez"
50896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50897 break 2
50898 fi
50899 done
50900 done
50901 IFS=$as_save_IFS
50902
50903 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50904 fi
50905 fi
50906 REZ=$ac_cv_prog_REZ
50907 if test -n "$REZ"; then
50908 { echo "$as_me:$LINENO: result: $REZ" >&5
50909 echo "${ECHO_T}$REZ" >&6; }
50910 else
50911 { echo "$as_me:$LINENO: result: no" >&5
50912 echo "${ECHO_T}no" >&6; }
50913 fi
50914
50915
50916 # Extract the first word of "SetFile", so it can be a program name with args.
50917 set dummy SetFile; ac_word=$2
50918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50920 if test "${ac_cv_prog_SETFILE+set}" = set; then
50921 echo $ECHO_N "(cached) $ECHO_C" >&6
50922 else
50923 if test -n "$SETFILE"; then
50924 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50925 else
50926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50927 for as_dir in $PATH
50928 do
50929 IFS=$as_save_IFS
50930 test -z "$as_dir" && as_dir=.
50931 for ac_exec_ext in '' $ac_executable_extensions; do
50932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50933 ac_cv_prog_SETFILE="SetFile"
50934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50935 break 2
50936 fi
50937 done
50938 done
50939 IFS=$as_save_IFS
50940
50941 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50942 fi
50943 fi
50944 SETFILE=$ac_cv_prog_SETFILE
50945 if test -n "$SETFILE"; then
50946 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50947 echo "${ECHO_T}$SETFILE" >&6; }
50948 else
50949 { echo "$as_me:$LINENO: result: no" >&5
50950 echo "${ECHO_T}no" >&6; }
50951 fi
50952
50953
50954 ;;
50955 esac
50956
50957
50958
50959
50960
50961
50962
50963
50964
50965 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50966
50967
50968 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50969
50970
50971
50972 # Check whether --enable-precomp-headers was given.
50973 if test "${enable_precomp_headers+set}" = set; then
50974 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50975 fi
50976
50977
50978 GCC_PCH=0
50979 ICC_PCH=0
50980 USE_PCH=0
50981 BK_MAKE_PCH=""
50982
50983 case ${BAKEFILE_HOST} in
50984 *-*-cygwin* )
50985 bk_use_pch="no"
50986 ;;
50987 esac
50988
50989 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50990 if test "x$GCC" = "xyes"; then
50991 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50992 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50993 cat >conftest.$ac_ext <<_ACEOF
50994 /* confdefs.h. */
50995 _ACEOF
50996 cat confdefs.h >>conftest.$ac_ext
50997 cat >>conftest.$ac_ext <<_ACEOF
50998 /* end confdefs.h. */
50999
51000 int
51001 main ()
51002 {
51003
51004 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51005 There is no PCH support
51006 #endif
51007 #if (__GNUC__ < 3)
51008 There is no PCH support
51009 #endif
51010 #if (__GNUC__ == 3) && \
51011 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51012 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51013 ( defined(__INTEL_COMPILER) )
51014 There is no PCH support
51015 #endif
51016
51017 ;
51018 return 0;
51019 }
51020 _ACEOF
51021 rm -f conftest.$ac_objext
51022 if { (ac_try="$ac_compile"
51023 case "(($ac_try" in
51024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51025 *) ac_try_echo=$ac_try;;
51026 esac
51027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51028 (eval "$ac_compile") 2>conftest.er1
51029 ac_status=$?
51030 grep -v '^ *+' conftest.er1 >conftest.err
51031 rm -f conftest.er1
51032 cat conftest.err >&5
51033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51034 (exit $ac_status); } && {
51035 test -z "$ac_c_werror_flag" ||
51036 test ! -s conftest.err
51037 } && test -s conftest.$ac_objext; then
51038
51039 { echo "$as_me:$LINENO: result: yes" >&5
51040 echo "${ECHO_T}yes" >&6; }
51041 GCC_PCH=1
51042
51043 else
51044 echo "$as_me: failed program was:" >&5
51045 sed 's/^/| /' conftest.$ac_ext >&5
51046
51047
51048 if test "$INTELCXX8" = "yes"; then
51049 { echo "$as_me:$LINENO: result: yes" >&5
51050 echo "${ECHO_T}yes" >&6; }
51051 ICC_PCH=1
51052 if test "$INTELCXX10" = "yes"; then
51053 ICC_PCH_CREATE_SWITCH="-pch-create"
51054 ICC_PCH_USE_SWITCH="-pch-use"
51055 else
51056 ICC_PCH_CREATE_SWITCH="-create-pch"
51057 ICC_PCH_USE_SWITCH="-use-pch"
51058 fi
51059 else
51060 { echo "$as_me:$LINENO: result: no" >&5
51061 echo "${ECHO_T}no" >&6; }
51062 fi
51063
51064 fi
51065
51066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51067 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51068 USE_PCH=1
51069
51070 D='$'
51071 cat <<EOF >bk-make-pch
51072 #!/bin/sh
51073
51074 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51075 # script. It is used to generated precompiled headers.
51076 #
51077 # Permission is given to use this file in any way.
51078
51079 outfile="${D}{1}"
51080 header="${D}{2}"
51081 shift
51082 shift
51083
51084 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51085
51086 compiler=""
51087 headerfile=""
51088
51089 while test ${D}{#} -gt 0; do
51090 add_to_cmdline=1
51091 case "${D}{1}" in
51092 -I* )
51093 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51094 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51095 headerfile="${D}{incdir}/${D}{header}"
51096 fi
51097 ;;
51098 -use-pch|-use_pch|-pch-use )
51099 shift
51100 add_to_cmdline=0
51101 ;;
51102 esac
51103 if test ${D}add_to_cmdline = 1 ; then
51104 compiler="${D}{compiler} ${D}{1}"
51105 fi
51106 shift
51107 done
51108
51109 if test "x${D}{headerfile}" = "x" ; then
51110 echo "error: can't find header ${D}{header} in include paths" >&2
51111 else
51112 if test -f ${D}{outfile} ; then
51113 rm -f ${D}{outfile}
51114 else
51115 mkdir -p \`dirname ${D}{outfile}\`
51116 fi
51117 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51118 mkdir -p ${D}{builddir}/.deps
51119 if test "x${GCC_PCH}" = "x1" ; then
51120 # can do this because gcc is >= 3.4:
51121 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51122 elif test "x${ICC_PCH}" = "x1" ; then
51123 filename=pch_gen-${D}${D}
51124 file=${D}{filename}.c
51125 dfile=${D}{filename}.d
51126 cat > ${D}file <<EOT
51127 #include "${D}header"
51128 EOT
51129 # using -MF icc complains about differing command lines in creation/use
51130 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51131 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51132 rm -f ${D}file ${D}dfile ${D}{filename}.o
51133 fi
51134 exit ${D}{?}
51135 fi
51136 EOF
51137
51138 chmod +x bk-make-pch
51139 BK_MAKE_PCH="`pwd`/bk-make-pch"
51140 fi
51141 fi
51142 fi
51143
51144
51145
51146
51147
51148
51149
51150 COND_BUILD_DEBUG="#"
51151 if test "x$BUILD" = "xdebug" ; then
51152 COND_BUILD_DEBUG=""
51153 fi
51154
51155 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51156 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51157 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51158 fi
51159
51160 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51161 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51162 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51163 fi
51164
51165 COND_BUILD_DEBUG_UNICODE_0="#"
51166 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51167 COND_BUILD_DEBUG_UNICODE_0=""
51168 fi
51169
51170 COND_BUILD_DEBUG_UNICODE_1="#"
51171 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51172 COND_BUILD_DEBUG_UNICODE_1=""
51173 fi
51174
51175 COND_BUILD_RELEASE="#"
51176 if test "x$BUILD" = "xrelease" ; then
51177 COND_BUILD_RELEASE=""
51178 fi
51179
51180 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51181 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51182 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51183 fi
51184
51185 COND_BUILD_RELEASE_UNICODE_0="#"
51186 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51187 COND_BUILD_RELEASE_UNICODE_0=""
51188 fi
51189
51190 COND_BUILD_RELEASE_UNICODE_1="#"
51191 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51192 COND_BUILD_RELEASE_UNICODE_1=""
51193 fi
51194
51195 COND_BUILD_debug="#"
51196 if test "x$BUILD" = "xdebug" ; then
51197 COND_BUILD_debug=""
51198 fi
51199
51200 COND_BUILD_debug_DEBUG_FLAG_default="#"
51201 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51202 COND_BUILD_debug_DEBUG_FLAG_default=""
51203 fi
51204
51205 COND_BUILD_debug_DEBUG_INFO_default="#"
51206 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51207 COND_BUILD_debug_DEBUG_INFO_default=""
51208 fi
51209
51210 COND_BUILD_debug_UNICODE_0="#"
51211 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51212 COND_BUILD_debug_UNICODE_0=""
51213 fi
51214
51215 COND_BUILD_debug_UNICODE_1="#"
51216 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51217 COND_BUILD_debug_UNICODE_1=""
51218 fi
51219
51220 COND_BUILD_release="#"
51221 if test "x$BUILD" = "xrelease" ; then
51222 COND_BUILD_release=""
51223 fi
51224
51225 COND_BUILD_release_DEBUG_INFO_default="#"
51226 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51227 COND_BUILD_release_DEBUG_INFO_default=""
51228 fi
51229
51230 COND_BUILD_release_UNICODE_0="#"
51231 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51232 COND_BUILD_release_UNICODE_0=""
51233 fi
51234
51235 COND_BUILD_release_UNICODE_1="#"
51236 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51237 COND_BUILD_release_UNICODE_1=""
51238 fi
51239
51240 COND_DEBUG_FLAG_0="#"
51241 if test "x$DEBUG_FLAG" = "x0" ; then
51242 COND_DEBUG_FLAG_0=""
51243 fi
51244
51245 COND_DEBUG_FLAG_1="#"
51246 if test "x$DEBUG_FLAG" = "x1" ; then
51247 COND_DEBUG_FLAG_1=""
51248 fi
51249
51250 COND_DEBUG_INFO_0="#"
51251 if test "x$DEBUG_INFO" = "x0" ; then
51252 COND_DEBUG_INFO_0=""
51253 fi
51254
51255 COND_DEBUG_INFO_1="#"
51256 if test "x$DEBUG_INFO" = "x1" ; then
51257 COND_DEBUG_INFO_1=""
51258 fi
51259
51260 COND_DEPS_TRACKING_0="#"
51261 if test "x$DEPS_TRACKING" = "x0" ; then
51262 COND_DEPS_TRACKING_0=""
51263 fi
51264
51265 COND_DEPS_TRACKING_1="#"
51266 if test "x$DEPS_TRACKING" = "x1" ; then
51267 COND_DEPS_TRACKING_1=""
51268 fi
51269
51270 COND_GCC_PCH_1="#"
51271 if test "x$GCC_PCH" = "x1" ; then
51272 COND_GCC_PCH_1=""
51273 fi
51274
51275 COND_ICC_PCH_1="#"
51276 if test "x$ICC_PCH" = "x1" ; then
51277 COND_ICC_PCH_1=""
51278 fi
51279
51280 COND_MONOLITHIC_0="#"
51281 if test "x$MONOLITHIC" = "x0" ; then
51282 COND_MONOLITHIC_0=""
51283 fi
51284
51285 COND_MONOLITHIC_0_SHARED_0="#"
51286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51287 COND_MONOLITHIC_0_SHARED_0=""
51288 fi
51289
51290 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51292 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51293 fi
51294
51295 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51296 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51297 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51298 fi
51299
51300 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51301 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51302 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51303 fi
51304
51305 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51306 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51307 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51308 fi
51309
51310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51311 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51312 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51313 fi
51314
51315 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51316 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51317 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51318 fi
51319
51320 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51321 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51322 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51323 fi
51324
51325 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51326 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51327 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51328 fi
51329
51330 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51331 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51332 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51333 fi
51334
51335 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51336 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51337 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51338 fi
51339
51340 COND_MONOLITHIC_0_SHARED_1="#"
51341 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51342 COND_MONOLITHIC_0_SHARED_1=""
51343 fi
51344
51345 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51347 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51348 fi
51349
51350 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51352 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51353 fi
51354
51355 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51357 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51358 fi
51359
51360 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51362 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51363 fi
51364
51365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51366 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51367 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51368 fi
51369
51370 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51371 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51372 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51373 fi
51374
51375 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51376 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51377 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51378 fi
51379
51380 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51381 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51382 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51383 fi
51384
51385 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51386 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51387 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51388 fi
51389
51390 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51392 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51393 fi
51394
51395 COND_MONOLITHIC_0_USE_AUI_1="#"
51396 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51397 COND_MONOLITHIC_0_USE_AUI_1=""
51398 fi
51399
51400 COND_MONOLITHIC_0_USE_GUI_1="#"
51401 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51402 COND_MONOLITHIC_0_USE_GUI_1=""
51403 fi
51404
51405 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51406 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51407 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51408 fi
51409
51410 COND_MONOLITHIC_0_USE_HTML_1="#"
51411 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51412 COND_MONOLITHIC_0_USE_HTML_1=""
51413 fi
51414
51415 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51416 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51417 COND_MONOLITHIC_0_USE_MEDIA_1=""
51418 fi
51419
51420 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51421 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51422 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51423 fi
51424
51425 COND_MONOLITHIC_0_USE_QA_1="#"
51426 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51427 COND_MONOLITHIC_0_USE_QA_1=""
51428 fi
51429
51430 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51431 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51432 COND_MONOLITHIC_0_USE_RIBBON_1=""
51433 fi
51434
51435 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51436 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51437 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51438 fi
51439
51440 COND_MONOLITHIC_0_USE_STC_1="#"
51441 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51442 COND_MONOLITHIC_0_USE_STC_1=""
51443 fi
51444
51445 COND_MONOLITHIC_0_USE_XRC_1="#"
51446 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51447 COND_MONOLITHIC_0_USE_XRC_1=""
51448 fi
51449
51450 COND_MONOLITHIC_1="#"
51451 if test "x$MONOLITHIC" = "x1" ; then
51452 COND_MONOLITHIC_1=""
51453 fi
51454
51455 COND_MONOLITHIC_1_SHARED_0="#"
51456 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51457 COND_MONOLITHIC_1_SHARED_0=""
51458 fi
51459
51460 COND_MONOLITHIC_1_SHARED_1="#"
51461 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51462 COND_MONOLITHIC_1_SHARED_1=""
51463 fi
51464
51465 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51466 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51467 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51468 fi
51469
51470 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51471 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51472 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51473 fi
51474
51475 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51476 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51477 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51478 fi
51479
51480 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51481 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51482 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51483 fi
51484
51485 COND_PLATFORM_MACOSX_1="#"
51486 if test "x$PLATFORM_MACOSX" = "x1" ; then
51487 COND_PLATFORM_MACOSX_1=""
51488 fi
51489
51490 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51491 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51492 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51493 fi
51494
51495 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51496 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51497 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51498 fi
51499
51500 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51502 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51503 fi
51504
51505 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51506 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51507 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51508 fi
51509
51510 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51511 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51512 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51513 fi
51514
51515 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51516 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51517 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51518 fi
51519
51520 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51521 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51522 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51523 fi
51524
51525 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51526 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51527 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51528 fi
51529
51530 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51532 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51533 fi
51534
51535 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51536 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51537 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51538 fi
51539
51540 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51541 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51542 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51543 fi
51544
51545 COND_PLATFORM_MACOS_1="#"
51546 if test "x$PLATFORM_MACOS" = "x1" ; then
51547 COND_PLATFORM_MACOS_1=""
51548 fi
51549
51550 COND_PLATFORM_MAC_0="#"
51551 if test "x$PLATFORM_MAC" = "x0" ; then
51552 COND_PLATFORM_MAC_0=""
51553 fi
51554
51555 COND_PLATFORM_MAC_1="#"
51556 if test "x$PLATFORM_MAC" = "x1" ; then
51557 COND_PLATFORM_MAC_1=""
51558 fi
51559
51560 COND_PLATFORM_MSDOS_0="#"
51561 if test "x$PLATFORM_MSDOS" = "x0" ; then
51562 COND_PLATFORM_MSDOS_0=""
51563 fi
51564
51565 COND_PLATFORM_MSDOS_1="#"
51566 if test "x$PLATFORM_MSDOS" = "x1" ; then
51567 COND_PLATFORM_MSDOS_1=""
51568 fi
51569
51570 COND_PLATFORM_OS2_1="#"
51571 if test "x$PLATFORM_OS2" = "x1" ; then
51572 COND_PLATFORM_OS2_1=""
51573 fi
51574
51575 COND_PLATFORM_UNIX_0="#"
51576 if test "x$PLATFORM_UNIX" = "x0" ; then
51577 COND_PLATFORM_UNIX_0=""
51578 fi
51579
51580 COND_PLATFORM_UNIX_1="#"
51581 if test "x$PLATFORM_UNIX" = "x1" ; then
51582 COND_PLATFORM_UNIX_1=""
51583 fi
51584
51585 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51586 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51587 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51588 fi
51589
51590 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51591 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51592 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51593 fi
51594
51595 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51596 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51597 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51598 fi
51599
51600 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51601 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51602 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51603 fi
51604
51605 COND_PLATFORM_WIN32_0="#"
51606 if test "x$PLATFORM_WIN32" = "x0" ; then
51607 COND_PLATFORM_WIN32_0=""
51608 fi
51609
51610 COND_PLATFORM_WIN32_1="#"
51611 if test "x$PLATFORM_WIN32" = "x1" ; then
51612 COND_PLATFORM_WIN32_1=""
51613 fi
51614
51615 COND_PLATFORM_WIN32_1_SHARED_0="#"
51616 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51617 COND_PLATFORM_WIN32_1_SHARED_0=""
51618 fi
51619
51620 COND_SHARED_0="#"
51621 if test "x$SHARED" = "x0" ; then
51622 COND_SHARED_0=""
51623 fi
51624
51625 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51626 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51627 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51628 fi
51629
51630 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51631 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51632 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51633 fi
51634
51635 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51636 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51637 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51638 fi
51639
51640 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51641 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51642 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51643 fi
51644
51645 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51646 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51647 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51648 fi
51649
51650 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51651 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51652 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51653 fi
51654
51655 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51656 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51657 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51658 fi
51659
51660 COND_SHARED_0_USE_STC_1="#"
51661 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51662 COND_SHARED_0_USE_STC_1=""
51663 fi
51664
51665 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51666 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51667 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51668 fi
51669
51670 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51671 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51672 COND_SHARED_0_wxUSE_REGEX_builtin=""
51673 fi
51674
51675 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51676 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51677 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51678 fi
51679
51680 COND_SHARED_1="#"
51681 if test "x$SHARED" = "x1" ; then
51682 COND_SHARED_1=""
51683 fi
51684
51685 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51686 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51687 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51688 fi
51689
51690 COND_TOOLKIT_="#"
51691 if test "x$TOOLKIT" = "x" ; then
51692 COND_TOOLKIT_=""
51693 fi
51694
51695 COND_TOOLKIT_COCOA="#"
51696 if test "x$TOOLKIT" = "xCOCOA" ; then
51697 COND_TOOLKIT_COCOA=""
51698 fi
51699
51700 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51701 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51702 COND_TOOLKIT_COCOA_USE_GUI_1=""
51703 fi
51704
51705 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51706 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51707 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51708 fi
51709
51710 COND_TOOLKIT_DFB="#"
51711 if test "x$TOOLKIT" = "xDFB" ; then
51712 COND_TOOLKIT_DFB=""
51713 fi
51714
51715 COND_TOOLKIT_DFB_USE_GUI_1="#"
51716 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51717 COND_TOOLKIT_DFB_USE_GUI_1=""
51718 fi
51719
51720 COND_TOOLKIT_GTK="#"
51721 if test "x$TOOLKIT" = "xGTK" ; then
51722 COND_TOOLKIT_GTK=""
51723 fi
51724
51725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51726 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51727 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51728 fi
51729
51730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51731 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51733 fi
51734
51735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51736 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51738 fi
51739
51740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51741 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51743 fi
51744
51745 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51746 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51747 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51748 fi
51749
51750 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51751 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51752 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51753 fi
51754
51755 COND_TOOLKIT_GTK_USE_GUI_1="#"
51756 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51757 COND_TOOLKIT_GTK_USE_GUI_1=""
51758 fi
51759
51760 COND_TOOLKIT_MAC="#"
51761 if test "x$TOOLKIT" = "xMAC" ; then
51762 COND_TOOLKIT_MAC=""
51763 fi
51764
51765 COND_TOOLKIT_MGL="#"
51766 if test "x$TOOLKIT" = "xMGL" ; then
51767 COND_TOOLKIT_MGL=""
51768 fi
51769
51770 COND_TOOLKIT_MGL_USE_GUI_1="#"
51771 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51772 COND_TOOLKIT_MGL_USE_GUI_1=""
51773 fi
51774
51775 COND_TOOLKIT_MOTIF="#"
51776 if test "x$TOOLKIT" = "xMOTIF" ; then
51777 COND_TOOLKIT_MOTIF=""
51778 fi
51779
51780 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51781 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51782 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51783 fi
51784
51785 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51786 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51787 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51788 fi
51789
51790 COND_TOOLKIT_MSW="#"
51791 if test "x$TOOLKIT" = "xMSW" ; then
51792 COND_TOOLKIT_MSW=""
51793 fi
51794
51795 COND_TOOLKIT_MSW_USE_GUI_1="#"
51796 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51797 COND_TOOLKIT_MSW_USE_GUI_1=""
51798 fi
51799
51800 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51801 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51802 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51803 fi
51804
51805 COND_TOOLKIT_MSW_WXUNIV_0="#"
51806 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51807 COND_TOOLKIT_MSW_WXUNIV_0=""
51808 fi
51809
51810 COND_TOOLKIT_OSX_CARBON="#"
51811 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51812 COND_TOOLKIT_OSX_CARBON=""
51813 fi
51814
51815 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51816 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51817 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51818 fi
51819
51820 COND_TOOLKIT_OSX_COCOA="#"
51821 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51822 COND_TOOLKIT_OSX_COCOA=""
51823 fi
51824
51825 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51826 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51827 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51828 fi
51829
51830 COND_TOOLKIT_OSX_IPHONE="#"
51831 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51832 COND_TOOLKIT_OSX_IPHONE=""
51833 fi
51834
51835 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51836 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51837 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51838 fi
51839
51840 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51841 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51842 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51843 fi
51844
51845 COND_TOOLKIT_PM="#"
51846 if test "x$TOOLKIT" = "xPM" ; then
51847 COND_TOOLKIT_PM=""
51848 fi
51849
51850 COND_TOOLKIT_PM_USE_GUI_1="#"
51851 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51852 COND_TOOLKIT_PM_USE_GUI_1=""
51853 fi
51854
51855 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51856 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51857 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51858 fi
51859
51860 COND_TOOLKIT_WINCE="#"
51861 if test "x$TOOLKIT" = "xWINCE" ; then
51862 COND_TOOLKIT_WINCE=""
51863 fi
51864
51865 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51866 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51867 COND_TOOLKIT_WINCE_USE_GUI_1=""
51868 fi
51869
51870 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51871 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51872 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51873 fi
51874
51875 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51876 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51877 COND_TOOLKIT_WINCE_WXUNIV_0=""
51878 fi
51879
51880 COND_TOOLKIT_X11="#"
51881 if test "x$TOOLKIT" = "xX11" ; then
51882 COND_TOOLKIT_X11=""
51883 fi
51884
51885 COND_TOOLKIT_X11_USE_GUI_1="#"
51886 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51887 COND_TOOLKIT_X11_USE_GUI_1=""
51888 fi
51889
51890 COND_UNICODE_1="#"
51891 if test "x$UNICODE" = "x1" ; then
51892 COND_UNICODE_1=""
51893 fi
51894
51895 COND_USE_CAIRO_1="#"
51896 if test "x$USE_CAIRO" = "x1" ; then
51897 COND_USE_CAIRO_1=""
51898 fi
51899
51900 COND_USE_EXCEPTIONS_0="#"
51901 if test "x$USE_EXCEPTIONS" = "x0" ; then
51902 COND_USE_EXCEPTIONS_0=""
51903 fi
51904
51905 COND_USE_EXCEPTIONS_1="#"
51906 if test "x$USE_EXCEPTIONS" = "x1" ; then
51907 COND_USE_EXCEPTIONS_1=""
51908 fi
51909
51910 COND_USE_GUI_0="#"
51911 if test "x$USE_GUI" = "x0" ; then
51912 COND_USE_GUI_0=""
51913 fi
51914
51915 COND_USE_GUI_1="#"
51916 if test "x$USE_GUI" = "x1" ; then
51917 COND_USE_GUI_1=""
51918 fi
51919
51920 COND_USE_GUI_1_USE_OPENGL_1="#"
51921 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51922 COND_USE_GUI_1_USE_OPENGL_1=""
51923 fi
51924
51925 COND_USE_GUI_1_WXUNIV_0="#"
51926 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51927 COND_USE_GUI_1_WXUNIV_0=""
51928 fi
51929
51930 COND_USE_GUI_1_WXUNIV_1="#"
51931 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51932 COND_USE_GUI_1_WXUNIV_1=""
51933 fi
51934
51935 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51936 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51937 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51938 fi
51939
51940 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51941 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51942 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51943 fi
51944
51945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51946 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51948 fi
51949
51950 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51951 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51952 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51953 fi
51954
51955 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51956 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51957 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51958 fi
51959
51960 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51961 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51962 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51963 fi
51964
51965 COND_USE_OPENGL_1="#"
51966 if test "x$USE_OPENGL" = "x1" ; then
51967 COND_USE_OPENGL_1=""
51968 fi
51969
51970 COND_USE_PCH_1="#"
51971 if test "x$USE_PCH" = "x1" ; then
51972 COND_USE_PCH_1=""
51973 fi
51974
51975 COND_USE_PLUGINS_0="#"
51976 if test "x$USE_PLUGINS" = "x0" ; then
51977 COND_USE_PLUGINS_0=""
51978 fi
51979
51980 COND_USE_RTTI_0="#"
51981 if test "x$USE_RTTI" = "x0" ; then
51982 COND_USE_RTTI_0=""
51983 fi
51984
51985 COND_USE_RTTI_1="#"
51986 if test "x$USE_RTTI" = "x1" ; then
51987 COND_USE_RTTI_1=""
51988 fi
51989
51990 COND_USE_SOTWOSYMLINKS_1="#"
51991 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51992 COND_USE_SOTWOSYMLINKS_1=""
51993 fi
51994
51995 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51996 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51997 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51998 fi
51999
52000 COND_USE_SOVERLINUX_1="#"
52001 if test "x$USE_SOVERLINUX" = "x1" ; then
52002 COND_USE_SOVERLINUX_1=""
52003 fi
52004
52005 COND_USE_SOVERSION_0="#"
52006 if test "x$USE_SOVERSION" = "x0" ; then
52007 COND_USE_SOVERSION_0=""
52008 fi
52009
52010 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52011 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52012 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52013 fi
52014
52015 COND_USE_SOVERSOLARIS_1="#"
52016 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52017 COND_USE_SOVERSOLARIS_1=""
52018 fi
52019
52020 COND_USE_STC_1="#"
52021 if test "x$USE_STC" = "x1" ; then
52022 COND_USE_STC_1=""
52023 fi
52024
52025 COND_USE_THREADS_0="#"
52026 if test "x$USE_THREADS" = "x0" ; then
52027 COND_USE_THREADS_0=""
52028 fi
52029
52030 COND_USE_THREADS_1="#"
52031 if test "x$USE_THREADS" = "x1" ; then
52032 COND_USE_THREADS_1=""
52033 fi
52034
52035 COND_USE_XRC_1="#"
52036 if test "x$USE_XRC" = "x1" ; then
52037 COND_USE_XRC_1=""
52038 fi
52039
52040 COND_WINDOWS_IMPLIB_1="#"
52041 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52042 COND_WINDOWS_IMPLIB_1=""
52043 fi
52044
52045 COND_WITH_PLUGIN_SDL_1="#"
52046 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52047 COND_WITH_PLUGIN_SDL_1=""
52048 fi
52049
52050 COND_WXUNIV_0="#"
52051 if test "x$WXUNIV" = "x0" ; then
52052 COND_WXUNIV_0=""
52053 fi
52054
52055 COND_WXUNIV_1="#"
52056 if test "x$WXUNIV" = "x1" ; then
52057 COND_WXUNIV_1=""
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 COND_wxUSE_EXPAT_builtin="#"
52091 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52092 COND_wxUSE_EXPAT_builtin=""
52093 fi
52094
52095 COND_wxUSE_LIBJPEG_builtin="#"
52096 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52097 COND_wxUSE_LIBJPEG_builtin=""
52098 fi
52099
52100 COND_wxUSE_LIBPNG_builtin="#"
52101 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52102 COND_wxUSE_LIBPNG_builtin=""
52103 fi
52104
52105 COND_wxUSE_LIBTIFF_builtin="#"
52106 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52107 COND_wxUSE_LIBTIFF_builtin=""
52108 fi
52109
52110 COND_wxUSE_REGEX_builtin="#"
52111 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52112 COND_wxUSE_REGEX_builtin=""
52113 fi
52114
52115 COND_wxUSE_ZLIB_builtin="#"
52116 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52117 COND_wxUSE_ZLIB_builtin=""
52118 fi
52119
52120
52121
52122 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52123 { { 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
52124 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;}
52125 { (exit 1); exit 1; }; }
52126 fi
52127
52128 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52129 { { 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
52130 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;}
52131 { (exit 1); exit 1; }; }
52132 fi
52133
52134
52135 case ${INSTALL} in
52136 /* ) # Absolute
52137 ;;
52138 ?:* ) # Drive letter, considered as absolute.
52139 ;;
52140 *)
52141 INSTALL=`pwd`/${INSTALL} ;;
52142 esac
52143
52144 if test "$wxUSE_GUI" = "yes"; then
52145
52146 if test "$wxUSE_MSW" = 1 ; then
52147 if test "x$WINDRES" = "x"; then
52148 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52149 echo "$as_me: error: Required windres program not found" >&2;}
52150 { (exit 1); exit 1; }; }
52151 fi
52152
52153 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52154 fi
52155
52156 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52157 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52158 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52159
52160 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52161
52162 # Extract the first word of "DeRez", so it can be a program name with args.
52163 set dummy DeRez; ac_word=$2
52164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52166 if test "${ac_cv_prog_DEREZ+set}" = set; then
52167 echo $ECHO_N "(cached) $ECHO_C" >&6
52168 else
52169 if test -n "$DEREZ"; then
52170 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52171 else
52172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52173 for as_dir in $PATH
52174 do
52175 IFS=$as_save_IFS
52176 test -z "$as_dir" && as_dir=.
52177 for ac_exec_ext in '' $ac_executable_extensions; do
52178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52179 ac_cv_prog_DEREZ="DeRez"
52180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52181 break 2
52182 fi
52183 done
52184 done
52185 IFS=$as_save_IFS
52186
52187 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52188 fi
52189 fi
52190 DEREZ=$ac_cv_prog_DEREZ
52191 if test -n "$DEREZ"; then
52192 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52193 echo "${ECHO_T}$DEREZ" >&6; }
52194 else
52195 { echo "$as_me:$LINENO: result: no" >&5
52196 echo "${ECHO_T}no" >&6; }
52197 fi
52198
52199
52200
52201 MACSETFILE="\$(SETFILE)"
52202
52203 if test "$wxUSE_OSX_CARBON" = 1; then
52204 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52205 RESCOMP="$REZ"
52206 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52207 else
52208 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52209 RESCOMP="cat /dev/null \| $REZ"
52210 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52211 fi
52212
52213 else
52214 MACSETFILE="@true"
52215
52216 if test "$wxUSE_PM" = 1; then
52217 RESCOMP="emxbind"
52218 WXCONFIG_RESFLAGS="-ep"
52219
52220 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52221 else
52222 POSTLINK_COMMAND="@true"
52223 fi
52224 fi
52225
52226 fi
52227
52228
52229 if test $GCC_PCH = 1
52230 then
52231 if test "$wx_cv_gcc_pch_bug" = yes; then
52232 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52233 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52234 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52235 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52236 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52237 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52238 fi
52239
52240 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52241 # the headers that benefit from precompilation are mostly C++ headers.
52242 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52243 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52244 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52245 fi
52246
52247
52248 if test "$wxUSE_MAC" = 1 ; then
52249 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52250 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52251 mv temp bk-deps
52252 chmod +x bk-deps
52253 fi
52254 fi
52255
52256 if test "$wxUSE_SHARED" = "yes"; then
52257 case "${host}" in
52258 *-pc-os2_emx | *-pc-os2-emx )
52259 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52260 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52261 cp -p ${srcdir}/src/os2/dllnames.sh .
52262 cp -p ${srcdir}/src/os2/dllar.sh .
52263 ;;
52264 esac
52265 fi
52266 if test "$wxUSE_OMF" = "yes"; then
52267 case "${host}" in
52268 *-pc-os2_emx | *-pc-os2-emx )
52269 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52270 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52271 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52272 ;;
52273 esac
52274 fi
52275
52276 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52277
52278
52279 case "${host}" in
52280 *-*-solaris2* )
52281 if test "$GCC" = yes; then
52282 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52283 LIBS=`echo $LIBS | sed 's/-mt//'`
52284 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52285 fi
52286 ;;
52287
52288 *-*-linux* )
52289 if test "x$SUNCXX" = xyes; then
52290 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52291 LIBS=`echo $LIBS | sed 's/-pthread//'`
52292 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52293 fi
52294 ;;
52295 esac
52296
52297 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52298 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52299 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52300 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52301
52302 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
52334
52335
52336
52337
52338
52339
52340
52341
52342
52343
52344
52345
52346
52347
52348
52349
52350
52351
52352
52353
52354
52355
52356
52357
52358
52359
52360
52361
52362
52363 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52364 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52365 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52366 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52367 echo $ECHO_N "(cached) $ECHO_C" >&6
52368 else
52369 cat >conftest.make <<\_ACEOF
52370 SHELL = /bin/sh
52371 all:
52372 @echo '@@@%%%=$(MAKE)=@@@%%%'
52373 _ACEOF
52374 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52375 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52376 *@@@%%%=?*=@@@%%%*)
52377 eval ac_cv_prog_make_${ac_make}_set=yes;;
52378 *)
52379 eval ac_cv_prog_make_${ac_make}_set=no;;
52380 esac
52381 rm -f conftest.make
52382 fi
52383 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52384 { echo "$as_me:$LINENO: result: yes" >&5
52385 echo "${ECHO_T}yes" >&6; }
52386 SET_MAKE=
52387 else
52388 { echo "$as_me:$LINENO: result: no" >&5
52389 echo "${ECHO_T}no" >&6; }
52390 SET_MAKE="MAKE=${MAKE-make}"
52391 fi
52392
52393
52394
52395 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52396
52397
52398 if test "$USE_WIN32" = 1; then
52399 ac_config_commands="$ac_config_commands rcdefs.h"
52400
52401 fi
52402
52403 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52404
52405
52406 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52407
52408
52409 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52410
52411
52412 if test "$wx_cv_version_script" = "yes"; then
52413 ac_config_files="$ac_config_files version-script"
52414
52415 fi
52416 ac_config_files="$ac_config_files Makefile"
52417
52418
52419 ac_config_commands="$ac_config_commands wx-config"
52420
52421
52422
52423 if test "$wxWITH_SUBDIRS" != "no"; then
52424 if test "$wxUSE_GUI" = "yes"; then
52425 SUBDIRS="samples demos utils"
52426 else
52427 SUBDIRS="samples utils"
52428 fi
52429
52430
52431
52432 # Check whether --with-cppunit-prefix was given.
52433 if test "${with_cppunit_prefix+set}" = set; then
52434 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52435 else
52436 cppunit_config_prefix=""
52437 fi
52438
52439
52440 # Check whether --with-cppunit-exec-prefix was given.
52441 if test "${with_cppunit_exec_prefix+set}" = set; then
52442 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52443 else
52444 cppunit_config_exec_prefix=""
52445 fi
52446
52447
52448 if test x$cppunit_config_exec_prefix != x ; then
52449 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52450 if test x${CPPUNIT_CONFIG+set} != xset ; then
52451 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52452 fi
52453 fi
52454 if test x$cppunit_config_prefix != x ; then
52455 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52456 if test x${CPPUNIT_CONFIG+set} != xset ; then
52457 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52458 fi
52459 fi
52460
52461 # Extract the first word of "cppunit-config", so it can be a program name with args.
52462 set dummy cppunit-config; ac_word=$2
52463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52465 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52466 echo $ECHO_N "(cached) $ECHO_C" >&6
52467 else
52468 case $CPPUNIT_CONFIG in
52469 [\\/]* | ?:[\\/]*)
52470 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52471 ;;
52472 *)
52473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52474 for as_dir in $PATH
52475 do
52476 IFS=$as_save_IFS
52477 test -z "$as_dir" && as_dir=.
52478 for ac_exec_ext in '' $ac_executable_extensions; do
52479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52480 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52482 break 2
52483 fi
52484 done
52485 done
52486 IFS=$as_save_IFS
52487
52488 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52489 ;;
52490 esac
52491 fi
52492 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52493 if test -n "$CPPUNIT_CONFIG"; then
52494 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52495 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52496 else
52497 { echo "$as_me:$LINENO: result: no" >&5
52498 echo "${ECHO_T}no" >&6; }
52499 fi
52500
52501
52502 cppunit_version_min=1.8.0
52503
52504 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52505 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52506 no_cppunit=""
52507 if test "$CPPUNIT_CONFIG" = "no" ; then
52508 { echo "$as_me:$LINENO: result: no" >&5
52509 echo "${ECHO_T}no" >&6; }
52510 no_cppunit=yes
52511 else
52512 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52513 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52514 cppunit_version=`$CPPUNIT_CONFIG --version`
52515
52516 cppunit_major_version=`echo $cppunit_version | \
52517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52518 cppunit_minor_version=`echo $cppunit_version | \
52519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52520 cppunit_micro_version=`echo $cppunit_version | \
52521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52522
52523 cppunit_major_min=`echo $cppunit_version_min | \
52524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52525 cppunit_minor_min=`echo $cppunit_version_min | \
52526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52527 cppunit_micro_min=`echo $cppunit_version_min | \
52528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52529
52530 cppunit_version_proper=`expr \
52531 $cppunit_major_version \> $cppunit_major_min \| \
52532 $cppunit_major_version \= $cppunit_major_min \& \
52533 $cppunit_minor_version \> $cppunit_minor_min \| \
52534 $cppunit_major_version \= $cppunit_major_min \& \
52535 $cppunit_minor_version \= $cppunit_minor_min \& \
52536 $cppunit_micro_version \>= $cppunit_micro_min `
52537
52538 if test "$cppunit_version_proper" = "1" ; then
52539 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52540 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52541 else
52542 { echo "$as_me:$LINENO: result: no" >&5
52543 echo "${ECHO_T}no" >&6; }
52544 no_cppunit=yes
52545 fi
52546 fi
52547
52548 if test "x$no_cppunit" = x ; then
52549 SUBDIRS="$SUBDIRS tests"
52550 else
52551 CPPUNIT_CFLAGS=""
52552 CPPUNIT_LIBS=""
52553 :
52554 fi
52555
52556
52557
52558
52559
52560 for subdir in $SUBDIRS; do
52561 if test -d ${srcdir}/${subdir} ; then
52562 if test "$wxUSE_GUI" = "yes"; then
52563 if test ${subdir} = "samples"; then
52564 makefiles="samples/Makefile.in $makefiles"
52565 for sample in $SAMPLES_SUBDIRS; do
52566 if test -d $srcdir/samples/$sample; then
52567 makefiles="samples/$sample/Makefile.in $makefiles"
52568 fi
52569 done
52570 else
52571 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52572 eval "disabled=\$$disabled_var"
52573 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52574 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52575 fi
52576 else
52577 if test ${subdir} = "samples"; then
52578 makefiles="samples/Makefile.in $makefiles"
52579 for sample in `echo $SAMPLES_SUBDIRS`; do
52580 if test -d $srcdir/samples/$sample; then
52581 makefiles="samples/$sample/Makefile.in $makefiles"
52582 fi
52583 done
52584 elif test ${subdir} = "utils"; then
52585 makefiles=""
52586 for util in ifacecheck ; do
52587 if test -d $srcdir/utils/$util ; then
52588 makefiles="utils/$util/src/Makefile.in \
52589 $makefiles"
52590 fi
52591 done
52592 else
52593 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52594 fi
52595 fi
52596
52597 for mkin in $makefiles ; do
52598 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52599 ac_config_files="$ac_config_files $mk"
52600
52601 done
52602 fi
52603 done
52604 fi
52605 cat >confcache <<\_ACEOF
52606 # This file is a shell script that caches the results of configure
52607 # tests run on this system so they can be shared between configure
52608 # scripts and configure runs, see configure's option --config-cache.
52609 # It is not useful on other systems. If it contains results you don't
52610 # want to keep, you may remove or edit it.
52611 #
52612 # config.status only pays attention to the cache file if you give it
52613 # the --recheck option to rerun configure.
52614 #
52615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52617 # following values.
52618
52619 _ACEOF
52620
52621 # The following way of writing the cache mishandles newlines in values,
52622 # but we know of no workaround that is simple, portable, and efficient.
52623 # So, we kill variables containing newlines.
52624 # Ultrix sh set writes to stderr and can't be redirected directly,
52625 # and sets the high bit in the cache file unless we assign to the vars.
52626 (
52627 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52628 eval ac_val=\$$ac_var
52629 case $ac_val in #(
52630 *${as_nl}*)
52631 case $ac_var in #(
52632 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52633 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52634 esac
52635 case $ac_var in #(
52636 _ | IFS | as_nl) ;; #(
52637 *) $as_unset $ac_var ;;
52638 esac ;;
52639 esac
52640 done
52641
52642 (set) 2>&1 |
52643 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52644 *${as_nl}ac_space=\ *)
52645 # `set' does not quote correctly, so add quotes (double-quote
52646 # substitution turns \\\\ into \\, and sed turns \\ into \).
52647 sed -n \
52648 "s/'/'\\\\''/g;
52649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52650 ;; #(
52651 *)
52652 # `set' quotes correctly as required by POSIX, so do not add quotes.
52653 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52654 ;;
52655 esac |
52656 sort
52657 ) |
52658 sed '
52659 /^ac_cv_env_/b end
52660 t clear
52661 :clear
52662 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52663 t end
52664 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52665 :end' >>confcache
52666 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52667 if test -w "$cache_file"; then
52668 test "x$cache_file" != "x/dev/null" &&
52669 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52670 echo "$as_me: updating cache $cache_file" >&6;}
52671 cat confcache >$cache_file
52672 else
52673 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52674 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52675 fi
52676 fi
52677 rm -f confcache
52678
52679 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52680 # Let make expand exec_prefix.
52681 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52682
52683 DEFS=-DHAVE_CONFIG_H
52684
52685 ac_libobjs=
52686 ac_ltlibobjs=
52687 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52688 # 1. Remove the extension, and $U if already installed.
52689 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52690 ac_i=`echo "$ac_i" | sed "$ac_script"`
52691 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52692 # will be set to the directory where LIBOBJS objects are built.
52693 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52694 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52695 done
52696 LIBOBJS=$ac_libobjs
52697
52698 LTLIBOBJS=$ac_ltlibobjs
52699
52700
52701
52702 : ${CONFIG_STATUS=./config.status}
52703 ac_clean_files_save=$ac_clean_files
52704 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52705 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52706 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52707 cat >$CONFIG_STATUS <<_ACEOF
52708 #! $SHELL
52709 # Generated by $as_me.
52710 # Run this file to recreate the current configuration.
52711 # Compiler output produced by configure, useful for debugging
52712 # configure, is in config.log if it exists.
52713
52714 debug=false
52715 ac_cs_recheck=false
52716 ac_cs_silent=false
52717 SHELL=\${CONFIG_SHELL-$SHELL}
52718 _ACEOF
52719
52720 cat >>$CONFIG_STATUS <<\_ACEOF
52721 ## --------------------- ##
52722 ## M4sh Initialization. ##
52723 ## --------------------- ##
52724
52725 # Be more Bourne compatible
52726 DUALCASE=1; export DUALCASE # for MKS sh
52727 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52728 emulate sh
52729 NULLCMD=:
52730 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52731 # is contrary to our usage. Disable this feature.
52732 alias -g '${1+"$@"}'='"$@"'
52733 setopt NO_GLOB_SUBST
52734 else
52735 case `(set -o) 2>/dev/null` in
52736 *posix*) set -o posix ;;
52737 esac
52738
52739 fi
52740
52741
52742
52743
52744 # PATH needs CR
52745 # Avoid depending upon Character Ranges.
52746 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52747 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52748 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52749 as_cr_digits='0123456789'
52750 as_cr_alnum=$as_cr_Letters$as_cr_digits
52751
52752 # The user is always right.
52753 if test "${PATH_SEPARATOR+set}" != set; then
52754 echo "#! /bin/sh" >conf$$.sh
52755 echo "exit 0" >>conf$$.sh
52756 chmod +x conf$$.sh
52757 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52758 PATH_SEPARATOR=';'
52759 else
52760 PATH_SEPARATOR=:
52761 fi
52762 rm -f conf$$.sh
52763 fi
52764
52765 # Support unset when possible.
52766 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52767 as_unset=unset
52768 else
52769 as_unset=false
52770 fi
52771
52772
52773 # IFS
52774 # We need space, tab and new line, in precisely that order. Quoting is
52775 # there to prevent editors from complaining about space-tab.
52776 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52777 # splitting by setting IFS to empty value.)
52778 as_nl='
52779 '
52780 IFS=" "" $as_nl"
52781
52782 # Find who we are. Look in the path if we contain no directory separator.
52783 case $0 in
52784 *[\\/]* ) as_myself=$0 ;;
52785 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52786 for as_dir in $PATH
52787 do
52788 IFS=$as_save_IFS
52789 test -z "$as_dir" && as_dir=.
52790 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52791 done
52792 IFS=$as_save_IFS
52793
52794 ;;
52795 esac
52796 # We did not find ourselves, most probably we were run as `sh COMMAND'
52797 # in which case we are not to be found in the path.
52798 if test "x$as_myself" = x; then
52799 as_myself=$0
52800 fi
52801 if test ! -f "$as_myself"; then
52802 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52803 { (exit 1); exit 1; }
52804 fi
52805
52806 # Work around bugs in pre-3.0 UWIN ksh.
52807 for as_var in ENV MAIL MAILPATH
52808 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52809 done
52810 PS1='$ '
52811 PS2='> '
52812 PS4='+ '
52813
52814 # NLS nuisances.
52815 for as_var in \
52816 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52817 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52818 LC_TELEPHONE LC_TIME
52819 do
52820 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52821 eval $as_var=C; export $as_var
52822 else
52823 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52824 fi
52825 done
52826
52827 # Required to use basename.
52828 if expr a : '\(a\)' >/dev/null 2>&1 &&
52829 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52830 as_expr=expr
52831 else
52832 as_expr=false
52833 fi
52834
52835 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52836 as_basename=basename
52837 else
52838 as_basename=false
52839 fi
52840
52841
52842 # Name of the executable.
52843 as_me=`$as_basename -- "$0" ||
52844 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52845 X"$0" : 'X\(//\)$' \| \
52846 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52847 echo X/"$0" |
52848 sed '/^.*\/\([^/][^/]*\)\/*$/{
52849 s//\1/
52850 q
52851 }
52852 /^X\/\(\/\/\)$/{
52853 s//\1/
52854 q
52855 }
52856 /^X\/\(\/\).*/{
52857 s//\1/
52858 q
52859 }
52860 s/.*/./; q'`
52861
52862 # CDPATH.
52863 $as_unset CDPATH
52864
52865
52866
52867 as_lineno_1=$LINENO
52868 as_lineno_2=$LINENO
52869 test "x$as_lineno_1" != "x$as_lineno_2" &&
52870 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52871
52872 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52873 # uniformly replaced by the line number. The first 'sed' inserts a
52874 # line-number line after each line using $LINENO; the second 'sed'
52875 # does the real work. The second script uses 'N' to pair each
52876 # line-number line with the line containing $LINENO, and appends
52877 # trailing '-' during substitution so that $LINENO is not a special
52878 # case at line end.
52879 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52880 # scripts with optimization help from Paolo Bonzini. Blame Lee
52881 # E. McMahon (1931-1989) for sed's syntax. :-)
52882 sed -n '
52883 p
52884 /[$]LINENO/=
52885 ' <$as_myself |
52886 sed '
52887 s/[$]LINENO.*/&-/
52888 t lineno
52889 b
52890 :lineno
52891 N
52892 :loop
52893 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52894 t loop
52895 s/-\n.*//
52896 ' >$as_me.lineno &&
52897 chmod +x "$as_me.lineno" ||
52898 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52899 { (exit 1); exit 1; }; }
52900
52901 # Don't try to exec as it changes $[0], causing all sort of problems
52902 # (the dirname of $[0] is not the place where we might find the
52903 # original and so on. Autoconf is especially sensitive to this).
52904 . "./$as_me.lineno"
52905 # Exit status is that of the last command.
52906 exit
52907 }
52908
52909
52910 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52911 as_dirname=dirname
52912 else
52913 as_dirname=false
52914 fi
52915
52916 ECHO_C= ECHO_N= ECHO_T=
52917 case `echo -n x` in
52918 -n*)
52919 case `echo 'x\c'` in
52920 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52921 *) ECHO_C='\c';;
52922 esac;;
52923 *)
52924 ECHO_N='-n';;
52925 esac
52926
52927 if expr a : '\(a\)' >/dev/null 2>&1 &&
52928 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52929 as_expr=expr
52930 else
52931 as_expr=false
52932 fi
52933
52934 rm -f conf$$ conf$$.exe conf$$.file
52935 if test -d conf$$.dir; then
52936 rm -f conf$$.dir/conf$$.file
52937 else
52938 rm -f conf$$.dir
52939 mkdir conf$$.dir
52940 fi
52941 echo >conf$$.file
52942 if ln -s conf$$.file conf$$ 2>/dev/null; then
52943 as_ln_s='ln -s'
52944 # ... but there are two gotchas:
52945 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52946 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52947 # In both cases, we have to default to `cp -p'.
52948 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52949 as_ln_s='cp -p'
52950 elif ln conf$$.file conf$$ 2>/dev/null; then
52951 as_ln_s=ln
52952 else
52953 as_ln_s='cp -p'
52954 fi
52955 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52956 rmdir conf$$.dir 2>/dev/null
52957
52958 if mkdir -p . 2>/dev/null; then
52959 as_mkdir_p=:
52960 else
52961 test -d ./-p && rmdir ./-p
52962 as_mkdir_p=false
52963 fi
52964
52965 if test -x / >/dev/null 2>&1; then
52966 as_test_x='test -x'
52967 else
52968 if ls -dL / >/dev/null 2>&1; then
52969 as_ls_L_option=L
52970 else
52971 as_ls_L_option=
52972 fi
52973 as_test_x='
52974 eval sh -c '\''
52975 if test -d "$1"; then
52976 test -d "$1/.";
52977 else
52978 case $1 in
52979 -*)set "./$1";;
52980 esac;
52981 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52982 ???[sx]*):;;*)false;;esac;fi
52983 '\'' sh
52984 '
52985 fi
52986 as_executable_p=$as_test_x
52987
52988 # Sed expression to map a string onto a valid CPP name.
52989 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52990
52991 # Sed expression to map a string onto a valid variable name.
52992 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52993
52994
52995 exec 6>&1
52996
52997 # Save the log message, to keep $[0] and so on meaningful, and to
52998 # report actual input values of CONFIG_FILES etc. instead of their
52999 # values after options handling.
53000 ac_log="
53001 This file was extended by wxWidgets $as_me 2.9.2, which was
53002 generated by GNU Autoconf 2.61. Invocation command line was
53003
53004 CONFIG_FILES = $CONFIG_FILES
53005 CONFIG_HEADERS = $CONFIG_HEADERS
53006 CONFIG_LINKS = $CONFIG_LINKS
53007 CONFIG_COMMANDS = $CONFIG_COMMANDS
53008 $ $0 $@
53009
53010 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53011 "
53012
53013 _ACEOF
53014
53015 cat >>$CONFIG_STATUS <<_ACEOF
53016 # Files that config.status was made for.
53017 config_files="$ac_config_files"
53018 config_headers="$ac_config_headers"
53019 config_commands="$ac_config_commands"
53020
53021 _ACEOF
53022
53023 cat >>$CONFIG_STATUS <<\_ACEOF
53024 ac_cs_usage="\
53025 \`$as_me' instantiates files from templates according to the
53026 current configuration.
53027
53028 Usage: $0 [OPTIONS] [FILE]...
53029
53030 -h, --help print this help, then exit
53031 -V, --version print version number and configuration settings, then exit
53032 -q, --quiet do not print progress messages
53033 -d, --debug don't remove temporary files
53034 --recheck update $as_me by reconfiguring in the same conditions
53035 --file=FILE[:TEMPLATE]
53036 instantiate the configuration file FILE
53037 --header=FILE[:TEMPLATE]
53038 instantiate the configuration header FILE
53039
53040 Configuration files:
53041 $config_files
53042
53043 Configuration headers:
53044 $config_headers
53045
53046 Configuration commands:
53047 $config_commands
53048
53049 Report bugs to <bug-autoconf@gnu.org>."
53050
53051 _ACEOF
53052 cat >>$CONFIG_STATUS <<_ACEOF
53053 ac_cs_version="\\
53054 wxWidgets config.status 2.9.2
53055 configured by $0, generated by GNU Autoconf 2.61,
53056 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53057
53058 Copyright (C) 2006 Free Software Foundation, Inc.
53059 This config.status script is free software; the Free Software Foundation
53060 gives unlimited permission to copy, distribute and modify it."
53061
53062 ac_pwd='$ac_pwd'
53063 srcdir='$srcdir'
53064 INSTALL='$INSTALL'
53065 _ACEOF
53066
53067 cat >>$CONFIG_STATUS <<\_ACEOF
53068 # If no file are specified by the user, then we need to provide default
53069 # value. By we need to know if files were specified by the user.
53070 ac_need_defaults=:
53071 while test $# != 0
53072 do
53073 case $1 in
53074 --*=*)
53075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53076 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53077 ac_shift=:
53078 ;;
53079 *)
53080 ac_option=$1
53081 ac_optarg=$2
53082 ac_shift=shift
53083 ;;
53084 esac
53085
53086 case $ac_option in
53087 # Handling of the options.
53088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53089 ac_cs_recheck=: ;;
53090 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53091 echo "$ac_cs_version"; exit ;;
53092 --debug | --debu | --deb | --de | --d | -d )
53093 debug=: ;;
53094 --file | --fil | --fi | --f )
53095 $ac_shift
53096 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53097 ac_need_defaults=false;;
53098 --header | --heade | --head | --hea )
53099 $ac_shift
53100 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53101 ac_need_defaults=false;;
53102 --he | --h)
53103 # Conflict between --help and --header
53104 { echo "$as_me: error: ambiguous option: $1
53105 Try \`$0 --help' for more information." >&2
53106 { (exit 1); exit 1; }; };;
53107 --help | --hel | -h )
53108 echo "$ac_cs_usage"; exit ;;
53109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53110 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53111 ac_cs_silent=: ;;
53112
53113 # This is an error.
53114 -*) { echo "$as_me: error: unrecognized option: $1
53115 Try \`$0 --help' for more information." >&2
53116 { (exit 1); exit 1; }; } ;;
53117
53118 *) ac_config_targets="$ac_config_targets $1"
53119 ac_need_defaults=false ;;
53120
53121 esac
53122 shift
53123 done
53124
53125 ac_configure_extra_args=
53126
53127 if $ac_cs_silent; then
53128 exec 6>/dev/null
53129 ac_configure_extra_args="$ac_configure_extra_args --silent"
53130 fi
53131
53132 _ACEOF
53133 cat >>$CONFIG_STATUS <<_ACEOF
53134 if \$ac_cs_recheck; then
53135 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53136 CONFIG_SHELL=$SHELL
53137 export CONFIG_SHELL
53138 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53139 fi
53140
53141 _ACEOF
53142 cat >>$CONFIG_STATUS <<\_ACEOF
53143 exec 5>>config.log
53144 {
53145 echo
53146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53147 ## Running $as_me. ##
53148 _ASBOX
53149 echo "$ac_log"
53150 } >&5
53151
53152 _ACEOF
53153 cat >>$CONFIG_STATUS <<_ACEOF
53154 #
53155 # INIT-COMMANDS
53156 #
53157
53158 CPP="$CPP"
53159 infile="$srcdir/include/wx/msw/genrcdefs.h"
53160 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53161
53162
53163 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53164 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53165 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53166 LN_S="${LN_S}"
53167
53168
53169 _ACEOF
53170
53171 cat >>$CONFIG_STATUS <<\_ACEOF
53172
53173 # Handling of arguments.
53174 for ac_config_target in $ac_config_targets
53175 do
53176 case $ac_config_target in
53177 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53178 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53179 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53180 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53181 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53182 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53183 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53184 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53185 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53186
53187 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53188 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53189 { (exit 1); exit 1; }; };;
53190 esac
53191 done
53192
53193
53194 # If the user did not use the arguments to specify the items to instantiate,
53195 # then the envvar interface is used. Set only those that are not.
53196 # We use the long form for the default assignment because of an extremely
53197 # bizarre bug on SunOS 4.1.3.
53198 if $ac_need_defaults; then
53199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53200 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53201 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53202 fi
53203
53204 # Have a temporary directory for convenience. Make it in the build tree
53205 # simply because there is no reason against having it here, and in addition,
53206 # creating and moving files from /tmp can sometimes cause problems.
53207 # Hook for its removal unless debugging.
53208 # Note that there is a small window in which the directory will not be cleaned:
53209 # after its creation but before its name has been assigned to `$tmp'.
53210 $debug ||
53211 {
53212 tmp=
53213 trap 'exit_status=$?
53214 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53215 ' 0
53216 trap '{ (exit 1); exit 1; }' 1 2 13 15
53217 }
53218 # Create a (secure) tmp directory for tmp files.
53219
53220 {
53221 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53222 test -n "$tmp" && test -d "$tmp"
53223 } ||
53224 {
53225 tmp=./conf$$-$RANDOM
53226 (umask 077 && mkdir "$tmp")
53227 } ||
53228 {
53229 echo "$me: cannot create a temporary directory in ." >&2
53230 { (exit 1); exit 1; }
53231 }
53232
53233 #
53234 # Set up the sed scripts for CONFIG_FILES section.
53235 #
53236
53237 # No need to generate the scripts if there are no CONFIG_FILES.
53238 # This happens for instance when ./config.status config.h
53239 if test -n "$CONFIG_FILES"; then
53240
53241 _ACEOF
53242
53243
53244
53245 ac_delim='%!_!# '
53246 for ac_last_try in false false false false false :; do
53247 cat >conf$$subs.sed <<_ACEOF
53248 SHELL!$SHELL$ac_delim
53249 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53250 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53251 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53252 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53253 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53254 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53255 exec_prefix!$exec_prefix$ac_delim
53256 prefix!$prefix$ac_delim
53257 program_transform_name!$program_transform_name$ac_delim
53258 bindir!$bindir$ac_delim
53259 sbindir!$sbindir$ac_delim
53260 libexecdir!$libexecdir$ac_delim
53261 datarootdir!$datarootdir$ac_delim
53262 datadir!$datadir$ac_delim
53263 sysconfdir!$sysconfdir$ac_delim
53264 sharedstatedir!$sharedstatedir$ac_delim
53265 localstatedir!$localstatedir$ac_delim
53266 includedir!$includedir$ac_delim
53267 oldincludedir!$oldincludedir$ac_delim
53268 docdir!$docdir$ac_delim
53269 infodir!$infodir$ac_delim
53270 htmldir!$htmldir$ac_delim
53271 dvidir!$dvidir$ac_delim
53272 pdfdir!$pdfdir$ac_delim
53273 psdir!$psdir$ac_delim
53274 libdir!$libdir$ac_delim
53275 localedir!$localedir$ac_delim
53276 mandir!$mandir$ac_delim
53277 DEFS!$DEFS$ac_delim
53278 ECHO_C!$ECHO_C$ac_delim
53279 ECHO_N!$ECHO_N$ac_delim
53280 ECHO_T!$ECHO_T$ac_delim
53281 LIBS!$LIBS$ac_delim
53282 build_alias!$build_alias$ac_delim
53283 host_alias!$host_alias$ac_delim
53284 target_alias!$target_alias$ac_delim
53285 build!$build$ac_delim
53286 build_cpu!$build_cpu$ac_delim
53287 build_vendor!$build_vendor$ac_delim
53288 build_os!$build_os$ac_delim
53289 host!$host$ac_delim
53290 host_cpu!$host_cpu$ac_delim
53291 host_vendor!$host_vendor$ac_delim
53292 host_os!$host_os$ac_delim
53293 wx_top_builddir!$wx_top_builddir$ac_delim
53294 CC!$CC$ac_delim
53295 CFLAGS!$CFLAGS$ac_delim
53296 LDFLAGS!$LDFLAGS$ac_delim
53297 CPPFLAGS!$CPPFLAGS$ac_delim
53298 ac_ct_CC!$ac_ct_CC$ac_delim
53299 EXEEXT!$EXEEXT$ac_delim
53300 OBJEXT!$OBJEXT$ac_delim
53301 CPP!$CPP$ac_delim
53302 GREP!$GREP$ac_delim
53303 EGREP!$EGREP$ac_delim
53304 CXX!$CXX$ac_delim
53305 CXXFLAGS!$CXXFLAGS$ac_delim
53306 ac_ct_CXX!$ac_ct_CXX$ac_delim
53307 AR!$AR$ac_delim
53308 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53309 CXXCPP!$CXXCPP$ac_delim
53310 subdirs!$subdirs$ac_delim
53311 PKG_CONFIG!$PKG_CONFIG$ac_delim
53312 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53313 GTK_LIBS!$GTK_LIBS$ac_delim
53314 GTK_CONFIG!$GTK_CONFIG$ac_delim
53315 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53316 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53317 XMKMF!$XMKMF$ac_delim
53318 X_CFLAGS!$X_CFLAGS$ac_delim
53319 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53320 X_LIBS!$X_LIBS$ac_delim
53321 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53322 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53323 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53324 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53325 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53326 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53327 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53328 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53329 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53330 LIBICONV!$LIBICONV$ac_delim
53331 GXX_VERSION!$GXX_VERSION$ac_delim
53332 SDL_CONFIG!$SDL_CONFIG$ac_delim
53333 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53334 SDL_LIBS!$SDL_LIBS$ac_delim
53335 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53336 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53337 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53338 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53339 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53340 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53341 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53342 HILDON_LIBS!$HILDON_LIBS$ac_delim
53343 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53344 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53345 _ACEOF
53346
53347 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53348 break
53349 elif $ac_last_try; then
53350 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53351 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53352 { (exit 1); exit 1; }; }
53353 else
53354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53355 fi
53356 done
53357
53358 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53359 if test -n "$ac_eof"; then
53360 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53361 ac_eof=`expr $ac_eof + 1`
53362 fi
53363
53364 cat >>$CONFIG_STATUS <<_ACEOF
53365 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53367 _ACEOF
53368 sed '
53369 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53370 s/^/s,@/; s/!/@,|#_!!_#|/
53371 :n
53372 t n
53373 s/'"$ac_delim"'$/,g/; t
53374 s/$/\\/; p
53375 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53376 ' >>$CONFIG_STATUS <conf$$subs.sed
53377 rm -f conf$$subs.sed
53378 cat >>$CONFIG_STATUS <<_ACEOF
53379 CEOF$ac_eof
53380 _ACEOF
53381
53382
53383 ac_delim='%!_!# '
53384 for ac_last_try in false false false false false :; do
53385 cat >conf$$subs.sed <<_ACEOF
53386 PYTHON!$PYTHON$ac_delim
53387 COND_PYTHON!$COND_PYTHON$ac_delim
53388 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53389 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53390 GST_CFLAGS!$GST_CFLAGS$ac_delim
53391 GST_LIBS!$GST_LIBS$ac_delim
53392 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53393 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53394 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53395 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53396 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53397 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53398 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53399 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53400 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53401 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53402 VENDOR!$VENDOR$ac_delim
53403 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53404 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53405 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53406 WXUNIV!$WXUNIV$ac_delim
53407 MONOLITHIC!$MONOLITHIC$ac_delim
53408 USE_PLUGINS!$USE_PLUGINS$ac_delim
53409 CXXWARNINGS!$CXXWARNINGS$ac_delim
53410 EXTRALIBS!$EXTRALIBS$ac_delim
53411 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53412 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53413 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53414 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53415 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53416 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53417 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53418 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53419 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53420 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53421 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53422 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53423 UNICODE!$UNICODE$ac_delim
53424 DEBUG_INFO!$DEBUG_INFO$ac_delim
53425 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53426 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53427 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53428 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53429 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53430 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53431 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53432 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53433 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53434 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53435 RANLIB!$RANLIB$ac_delim
53436 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53437 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53438 INSTALL_DATA!$INSTALL_DATA$ac_delim
53439 LN_S!$LN_S$ac_delim
53440 SET_MAKE!$SET_MAKE$ac_delim
53441 MAKE_SET!$MAKE_SET$ac_delim
53442 AROPTIONS!$AROPTIONS$ac_delim
53443 STRIP!$STRIP$ac_delim
53444 NM!$NM$ac_delim
53445 INSTALL_DIR!$INSTALL_DIR$ac_delim
53446 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53447 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53448 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53449 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53450 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53451 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53452 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53453 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53454 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53455 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53456 SO_SUFFIX!$SO_SUFFIX$ac_delim
53457 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53458 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53459 LIBPREFIX!$LIBPREFIX$ac_delim
53460 LIBEXT!$LIBEXT$ac_delim
53461 DLLPREFIX!$DLLPREFIX$ac_delim
53462 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53463 dlldir!$dlldir$ac_delim
53464 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53465 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53466 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53467 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53468 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53469 PIC_FLAG!$PIC_FLAG$ac_delim
53470 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53471 USE_SOVERSION!$USE_SOVERSION$ac_delim
53472 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53473 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53474 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53475 USE_MACVERSION!$USE_MACVERSION$ac_delim
53476 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53477 SONAME_FLAG!$SONAME_FLAG$ac_delim
53478 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53479 BK_DEPS!$BK_DEPS$ac_delim
53480 WINDRES!$WINDRES$ac_delim
53481 REZ!$REZ$ac_delim
53482 SETFILE!$SETFILE$ac_delim
53483 _ACEOF
53484
53485 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53486 break
53487 elif $ac_last_try; then
53488 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53489 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53490 { (exit 1); exit 1; }; }
53491 else
53492 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53493 fi
53494 done
53495
53496 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53497 if test -n "$ac_eof"; then
53498 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53499 ac_eof=`expr $ac_eof + 1`
53500 fi
53501
53502 cat >>$CONFIG_STATUS <<_ACEOF
53503 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53505 _ACEOF
53506 sed '
53507 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53508 s/^/s,@/; s/!/@,|#_!!_#|/
53509 :n
53510 t n
53511 s/'"$ac_delim"'$/,g/; t
53512 s/$/\\/; p
53513 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53514 ' >>$CONFIG_STATUS <conf$$subs.sed
53515 rm -f conf$$subs.sed
53516 cat >>$CONFIG_STATUS <<_ACEOF
53517 CEOF$ac_eof
53518 _ACEOF
53519
53520
53521 ac_delim='%!_!# '
53522 for ac_last_try in false false false false false :; do
53523 cat >conf$$subs.sed <<_ACEOF
53524 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53525 GCC_PCH!$GCC_PCH$ac_delim
53526 ICC_PCH!$ICC_PCH$ac_delim
53527 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53528 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53529 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53530 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53531 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53532 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53533 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53534 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53535 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53536 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53537 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53538 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53539 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53540 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53541 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53542 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53543 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53544 COND_BUILD_release!$COND_BUILD_release$ac_delim
53545 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53546 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53547 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53548 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53549 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53550 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53551 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53552 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53553 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53554 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53555 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53556 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53557 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53558 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53559 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53560 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53561 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53562 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53563 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53564 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53565 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53566 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53567 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53568 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53569 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53570 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53572 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53573 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53574 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53575 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53576 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53577 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53578 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53579 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53580 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53581 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53582 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53583 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53584 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53585 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53586 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53587 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53588 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53589 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53590 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53591 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53592 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53593 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53594 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53595 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53596 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53597 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53598 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53599 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53600 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53601 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
53602 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53603 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
53604 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53605 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
53606 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53607 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53608 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53609 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53610 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53611 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53612 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53613 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53614 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53615 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53616 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53617 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53618 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53619 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53620 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53621 _ACEOF
53622
53623 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53624 break
53625 elif $ac_last_try; then
53626 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53627 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53628 { (exit 1); exit 1; }; }
53629 else
53630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53631 fi
53632 done
53633
53634 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53635 if test -n "$ac_eof"; then
53636 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53637 ac_eof=`expr $ac_eof + 1`
53638 fi
53639
53640 cat >>$CONFIG_STATUS <<_ACEOF
53641 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53642 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53643 _ACEOF
53644 sed '
53645 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53646 s/^/s,@/; s/!/@,|#_!!_#|/
53647 :n
53648 t n
53649 s/'"$ac_delim"'$/,g/; t
53650 s/$/\\/; p
53651 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53652 ' >>$CONFIG_STATUS <conf$$subs.sed
53653 rm -f conf$$subs.sed
53654 cat >>$CONFIG_STATUS <<_ACEOF
53655 CEOF$ac_eof
53656 _ACEOF
53657
53658
53659 ac_delim='%!_!# '
53660 for ac_last_try in false false false false false :; do
53661 cat >conf$$subs.sed <<_ACEOF
53662 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53663 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53664 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53665 COND_SHARED_0!$COND_SHARED_0$ac_delim
53666 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53667 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53668 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53669 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53670 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53671 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53672 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53673 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53674 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53675 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53676 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53677 COND_SHARED_1!$COND_SHARED_1$ac_delim
53678 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53679 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53680 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53681 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53682 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53683 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53684 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53685 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53686 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53687 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53688 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53689 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53690 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53691 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53692 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53693 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53694 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53695 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53696 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53697 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53698 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53699 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53700 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53701 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53702 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53703 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53704 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53705 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53706 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53707 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53708 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53709 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53710 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53711 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53712 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53713 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53714 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53715 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53716 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53717 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53718 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53719 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53720 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53721 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53722 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53723 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53724 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53725 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53726 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53727 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53728 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53729 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53730 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53731 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53732 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53733 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53734 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53735 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53736 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53737 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53738 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53739 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53740 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53741 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53742 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53743 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53744 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53745 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53746 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53747 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53748 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53749 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53750 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53751 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53752 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53753 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53754 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53755 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53756 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53757 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53758 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53759 _ACEOF
53760
53761 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53762 break
53763 elif $ac_last_try; then
53764 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53765 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53766 { (exit 1); exit 1; }; }
53767 else
53768 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53769 fi
53770 done
53771
53772 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53773 if test -n "$ac_eof"; then
53774 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53775 ac_eof=`expr $ac_eof + 1`
53776 fi
53777
53778 cat >>$CONFIG_STATUS <<_ACEOF
53779 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53780 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53781 _ACEOF
53782 sed '
53783 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53784 s/^/s,@/; s/!/@,|#_!!_#|/
53785 :n
53786 t n
53787 s/'"$ac_delim"'$/,g/; t
53788 s/$/\\/; p
53789 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53790 ' >>$CONFIG_STATUS <conf$$subs.sed
53791 rm -f conf$$subs.sed
53792 cat >>$CONFIG_STATUS <<_ACEOF
53793 CEOF$ac_eof
53794 _ACEOF
53795
53796
53797 ac_delim='%!_!# '
53798 for ac_last_try in false false false false false :; do
53799 cat >conf$$subs.sed <<_ACEOF
53800 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53801 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53802 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53803 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53804 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53805 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53806 DEREZ!$DEREZ$ac_delim
53807 SHARED!$SHARED$ac_delim
53808 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53809 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53810 USE_GUI!$USE_GUI$ac_delim
53811 AFMINSTALL!$AFMINSTALL$ac_delim
53812 WIN32INSTALL!$WIN32INSTALL$ac_delim
53813 TOOLKIT!$TOOLKIT$ac_delim
53814 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53815 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53816 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53817 cross_compiling!$cross_compiling$ac_delim
53818 WIDGET_SET!$WIDGET_SET$ac_delim
53819 WX_RELEASE!$WX_RELEASE$ac_delim
53820 WX_VERSION!$WX_VERSION$ac_delim
53821 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53822 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53823 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53824 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53825 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53826 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53827 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53828 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53829 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53830 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53831 GUIDIST!$GUIDIST$ac_delim
53832 DISTDIR!$DISTDIR$ac_delim
53833 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53834 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53835 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53836 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53837 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53838 RESCOMP!$RESCOMP$ac_delim
53839 RESFLAGS!$RESFLAGS$ac_delim
53840 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53841 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53842 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53843 LIBWXMACRES!$LIBWXMACRES$ac_delim
53844 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53845 MACSETFILE!$MACSETFILE$ac_delim
53846 GCC!$GCC$ac_delim
53847 DLLTOOL!$DLLTOOL$ac_delim
53848 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53849 LIBOBJS!$LIBOBJS$ac_delim
53850 LTLIBOBJS!$LTLIBOBJS$ac_delim
53851 _ACEOF
53852
53853 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53854 break
53855 elif $ac_last_try; then
53856 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53857 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53858 { (exit 1); exit 1; }; }
53859 else
53860 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53861 fi
53862 done
53863
53864 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53865 if test -n "$ac_eof"; then
53866 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53867 ac_eof=`expr $ac_eof + 1`
53868 fi
53869
53870 cat >>$CONFIG_STATUS <<_ACEOF
53871 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53872 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53873 _ACEOF
53874 sed '
53875 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53876 s/^/s,@/; s/!/@,|#_!!_#|/
53877 :n
53878 t n
53879 s/'"$ac_delim"'$/,g/; t
53880 s/$/\\/; p
53881 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53882 ' >>$CONFIG_STATUS <conf$$subs.sed
53883 rm -f conf$$subs.sed
53884 cat >>$CONFIG_STATUS <<_ACEOF
53885 :end
53886 s/|#_!!_#|//g
53887 CEOF$ac_eof
53888 _ACEOF
53889
53890
53891 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53892 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53893 # trailing colons and then remove the whole line if VPATH becomes empty
53894 # (actually we leave an empty line to preserve line numbers).
53895 if test "x$srcdir" = x.; then
53896 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53897 s/:*\$(srcdir):*/:/
53898 s/:*\${srcdir}:*/:/
53899 s/:*@srcdir@:*/:/
53900 s/^\([^=]*=[ ]*\):*/\1/
53901 s/:*$//
53902 s/^[^=]*=[ ]*$//
53903 }'
53904 fi
53905
53906 cat >>$CONFIG_STATUS <<\_ACEOF
53907 fi # test -n "$CONFIG_FILES"
53908
53909
53910 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53911 do
53912 case $ac_tag in
53913 :[FHLC]) ac_mode=$ac_tag; continue;;
53914 esac
53915 case $ac_mode$ac_tag in
53916 :[FHL]*:*);;
53917 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53918 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53919 { (exit 1); exit 1; }; };;
53920 :[FH]-) ac_tag=-:-;;
53921 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53922 esac
53923 ac_save_IFS=$IFS
53924 IFS=:
53925 set x $ac_tag
53926 IFS=$ac_save_IFS
53927 shift
53928 ac_file=$1
53929 shift
53930
53931 case $ac_mode in
53932 :L) ac_source=$1;;
53933 :[FH])
53934 ac_file_inputs=
53935 for ac_f
53936 do
53937 case $ac_f in
53938 -) ac_f="$tmp/stdin";;
53939 *) # Look for the file first in the build tree, then in the source tree
53940 # (if the path is not absolute). The absolute path cannot be DOS-style,
53941 # because $ac_f cannot contain `:'.
53942 test -f "$ac_f" ||
53943 case $ac_f in
53944 [\\/$]*) false;;
53945 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53946 esac ||
53947 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53948 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53949 { (exit 1); exit 1; }; };;
53950 esac
53951 ac_file_inputs="$ac_file_inputs $ac_f"
53952 done
53953
53954 # Let's still pretend it is `configure' which instantiates (i.e., don't
53955 # use $as_me), people would be surprised to read:
53956 # /* config.h. Generated by config.status. */
53957 configure_input="Generated from "`IFS=:
53958 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53959 if test x"$ac_file" != x-; then
53960 configure_input="$ac_file. $configure_input"
53961 { echo "$as_me:$LINENO: creating $ac_file" >&5
53962 echo "$as_me: creating $ac_file" >&6;}
53963 fi
53964
53965 case $ac_tag in
53966 *:-:* | *:-) cat >"$tmp/stdin";;
53967 esac
53968 ;;
53969 esac
53970
53971 ac_dir=`$as_dirname -- "$ac_file" ||
53972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53973 X"$ac_file" : 'X\(//\)[^/]' \| \
53974 X"$ac_file" : 'X\(//\)$' \| \
53975 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53976 echo X"$ac_file" |
53977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53978 s//\1/
53979 q
53980 }
53981 /^X\(\/\/\)[^/].*/{
53982 s//\1/
53983 q
53984 }
53985 /^X\(\/\/\)$/{
53986 s//\1/
53987 q
53988 }
53989 /^X\(\/\).*/{
53990 s//\1/
53991 q
53992 }
53993 s/.*/./; q'`
53994 { as_dir="$ac_dir"
53995 case $as_dir in #(
53996 -*) as_dir=./$as_dir;;
53997 esac
53998 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53999 as_dirs=
54000 while :; do
54001 case $as_dir in #(
54002 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54003 *) as_qdir=$as_dir;;
54004 esac
54005 as_dirs="'$as_qdir' $as_dirs"
54006 as_dir=`$as_dirname -- "$as_dir" ||
54007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54008 X"$as_dir" : 'X\(//\)[^/]' \| \
54009 X"$as_dir" : 'X\(//\)$' \| \
54010 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54011 echo X"$as_dir" |
54012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54013 s//\1/
54014 q
54015 }
54016 /^X\(\/\/\)[^/].*/{
54017 s//\1/
54018 q
54019 }
54020 /^X\(\/\/\)$/{
54021 s//\1/
54022 q
54023 }
54024 /^X\(\/\).*/{
54025 s//\1/
54026 q
54027 }
54028 s/.*/./; q'`
54029 test -d "$as_dir" && break
54030 done
54031 test -z "$as_dirs" || eval "mkdir $as_dirs"
54032 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54033 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54034 { (exit 1); exit 1; }; }; }
54035 ac_builddir=.
54036
54037 case "$ac_dir" in
54038 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54039 *)
54040 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54041 # A ".." for each directory in $ac_dir_suffix.
54042 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54043 case $ac_top_builddir_sub in
54044 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54045 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54046 esac ;;
54047 esac
54048 ac_abs_top_builddir=$ac_pwd
54049 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54050 # for backward compatibility:
54051 ac_top_builddir=$ac_top_build_prefix
54052
54053 case $srcdir in
54054 .) # We are building in place.
54055 ac_srcdir=.
54056 ac_top_srcdir=$ac_top_builddir_sub
54057 ac_abs_top_srcdir=$ac_pwd ;;
54058 [\\/]* | ?:[\\/]* ) # Absolute name.
54059 ac_srcdir=$srcdir$ac_dir_suffix;
54060 ac_top_srcdir=$srcdir
54061 ac_abs_top_srcdir=$srcdir ;;
54062 *) # Relative name.
54063 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54064 ac_top_srcdir=$ac_top_build_prefix$srcdir
54065 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54066 esac
54067 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54068
54069
54070 case $ac_mode in
54071 :F)
54072 #
54073 # CONFIG_FILE
54074 #
54075
54076 case $INSTALL in
54077 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54078 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54079 esac
54080 _ACEOF
54081
54082 cat >>$CONFIG_STATUS <<\_ACEOF
54083 # If the template does not know about datarootdir, expand it.
54084 # FIXME: This hack should be removed a few years after 2.60.
54085 ac_datarootdir_hack=; ac_datarootdir_seen=
54086
54087 case `sed -n '/datarootdir/ {
54088 p
54089 q
54090 }
54091 /@datadir@/p
54092 /@docdir@/p
54093 /@infodir@/p
54094 /@localedir@/p
54095 /@mandir@/p
54096 ' $ac_file_inputs` in
54097 *datarootdir*) ac_datarootdir_seen=yes;;
54098 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54099 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54100 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54101 _ACEOF
54102 cat >>$CONFIG_STATUS <<_ACEOF
54103 ac_datarootdir_hack='
54104 s&@datadir@&$datadir&g
54105 s&@docdir@&$docdir&g
54106 s&@infodir@&$infodir&g
54107 s&@localedir@&$localedir&g
54108 s&@mandir@&$mandir&g
54109 s&\\\${datarootdir}&$datarootdir&g' ;;
54110 esac
54111 _ACEOF
54112
54113 # Neutralize VPATH when `$srcdir' = `.'.
54114 # Shell code in configure.ac might set extrasub.
54115 # FIXME: do we really want to maintain this feature?
54116 cat >>$CONFIG_STATUS <<_ACEOF
54117 sed "$ac_vpsub
54118 $extrasub
54119 _ACEOF
54120 cat >>$CONFIG_STATUS <<\_ACEOF
54121 :t
54122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54123 s&@configure_input@&$configure_input&;t t
54124 s&@top_builddir@&$ac_top_builddir_sub&;t t
54125 s&@srcdir@&$ac_srcdir&;t t
54126 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54127 s&@top_srcdir@&$ac_top_srcdir&;t t
54128 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54129 s&@builddir@&$ac_builddir&;t t
54130 s&@abs_builddir@&$ac_abs_builddir&;t t
54131 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54132 s&@INSTALL@&$ac_INSTALL&;t t
54133 $ac_datarootdir_hack
54134 " $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
54135
54136 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54137 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54138 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54139 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54140 which seems to be undefined. Please make sure it is defined." >&5
54141 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54142 which seems to be undefined. Please make sure it is defined." >&2;}
54143
54144 rm -f "$tmp/stdin"
54145 case $ac_file in
54146 -) cat "$tmp/out"; rm -f "$tmp/out";;
54147 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54148 esac
54149 ;;
54150 :H)
54151 #
54152 # CONFIG_HEADER
54153 #
54154 _ACEOF
54155
54156 # Transform confdefs.h into a sed script `conftest.defines', that
54157 # substitutes the proper values into config.h.in to produce config.h.
54158 rm -f conftest.defines conftest.tail
54159 # First, append a space to every undef/define line, to ease matching.
54160 echo 's/$/ /' >conftest.defines
54161 # Then, protect against being on the right side of a sed subst, or in
54162 # an unquoted here document, in config.status. If some macros were
54163 # called several times there might be several #defines for the same
54164 # symbol, which is useless. But do not sort them, since the last
54165 # AC_DEFINE must be honored.
54166 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54167 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54168 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54169 # PARAMS is the parameter list in the macro definition--in most cases, it's
54170 # just an empty string.
54171 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54172 ac_dB='\\)[ (].*,\\1define\\2'
54173 ac_dC=' '
54174 ac_dD=' ,'
54175
54176 uniq confdefs.h |
54177 sed -n '
54178 t rset
54179 :rset
54180 s/^[ ]*#[ ]*define[ ][ ]*//
54181 t ok
54182 d
54183 :ok
54184 s/[\\&,]/\\&/g
54185 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54186 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54187 ' >>conftest.defines
54188
54189 # Remove the space that was appended to ease matching.
54190 # Then replace #undef with comments. This is necessary, for
54191 # example, in the case of _POSIX_SOURCE, which is predefined and required
54192 # on some systems where configure will not decide to define it.
54193 # (The regexp can be short, since the line contains either #define or #undef.)
54194 echo 's/ $//
54195 s,^[ #]*u.*,/* & */,' >>conftest.defines
54196
54197 # Break up conftest.defines:
54198 ac_max_sed_lines=50
54199
54200 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54201 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54202 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54203 # et cetera.
54204 ac_in='$ac_file_inputs'
54205 ac_out='"$tmp/out1"'
54206 ac_nxt='"$tmp/out2"'
54207
54208 while :
54209 do
54210 # Write a here document:
54211 cat >>$CONFIG_STATUS <<_ACEOF
54212 # First, check the format of the line:
54213 cat >"\$tmp/defines.sed" <<\\CEOF
54214 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54215 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54216 b
54217 :def
54218 _ACEOF
54219 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54220 echo 'CEOF
54221 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54222 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54223 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54224 grep . conftest.tail >/dev/null || break
54225 rm -f conftest.defines
54226 mv conftest.tail conftest.defines
54227 done
54228 rm -f conftest.defines conftest.tail
54229
54230 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54231 cat >>$CONFIG_STATUS <<\_ACEOF
54232 if test x"$ac_file" != x-; then
54233 echo "/* $configure_input */" >"$tmp/config.h"
54234 cat "$ac_result" >>"$tmp/config.h"
54235 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54236 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54237 echo "$as_me: $ac_file is unchanged" >&6;}
54238 else
54239 rm -f $ac_file
54240 mv "$tmp/config.h" $ac_file
54241 fi
54242 else
54243 echo "/* $configure_input */"
54244 cat "$ac_result"
54245 fi
54246 rm -f "$tmp/out12"
54247 ;;
54248
54249 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54250 echo "$as_me: executing $ac_file commands" >&6;}
54251 ;;
54252 esac
54253
54254
54255 case $ac_file$ac_mode in
54256 "rcdefs.h":C)
54257 mkdir -p $outdir &&
54258 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54259 ;;
54260 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54261 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54262 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54263 "wx-config":C) rm -f wx-config
54264 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54265 ;;
54266
54267 esac
54268 done # for ac_tag
54269
54270
54271 { (exit 0); exit 0; }
54272 _ACEOF
54273 chmod +x $CONFIG_STATUS
54274 ac_clean_files=$ac_clean_files_save
54275
54276
54277 # configure is writing to config.log, and then calls config.status.
54278 # config.status does its own redirection, appending to config.log.
54279 # Unfortunately, on DOS this fails, as config.log is still kept open
54280 # by configure, so config.status won't be able to write to it; its
54281 # output is simply discarded. So we exec the FD to /dev/null,
54282 # effectively closing config.log, so it can be properly (re)opened and
54283 # appended to by config.status. When coming back to configure, we
54284 # need to make the FD available again.
54285 if test "$no_create" != yes; then
54286 ac_cs_success=:
54287 ac_config_status_args=
54288 test "$silent" = yes &&
54289 ac_config_status_args="$ac_config_status_args --quiet"
54290 exec 5>/dev/null
54291 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54292 exec 5>>config.log
54293 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54294 # would make configure fail if this is the last instruction.
54295 $ac_cs_success || { (exit 1); exit 1; }
54296 fi
54297
54298 #
54299 # CONFIG_SUBDIRS section.
54300 #
54301 if test "$no_recursion" != yes; then
54302
54303 # Remove --cache-file and --srcdir arguments so they do not pile up.
54304 ac_sub_configure_args=
54305 ac_prev=
54306 eval "set x $ac_configure_args"
54307 shift
54308 for ac_arg
54309 do
54310 if test -n "$ac_prev"; then
54311 ac_prev=
54312 continue
54313 fi
54314 case $ac_arg in
54315 -cache-file | --cache-file | --cache-fil | --cache-fi \
54316 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54317 ac_prev=cache_file ;;
54318 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54319 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54320 | --c=*)
54321 ;;
54322 --config-cache | -C)
54323 ;;
54324 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54325 ac_prev=srcdir ;;
54326 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54327 ;;
54328 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54329 ac_prev=prefix ;;
54330 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54331 ;;
54332 *)
54333 case $ac_arg in
54334 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54335 esac
54336 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54337 esac
54338 done
54339
54340 # Always prepend --prefix to ensure using the same prefix
54341 # in subdir configurations.
54342 ac_arg="--prefix=$prefix"
54343 case $ac_arg in
54344 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54345 esac
54346 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54347
54348 # Pass --silent
54349 if test "$silent" = yes; then
54350 ac_sub_configure_args="--silent $ac_sub_configure_args"
54351 fi
54352
54353 ac_popdir=`pwd`
54354 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54355
54356 # Do not complain, so a configure script can configure whichever
54357 # parts of a large source tree are present.
54358 test -d "$srcdir/$ac_dir" || continue
54359
54360 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54361 echo "$as_me:$LINENO: $ac_msg" >&5
54362 echo "$ac_msg" >&6
54363 { as_dir="$ac_dir"
54364 case $as_dir in #(
54365 -*) as_dir=./$as_dir;;
54366 esac
54367 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54368 as_dirs=
54369 while :; do
54370 case $as_dir in #(
54371 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54372 *) as_qdir=$as_dir;;
54373 esac
54374 as_dirs="'$as_qdir' $as_dirs"
54375 as_dir=`$as_dirname -- "$as_dir" ||
54376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54377 X"$as_dir" : 'X\(//\)[^/]' \| \
54378 X"$as_dir" : 'X\(//\)$' \| \
54379 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54380 echo X"$as_dir" |
54381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54382 s//\1/
54383 q
54384 }
54385 /^X\(\/\/\)[^/].*/{
54386 s//\1/
54387 q
54388 }
54389 /^X\(\/\/\)$/{
54390 s//\1/
54391 q
54392 }
54393 /^X\(\/\).*/{
54394 s//\1/
54395 q
54396 }
54397 s/.*/./; q'`
54398 test -d "$as_dir" && break
54399 done
54400 test -z "$as_dirs" || eval "mkdir $as_dirs"
54401 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54402 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54403 { (exit 1); exit 1; }; }; }
54404 ac_builddir=.
54405
54406 case "$ac_dir" in
54407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54408 *)
54409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54410 # A ".." for each directory in $ac_dir_suffix.
54411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54412 case $ac_top_builddir_sub in
54413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54415 esac ;;
54416 esac
54417 ac_abs_top_builddir=$ac_pwd
54418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54419 # for backward compatibility:
54420 ac_top_builddir=$ac_top_build_prefix
54421
54422 case $srcdir in
54423 .) # We are building in place.
54424 ac_srcdir=.
54425 ac_top_srcdir=$ac_top_builddir_sub
54426 ac_abs_top_srcdir=$ac_pwd ;;
54427 [\\/]* | ?:[\\/]* ) # Absolute name.
54428 ac_srcdir=$srcdir$ac_dir_suffix;
54429 ac_top_srcdir=$srcdir
54430 ac_abs_top_srcdir=$srcdir ;;
54431 *) # Relative name.
54432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54433 ac_top_srcdir=$ac_top_build_prefix$srcdir
54434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54435 esac
54436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54437
54438
54439 cd "$ac_dir"
54440
54441 # Check for guested configure; otherwise get Cygnus style configure.
54442 if test -f "$ac_srcdir/configure.gnu"; then
54443 ac_sub_configure=$ac_srcdir/configure.gnu
54444 elif test -f "$ac_srcdir/configure"; then
54445 ac_sub_configure=$ac_srcdir/configure
54446 elif test -f "$ac_srcdir/configure.in"; then
54447 # This should be Cygnus configure.
54448 ac_sub_configure=$ac_aux_dir/configure
54449 else
54450 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54451 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54452 ac_sub_configure=
54453 fi
54454
54455 # The recursion is here.
54456 if test -n "$ac_sub_configure"; then
54457 # Make the cache file name correct relative to the subdirectory.
54458 case $cache_file in
54459 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54460 *) # Relative name.
54461 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54462 esac
54463
54464 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54465 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54466 # The eval makes quoting arguments work.
54467 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54468 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54469 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54470 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54471 { (exit 1); exit 1; }; }
54472 fi
54473
54474 cd "$ac_popdir"
54475 done
54476 fi
54477
54478
54479 echo
54480 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54481 echo ""
54482 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54483 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54484 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54485 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54486 if test "$wxUSE_UNICODE" = "yes"; then
54487 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54488 echo " (using UTF-8)"
54489 else
54490 echo " (using wchar_t)"
54491 fi
54492 else
54493 echo
54494 fi
54495
54496 echo " What level of wxWidgets compatibility should be enabled?"
54497 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54498 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54499
54500 echo " Which libraries should wxWidgets use?"
54501 echo " STL ${wxUSE_STL}"
54502 echo " jpeg ${wxUSE_LIBJPEG-none}"
54503 echo " png ${wxUSE_LIBPNG-none}"
54504 echo " regex ${wxUSE_REGEX}"
54505 echo " tiff ${wxUSE_LIBTIFF-none}"
54506 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54507 echo " xpm ${wxUSE_LIBXPM-none}"
54508 fi
54509 echo " zlib ${wxUSE_ZLIB}"
54510 echo " expat ${wxUSE_EXPAT}"
54511 echo " libmspack ${wxUSE_LIBMSPACK}"
54512 echo " sdl ${wxUSE_LIBSDL}"
54513
54514 echo ""
54515