]> git.saurik.com Git - wxWidgets.git/blob - configure
Adapted wxPGComboBox margins setup to changes in wxComboCtrl
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
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 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 PYTHON
713 COND_PYTHON
714 CAIRO_CFLAGS
715 CAIRO_LIBS
716 GST_CFLAGS
717 GST_LIBS
718 ALL_WX_LIBS
719 BUILT_WX_LIBS
720 STD_BASE_LIBS
721 STD_GUI_LIBS
722 wxUSE_ZLIB
723 wxUSE_REGEX
724 wxUSE_EXPAT
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_MEDIA
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 EXTRALIBS_STC
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 DYLIB_RPATH_INSTALL
756 DYLIB_RPATH_POSTLINK
757 SAMPLES_RPATH_FLAG
758 HEADER_PAD_OPTION
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11
953 COND_TOOLKIT_X11_USE_GUI_1
954 COND_UNICODE_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
957 COND_USE_GUI_0
958 COND_USE_GUI_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
968 COND_USE_OPENGL_1
969 COND_USE_PCH_1
970 COND_USE_PLUGINS_0
971 COND_USE_RTTI_0
972 COND_USE_RTTI_1
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSION_0
977 COND_USE_SOVERSOLARIS_1
978 COND_USE_STC_1
979 COND_USE_THREADS_0
980 COND_USE_THREADS_1
981 COND_USE_XRC_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
984 COND_WXUNIV_0
985 COND_WXUNIV_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
998 DEREZ
999 SHARED
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1002 USE_GUI
1003 AFMINSTALL
1004 WIN32INSTALL
1005 TOOLKIT
1006 TOOLKIT_DIR
1007 TOOLCHAIN_NAME
1008 TOOLCHAIN_FULLNAME
1009 cross_compiling
1010 WIDGET_SET
1011 WX_RELEASE
1012 WX_VERSION
1013 WX_SUBVERSION
1014 WX_CHARTYPE
1015 WX_DEBUGTYPE
1016 WXCONFIG_CPPFLAGS
1017 WXCONFIG_CFLAGS
1018 WXCONFIG_CXXFLAGS
1019 WXCONFIG_LIBS
1020 WXCONFIG_RPATH
1021 WXCONFIG_LDFLAGS_GUI
1022 WXCONFIG_RESFLAGS
1023 GUIDIST
1024 DISTDIR
1025 SAMPLES_SUBDIRS
1026 LDFLAGS_GL
1027 OPENGL_LIBS
1028 DMALLOC_LIBS
1029 WX_VERSION_TAG
1030 RESCOMP
1031 RESFLAGS
1032 RESPROGRAMOBJ
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1035 LIBWXMACRES
1036 POSTLINK_COMMAND
1037 MACSETFILE
1038 GCC
1039 DLLTOOL
1040 CPPUNIT_CONFIG
1041 LIBOBJS
1042 LTLIBOBJS'
1043 ac_subst_files=''
1044 ac_precious_vars='build_alias
1045 host_alias
1046 target_alias
1047 CC
1048 CFLAGS
1049 LDFLAGS
1050 LIBS
1051 CPPFLAGS
1052 CPP
1053 CXX
1054 CXXFLAGS
1055 CCC
1056 PKG_CONFIG
1057 DIRECTFB_CFLAGS
1058 DIRECTFB_LIBS
1059 XMKMF
1060 PANGOX_CFLAGS
1061 PANGOX_LIBS
1062 PANGOFT2_CFLAGS
1063 PANGOFT2_LIBS
1064 PANGOXFT_CFLAGS
1065 PANGOXFT_LIBS
1066 GTKPRINT_CFLAGS
1067 GTKPRINT_LIBS
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1070 GNOMEVFS_CFLAGS
1071 GNOMEVFS_LIBS
1072 HILDON_CFLAGS
1073 HILDON_LIBS
1074 CAIRO_CFLAGS
1075 CAIRO_LIBS
1076 GST_CFLAGS
1077 GST_LIBS'
1078 ac_subdirs_all='src/tiff
1079 src/expat'
1080
1081 # Initialize some variables set by options.
1082 ac_init_help=
1083 ac_init_version=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file=/dev/null
1087 exec_prefix=NONE
1088 no_create=
1089 no_recursion=
1090 prefix=NONE
1091 program_prefix=NONE
1092 program_suffix=NONE
1093 program_transform_name=s,x,x,
1094 silent=
1095 site=
1096 srcdir=
1097 verbose=
1098 x_includes=NONE
1099 x_libraries=NONE
1100
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir='${exec_prefix}/bin'
1108 sbindir='${exec_prefix}/sbin'
1109 libexecdir='${exec_prefix}/libexec'
1110 datarootdir='${prefix}/share'
1111 datadir='${datarootdir}'
1112 sysconfdir='${prefix}/etc'
1113 sharedstatedir='${prefix}/com'
1114 localstatedir='${prefix}/var'
1115 includedir='${prefix}/include'
1116 oldincludedir='/usr/include'
1117 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir='${datarootdir}/info'
1119 htmldir='${docdir}'
1120 dvidir='${docdir}'
1121 pdfdir='${docdir}'
1122 psdir='${docdir}'
1123 libdir='${exec_prefix}/lib'
1124 localedir='${datarootdir}/locale'
1125 mandir='${datarootdir}/man'
1126
1127 ac_prev=
1128 ac_dashdash=
1129 for ac_option
1130 do
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\$ac_option
1134 ac_prev=
1135 continue
1136 fi
1137
1138 case $ac_option in
1139 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1140 *) ac_optarg=yes ;;
1141 esac
1142
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1144
1145 case $ac_dashdash$ac_option in
1146 --)
1147 ac_dashdash=yes ;;
1148
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 ac_prev=bindir ;;
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir=$ac_optarg ;;
1153
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev=build_alias ;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias=$ac_optarg ;;
1158
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev=cache_file ;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file=$ac_optarg ;;
1165
1166 --config-cache | -C)
1167 cache_file=config.cache ;;
1168
1169 -datadir | --datadir | --datadi | --datad)
1170 ac_prev=datadir ;;
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir=$ac_optarg ;;
1173
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev=datarootdir ;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir=$ac_optarg ;;
1180
1181 -disable-* | --disable-*)
1182 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_$ac_feature=no ;;
1189
1190 -docdir | --docdir | --docdi | --doc | --do)
1191 ac_prev=docdir ;;
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir=$ac_optarg ;;
1194
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 ac_prev=dvidir ;;
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir=$ac_optarg ;;
1199
1200 -enable-* | --enable-*)
1201 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_$ac_feature=\$ac_optarg ;;
1208
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev=exec_prefix ;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix=$ac_optarg ;;
1217
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1220 with_gas=yes ;;
1221
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help=long ;;
1224 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1225 ac_init_help=recursive ;;
1226 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1227 ac_init_help=short ;;
1228
1229 -host | --host | --hos | --ho)
1230 ac_prev=host_alias ;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias=$ac_optarg ;;
1233
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 ac_prev=htmldir ;;
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 | --ht=*)
1238 htmldir=$ac_optarg ;;
1239
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev=includedir ;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir=$ac_optarg ;;
1246
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 ac_prev=infodir ;;
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir=$ac_optarg ;;
1251
1252 -libdir | --libdir | --libdi | --libd)
1253 ac_prev=libdir ;;
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir=$ac_optarg ;;
1256
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev=libexecdir ;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir=$ac_optarg ;;
1263
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev=localedir ;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir=$ac_optarg ;;
1268
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev=localstatedir ;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir=$ac_optarg ;;
1275
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 ac_prev=mandir ;;
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir=$ac_optarg ;;
1280
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1283 with_fp=no ;;
1284
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1287 no_create=yes ;;
1288
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1291 no_recursion=yes ;;
1292
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev=oldincludedir ;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir=$ac_optarg ;;
1301
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 ac_prev=prefix ;;
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix=$ac_optarg ;;
1306
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev=program_prefix ;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix=$ac_optarg ;;
1313
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev=program_suffix ;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix=$ac_optarg ;;
1320
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev=program_transform_name ;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name=$ac_optarg ;;
1337
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 ac_prev=pdfdir ;;
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir=$ac_optarg ;;
1342
1343 -psdir | --psdir | --psdi | --psd | --ps)
1344 ac_prev=psdir ;;
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1346 psdir=$ac_optarg ;;
1347
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1350 silent=yes ;;
1351
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 ac_prev=sbindir ;;
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 | --sbi=* | --sb=*)
1356 sbindir=$ac_optarg ;;
1357
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1361 | --sha | --sh)
1362 ac_prev=sharedstatedir ;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 | --sha=* | --sh=*)
1367 sharedstatedir=$ac_optarg ;;
1368
1369 -site | --site | --sit)
1370 ac_prev=site ;;
1371 -site=* | --site=* | --sit=*)
1372 site=$ac_optarg ;;
1373
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 ac_prev=srcdir ;;
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir=$ac_optarg ;;
1378
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev=sysconfdir ;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir=$ac_optarg ;;
1385
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev=target_alias ;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias=$ac_optarg ;;
1390
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1392 verbose=yes ;;
1393
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version=: ;;
1396
1397 -with-* | --with-*)
1398 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_$ac_package=\$ac_optarg ;;
1405
1406 -without-* | --without-*)
1407 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_$ac_package=no ;;
1414
1415 --x)
1416 # Obsolete; use --with-x.
1417 with_x=yes ;;
1418
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev=x_includes ;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes=$ac_optarg ;;
1425
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev=x_libraries ;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries=$ac_optarg ;;
1432
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1436 ;;
1437
1438 *=*)
1439 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\$ac_optarg
1445 export $ac_envvar ;;
1446
1447 *)
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1453 ;;
1454
1455 esac
1456 done
1457
1458 if test -n "$ac_prev"; then
1459 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1462 fi
1463
1464 # Be sure to have absolute directory names.
1465 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1469 do
1470 eval ac_val=\$$ac_var
1471 case $ac_val in
1472 [\\/$]* | ?:[\\/]* ) continue;;
1473 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1474 esac
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1477 done
1478
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1482 build=$build_alias
1483 host=$host_alias
1484 target=$target_alias
1485
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x; then
1488 if test "x$build_alias" = x; then
1489 cross_compiling=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1493 cross_compiling=yes
1494 fi
1495 fi
1496
1497 ac_tool_prefix=
1498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1499
1500 test "$silent" = yes && exec 6>/dev/null
1501
1502
1503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di=`ls -di .` &&
1505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1511
1512
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 echo X"$0" |
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 s//\1/
1525 q
1526 }
1527 /^X\(\/\/\)[^/].*/{
1528 s//\1/
1529 q
1530 }
1531 /^X\(\/\/\)$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\).*/{
1536 s//\1/
1537 q
1538 }
1539 s/.*/./; q'`
1540 srcdir=$ac_confdir
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1542 srcdir=..
1543 fi
1544 else
1545 ac_srcdir_defaulted=no
1546 fi
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1551 fi
1552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 ac_abs_confdir=`(
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1556 pwd)`
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1559 srcdir=.
1560 fi
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1564 case $srcdir in
1565 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 esac
1567 for ac_var in $ac_precious_vars; do
1568 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1569 eval ac_env_${ac_var}_value=\$${ac_var}
1570 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1572 done
1573
1574 #
1575 # Report the --help message.
1576 #
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1580 cat <<_ACEOF
1581 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1582
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1584
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1587
1588 Defaults for the options are specified in brackets.
1589
1590 Configuration:
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1605 [PREFIX]
1606
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1611
1612 For better control, use the options below.
1613
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1634 _ACEOF
1635
1636 cat <<\_ACEOF
1637
1638 X features:
1639 --x-includes=DIR X include files are in DIR
1640 --x-libraries=DIR X library files are in DIR
1641
1642 System types:
1643 --build=BUILD configure for building on BUILD [guessed]
1644 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1645 _ACEOF
1646 fi
1647
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1651 esac
1652 cat <<\_ACEOF
1653
1654 Optional Features:
1655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1657 --disable-gui don't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros, even if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets 2.6 compatibility
1692 --disable-compat28 disable wxWidgets 2.8 compatibility
1693 --disable-rpath disable use of rpath for uninstalled builds
1694 --enable-objc_uniquifying enable Objective-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even if supported
1696 --disable-tls disable use of compiler TLS support
1697 --enable-intl use internationalization system
1698 --enable-xlocale use x-locale support (requires wxLocale)
1699 --enable-config use wxConfig (and derived) classes
1700 --enable-protocols use wxProtocol and derived classes
1701 --enable-ftp use wxFTP (requires wxProtocol
1702 --enable-http use wxHTTP (requires wxProtocol
1703 --enable-fileproto use wxFileProto class (requires wxProtocol
1704 --enable-sockets use socket/network classes
1705 --enable-ipv6 enable IPv6 support in wxSocket
1706 --enable-ole use OLE classes (Win32 only)
1707 --enable-dataobj use data object classes
1708 --enable-ipc use interprocess communication (wxSocket etc.)
1709 --enable-baseevtloop use event loop in console programs too
1710 --enable-epollloop use wxEpollDispatcher class (Linux only)
1711 --enable-selectloop use wxSelectDispatcher class
1712 --enable-apple_ieee use the Apple IEEE codec
1713 --enable-arcstream use wxArchive streams
1714 --enable-base64 use base64 encoding/decoding functions
1715 --enable-backtrace use wxStackWalker class for getting backtraces
1716 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1717 --enable-cmdline use wxCmdLineParser class
1718 --enable-datetime use wxDateTime class
1719 --enable-debugreport use wxDebugReport class
1720 --enable-dialupman use dialup network classes
1721 --enable-dynlib use wxLibrary class for DLL loading
1722 --enable-dynamicloader use (new) wxDynamicLibrary class
1723 --enable-exceptions build exception-safe library
1724 --enable-ffile use wxFFile class
1725 --enable-file use wxFile class
1726 --enable-filesystem use virtual file systems classes
1727 --enable-fontenum use wxFontEnumerator class
1728 --enable-fontmap use font encodings conversion classes
1729 --enable-fs_archive use virtual archive filesystems
1730 --enable-fs_inet use virtual HTTP/FTP filesystems
1731 --enable-fs_zip now replaced by fs_archive
1732 --enable-geometry use geometry class
1733 --enable-log use logging system
1734 --enable-longlong use wxLongLong class
1735 --enable-mimetype use wxMimeTypesManager
1736 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1737 --enable-snglinst use wxSingleInstanceChecker class
1738 --enable-sound use wxSound class
1739 --enable-stdpaths use wxStandardPaths class
1740 --enable-stopwatch use wxStopWatch class
1741 --enable-streams use wxStream etc classes
1742 --enable-sysoptions use wxSystemOptions
1743 --enable-tarstream use wxTar streams
1744 --enable-textbuf use wxTextBuffer class
1745 --enable-textfile use wxTextFile class
1746 --enable-timer use wxTimer class
1747 --enable-variant use wxVariant class
1748 --enable-zipstream use wxZip streams
1749 --enable-url use wxURL class
1750 --enable-protocol use wxProtocol class
1751 --enable-protocol-http HTTP support in wxProtocol
1752 --enable-protocol-ftp FTP support in wxProtocol
1753 --enable-protocol-file FILE support in wxProtocol
1754 --enable-threads use threads
1755 --enable-iniconf use wxIniConfig (Win32 only)
1756 --enable-regkey use wxRegKey class (Win32 only)
1757 --enable-docview use document view architecture
1758 --enable-help use help subsystem
1759 --enable-mshtmlhelp use MS HTML Help (win32)
1760 --enable-html use wxHTML sub-library
1761 --enable-htmlhelp use wxHTML-based help
1762 --enable-xrc use XRC resources sub-library
1763 --enable-aui use AUI docking library
1764 --enable-propgrid use wxPropertyGrid library
1765 --enable-stc use wxStyledTextCtrl library
1766 --enable-constraints use layout-constraints system
1767 --enable-loggui use standard GUI logger
1768 --enable-logwin use wxLogWindow
1769 --enable-logdialog use wxLogDialog
1770 --enable-mdi use multiple document interface architecture
1771 --enable-mdidoc use docview architecture with MDI
1772 --enable-mediactrl use wxMediaCtrl class
1773 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1774 --enable-webkit use wxWebKitCtrl (Mac)
1775 --enable-richtext use wxRichTextCtrl
1776 --enable-graphics_ctx use graphics context 2D drawing API
1777 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1778 --enable-printarch use printing architecture
1779 --enable-svg use wxSVGFileDC device context
1780 --enable-clipboard use wxClipboard class
1781 --enable-dnd use Drag'n'Drop classes
1782 --enable-metafile use win32 metafiles
1783 --disable-controls disable compilation of all standard controls
1784 --enable-accel use accelerators
1785 --enable-animatectrl use wxAnimationCtrl class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-button use wxButton class
1789 --enable-calendar use wxCalendarCtrl class
1790 --enable-caret use wxCaret class
1791 --enable-checkbox use wxCheckBox class
1792 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1793 --enable-choice use wxChoice class
1794 --enable-choicebook use wxChoicebook class
1795 --enable-collpane use wxCollapsiblePane class
1796 --enable-colourpicker use wxColourPickerCtrl class
1797 --enable-combobox use wxComboBox class
1798 --enable-comboctrl use wxComboCtrl class
1799 --enable-dataviewctrl use wxDataViewCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filectrl use wxFileCtrl class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-headerctrl use wxHeaderCtrl class
1811 --enable-hyperlink use wxHyperlinkCtrl class
1812 --enable-imaglist use wxImageList class
1813 --enable-listbook use wxListbook class
1814 --enable-listbox use wxListBox class
1815 --enable-listctrl use wxListCtrl class
1816 --enable-notebook use wxNotebook class
1817 --enable-notifmsg use wxNotificationMessage class
1818 --enable-odcombobox use wxOwnerDrawnComboBox class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-textctrl use wxTextCtrl class
1838 --enable-tipwindow use wxTipWindow class
1839 --enable-togglebtn use wxToggleButton class
1840 --enable-toolbar use wxToolBar class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treebook use wxTreebook class
1843 --enable-treectrl use wxTreeCtrl class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile (Win32 only)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images (GIF file format)
1873 --enable-pcx use pcx images (PCX file format)
1874 --enable-tga use tga images (TGA file format)
1875 --enable-iff use iff images (IFF file format)
1876 --enable-pnm use pnm images (PNM file format)
1877 --enable-xpm use xpm images (XPM file format)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects (Win32 only)
1880 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1881 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1882 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1883 --enable-wxdib use wxDIB class (Win32 only)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support for large files
1886 --disable-gtktest do not try to compile and run a test GTK+ program
1887 --disable-gtktest Do not try to compile and run a test GTK program
1888 --disable-sdltest Do not try to compile and run a test SDL program
1889 --enable-omf use OMF object format (OS/2)
1890 --disable-dependency-tracking
1891 don't use dependency tracking even if the compiler
1892 can
1893 --disable-precomp-headers
1894 don't use precompiled headers even if compiler can
1895
1896 Optional Packages:
1897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1899 --without-subdirs don't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1914 --with-x11 use X11
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1941
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1950 CPP C preprocessor
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1954 DIRECTFB_CFLAGS
1955 C compiler flags for DIRECTFB, overriding pkg-config
1956 DIRECTFB_LIBS
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1959 PANGOX_CFLAGS
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1962 PANGOFT2_CFLAGS
1963 C compiler flags for PANGOFT2, overriding pkg-config
1964 PANGOFT2_LIBS
1965 linker flags for PANGOFT2, overriding pkg-config
1966 PANGOXFT_CFLAGS
1967 C compiler flags for PANGOXFT, overriding pkg-config
1968 PANGOXFT_LIBS
1969 linker flags for PANGOXFT, overriding pkg-config
1970 GTKPRINT_CFLAGS
1971 C compiler flags for GTKPRINT, overriding pkg-config
1972 GTKPRINT_LIBS
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1978 GNOMEVFS_CFLAGS
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1980 GNOMEVFS_LIBS
1981 linker flags for GNOMEVFS, overriding pkg-config
1982 HILDON_CFLAGS
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1985 CAIRO_CFLAGS
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1990
1991 Use these variables to override the choices made by `configure' or to help
1992 it to find libraries and programs with nonstandard names/locations.
1993
1994 Report bugs to <wx-dev@lists.wxwidgets.org>.
1995 _ACEOF
1996 ac_status=$?
1997 fi
1998
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2002 test -d "$ac_dir" || continue
2003 ac_builddir=.
2004
2005 case "$ac_dir" in
2006 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2007 *)
2008 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2013 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2014 esac ;;
2015 esac
2016 ac_abs_top_builddir=$ac_pwd
2017 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir=$ac_top_build_prefix
2020
2021 case $srcdir in
2022 .) # We are building in place.
2023 ac_srcdir=.
2024 ac_top_srcdir=$ac_top_builddir_sub
2025 ac_abs_top_srcdir=$ac_pwd ;;
2026 [\\/]* | ?:[\\/]* ) # Absolute name.
2027 ac_srcdir=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir=$srcdir
2029 ac_abs_top_srcdir=$srcdir ;;
2030 *) # Relative name.
2031 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2034 esac
2035 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2036
2037 cd "$ac_dir" || { ac_status=$?; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2043 echo &&
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2045 else
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2047 fi || ac_status=$?
2048 cd "$ac_pwd" || { ac_status=$?; break; }
2049 done
2050 fi
2051
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2054 cat <<\_ACEOF
2055 wxWidgets configure 2.9.1
2056 generated by GNU Autoconf 2.61
2057
2058 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2060 This configure script is free software; the Free Software Foundation
2061 gives unlimited permission to copy, distribute and modify it.
2062 _ACEOF
2063 exit
2064 fi
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by wxWidgets $as_me 2.9.1, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2071
2072 $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 echo "PATH: $as_dir"
2107 done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133 for ac_arg
2134 do
2135 case $ac_arg in
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 continue ;;
2140 *\'*)
2141 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 esac
2143 case $ac_pass in
2144 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2145 2)
2146 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2149 else
2150 case $ac_arg in
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 esac
2158 ;;
2159 -* ) ac_must_keep_next=true ;;
2160 esac
2161 fi
2162 ac_configure_args="$ac_configure_args '$ac_arg'"
2163 ;;
2164 esac
2165 done
2166 done
2167 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2168 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2177 {
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2184 _ASBOX
2185 echo
2186 # The following way of writing the cache mishandles newlines in values,
2187 (
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in #(
2191 *${as_nl}*)
2192 case $ac_var in #(
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 esac
2196 case $ac_var in #(
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2199 esac ;;
2200 esac
2201 done
2202 (set) 2>&1 |
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2205 sed -n \
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 ;; #(
2209 *)
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 ;;
2212 esac |
2213 sort
2214 )
2215 echo
2216
2217 cat <<\_ASBOX
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2221 _ASBOX
2222 echo
2223 for ac_var in $ac_subst_vars
2224 do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in
2227 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 esac
2229 echo "$ac_var='\''$ac_val'\''"
2230 done | sort
2231 echo
2232
2233 if test -n "$ac_subst_files"; then
2234 cat <<\_ASBOX
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2238 _ASBOX
2239 echo
2240 for ac_var in $ac_subst_files
2241 do
2242 eval ac_val=\$$ac_var
2243 case $ac_val in
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 esac
2246 echo "$ac_var='\''$ac_val'\''"
2247 done | sort
2248 echo
2249 fi
2250
2251 if test -s confdefs.h; then
2252 cat <<\_ASBOX
2253 ## ----------- ##
2254 ## confdefs.h. ##
2255 ## ----------- ##
2256 _ASBOX
2257 echo
2258 cat confdefs.h
2259 echo
2260 fi
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2264 } >&5
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 exit $exit_status
2268 ' 0
2269 for ac_signal in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2271 done
2272 ac_signal=0
2273
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest* confdefs.h
2276
2277 # Predefined preprocessor variables.
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2281 _ACEOF
2282
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 _ACEOF
2287
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2291 _ACEOF
2292
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 _ACEOF
2297
2298
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2301 _ACEOF
2302
2303
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x "$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE; then
2309 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2310 else
2311 set x "$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2313 fi
2314 shift
2315 for ac_site_file
2316 do
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2321 . "$ac_site_file"
2322 fi
2323 done
2324
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2331 case $cache_file in
2332 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2333 *) . "./$cache_file";;
2334 esac
2335 fi
2336 else
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2339 >$cache_file
2340 fi
2341
2342 # Check that the precious variables saved in the cache have kept the same
2343 # value.
2344 ac_cache_corrupted=false
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2347 eval ac_new_set=\$ac_env_${ac_var}_set
2348 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2349 eval ac_new_val=\$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2351 set,)
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted=: ;;
2355 ,set)
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2359 ,);;
2360 *)
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted=:
2369 fi;;
2370 esac
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2373 case $ac_new_val in
2374 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg=$ac_var=$ac_new_val ;;
2376 esac
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2380 esac
2381 fi
2382 done
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2389 fi
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415 ac_ext=c
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420
2421
2422
2423
2424
2425 ac_aux_dir=
2426 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2428 ac_aux_dir=$ac_dir
2429 ac_install_sh="$ac_aux_dir/install-sh -c"
2430 break
2431 elif test -f "$ac_dir/install.sh"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/install.sh -c"
2434 break
2435 elif test -f "$ac_dir/shtool"; then
2436 ac_aux_dir=$ac_dir
2437 ac_install_sh="$ac_aux_dir/shtool install -c"
2438 break
2439 fi
2440 done
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2445 fi
2446
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454
2455
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2461
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 ac_build_alias=$build_alias
2468 test "x$ac_build_alias" = x &&
2469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x &&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 build=$ac_cv_build
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_build
2491 shift
2492 build_cpu=$1
2493 build_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 build_os=$*
2498 IFS=$ac_save_IFS
2499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$host_alias" = x; then
2508 ac_cv_host=$ac_cv_build
2509 else
2510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 case $ac_cv_host in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 host=$ac_cv_host
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_host
2528 shift
2529 host_cpu=$1
2530 host_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 host_os=$*
2535 IFS=$ac_save_IFS
2536 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2537
2538
2539
2540 if test "$cross_compiling" != "no"; then
2541 HOST_PREFIX="${host_alias}-"
2542 HOST_SUFFIX="-$host_alias"
2543 else
2544 HOST_PREFIX=
2545 HOST_SUFFIX=
2546 fi
2547
2548
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2551 wx_release_number=1
2552 wx_subrelease_number=0
2553
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559
2560
2561 wx_top_builddir="`pwd`"
2562
2563
2564
2565
2566 USE_UNIX=1
2567 USE_OS2=0
2568 USE_WIN32=0
2569 USE_DOS=0
2570 USE_BEOS=0
2571 USE_MAC=0
2572
2573 USE_AIX=
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_GNU= USE_HPUX=
2576 USE_LINUX=
2577 USE_NETBSD=
2578 USE_OPENBSD=
2579 USE_OSF= USE_SGI=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 USE_ULTRIX=
2582 USE_UNIXWARE=
2583
2584 USE_ALPHA=
2585
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587
2588 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2589
2590 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_GTK=0
2592 DEFAULT_wxUSE_OSX_CARBON=0
2593 DEFAULT_wxUSE_OSX_COCOA=0
2594 DEFAULT_wxUSE_MGL=0
2595 DEFAULT_wxUSE_MICROWIN=0
2596 DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_wxUSE_MSW=0
2598 DEFAULT_wxUSE_PM=0
2599 DEFAULT_wxUSE_X11=0
2600 DEFAULT_wxUSE_DFB=0
2601
2602 DEFAULT_DEFAULT_wxUSE_COCOA=0
2603 DEFAULT_DEFAULT_wxUSE_GTK=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2605 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2606 DEFAULT_DEFAULT_wxUSE_MGL=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2609 DEFAULT_DEFAULT_wxUSE_MSW=0
2610 DEFAULT_DEFAULT_wxUSE_PM=0
2611 DEFAULT_DEFAULT_wxUSE_X11=0
2612 DEFAULT_DEFAULT_wxUSE_DFB=0
2613
2614 PROGRAM_EXT=
2615 SAMPLES_RPATH_FLAG=
2616 DYLIB_RPATH_INSTALL=
2617 DYLIB_RPATH_POSTLINK=
2618
2619 DEFAULT_STD_FLAG=yes
2620
2621 case "${host}" in
2622 *-hp-hpux* )
2623 USE_HPUX=1
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __HPUX__ 1
2628 _ACEOF
2629
2630
2631 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2632 ;;
2633 *-*-linux* )
2634 USE_LINUX=1
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __LINUX__ 1
2637 _ACEOF
2638
2639 TMP=`uname -m`
2640 if test "x$TMP" = "xalpha"; then
2641 USE_ALPHA=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __ALPHA__ 1
2644 _ACEOF
2645
2646 fi
2647 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 ;;
2649 *-*-gnu* | *-*-k*bsd*-gnu )
2650 USE_GNU=1
2651 TMP=`uname -m`
2652 if test "x$TMP" = "xalpha"; then
2653 USE_ALPHA=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __ALPHA__ 1
2656 _ACEOF
2657
2658 fi
2659 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 ;;
2661 *-*-irix5* | *-*-irix6* )
2662 USE_SGI=1
2663 USE_SVR4=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SGI__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SVR4__ 1
2670 _ACEOF
2671
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 ;;
2674 *-*-solaris2* )
2675 USE_SUN=1
2676 USE_SOLARIS=1
2677 USE_SVR4=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUN__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SOLARIS__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SVR4__ 1
2688 _ACEOF
2689
2690 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2692 ;;
2693 *-*-sunos4* )
2694 USE_SUN=1
2695 USE_SUNOS=1
2696 USE_BSD=1
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUN__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SUNOS__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __BSD__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 ;;
2711 *-*-freebsd*)
2712 USE_BSD=1
2713 USE_FREEBSD=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __FREEBSD__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 ;;
2724 *-*-openbsd*|*-*-mirbsd*)
2725 USE_BSD=1
2726 USE_OPENBSD=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __OPENBSD__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __BSD__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 ;;
2737 *-*-netbsd*)
2738 USE_BSD=1
2739 USE_NETBSD=1
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __NETBSD__ 1
2742 _ACEOF
2743
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __BSD__ 1
2746 _ACEOF
2747
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750
2751 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 ;;
2753 *-*-osf* )
2754 USE_ALPHA=1
2755 USE_OSF=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __ALPHA__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __OSF__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 ;;
2767 *-*-dgux5* )
2768 USE_ALPHA=1
2769 USE_SVR4=1
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __ALPHA__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SVR4__ 1
2776 _ACEOF
2777
2778 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 ;;
2780 *-*-sysv5* )
2781 USE_SYSV=1
2782 USE_SVR4=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SYSV__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SVR4__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 ;;
2793 *-*-aix* )
2794 USE_AIX=1
2795 USE_SYSV=1
2796 USE_SVR4=1
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __AIX__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SYSV__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SVR4__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 ;;
2811
2812 *-*-*UnixWare*)
2813 USE_SYSV=1
2814 USE_SVR4=1
2815 USE_UNIXWARE=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2818 _ACEOF
2819
2820 ;;
2821
2822 *-*-cygwin* | *-*-mingw32* )
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 ;;
2826
2827 *-pc-msdosdjgpp )
2828 USE_UNIX=0
2829 USE_DOS=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __DOS__ 1
2832 _ACEOF
2833
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 ;;
2837
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __EMX__ 1
2841 _ACEOF
2842
2843 USE_OS2=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __OS2__ 1
2846 _ACEOF
2847
2848 PROGRAM_EXT=".exe"
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2850 CXX=gcc
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2854 ac_save_IFS="$IFS"
2855 IFS='\\'
2856 ac_TEMP_PATH=
2857 for ac_dir in $PATH; do
2858 IFS=$ac_save_IFS
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2861 else
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 fi
2864 done
2865 export PATH="$ac_TEMP_PATH"
2866 unset ac_TEMP_PATH
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-darwin* )
2871 USE_BSD=1
2872 USE_DARWIN=1
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BSD__ 1
2875 _ACEOF
2876
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __DARWIN__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define TARGET_CARBON 1
2883 _ACEOF
2884
2885 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2886 ;;
2887
2888 *-*-beos* )
2889 USE_BEOS=1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __BEOS__ 1
2892 _ACEOF
2893
2894 ;;
2895
2896 *)
2897 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2898 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2899 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2900 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2901
2902 DEFAULT_DEFAULT_wxUSE_X11=1
2903 DEFAULT_wxUSE_SHARED=no
2904 esac
2905
2906
2907
2908 DEFAULT_wxUSE_ALL_FEATURES=yes
2909
2910 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2911 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2912
2913 DEFAULT_wxUSE_DMALLOC=no
2914 DEFAULT_wxUSE_LIBGNOMEVFS=no
2915 DEFAULT_wxUSE_LIBHILDON=no
2916 DEFAULT_wxUSE_LIBMSPACK=no
2917 DEFAULT_wxUSE_LIBSDL=no
2918
2919 DEFAULT_wxUSE_ACCESSIBILITY=no
2920 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2921 DEFAULT_wxUSE_IPV6=no
2922 DEFAULT_wxUSE_GSTREAMER8=no
2923
2924 DEFAULT_wxUSE_UNICODE_UTF8=auto
2925 DEFAULT_wxUSE_OPENGL=auto
2926 DEFAULT_wxUSE_MEDIACTRL=auto
2927 DEFAULT_wxUSE_COMPILER_TLS=auto
2928
2929 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2930
2931 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2932
2933 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2934
2935 DEFAULT_wxUSE_GTK2=yes
2936
2937 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2938
2939
2940
2941
2942
2943 enablestring=disable
2944 defaultval=
2945 if test -z "$defaultval"; then
2946 if test x"$enablestring" = xdisable; then
2947 defaultval=yes
2948 else
2949 defaultval=no
2950 fi
2951 fi
2952
2953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2954 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2955 # Check whether --enable-gui was given.
2956 if test "${enable_gui+set}" = set; then
2957 enableval=$enable_gui;
2958 if test "$enableval" = yes; then
2959 wx_cv_use_gui='wxUSE_GUI=yes'
2960 else
2961 wx_cv_use_gui='wxUSE_GUI=no'
2962 fi
2963
2964 else
2965
2966 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2967
2968 fi
2969
2970
2971 eval "$wx_cv_use_gui"
2972
2973 if test x"$enablestring" = xdisable; then
2974 if test $wxUSE_GUI = no; then
2975 result=yes
2976 else
2977 result=no
2978 fi
2979 else
2980 result=$wxUSE_GUI
2981 fi
2982
2983 { echo "$as_me:$LINENO: result: $result" >&5
2984 echo "${ECHO_T}$result" >&6; }
2985
2986
2987 enablestring=
2988 defaultval=
2989 if test -z "$defaultval"; then
2990 if test x"$enablestring" = xdisable; then
2991 defaultval=yes
2992 else
2993 defaultval=no
2994 fi
2995 fi
2996
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2999 # Check whether --enable-monolithic was given.
3000 if test "${enable_monolithic+set}" = set; then
3001 enableval=$enable_monolithic;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3004 else
3005 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3006 fi
3007
3008 else
3009
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3011
3012 fi
3013
3014
3015 eval "$wx_cv_use_monolithic"
3016
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_MONOLITHIC = no; then
3019 result=yes
3020 else
3021 result=no
3022 fi
3023 else
3024 result=$wxUSE_MONOLITHIC
3025 fi
3026
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3029
3030
3031 enablestring=
3032 defaultval=
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3035 defaultval=yes
3036 else
3037 defaultval=no
3038 fi
3039 fi
3040
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3043 # Check whether --enable-plugins was given.
3044 if test "${enable_plugins+set}" = set; then
3045 enableval=$enable_plugins;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3048 else
3049 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3050 fi
3051
3052 else
3053
3054 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3055
3056 fi
3057
3058
3059 eval "$wx_cv_use_plugins"
3060
3061 if test x"$enablestring" = xdisable; then
3062 if test $wxUSE_PLUGINS = no; then
3063 result=yes
3064 else
3065 result=no
3066 fi
3067 else
3068 result=$wxUSE_PLUGINS
3069 fi
3070
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3073
3074
3075 withstring=without
3076 defaultval=$wxUSE_ALL_FEATURES
3077 if test -z "$defaultval"; then
3078 if test x"$withstring" = xwithout; then
3079 defaultval=yes
3080 else
3081 defaultval=no
3082 fi
3083 fi
3084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3085 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3086
3087 # Check whether --with-subdirs was given.
3088 if test "${with_subdirs+set}" = set; then
3089 withval=$with_subdirs;
3090 if test "$withval" = yes; then
3091 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3092 else
3093 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3094 fi
3095
3096 else
3097
3098 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3099
3100 fi
3101
3102
3103 eval "$wx_cv_use_subdirs"
3104
3105 if test x"$withstring" = xwithout; then
3106 if test $wxWITH_SUBDIRS = yes; then
3107 result=no
3108 else
3109 result=yes
3110 fi
3111 else
3112 result=$wxWITH_SUBDIRS
3113 fi
3114
3115 { echo "$as_me:$LINENO: result: $result" >&5
3116 echo "${ECHO_T}$result" >&6; }
3117
3118
3119 # Check whether --with-flavour was given.
3120 if test "${with_flavour+set}" = set; then
3121 withval=$with_flavour; WX_FLAVOUR="$withval"
3122 fi
3123
3124
3125 enablestring=
3126 defaultval=
3127 if test -z "$defaultval"; then
3128 if test x"$enablestring" = xdisable; then
3129 defaultval=yes
3130 else
3131 defaultval=no
3132 fi
3133 fi
3134
3135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3136 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3137 # Check whether --enable-official_build was given.
3138 if test "${enable_official_build+set}" = set; then
3139 enableval=$enable_official_build;
3140 if test "$enableval" = yes; then
3141 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3142 else
3143 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3144 fi
3145
3146 else
3147
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3149
3150 fi
3151
3152
3153 eval "$wx_cv_use_official_build"
3154
3155 if test x"$enablestring" = xdisable; then
3156 if test $wxUSE_OFFICIAL_BUILD = no; then
3157 result=yes
3158 else
3159 result=no
3160 fi
3161 else
3162 result=$wxUSE_OFFICIAL_BUILD
3163 fi
3164
3165 { echo "$as_me:$LINENO: result: $result" >&5
3166 echo "${ECHO_T}$result" >&6; }
3167
3168 # Check whether --enable-vendor was given.
3169 if test "${enable_vendor+set}" = set; then
3170 enableval=$enable_vendor; VENDOR="$enableval"
3171 fi
3172
3173 if test "x$VENDOR" = "x"; then
3174 VENDOR="custom"
3175 fi
3176
3177
3178 enablestring=disable
3179 defaultval=
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3182 defaultval=yes
3183 else
3184 defaultval=no
3185 fi
3186 fi
3187
3188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3189 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3190 # Check whether --enable-all-features was given.
3191 if test "${enable_all_features+set}" = set; then
3192 enableval=$enable_all_features;
3193 if test "$enableval" = yes; then
3194 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3195 else
3196 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3197 fi
3198
3199 else
3200
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3202
3203 fi
3204
3205
3206 eval "$wx_cv_use_all_features"
3207
3208 if test x"$enablestring" = xdisable; then
3209 if test $wxUSE_ALL_FEATURES = no; then
3210 result=yes
3211 else
3212 result=no
3213 fi
3214 else
3215 result=$wxUSE_ALL_FEATURES
3216 fi
3217
3218 { echo "$as_me:$LINENO: result: $result" >&5
3219 echo "${ECHO_T}$result" >&6; }
3220
3221
3222 if test "$wxUSE_ALL_FEATURES" = "no"; then
3223 DEFAULT_wxUSE_MEDIACTRL=no
3224 fi
3225
3226
3227 if test "$wxUSE_GUI" = "yes"; then
3228
3229
3230 enablestring=
3231 defaultval=
3232 if test -z "$defaultval"; then
3233 if test x"$enablestring" = xdisable; then
3234 defaultval=yes
3235 else
3236 defaultval=no
3237 fi
3238 fi
3239
3240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3241 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3242 # Check whether --enable-universal was given.
3243 if test "${enable_universal+set}" = set; then
3244 enableval=$enable_universal;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3247 else
3248 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3249 fi
3250
3251 else
3252
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3254
3255 fi
3256
3257
3258 eval "$wx_cv_use_universal"
3259
3260 if test x"$enablestring" = xdisable; then
3261 if test $wxUSE_UNIVERSAL = no; then
3262 result=yes
3263 else
3264 result=no
3265 fi
3266 else
3267 result=$wxUSE_UNIVERSAL
3268 fi
3269
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3272
3273 if test "$wxUSE_UNIVERSAL" = "yes"; then
3274
3275 # Check whether --with-themes was given.
3276 if test "${with_themes+set}" = set; then
3277 withval=$with_themes; wxUNIV_THEMES="$withval"
3278 fi
3279
3280 fi
3281
3282
3283 # Check whether --with-gtk was given.
3284 if test "${with_gtk+set}" = set; then
3285 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3286 fi
3287
3288
3289 # Check whether --with-motif was given.
3290 if test "${with_motif+set}" = set; then
3291 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3292 fi
3293
3294
3295 # Check whether --with-osx_carbon was given.
3296 if test "${with_osx_carbon+set}" = set; then
3297 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3298 fi
3299
3300
3301 # Check whether --with-osx_cocoa was given.
3302 if test "${with_osx_cocoa+set}" = set; then
3303 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3304 fi
3305
3306
3307 # Check whether --with-mac was given.
3308 if test "${with_mac+set}" = set; then
3309 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3310 fi
3311
3312
3313 # Check whether --with-cocoa was given.
3314 if test "${with_cocoa+set}" = set; then
3315 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3316 fi
3317
3318
3319 # Check whether --with-wine was given.
3320 if test "${with_wine+set}" = set; then
3321 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3322 fi
3323
3324
3325 # Check whether --with-msw was given.
3326 if test "${with_msw+set}" = set; then
3327 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3328 fi
3329
3330
3331 # Check whether --with-pm was given.
3332 if test "${with_pm+set}" = set; then
3333 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3334 fi
3335
3336
3337 # Check whether --with-mgl was given.
3338 if test "${with_mgl+set}" = set; then
3339 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3340 fi
3341
3342
3343 # Check whether --with-directfb was given.
3344 if test "${with_directfb+set}" = set; then
3345 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-microwin was given.
3350 if test "${with_microwin+set}" = set; then
3351 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-x11 was given.
3356 if test "${with_x11+set}" = set; then
3357 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 enablestring=
3362 defaultval=
3363 if test -z "$defaultval"; then
3364 if test x"$enablestring" = xdisable; then
3365 defaultval=yes
3366 else
3367 defaultval=no
3368 fi
3369 fi
3370
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3373 # Check whether --enable-nanox was given.
3374 if test "${enable_nanox+set}" = set; then
3375 enableval=$enable_nanox;
3376 if test "$enableval" = yes; then
3377 wx_cv_use_nanox='wxUSE_NANOX=yes'
3378 else
3379 wx_cv_use_nanox='wxUSE_NANOX=no'
3380 fi
3381
3382 else
3383
3384 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3385
3386 fi
3387
3388
3389 eval "$wx_cv_use_nanox"
3390
3391 if test x"$enablestring" = xdisable; then
3392 if test $wxUSE_NANOX = no; then
3393 result=yes
3394 else
3395 result=no
3396 fi
3397 else
3398 result=$wxUSE_NANOX
3399 fi
3400
3401 { echo "$as_me:$LINENO: result: $result" >&5
3402 echo "${ECHO_T}$result" >&6; }
3403
3404
3405 # Check whether --enable-gtk2 was given.
3406 if test "${enable_gtk2+set}" = set; then
3407 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3408 fi
3409
3410
3411 enablestring=
3412 defaultval=
3413 if test -z "$defaultval"; then
3414 if test x"$enablestring" = xdisable; then
3415 defaultval=yes
3416 else
3417 defaultval=no
3418 fi
3419 fi
3420
3421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3422 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3423 # Check whether --enable-gpe was given.
3424 if test "${enable_gpe+set}" = set; then
3425 enableval=$enable_gpe;
3426 if test "$enableval" = yes; then
3427 wx_cv_use_gpe='wxUSE_GPE=yes'
3428 else
3429 wx_cv_use_gpe='wxUSE_GPE=no'
3430 fi
3431
3432 else
3433
3434 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3435
3436 fi
3437
3438
3439 eval "$wx_cv_use_gpe"
3440
3441 if test x"$enablestring" = xdisable; then
3442 if test $wxUSE_GPE = no; then
3443 result=yes
3444 else
3445 result=no
3446 fi
3447 else
3448 result=$wxUSE_GPE
3449 fi
3450
3451 { echo "$as_me:$LINENO: result: $result" >&5
3452 echo "${ECHO_T}$result" >&6; }
3453
3454
3455
3456 { echo "$as_me:$LINENO: checking for toolkit" >&5
3457 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3458
3459
3460
3461 # In Wine, we need to default to MSW, not GTK or MOTIF
3462 if test "$wxUSE_WINE" = "yes"; then
3463 DEFAULT_DEFAULT_wxUSE_GTK=0
3464 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3465 DEFAULT_DEFAULT_wxUSE_MSW=1
3466 wxUSE_SHARED=no
3467 CC=${CC:-winegcc}
3468 CXX=${CXX:-wineg++}
3469 fi
3470
3471
3472 if test "$wxUSE_GUI" = "yes"; then
3473
3474 if test "$USE_BEOS" = 1; then
3475 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3476 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3477 { (exit 1); exit 1; }; }
3478 fi
3479
3480 if test "$TOOLKIT_GIVEN" = 1; then
3481 for toolkit in $ALL_TOOLKITS; do
3482 var=wxUSE_$toolkit
3483 eval "value=\$${var}"
3484 if test "x$value" = "xno"; then
3485 eval "$var=0"
3486 elif test "x$value" != "x"; then
3487 eval "$var=1"
3488 fi
3489
3490 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3491 eval "wx${toolkit}_VERSION=$value"
3492 fi
3493 done
3494 else
3495 for toolkit in $ALL_TOOLKITS; do
3496 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3497 eval "wxUSE_$toolkit=\$${var}"
3498 done
3499 fi
3500
3501 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3502 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3503 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3504
3505 case "${host}" in
3506 *-pc-os2_emx | *-pc-os2-emx )
3507 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3508 esac
3509
3510 case "$NUM_TOOLKITS" in
3511 1)
3512 ;;
3513 0)
3514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3516 { (exit 1); exit 1; }; }
3517 ;;
3518 *)
3519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3520 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3521 { (exit 1); exit 1; }; }
3522 esac
3523
3524 # to be removed when --disable-gtk2 isn't needed
3525 if test "x$wxUSE_GTK2" = "xyes"; then
3526 wxGTK_VERSION=2
3527 elif test "x$wxUSE_GTK2" = "xno"; then
3528 wxGTK_VERSION=1
3529 fi
3530
3531 for toolkit in $ALL_TOOLKITS; do
3532 var=wxUSE_$toolkit
3533 eval "value=\$${var}"
3534 if test "$value" = 1; then
3535 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3536 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3537 echo "${ECHO_T}$toolkit_echo" >&6; }
3538 fi
3539 done
3540 else
3541 if test "x$host_alias" != "x"; then
3542 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3543 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3544 else
3545 { echo "$as_me:$LINENO: result: base only" >&5
3546 echo "${ECHO_T}base only" >&6; }
3547 fi
3548 fi
3549
3550 wxUSE_MAC=0
3551 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3552 wxUSE_MAC=1
3553 fi
3554
3555
3556
3557 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3558 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3559
3560 # Check whether --with-libpng was given.
3561 if test "${with_libpng+set}" = set; then
3562 withval=$with_libpng;
3563 if test "$withval" = yes; then
3564 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3565 elif test "$withval" = no; then
3566 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3567 elif test "$withval" = sys; then
3568 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3569 elif test "$withval" = builtin; then
3570 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3571 else
3572 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3573 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3574 { (exit 1); exit 1; }; }
3575 fi
3576
3577 else
3578
3579 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3580
3581 fi
3582
3583
3584 eval "$wx_cv_use_libpng"
3585
3586 if test "$wxUSE_LIBPNG" = yes; then
3587 { echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6; }
3589 elif test "$wxUSE_LIBPNG" = no; then
3590 { echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6; }
3592 elif test "$wxUSE_LIBPNG" = sys; then
3593 { echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6; }
3595 elif test "$wxUSE_LIBPNG" = builtin; then
3596 { echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6; }
3598 else
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3602 fi
3603
3604
3605 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3606 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3607
3608 # Check whether --with-libjpeg was given.
3609 if test "${with_libjpeg+set}" = set; then
3610 withval=$with_libjpeg;
3611 if test "$withval" = yes; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3613 elif test "$withval" = no; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3615 elif test "$withval" = sys; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3617 elif test "$withval" = builtin; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3619 else
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3623 fi
3624
3625 else
3626
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3628
3629 fi
3630
3631
3632 eval "$wx_cv_use_libjpeg"
3633
3634 if test "$wxUSE_LIBJPEG" = yes; then
3635 { echo "$as_me:$LINENO: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = no; then
3638 { echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = sys; then
3641 { echo "$as_me:$LINENO: result: system version" >&5
3642 echo "${ECHO_T}system version" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = builtin; then
3644 { echo "$as_me:$LINENO: result: builtin version" >&5
3645 echo "${ECHO_T}builtin version" >&6; }
3646 else
3647 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3648 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3650 fi
3651
3652
3653 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3654 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3655
3656 # Check whether --with-libtiff was given.
3657 if test "${with_libtiff+set}" = set; then
3658 withval=$with_libtiff;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3667 else
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3671 fi
3672
3673 else
3674
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3676
3677 fi
3678
3679
3680 eval "$wx_cv_use_libtiff"
3681
3682 if test "$wxUSE_LIBTIFF" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = 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-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: 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-libxpm" >&5
3702 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3703
3704 # Check whether --with-libxpm was given.
3705 if test "${with_libxpm+set}" = set; then
3706 withval=$with_libxpm;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3715 else
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3719 fi
3720
3721 else
3722
3723 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3724
3725 fi
3726
3727
3728 eval "$wx_cv_use_libxpm"
3729
3730 if test "$wxUSE_LIBXPM" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBXPM" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBXPM" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBXPM" = 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-libxpm: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3746 fi
3747
3748
3749 withstring=
3750 defaultval=$wxUSE_ALL_FEATURES
3751 if test -z "$defaultval"; then
3752 if test x"$withstring" = xwithout; then
3753 defaultval=yes
3754 else
3755 defaultval=no
3756 fi
3757 fi
3758 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3759 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3760
3761 # Check whether --with-libiconv was given.
3762 if test "${with_libiconv+set}" = set; then
3763 withval=$with_libiconv;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3766 else
3767 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3768 fi
3769
3770 else
3771
3772 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3773
3774 fi
3775
3776
3777 eval "$wx_cv_use_libiconv"
3778
3779 if test x"$withstring" = xwithout; then
3780 if test $wxUSE_LIBICONV = yes; then
3781 result=no
3782 else
3783 result=yes
3784 fi
3785 else
3786 result=$wxUSE_LIBICONV
3787 fi
3788
3789 { echo "$as_me:$LINENO: result: $result" >&5
3790 echo "${ECHO_T}$result" >&6; }
3791
3792
3793 withstring=
3794 defaultval=$wxUSE_ALL_FEATURES
3795 if test -z "$defaultval"; then
3796 if test x"$withstring" = xwithout; then
3797 defaultval=yes
3798 else
3799 defaultval=no
3800 fi
3801 fi
3802 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3803 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3804
3805 # Check whether --with-libmspack was given.
3806 if test "${with_libmspack+set}" = set; then
3807 withval=$with_libmspack;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3810 else
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3812 fi
3813
3814 else
3815
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3817
3818 fi
3819
3820
3821 eval "$wx_cv_use_libmspack"
3822
3823 if test x"$withstring" = xwithout; then
3824 if test $wxUSE_LIBMSPACK = yes; then
3825 result=no
3826 else
3827 result=yes
3828 fi
3829 else
3830 result=$wxUSE_LIBMSPACK
3831 fi
3832
3833 { echo "$as_me:$LINENO: result: $result" >&5
3834 echo "${ECHO_T}$result" >&6; }
3835
3836
3837 withstring=without
3838 defaultval=$wxUSE_ALL_FEATURES
3839 if test -z "$defaultval"; then
3840 if test x"$withstring" = xwithout; then
3841 defaultval=yes
3842 else
3843 defaultval=no
3844 fi
3845 fi
3846 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3847 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3848
3849 # Check whether --with-gtkprint was given.
3850 if test "${with_gtkprint+set}" = set; then
3851 withval=$with_gtkprint;
3852 if test "$withval" = yes; then
3853 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3854 else
3855 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3856 fi
3857
3858 else
3859
3860 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3861
3862 fi
3863
3864
3865 eval "$wx_cv_use_gtkprint"
3866
3867 if test x"$withstring" = xwithout; then
3868 if test $wxUSE_GTKPRINT = yes; then
3869 result=no
3870 else
3871 result=yes
3872 fi
3873 else
3874 result=$wxUSE_GTKPRINT
3875 fi
3876
3877 { echo "$as_me:$LINENO: result: $result" >&5
3878 echo "${ECHO_T}$result" >&6; }
3879
3880
3881 withstring=without
3882 defaultval=$wxUSE_ALL_FEATURES
3883 if test -z "$defaultval"; then
3884 if test x"$withstring" = xwithout; then
3885 defaultval=yes
3886 else
3887 defaultval=no
3888 fi
3889 fi
3890 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3891 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3892
3893 # Check whether --with-gnomeprint was given.
3894 if test "${with_gnomeprint+set}" = set; then
3895 withval=$with_gnomeprint;
3896 if test "$withval" = yes; then
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3898 else
3899 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3900 fi
3901
3902 else
3903
3904 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3905
3906 fi
3907
3908
3909 eval "$wx_cv_use_gnomeprint"
3910
3911 if test x"$withstring" = xwithout; then
3912 if test $wxUSE_LIBGNOMEPRINT = yes; then
3913 result=no
3914 else
3915 result=yes
3916 fi
3917 else
3918 result=$wxUSE_LIBGNOMEPRINT
3919 fi
3920
3921 { echo "$as_me:$LINENO: result: $result" >&5
3922 echo "${ECHO_T}$result" >&6; }
3923
3924
3925 withstring=
3926 defaultval=$wxUSE_ALL_FEATURES
3927 if test -z "$defaultval"; then
3928 if test x"$withstring" = xwithout; then
3929 defaultval=yes
3930 else
3931 defaultval=no
3932 fi
3933 fi
3934 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3935 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3936
3937 # Check whether --with-gnomevfs was given.
3938 if test "${with_gnomevfs+set}" = set; then
3939 withval=$with_gnomevfs;
3940 if test "$withval" = yes; then
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3942 else
3943 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3944 fi
3945
3946 else
3947
3948 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3949
3950 fi
3951
3952
3953 eval "$wx_cv_use_gnomevfs"
3954
3955 if test x"$withstring" = xwithout; then
3956 if test $wxUSE_LIBGNOMEVFS = yes; then
3957 result=no
3958 else
3959 result=yes
3960 fi
3961 else
3962 result=$wxUSE_LIBGNOMEVFS
3963 fi
3964
3965 { echo "$as_me:$LINENO: result: $result" >&5
3966 echo "${ECHO_T}$result" >&6; }
3967
3968
3969 withstring=
3970 defaultval=$wxUSE_ALL_FEATURES
3971 if test -z "$defaultval"; then
3972 if test x"$withstring" = xwithout; then
3973 defaultval=yes
3974 else
3975 defaultval=no
3976 fi
3977 fi
3978 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3979 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3980
3981 # Check whether --with-hildon was given.
3982 if test "${with_hildon+set}" = set; then
3983 withval=$with_hildon;
3984 if test "$withval" = yes; then
3985 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3986 else
3987 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3988 fi
3989
3990 else
3991
3992 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3993
3994 fi
3995
3996
3997 eval "$wx_cv_use_hildon"
3998
3999 if test x"$withstring" = xwithout; then
4000 if test $wxUSE_LIBHILDON = yes; then
4001 result=no
4002 else
4003 result=yes
4004 fi
4005 else
4006 result=$wxUSE_LIBHILDON
4007 fi
4008
4009 { echo "$as_me:$LINENO: result: $result" >&5
4010 echo "${ECHO_T}$result" >&6; }
4011
4012
4013 withstring=
4014 defaultval=$wxUSE_ALL_FEATURES
4015 if test -z "$defaultval"; then
4016 if test x"$withstring" = xwithout; then
4017 defaultval=yes
4018 else
4019 defaultval=no
4020 fi
4021 fi
4022 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4023 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4024
4025 # Check whether --with-opengl was given.
4026 if test "${with_opengl+set}" = set; then
4027 withval=$with_opengl;
4028 if test "$withval" = yes; then
4029 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4030 else
4031 wx_cv_use_opengl='wxUSE_OPENGL=no'
4032 fi
4033
4034 else
4035
4036 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4037
4038 fi
4039
4040
4041 eval "$wx_cv_use_opengl"
4042
4043 if test x"$withstring" = xwithout; then
4044 if test $wxUSE_OPENGL = yes; then
4045 result=no
4046 else
4047 result=yes
4048 fi
4049 else
4050 result=$wxUSE_OPENGL
4051 fi
4052
4053 { echo "$as_me:$LINENO: result: $result" >&5
4054 echo "${ECHO_T}$result" >&6; }
4055
4056
4057 fi
4058
4059
4060 withstring=
4061 defaultval=$wxUSE_ALL_FEATURES
4062 if test -z "$defaultval"; then
4063 if test x"$withstring" = xwithout; then
4064 defaultval=yes
4065 else
4066 defaultval=no
4067 fi
4068 fi
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4071
4072 # Check whether --with-dmalloc was given.
4073 if test "${with_dmalloc+set}" = set; then
4074 withval=$with_dmalloc;
4075 if test "$withval" = yes; then
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4077 else
4078 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4079 fi
4080
4081 else
4082
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4084
4085 fi
4086
4087
4088 eval "$wx_cv_use_dmalloc"
4089
4090 if test x"$withstring" = xwithout; then
4091 if test $wxUSE_DMALLOC = yes; then
4092 result=no
4093 else
4094 result=yes
4095 fi
4096 else
4097 result=$wxUSE_DMALLOC
4098 fi
4099
4100 { echo "$as_me:$LINENO: result: $result" >&5
4101 echo "${ECHO_T}$result" >&6; }
4102
4103
4104 withstring=
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4108 defaultval=yes
4109 else
4110 defaultval=no
4111 fi
4112 fi
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4115
4116 # Check whether --with-sdl was given.
4117 if test "${with_sdl+set}" = set; then
4118 withval=$with_sdl;
4119 if test "$withval" = yes; then
4120 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4121 else
4122 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4123 fi
4124
4125 else
4126
4127 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4128
4129 fi
4130
4131
4132 eval "$wx_cv_use_sdl"
4133
4134 if test x"$withstring" = xwithout; then
4135 if test $wxUSE_LIBSDL = yes; then
4136 result=no
4137 else
4138 result=yes
4139 fi
4140 else
4141 result=$wxUSE_LIBSDL
4142 fi
4143
4144 { echo "$as_me:$LINENO: result: $result" >&5
4145 echo "${ECHO_T}$result" >&6; }
4146
4147
4148 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4149 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4150
4151 # Check whether --with-regex was given.
4152 if test "${with_regex+set}" = set; then
4153 withval=$with_regex;
4154 if test "$withval" = yes; then
4155 wx_cv_use_regex='wxUSE_REGEX=yes'
4156 elif test "$withval" = no; then
4157 wx_cv_use_regex='wxUSE_REGEX=no'
4158 elif test "$withval" = sys; then
4159 wx_cv_use_regex='wxUSE_REGEX=sys'
4160 elif test "$withval" = builtin; then
4161 wx_cv_use_regex='wxUSE_REGEX=builtin'
4162 else
4163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4165 { (exit 1); exit 1; }; }
4166 fi
4167
4168 else
4169
4170 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4171
4172 fi
4173
4174
4175 eval "$wx_cv_use_regex"
4176
4177 if test "$wxUSE_REGEX" = yes; then
4178 { echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6; }
4180 elif test "$wxUSE_REGEX" = no; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 elif test "$wxUSE_REGEX" = sys; then
4184 { echo "$as_me:$LINENO: result: system version" >&5
4185 echo "${ECHO_T}system version" >&6; }
4186 elif test "$wxUSE_REGEX" = builtin; then
4187 { echo "$as_me:$LINENO: result: builtin version" >&5
4188 echo "${ECHO_T}builtin version" >&6; }
4189 else
4190 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4191 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4192 { (exit 1); exit 1; }; }
4193 fi
4194
4195
4196 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4197 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4198
4199 # Check whether --with-zlib was given.
4200 if test "${with_zlib+set}" = set; then
4201 withval=$with_zlib;
4202 if test "$withval" = yes; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4204 elif test "$withval" = no; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=no'
4206 elif test "$withval" = sys; then
4207 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4208 elif test "$withval" = builtin; then
4209 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4210 else
4211 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4212 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4213 { (exit 1); exit 1; }; }
4214 fi
4215
4216 else
4217
4218 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4219
4220 fi
4221
4222
4223 eval "$wx_cv_use_zlib"
4224
4225 if test "$wxUSE_ZLIB" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_ZLIB" = no; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_ZLIB" = sys; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_ZLIB" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4237 else
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4241 fi
4242
4243
4244 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4245 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4246
4247 # Check whether --with-expat was given.
4248 if test "${with_expat+set}" = set; then
4249 withval=$with_expat;
4250 if test "$withval" = yes; then
4251 wx_cv_use_expat='wxUSE_EXPAT=yes'
4252 elif test "$withval" = no; then
4253 wx_cv_use_expat='wxUSE_EXPAT=no'
4254 elif test "$withval" = sys; then
4255 wx_cv_use_expat='wxUSE_EXPAT=sys'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4258 else
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4262 fi
4263
4264 else
4265
4266 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4267
4268 fi
4269
4270
4271 eval "$wx_cv_use_expat"
4272
4273 if test "$wxUSE_EXPAT" = yes; then
4274 { echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_EXPAT" = no; then
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4279 elif test "$wxUSE_EXPAT" = sys; then
4280 { echo "$as_me:$LINENO: result: system version" >&5
4281 echo "${ECHO_T}system version" >&6; }
4282 elif test "$wxUSE_EXPAT" = 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-expat: should be yes, no, sys, or builtin" >&5
4287 echo "$as_me: error: Invalid value for --with-expat: 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-macosx-sdk" >&5
4293 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4294
4295 # Check whether --with-macosx-sdk was given.
4296 if test "${with_macosx_sdk+set}" = set; then
4297 withval=$with_macosx_sdk;
4298 wxUSE_MACOSX_SDK=$withval
4299 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4300
4301 fi
4302
4303 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4304 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4305
4306 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4307 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4308
4309 # Check whether --with-macosx-version-min was given.
4310 if test "${with_macosx_version_min+set}" = set; then
4311 withval=$with_macosx_version_min;
4312 wxUSE_MACOSX_VERSION_MIN=$withval
4313 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4314
4315 fi
4316
4317 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4318 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4319
4320
4321
4322 enablestring=disable
4323 defaultval=
4324 if test -z "$defaultval"; then
4325 if test x"$enablestring" = xdisable; then
4326 defaultval=yes
4327 else
4328 defaultval=no
4329 fi
4330 fi
4331
4332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4334 # Check whether --enable-shared was given.
4335 if test "${enable_shared+set}" = set; then
4336 enableval=$enable_shared;
4337 if test "$enableval" = yes; then
4338 wx_cv_use_shared='wxUSE_SHARED=yes'
4339 else
4340 wx_cv_use_shared='wxUSE_SHARED=no'
4341 fi
4342
4343 else
4344
4345 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4346
4347 fi
4348
4349
4350 eval "$wx_cv_use_shared"
4351
4352 if test x"$enablestring" = xdisable; then
4353 if test $wxUSE_SHARED = no; then
4354 result=yes
4355 else
4356 result=no
4357 fi
4358 else
4359 result=$wxUSE_SHARED
4360 fi
4361
4362 { echo "$as_me:$LINENO: result: $result" >&5
4363 echo "${ECHO_T}$result" >&6; }
4364
4365
4366 enablestring=
4367 defaultval=
4368 if test -z "$defaultval"; then
4369 if test x"$enablestring" = xdisable; then
4370 defaultval=yes
4371 else
4372 defaultval=no
4373 fi
4374 fi
4375
4376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4378 # Check whether --enable-debug was given.
4379 if test "${enable_debug+set}" = set; then
4380 enableval=$enable_debug;
4381 if test "$enableval" = yes; then
4382 wx_cv_use_debug='wxUSE_DEBUG=yes'
4383 else
4384 wx_cv_use_debug='wxUSE_DEBUG=no'
4385 fi
4386
4387 else
4388
4389 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4390
4391 fi
4392
4393
4394 eval "$wx_cv_use_debug"
4395
4396 if test x"$enablestring" = xdisable; then
4397 if test $wxUSE_DEBUG = no; then
4398 result=yes
4399 else
4400 result=no
4401 fi
4402 else
4403 result=$wxUSE_DEBUG
4404 fi
4405
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4408
4409
4410 enablestring=
4411 defaultval=
4412 if test -z "$defaultval"; then
4413 if test x"$enablestring" = xdisable; then
4414 defaultval=yes
4415 else
4416 defaultval=no
4417 fi
4418 fi
4419
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4422 # Check whether --enable-stl was given.
4423 if test "${enable_stl+set}" = set; then
4424 enableval=$enable_stl;
4425 if test "$enableval" = yes; then
4426 wx_cv_use_stl='wxUSE_STL=yes'
4427 else
4428 wx_cv_use_stl='wxUSE_STL=no'
4429 fi
4430
4431 else
4432
4433 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4434
4435 fi
4436
4437
4438 eval "$wx_cv_use_stl"
4439
4440 if test x"$enablestring" = xdisable; then
4441 if test $wxUSE_STL = no; then
4442 result=yes
4443 else
4444 result=no
4445 fi
4446 else
4447 result=$wxUSE_STL
4448 fi
4449
4450 { echo "$as_me:$LINENO: result: $result" >&5
4451 echo "${ECHO_T}$result" >&6; }
4452
4453
4454 enablestring=
4455 defaultval=
4456 if test -z "$defaultval"; then
4457 if test x"$enablestring" = xdisable; then
4458 defaultval=yes
4459 else
4460 defaultval=no
4461 fi
4462 fi
4463
4464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4466 # Check whether --enable-std_iostreams was given.
4467 if test "${enable_std_iostreams+set}" = set; then
4468 enableval=$enable_std_iostreams;
4469 if test "$enableval" = yes; then
4470 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4471 else
4472 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4473 fi
4474
4475 else
4476
4477 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4478
4479 fi
4480
4481
4482 eval "$wx_cv_use_std_iostreams"
4483
4484 if test x"$enablestring" = xdisable; then
4485 if test $wxUSE_STD_IOSTREAM = no; then
4486 result=yes
4487 else
4488 result=no
4489 fi
4490 else
4491 result=$wxUSE_STD_IOSTREAM
4492 fi
4493
4494 { echo "$as_me:$LINENO: result: $result" >&5
4495 echo "${ECHO_T}$result" >&6; }
4496
4497
4498 enablestring=
4499 defaultval=
4500 if test -z "$defaultval"; then
4501 if test x"$enablestring" = xdisable; then
4502 defaultval=yes
4503 else
4504 defaultval=no
4505 fi
4506 fi
4507
4508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4509 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4510 # Check whether --enable-std_string was given.
4511 if test "${enable_std_string+set}" = set; then
4512 enableval=$enable_std_string;
4513 if test "$enableval" = yes; then
4514 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4515 else
4516 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4517 fi
4518
4519 else
4520
4521 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4522
4523 fi
4524
4525
4526 eval "$wx_cv_use_std_string"
4527
4528 if test x"$enablestring" = xdisable; then
4529 if test $wxUSE_STD_STRING = no; then
4530 result=yes
4531 else
4532 result=no
4533 fi
4534 else
4535 result=$wxUSE_STD_STRING
4536 fi
4537
4538 { echo "$as_me:$LINENO: result: $result" >&5
4539 echo "${ECHO_T}$result" >&6; }
4540
4541
4542 enablestring=disable
4543 defaultval=
4544 if test -z "$defaultval"; then
4545 if test x"$enablestring" = xdisable; then
4546 defaultval=yes
4547 else
4548 defaultval=no
4549 fi
4550 fi
4551
4552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4554 # Check whether --enable-unicode was given.
4555 if test "${enable_unicode+set}" = set; then
4556 enableval=$enable_unicode;
4557 if test "$enableval" = yes; then
4558 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4559 else
4560 wx_cv_use_unicode='wxUSE_UNICODE=no'
4561 fi
4562
4563 else
4564
4565 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4566
4567 fi
4568
4569
4570 eval "$wx_cv_use_unicode"
4571
4572 if test x"$enablestring" = xdisable; then
4573 if test $wxUSE_UNICODE = no; then
4574 result=yes
4575 else
4576 result=no
4577 fi
4578 else
4579 result=$wxUSE_UNICODE
4580 fi
4581
4582 { echo "$as_me:$LINENO: result: $result" >&5
4583 echo "${ECHO_T}$result" >&6; }
4584
4585
4586 enablestring=
4587 defaultval=
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4590 defaultval=yes
4591 else
4592 defaultval=no
4593 fi
4594 fi
4595
4596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4598 # Check whether --enable-mslu was given.
4599 if test "${enable_mslu+set}" = set; then
4600 enableval=$enable_mslu;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4603 else
4604 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4605 fi
4606
4607 else
4608
4609 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4610
4611 fi
4612
4613
4614 eval "$wx_cv_use_mslu"
4615
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_UNICODE_MSLU = no; then
4618 result=yes
4619 else
4620 result=no
4621 fi
4622 else
4623 result=$wxUSE_UNICODE_MSLU
4624 fi
4625
4626 { echo "$as_me:$LINENO: result: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4628
4629
4630 enablestring=
4631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4633 # Check whether --enable-utf8 was given.
4634 if test "${enable_utf8+set}" = set; then
4635 enableval=$enable_utf8;
4636 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4637
4638 else
4639
4640 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4641
4642 fi
4643
4644
4645 eval "$wx_cv_use_utf8"
4646
4647 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4648 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4649
4650
4651 enablestring=
4652 defaultval=
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4655 defaultval=yes
4656 else
4657 defaultval=no
4658 fi
4659 fi
4660
4661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4663 # Check whether --enable-utf8only was given.
4664 if test "${enable_utf8only+set}" = set; then
4665 enableval=$enable_utf8only;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4668 else
4669 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4670 fi
4671
4672 else
4673
4674 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4675
4676 fi
4677
4678
4679 eval "$wx_cv_use_utf8only"
4680
4681 if test x"$enablestring" = xdisable; then
4682 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4683 result=yes
4684 else
4685 result=no
4686 fi
4687 else
4688 result=$wxUSE_UNICODE_UTF8_LOCALE
4689 fi
4690
4691 { echo "$as_me:$LINENO: result: $result" >&5
4692 echo "${ECHO_T}$result" >&6; }
4693
4694
4695 enablestring=
4696 defaultval=
4697 if test -z "$defaultval"; then
4698 if test x"$enablestring" = xdisable; then
4699 defaultval=yes
4700 else
4701 defaultval=no
4702 fi
4703 fi
4704
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4707 # Check whether --enable-extended_rtti was given.
4708 if test "${enable_extended_rtti+set}" = set; then
4709 enableval=$enable_extended_rtti;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4712 else
4713 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4714 fi
4715
4716 else
4717
4718 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4719
4720 fi
4721
4722
4723 eval "$wx_cv_use_extended_rtti"
4724
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_EXTENDED_RTTI = no; then
4727 result=yes
4728 else
4729 result=no
4730 fi
4731 else
4732 result=$wxUSE_EXTENDED_RTTI
4733 fi
4734
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4737
4738 if test "$USE_OS2" = 1; then
4739 DEFAULT_wxUSE_OMF=no
4740
4741 enablestring=
4742 defaultval=
4743 if test -z "$defaultval"; then
4744 if test x"$enablestring" = xdisable; then
4745 defaultval=yes
4746 else
4747 defaultval=no
4748 fi
4749 fi
4750
4751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4753 # Check whether --enable-omf was given.
4754 if test "${enable_omf+set}" = set; then
4755 enableval=$enable_omf;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_omf='wxUSE_OMF=yes'
4758 else
4759 wx_cv_use_omf='wxUSE_OMF=no'
4760 fi
4761
4762 else
4763
4764 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4765
4766 fi
4767
4768
4769 eval "$wx_cv_use_omf"
4770
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_OMF = no; then
4773 result=yes
4774 else
4775 result=no
4776 fi
4777 else
4778 result=$wxUSE_OMF
4779 fi
4780
4781 { echo "$as_me:$LINENO: result: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4783
4784 fi
4785
4786 if test "$wxUSE_DEBUG" = "yes"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=yes
4788 DEFAULT_wxUSE_DEBUG_INFO=yes
4789 BUILD=debug
4790 elif test "$wxUSE_DEBUG" = "no"; then
4791 DEFAULT_wxUSE_DEBUG_FLAG=no
4792 DEFAULT_wxUSE_DEBUG_INFO=no
4793 BUILD=release
4794 fi
4795
4796
4797 enablestring=
4798 defaultval=
4799 if test -z "$defaultval"; then
4800 if test x"$enablestring" = xdisable; then
4801 defaultval=yes
4802 else
4803 defaultval=no
4804 fi
4805 fi
4806
4807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4808 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4809 # Check whether --enable-debug_flag was given.
4810 if test "${enable_debug_flag+set}" = set; then
4811 enableval=$enable_debug_flag;
4812 if test "$enableval" = yes; then
4813 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4814 else
4815 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4816 fi
4817
4818 else
4819
4820 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4821
4822 fi
4823
4824
4825 eval "$wx_cv_use_debug_flag"
4826
4827 if test x"$enablestring" = xdisable; then
4828 if test $wxUSE_DEBUG_FLAG = no; then
4829 result=yes
4830 else
4831 result=no
4832 fi
4833 else
4834 result=$wxUSE_DEBUG_FLAG
4835 fi
4836
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4839
4840
4841 enablestring=
4842 defaultval=
4843 if test -z "$defaultval"; then
4844 if test x"$enablestring" = xdisable; then
4845 defaultval=yes
4846 else
4847 defaultval=no
4848 fi
4849 fi
4850
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4853 # Check whether --enable-debug_info was given.
4854 if test "${enable_debug_info+set}" = set; then
4855 enableval=$enable_debug_info;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4858 else
4859 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4860 fi
4861
4862 else
4863
4864 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4865
4866 fi
4867
4868
4869 eval "$wx_cv_use_debug_info"
4870
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_DEBUG_INFO = no; then
4873 result=yes
4874 else
4875 result=no
4876 fi
4877 else
4878 result=$wxUSE_DEBUG_INFO
4879 fi
4880
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4883
4884
4885 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4886 wxUSE_DEBUG=yes
4887 BUILD=debug
4888 fi
4889
4890 if test "$wxUSE_DEBUG" = "yes"; then
4891 DEFAULT_wxUSE_OPTIMISE=no
4892 fi
4893
4894
4895 enablestring=disable
4896 defaultval=
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4899 defaultval=yes
4900 else
4901 defaultval=no
4902 fi
4903 fi
4904
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4907 # Check whether --enable-optimise was given.
4908 if test "${enable_optimise+set}" = set; then
4909 enableval=$enable_optimise;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4912 else
4913 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4914 fi
4915
4916 else
4917
4918 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4919
4920 fi
4921
4922
4923 eval "$wx_cv_use_optimise"
4924
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_OPTIMISE = no; then
4927 result=yes
4928 else
4929 result=no
4930 fi
4931 else
4932 result=$wxUSE_OPTIMISE
4933 fi
4934
4935 { echo "$as_me:$LINENO: result: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4937
4938
4939
4940 enablestring=
4941 defaultval=
4942 if test -z "$defaultval"; then
4943 if test x"$enablestring" = xdisable; then
4944 defaultval=yes
4945 else
4946 defaultval=no
4947 fi
4948 fi
4949
4950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4952 # Check whether --enable-debug_gdb was given.
4953 if test "${enable_debug_gdb+set}" = set; then
4954 enableval=$enable_debug_gdb;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4957 else
4958 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4959 fi
4960
4961 else
4962
4963 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4964
4965 fi
4966
4967
4968 eval "$wx_cv_use_debug_gdb"
4969
4970 if test x"$enablestring" = xdisable; then
4971 if test $wxUSE_DEBUG_GDB = no; then
4972 result=yes
4973 else
4974 result=no
4975 fi
4976 else
4977 result=$wxUSE_DEBUG_GDB
4978 fi
4979
4980 { echo "$as_me:$LINENO: result: $result" >&5
4981 echo "${ECHO_T}$result" >&6; }
4982
4983
4984 enablestring=
4985 defaultval=
4986 if test -z "$defaultval"; then
4987 if test x"$enablestring" = xdisable; then
4988 defaultval=yes
4989 else
4990 defaultval=no
4991 fi
4992 fi
4993
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4996 # Check whether --enable-debug_cntxt was given.
4997 if test "${enable_debug_cntxt+set}" = set; then
4998 enableval=$enable_debug_cntxt;
4999 if test "$enableval" = yes; then
5000 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5001 else
5002 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5003 fi
5004
5005 else
5006
5007 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5008
5009 fi
5010
5011
5012 eval "$wx_cv_use_debug_cntxt"
5013
5014 if test x"$enablestring" = xdisable; then
5015 if test $wxUSE_DEBUG_CONTEXT = no; then
5016 result=yes
5017 else
5018 result=no
5019 fi
5020 else
5021 result=$wxUSE_DEBUG_CONTEXT
5022 fi
5023
5024 { echo "$as_me:$LINENO: result: $result" >&5
5025 echo "${ECHO_T}$result" >&6; }
5026
5027
5028 enablestring=
5029 defaultval=
5030 if test -z "$defaultval"; then
5031 if test x"$enablestring" = xdisable; then
5032 defaultval=yes
5033 else
5034 defaultval=no
5035 fi
5036 fi
5037
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5040 # Check whether --enable-mem_tracing was given.
5041 if test "${enable_mem_tracing+set}" = set; then
5042 enableval=$enable_mem_tracing;
5043 if test "$enableval" = yes; then
5044 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5045 else
5046 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5047 fi
5048
5049 else
5050
5051 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5052
5053 fi
5054
5055
5056 eval "$wx_cv_use_mem_tracing"
5057
5058 if test x"$enablestring" = xdisable; then
5059 if test $wxUSE_MEM_TRACING = no; then
5060 result=yes
5061 else
5062 result=no
5063 fi
5064 else
5065 result=$wxUSE_MEM_TRACING
5066 fi
5067
5068 { echo "$as_me:$LINENO: result: $result" >&5
5069 echo "${ECHO_T}$result" >&6; }
5070
5071
5072 enablestring=
5073 defaultval=
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5076 defaultval=yes
5077 else
5078 defaultval=no
5079 fi
5080 fi
5081
5082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE=yes'
5089 else
5090 wx_cv_use_profile='wxUSE_PROFILE=no'
5091 fi
5092
5093 else
5094
5095 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5096
5097 fi
5098
5099
5100 eval "$wx_cv_use_profile"
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_PROFILE = no; then
5104 result=yes
5105 else
5106 result=no
5107 fi
5108 else
5109 result=$wxUSE_PROFILE
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5133 else
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5135 fi
5136
5137 else
5138
5139 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5140
5141 fi
5142
5143
5144 eval "$wx_cv_use_no_rtti"
5145
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_NO_RTTI = no; then
5148 result=yes
5149 else
5150 result=no
5151 fi
5152 else
5153 result=$wxUSE_NO_RTTI
5154 fi
5155
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5158
5159
5160 enablestring=
5161 defaultval=
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5164 defaultval=yes
5165 else
5166 defaultval=no
5167 fi
5168 fi
5169
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5177 else
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5179 fi
5180
5181 else
5182
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5184
5185 fi
5186
5187
5188 eval "$wx_cv_use_no_exceptions"
5189
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = no; then
5192 result=yes
5193 else
5194 result=no
5195 fi
5196 else
5197 result=$wxUSE_NO_EXCEPTIONS
5198 fi
5199
5200 { echo "$as_me:$LINENO: result: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5202
5203
5204 enablestring=
5205 defaultval=
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5208 defaultval=yes
5209 else
5210 defaultval=no
5211 fi
5212 fi
5213
5214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5221 else
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5223 fi
5224
5225 else
5226
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5228
5229 fi
5230
5231
5232 eval "$wx_cv_use_permissive"
5233
5234 if test x"$enablestring" = xdisable; then
5235 if test $wxUSE_PERMISSIVE = no; then
5236 result=yes
5237 else
5238 result=no
5239 fi
5240 else
5241 result=$wxUSE_PERMISSIVE
5242 fi
5243
5244 { echo "$as_me:$LINENO: result: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5246
5247
5248 enablestring=
5249 defaultval=
5250 if test -z "$defaultval"; then
5251 if test x"$enablestring" = xdisable; then
5252 defaultval=yes
5253 else
5254 defaultval=no
5255 fi
5256 fi
5257
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5265 else
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5267 fi
5268
5269 else
5270
5271 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5272
5273 fi
5274
5275
5276 eval "$wx_cv_use_no_deps"
5277
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_NO_DEPS = no; then
5280 result=yes
5281 else
5282 result=no
5283 fi
5284 else
5285 result=$wxUSE_NO_DEPS
5286 fi
5287
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5290
5291
5292 enablestring=disable
5293 defaultval=
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5296 defaultval=yes
5297 else
5298 defaultval=no
5299 fi
5300 fi
5301
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5309 else
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5311 fi
5312
5313 else
5314
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5316
5317 fi
5318
5319
5320 eval "$wx_cv_use_vararg_macros"
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = no; then
5324 result=yes
5325 else
5326 result=no
5327 fi
5328 else
5329 result=$wxUSE_VARARG_MACROS
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5343
5344 else
5345
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5347
5348 fi
5349
5350
5351 eval "$wx_cv_use_universal_binary"
5352
5353 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5355
5356
5357
5358 enablestring=
5359 defaultval=
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5362 defaultval=yes
5363 else
5364 defaultval=no
5365 fi
5366 fi
5367
5368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5375 else
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5377 fi
5378
5379 else
5380
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_compat26"
5387
5388 if test x"$enablestring" = xdisable; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5390 result=yes
5391 else
5392 result=no
5393 fi
5394 else
5395 result=$WXWIN_COMPATIBILITY_2_6
5396 fi
5397
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5400
5401
5402 enablestring=disable
5403 defaultval=
5404 if test -z "$defaultval"; then
5405 if test x"$enablestring" = xdisable; then
5406 defaultval=yes
5407 else
5408 defaultval=no
5409 fi
5410 fi
5411
5412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5419 else
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5421 fi
5422
5423 else
5424
5425 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5426
5427 fi
5428
5429
5430 eval "$wx_cv_use_compat28"
5431
5432 if test x"$enablestring" = xdisable; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5434 result=yes
5435 else
5436 result=no
5437 fi
5438 else
5439 result=$WXWIN_COMPATIBILITY_2_8
5440 fi
5441
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5444
5445
5446
5447 enablestring=disable
5448 defaultval=
5449 if test -z "$defaultval"; then
5450 if test x"$enablestring" = xdisable; then
5451 defaultval=yes
5452 else
5453 defaultval=no
5454 fi
5455 fi
5456
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath='wxUSE_RPATH=yes'
5464 else
5465 wx_cv_use_rpath='wxUSE_RPATH=no'
5466 fi
5467
5468 else
5469
5470 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5471
5472 fi
5473
5474
5475 eval "$wx_cv_use_rpath"
5476
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = no; then
5479 result=yes
5480 else
5481 result=no
5482 fi
5483 else
5484 result=$wxUSE_RPATH
5485 fi
5486
5487 { echo "$as_me:$LINENO: result: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5489
5490
5491
5492 enablestring=
5493 defaultval=
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5496 defaultval=yes
5497 else
5498 defaultval=no
5499 fi
5500 fi
5501
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5509 else
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5511 fi
5512
5513 else
5514
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5516
5517 fi
5518
5519
5520 eval "$wx_cv_use_objc_uniquifying"
5521
5522 if test x"$enablestring" = xdisable; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5524 result=yes
5525 else
5526 result=no
5527 fi
5528 else
5529 result=$wxUSE_OBJC_UNIQUIFYING
5530 fi
5531
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5534
5535
5536
5537 enablestring=disable
5538 defaultval=
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5541 defaultval=yes
5542 else
5543 defaultval=no
5544 fi
5545 fi
5546
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5554 else
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5556 fi
5557
5558 else
5559
5560 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5561
5562 fi
5563
5564
5565 eval "$wx_cv_use_visibility"
5566
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_VISIBILITY = no; then
5569 result=yes
5570 else
5571 result=no
5572 fi
5573 else
5574 result=$wxUSE_VISIBILITY
5575 fi
5576
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5579
5580
5581 enablestring=disable
5582 defaultval=
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5585 defaultval=yes
5586 else
5587 defaultval=no
5588 fi
5589 fi
5590
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5598 else
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5600 fi
5601
5602 else
5603
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5605
5606 fi
5607
5608
5609 eval "$wx_cv_use_tls"
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = no; then
5613 result=yes
5614 else
5615 result=no
5616 fi
5617 else
5618 result=$wxUSE_COMPILER_TLS
5619 fi
5620
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5623
5624
5625
5626
5627 enablestring=
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5631 defaultval=yes
5632 else
5633 defaultval=no
5634 fi
5635 fi
5636
5637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL=yes'
5644 else
5645 wx_cv_use_intl='wxUSE_INTL=no'
5646 fi
5647
5648 else
5649
5650 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5651
5652 fi
5653
5654
5655 eval "$wx_cv_use_intl"
5656
5657 if test x"$enablestring" = xdisable; then
5658 if test $wxUSE_INTL = no; then
5659 result=yes
5660 else
5661 result=no
5662 fi
5663 else
5664 result=$wxUSE_INTL
5665 fi
5666
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5669
5670
5671 enablestring=
5672 defaultval=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5675 defaultval=yes
5676 else
5677 defaultval=no
5678 fi
5679 fi
5680
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5688 else
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5690 fi
5691
5692 else
5693
5694 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5695
5696 fi
5697
5698
5699 eval "$wx_cv_use_xlocale"
5700
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_XLOCALE = no; then
5703 result=yes
5704 else
5705 result=no
5706 fi
5707 else
5708 result=$wxUSE_XLOCALE
5709 fi
5710
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5713
5714
5715 enablestring=
5716 defaultval=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5719 defaultval=yes
5720 else
5721 defaultval=no
5722 fi
5723 fi
5724
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config='wxUSE_CONFIG=yes'
5732 else
5733 wx_cv_use_config='wxUSE_CONFIG=no'
5734 fi
5735
5736 else
5737
5738 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5739
5740 fi
5741
5742
5743 eval "$wx_cv_use_config"
5744
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = no; then
5747 result=yes
5748 else
5749 result=no
5750 fi
5751 else
5752 result=$wxUSE_CONFIG
5753 fi
5754
5755 { echo "$as_me:$LINENO: result: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5757
5758
5759
5760 enablestring=
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5764 defaultval=yes
5765 else
5766 defaultval=no
5767 fi
5768 fi
5769
5770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5777 else
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5779 fi
5780
5781 else
5782
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5784
5785 fi
5786
5787
5788 eval "$wx_cv_use_protocols"
5789
5790 if test x"$enablestring" = xdisable; then
5791 if test $wxUSE_PROTOCOL = no; then
5792 result=yes
5793 else
5794 result=no
5795 fi
5796 else
5797 result=$wxUSE_PROTOCOL
5798 fi
5799
5800 { echo "$as_me:$LINENO: result: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5802
5803
5804 enablestring=
5805 defaultval=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x"$enablestring" = xdisable; then
5808 defaultval=yes
5809 else
5810 defaultval=no
5811 fi
5812 fi
5813
5814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5821 else
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5823 fi
5824
5825 else
5826
5827 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5828
5829 fi
5830
5831
5832 eval "$wx_cv_use_ftp"
5833
5834 if test x"$enablestring" = xdisable; then
5835 if test $wxUSE_PROTOCOL_FTP = no; then
5836 result=yes
5837 else
5838 result=no
5839 fi
5840 else
5841 result=$wxUSE_PROTOCOL_FTP
5842 fi
5843
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5846
5847
5848 enablestring=
5849 defaultval=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x"$enablestring" = xdisable; then
5852 defaultval=yes
5853 else
5854 defaultval=no
5855 fi
5856 fi
5857
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5865 else
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5867 fi
5868
5869 else
5870
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5872
5873 fi
5874
5875
5876 eval "$wx_cv_use_http"
5877
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = no; then
5880 result=yes
5881 else
5882 result=no
5883 fi
5884 else
5885 result=$wxUSE_PROTOCOL_HTTP
5886 fi
5887
5888 { echo "$as_me:$LINENO: result: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5890
5891
5892 enablestring=
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5896 defaultval=yes
5897 else
5898 defaultval=no
5899 fi
5900 fi
5901
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5909 else
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5911 fi
5912
5913 else
5914
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5916
5917 fi
5918
5919
5920 eval "$wx_cv_use_fileproto"
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $wxUSE_PROTOCOL_FILE = no; then
5924 result=yes
5925 else
5926 result=no
5927 fi
5928 else
5929 result=$wxUSE_PROTOCOL_FILE
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936 enablestring=
5937 defaultval=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x"$enablestring" = xdisable; then
5940 defaultval=yes
5941 else
5942 defaultval=no
5943 fi
5944 fi
5945
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5953 else
5954 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5955 fi
5956
5957 else
5958
5959 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5960
5961 fi
5962
5963
5964 eval "$wx_cv_use_sockets"
5965
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_SOCKETS = no; then
5968 result=yes
5969 else
5970 result=no
5971 fi
5972 else
5973 result=$wxUSE_SOCKETS
5974 fi
5975
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5978
5979
5980 enablestring=
5981 defaultval=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5984 defaultval=yes
5985 else
5986 defaultval=no
5987 fi
5988 fi
5989
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5997 else
5998 wx_cv_use_ipv6='wxUSE_IPV6=no'
5999 fi
6000
6001 else
6002
6003 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6004
6005 fi
6006
6007
6008 eval "$wx_cv_use_ipv6"
6009
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = no; then
6012 result=yes
6013 else
6014 result=no
6015 fi
6016 else
6017 result=$wxUSE_IPV6
6018 fi
6019
6020 { echo "$as_me:$LINENO: result: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6022
6023
6024 enablestring=
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6028 defaultval=yes
6029 else
6030 defaultval=no
6031 fi
6032 fi
6033
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE=yes'
6041 else
6042 wx_cv_use_ole='wxUSE_OLE=no'
6043 fi
6044
6045 else
6046
6047 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6048
6049 fi
6050
6051
6052 eval "$wx_cv_use_ole"
6053
6054 if test x"$enablestring" = xdisable; then
6055 if test $wxUSE_OLE = no; then
6056 result=yes
6057 else
6058 result=no
6059 fi
6060 else
6061 result=$wxUSE_OLE
6062 fi
6063
6064 { echo "$as_me:$LINENO: result: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6066
6067
6068 enablestring=
6069 defaultval=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x"$enablestring" = xdisable; then
6072 defaultval=yes
6073 else
6074 defaultval=no
6075 fi
6076 fi
6077
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6085 else
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6087 fi
6088
6089 else
6090
6091 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6092
6093 fi
6094
6095
6096 eval "$wx_cv_use_dataobj"
6097
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_DATAOBJ = no; then
6100 result=yes
6101 else
6102 result=no
6103 fi
6104 else
6105 result=$wxUSE_DATAOBJ
6106 fi
6107
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6110
6111
6112
6113 enablestring=
6114 defaultval=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x"$enablestring" = xdisable; then
6117 defaultval=yes
6118 else
6119 defaultval=no
6120 fi
6121 fi
6122
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc='wxUSE_IPC=yes'
6130 else
6131 wx_cv_use_ipc='wxUSE_IPC=no'
6132 fi
6133
6134 else
6135
6136 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6137
6138 fi
6139
6140
6141 eval "$wx_cv_use_ipc"
6142
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = no; then
6145 result=yes
6146 else
6147 result=no
6148 fi
6149 else
6150 result=$wxUSE_IPC
6151 fi
6152
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6155
6156
6157
6158 enablestring=
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6162 defaultval=yes
6163 else
6164 defaultval=no
6165 fi
6166 fi
6167
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6175 else
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6177 fi
6178
6179 else
6180
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6182
6183 fi
6184
6185
6186 eval "$wx_cv_use_baseevtloop"
6187
6188 if test x"$enablestring" = xdisable; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6190 result=yes
6191 else
6192 result=no
6193 fi
6194 else
6195 result=$wxUSE_CONSOLE_EVENTLOOP
6196 fi
6197
6198 { echo "$as_me:$LINENO: result: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6200
6201
6202 enablestring=
6203 defaultval=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x"$enablestring" = xdisable; then
6206 defaultval=yes
6207 else
6208 defaultval=no
6209 fi
6210 fi
6211
6212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6219 else
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6221 fi
6222
6223 else
6224
6225 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6226
6227 fi
6228
6229
6230 eval "$wx_cv_use_epollloop"
6231
6232 if test x"$enablestring" = xdisable; then
6233 if test $wxUSE_EPOLL_DISPATCHER = no; then
6234 result=yes
6235 else
6236 result=no
6237 fi
6238 else
6239 result=$wxUSE_EPOLL_DISPATCHER
6240 fi
6241
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6244
6245
6246 enablestring=
6247 defaultval=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6250 defaultval=yes
6251 else
6252 defaultval=no
6253 fi
6254 fi
6255
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6263 else
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6265 fi
6266
6267 else
6268
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6270
6271 fi
6272
6273
6274 eval "$wx_cv_use_selectloop"
6275
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = no; then
6278 result=yes
6279 else
6280 result=no
6281 fi
6282 else
6283 result=$wxUSE_SELECT_DISPATCHER
6284 fi
6285
6286 { echo "$as_me:$LINENO: result: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6288
6289
6290
6291 enablestring=
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6295 defaultval=yes
6296 else
6297 defaultval=no
6298 fi
6299 fi
6300
6301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6303 # Check whether --enable-apple_ieee was given.
6304 if test "${enable_apple_ieee+set}" = set; then
6305 enableval=$enable_apple_ieee;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6308 else
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6310 fi
6311
6312 else
6313
6314 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6315
6316 fi
6317
6318
6319 eval "$wx_cv_use_apple_ieee"
6320
6321 if test x"$enablestring" = xdisable; then
6322 if test $wxUSE_APPLE_IEEE = no; then
6323 result=yes
6324 else
6325 result=no
6326 fi
6327 else
6328 result=$wxUSE_APPLE_IEEE
6329 fi
6330
6331 { echo "$as_me:$LINENO: result: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6333
6334
6335 enablestring=
6336 defaultval=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x"$enablestring" = xdisable; then
6339 defaultval=yes
6340 else
6341 defaultval=no
6342 fi
6343 fi
6344
6345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6347 # Check whether --enable-arcstream was given.
6348 if test "${enable_arcstream+set}" = set; then
6349 enableval=$enable_arcstream;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6352 else
6353 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6354 fi
6355
6356 else
6357
6358 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6359
6360 fi
6361
6362
6363 eval "$wx_cv_use_arcstream"
6364
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_ARCHIVE_STREAMS = no; then
6367 result=yes
6368 else
6369 result=no
6370 fi
6371 else
6372 result=$wxUSE_ARCHIVE_STREAMS
6373 fi
6374
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6377
6378
6379 enablestring=
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6383 defaultval=yes
6384 else
6385 defaultval=no
6386 fi
6387 fi
6388
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6391 # Check whether --enable-base64 was given.
6392 if test "${enable_base64+set}" = set; then
6393 enableval=$enable_base64;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_base64='wxUSE_BASE64=yes'
6396 else
6397 wx_cv_use_base64='wxUSE_BASE64=no'
6398 fi
6399
6400 else
6401
6402 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6403
6404 fi
6405
6406
6407 eval "$wx_cv_use_base64"
6408
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_BASE64 = no; then
6411 result=yes
6412 else
6413 result=no
6414 fi
6415 else
6416 result=$wxUSE_BASE64
6417 fi
6418
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6421
6422
6423 enablestring=
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6427 defaultval=yes
6428 else
6429 defaultval=no
6430 fi
6431 fi
6432
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6435 # Check whether --enable-backtrace was given.
6436 if test "${enable_backtrace+set}" = set; then
6437 enableval=$enable_backtrace;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6440 else
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6442 fi
6443
6444 else
6445
6446 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6447
6448 fi
6449
6450
6451 eval "$wx_cv_use_backtrace"
6452
6453 if test x"$enablestring" = xdisable; then
6454 if test $wxUSE_STACKWALKER = no; then
6455 result=yes
6456 else
6457 result=no
6458 fi
6459 else
6460 result=$wxUSE_STACKWALKER
6461 fi
6462
6463 { echo "$as_me:$LINENO: result: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6465
6466
6467 enablestring=
6468 defaultval=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x"$enablestring" = xdisable; then
6471 defaultval=yes
6472 else
6473 defaultval=no
6474 fi
6475 fi
6476
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6479 # Check whether --enable-catch_segvs was given.
6480 if test "${enable_catch_segvs+set}" = set; then
6481 enableval=$enable_catch_segvs;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6484 else
6485 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6486 fi
6487
6488 else
6489
6490 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6491
6492 fi
6493
6494
6495 eval "$wx_cv_use_catch_segvs"
6496
6497 if test x"$enablestring" = xdisable; then
6498 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6499 result=yes
6500 else
6501 result=no
6502 fi
6503 else
6504 result=$wxUSE_ON_FATAL_EXCEPTION
6505 fi
6506
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6509
6510
6511 enablestring=
6512 defaultval=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x"$enablestring" = xdisable; then
6515 defaultval=yes
6516 else
6517 defaultval=no
6518 fi
6519 fi
6520
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6523 # Check whether --enable-cmdline was given.
6524 if test "${enable_cmdline+set}" = set; then
6525 enableval=$enable_cmdline;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6528 else
6529 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6530 fi
6531
6532 else
6533
6534 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6535
6536 fi
6537
6538
6539 eval "$wx_cv_use_cmdline"
6540
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_CMDLINE_PARSER = no; then
6543 result=yes
6544 else
6545 result=no
6546 fi
6547 else
6548 result=$wxUSE_CMDLINE_PARSER
6549 fi
6550
6551 { echo "$as_me:$LINENO: result: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6553
6554
6555 enablestring=
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6559 defaultval=yes
6560 else
6561 defaultval=no
6562 fi
6563 fi
6564
6565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6567 # Check whether --enable-datetime was given.
6568 if test "${enable_datetime+set}" = set; then
6569 enableval=$enable_datetime;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6572 else
6573 wx_cv_use_datetime='wxUSE_DATETIME=no'
6574 fi
6575
6576 else
6577
6578 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6579
6580 fi
6581
6582
6583 eval "$wx_cv_use_datetime"
6584
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_DATETIME = no; then
6587 result=yes
6588 else
6589 result=no
6590 fi
6591 else
6592 result=$wxUSE_DATETIME
6593 fi
6594
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6597
6598
6599 enablestring=
6600 defaultval=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x"$enablestring" = xdisable; then
6603 defaultval=yes
6604 else
6605 defaultval=no
6606 fi
6607 fi
6608
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6611 # Check whether --enable-debugreport was given.
6612 if test "${enable_debugreport+set}" = set; then
6613 enableval=$enable_debugreport;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6616 else
6617 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6618 fi
6619
6620 else
6621
6622 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6623
6624 fi
6625
6626
6627 eval "$wx_cv_use_debugreport"
6628
6629 if test x"$enablestring" = xdisable; then
6630 if test $wxUSE_DEBUGREPORT = no; then
6631 result=yes
6632 else
6633 result=no
6634 fi
6635 else
6636 result=$wxUSE_DEBUGREPORT
6637 fi
6638
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6641
6642
6643 enablestring=
6644 defaultval=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x"$enablestring" = xdisable; then
6647 defaultval=yes
6648 else
6649 defaultval=no
6650 fi
6651 fi
6652
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6655 # Check whether --enable-dialupman was given.
6656 if test "${enable_dialupman+set}" = set; then
6657 enableval=$enable_dialupman;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6660 else
6661 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6662 fi
6663
6664 else
6665
6666 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6667
6668 fi
6669
6670
6671 eval "$wx_cv_use_dialupman"
6672
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DIALUP_MANAGER = no; then
6675 result=yes
6676 else
6677 result=no
6678 fi
6679 else
6680 result=$wxUSE_DIALUP_MANAGER
6681 fi
6682
6683 { echo "$as_me:$LINENO: result: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6685
6686
6687 enablestring=
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6691 defaultval=yes
6692 else
6693 defaultval=no
6694 fi
6695 fi
6696
6697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6698 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6699 # Check whether --enable-dynlib was given.
6700 if test "${enable_dynlib+set}" = set; then
6701 enableval=$enable_dynlib;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6704 else
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6706 fi
6707
6708 else
6709
6710 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6711
6712 fi
6713
6714
6715 eval "$wx_cv_use_dynlib"
6716
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_DYNLIB_CLASS = no; then
6719 result=yes
6720 else
6721 result=no
6722 fi
6723 else
6724 result=$wxUSE_DYNLIB_CLASS
6725 fi
6726
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6729
6730
6731 enablestring=
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6735 defaultval=yes
6736 else
6737 defaultval=no
6738 fi
6739 fi
6740
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6743 # Check whether --enable-dynamicloader was given.
6744 if test "${enable_dynamicloader+set}" = set; then
6745 enableval=$enable_dynamicloader;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6748 else
6749 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6750 fi
6751
6752 else
6753
6754 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6755
6756 fi
6757
6758
6759 eval "$wx_cv_use_dynamicloader"
6760
6761 if test x"$enablestring" = xdisable; then
6762 if test $wxUSE_DYNAMIC_LOADER = no; then
6763 result=yes
6764 else
6765 result=no
6766 fi
6767 else
6768 result=$wxUSE_DYNAMIC_LOADER
6769 fi
6770
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6773
6774
6775 enablestring=
6776 defaultval=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6779 defaultval=yes
6780 else
6781 defaultval=no
6782 fi
6783 fi
6784
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6787 # Check whether --enable-exceptions was given.
6788 if test "${enable_exceptions+set}" = set; then
6789 enableval=$enable_exceptions;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6792 else
6793 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6794 fi
6795
6796 else
6797
6798 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6799
6800 fi
6801
6802
6803 eval "$wx_cv_use_exceptions"
6804
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_EXCEPTIONS = no; then
6807 result=yes
6808 else
6809 result=no
6810 fi
6811 else
6812 result=$wxUSE_EXCEPTIONS
6813 fi
6814
6815 { echo "$as_me:$LINENO: result: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6817
6818
6819 enablestring=
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6823 defaultval=yes
6824 else
6825 defaultval=no
6826 fi
6827 fi
6828
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6831 # Check whether --enable-ffile was given.
6832 if test "${enable_ffile+set}" = set; then
6833 enableval=$enable_ffile;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_ffile='wxUSE_FFILE=yes'
6836 else
6837 wx_cv_use_ffile='wxUSE_FFILE=no'
6838 fi
6839
6840 else
6841
6842 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6843
6844 fi
6845
6846
6847 eval "$wx_cv_use_ffile"
6848
6849 if test x"$enablestring" = xdisable; then
6850 if test $wxUSE_FFILE = no; then
6851 result=yes
6852 else
6853 result=no
6854 fi
6855 else
6856 result=$wxUSE_FFILE
6857 fi
6858
6859 { echo "$as_me:$LINENO: result: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6861
6862
6863 enablestring=
6864 defaultval=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x"$enablestring" = xdisable; then
6867 defaultval=yes
6868 else
6869 defaultval=no
6870 fi
6871 fi
6872
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6875 # Check whether --enable-file was given.
6876 if test "${enable_file+set}" = set; then
6877 enableval=$enable_file;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_file='wxUSE_FILE=yes'
6880 else
6881 wx_cv_use_file='wxUSE_FILE=no'
6882 fi
6883
6884 else
6885
6886 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6887
6888 fi
6889
6890
6891 eval "$wx_cv_use_file"
6892
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_FILE = no; then
6895 result=yes
6896 else
6897 result=no
6898 fi
6899 else
6900 result=$wxUSE_FILE
6901 fi
6902
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6905
6906
6907 enablestring=
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6911 defaultval=yes
6912 else
6913 defaultval=no
6914 fi
6915 fi
6916
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6919 # Check whether --enable-filesystem was given.
6920 if test "${enable_filesystem+set}" = set; then
6921 enableval=$enable_filesystem;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6924 else
6925 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6926 fi
6927
6928 else
6929
6930 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6931
6932 fi
6933
6934
6935 eval "$wx_cv_use_filesystem"
6936
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILESYSTEM = no; then
6939 result=yes
6940 else
6941 result=no
6942 fi
6943 else
6944 result=$wxUSE_FILESYSTEM
6945 fi
6946
6947 { echo "$as_me:$LINENO: result: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6949
6950
6951 enablestring=
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6955 defaultval=yes
6956 else
6957 defaultval=no
6958 fi
6959 fi
6960
6961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6963 # Check whether --enable-fontenum was given.
6964 if test "${enable_fontenum+set}" = set; then
6965 enableval=$enable_fontenum;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6968 else
6969 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6970 fi
6971
6972 else
6973
6974 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6975
6976 fi
6977
6978
6979 eval "$wx_cv_use_fontenum"
6980
6981 if test x"$enablestring" = xdisable; then
6982 if test $wxUSE_FONTENUM = no; then
6983 result=yes
6984 else
6985 result=no
6986 fi
6987 else
6988 result=$wxUSE_FONTENUM
6989 fi
6990
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6993
6994
6995 enablestring=
6996 defaultval=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x"$enablestring" = xdisable; then
6999 defaultval=yes
7000 else
7001 defaultval=no
7002 fi
7003 fi
7004
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7007 # Check whether --enable-fontmap was given.
7008 if test "${enable_fontmap+set}" = set; then
7009 enableval=$enable_fontmap;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7012 else
7013 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7014 fi
7015
7016 else
7017
7018 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7019
7020 fi
7021
7022
7023 eval "$wx_cv_use_fontmap"
7024
7025 if test x"$enablestring" = xdisable; then
7026 if test $wxUSE_FONTMAP = no; then
7027 result=yes
7028 else
7029 result=no
7030 fi
7031 else
7032 result=$wxUSE_FONTMAP
7033 fi
7034
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7037
7038
7039 enablestring=
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7043 defaultval=yes
7044 else
7045 defaultval=no
7046 fi
7047 fi
7048
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7051 # Check whether --enable-fs_archive was given.
7052 if test "${enable_fs_archive+set}" = set; then
7053 enableval=$enable_fs_archive;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7056 else
7057 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7058 fi
7059
7060 else
7061
7062 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7063
7064 fi
7065
7066
7067 eval "$wx_cv_use_fs_archive"
7068
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FS_ARCHIVE = no; then
7071 result=yes
7072 else
7073 result=no
7074 fi
7075 else
7076 result=$wxUSE_FS_ARCHIVE
7077 fi
7078
7079 { echo "$as_me:$LINENO: result: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7081
7082
7083 enablestring=
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7087 defaultval=yes
7088 else
7089 defaultval=no
7090 fi
7091 fi
7092
7093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7095 # Check whether --enable-fs_inet was given.
7096 if test "${enable_fs_inet+set}" = set; then
7097 enableval=$enable_fs_inet;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7100 else
7101 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7102 fi
7103
7104 else
7105
7106 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7107
7108 fi
7109
7110
7111 eval "$wx_cv_use_fs_inet"
7112
7113 if test x"$enablestring" = xdisable; then
7114 if test $wxUSE_FS_INET = no; then
7115 result=yes
7116 else
7117 result=no
7118 fi
7119 else
7120 result=$wxUSE_FS_INET
7121 fi
7122
7123 { echo "$as_me:$LINENO: result: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7125
7126
7127 enablestring=
7128 defaultval=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x"$enablestring" = xdisable; then
7131 defaultval=yes
7132 else
7133 defaultval=no
7134 fi
7135 fi
7136
7137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7139 # Check whether --enable-fs_zip was given.
7140 if test "${enable_fs_zip+set}" = set; then
7141 enableval=$enable_fs_zip;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7144 else
7145 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7146 fi
7147
7148 else
7149
7150 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7151
7152 fi
7153
7154
7155 eval "$wx_cv_use_fs_zip"
7156
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_FS_ZIP = no; then
7159 result=yes
7160 else
7161 result=no
7162 fi
7163 else
7164 result=$wxUSE_FS_ZIP
7165 fi
7166
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7169
7170
7171 enablestring=
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7175 defaultval=yes
7176 else
7177 defaultval=no
7178 fi
7179 fi
7180
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7183 # Check whether --enable-geometry was given.
7184 if test "${enable_geometry+set}" = set; then
7185 enableval=$enable_geometry;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7188 else
7189 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7190 fi
7191
7192 else
7193
7194 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7195
7196 fi
7197
7198
7199 eval "$wx_cv_use_geometry"
7200
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_GEOMETRY = no; then
7203 result=yes
7204 else
7205 result=no
7206 fi
7207 else
7208 result=$wxUSE_GEOMETRY
7209 fi
7210
7211 { echo "$as_me:$LINENO: result: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7213
7214
7215 enablestring=
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7219 defaultval=yes
7220 else
7221 defaultval=no
7222 fi
7223 fi
7224
7225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7227 # Check whether --enable-log was given.
7228 if test "${enable_log+set}" = set; then
7229 enableval=$enable_log;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_log='wxUSE_LOG=yes'
7232 else
7233 wx_cv_use_log='wxUSE_LOG=no'
7234 fi
7235
7236 else
7237
7238 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7239
7240 fi
7241
7242
7243 eval "$wx_cv_use_log"
7244
7245 if test x"$enablestring" = xdisable; then
7246 if test $wxUSE_LOG = no; then
7247 result=yes
7248 else
7249 result=no
7250 fi
7251 else
7252 result=$wxUSE_LOG
7253 fi
7254
7255 { echo "$as_me:$LINENO: result: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7257
7258
7259 enablestring=
7260 defaultval=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x"$enablestring" = xdisable; then
7263 defaultval=yes
7264 else
7265 defaultval=no
7266 fi
7267 fi
7268
7269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7271 # Check whether --enable-longlong was given.
7272 if test "${enable_longlong+set}" = set; then
7273 enableval=$enable_longlong;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7276 else
7277 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7278 fi
7279
7280 else
7281
7282 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7283
7284 fi
7285
7286
7287 eval "$wx_cv_use_longlong"
7288
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_LONGLONG = no; then
7291 result=yes
7292 else
7293 result=no
7294 fi
7295 else
7296 result=$wxUSE_LONGLONG
7297 fi
7298
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7301
7302
7303 enablestring=
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7307 defaultval=yes
7308 else
7309 defaultval=no
7310 fi
7311 fi
7312
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7315 # Check whether --enable-mimetype was given.
7316 if test "${enable_mimetype+set}" = set; then
7317 enableval=$enable_mimetype;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7320 else
7321 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7322 fi
7323
7324 else
7325
7326 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7327
7328 fi
7329
7330
7331 eval "$wx_cv_use_mimetype"
7332
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_MIMETYPE = no; then
7335 result=yes
7336 else
7337 result=no
7338 fi
7339 else
7340 result=$wxUSE_MIMETYPE
7341 fi
7342
7343 { echo "$as_me:$LINENO: result: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7345
7346
7347 enablestring=
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7351 defaultval=yes
7352 else
7353 defaultval=no
7354 fi
7355 fi
7356
7357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7359 # Check whether --enable-printfposparam was given.
7360 if test "${enable_printfposparam+set}" = set; then
7361 enableval=$enable_printfposparam;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7364 else
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7366 fi
7367
7368 else
7369
7370 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7371
7372 fi
7373
7374
7375 eval "$wx_cv_use_printfposparam"
7376
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7379 result=yes
7380 else
7381 result=no
7382 fi
7383 else
7384 result=$wxUSE_PRINTF_POS_PARAMS
7385 fi
7386
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7389
7390
7391 enablestring=
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7395 defaultval=yes
7396 else
7397 defaultval=no
7398 fi
7399 fi
7400
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7403 # Check whether --enable-snglinst was given.
7404 if test "${enable_snglinst+set}" = set; then
7405 enableval=$enable_snglinst;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7408 else
7409 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7410 fi
7411
7412 else
7413
7414 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7415
7416 fi
7417
7418
7419 eval "$wx_cv_use_snglinst"
7420
7421 if test x"$enablestring" = xdisable; then
7422 if test $wxUSE_SNGLINST_CHECKER = no; then
7423 result=yes
7424 else
7425 result=no
7426 fi
7427 else
7428 result=$wxUSE_SNGLINST_CHECKER
7429 fi
7430
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7433
7434
7435 enablestring=
7436 defaultval=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x"$enablestring" = xdisable; then
7439 defaultval=yes
7440 else
7441 defaultval=no
7442 fi
7443 fi
7444
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7447 # Check whether --enable-sound was given.
7448 if test "${enable_sound+set}" = set; then
7449 enableval=$enable_sound;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_sound='wxUSE_SOUND=yes'
7452 else
7453 wx_cv_use_sound='wxUSE_SOUND=no'
7454 fi
7455
7456 else
7457
7458 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7459
7460 fi
7461
7462
7463 eval "$wx_cv_use_sound"
7464
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_SOUND = no; then
7467 result=yes
7468 else
7469 result=no
7470 fi
7471 else
7472 result=$wxUSE_SOUND
7473 fi
7474
7475 { echo "$as_me:$LINENO: result: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7477
7478
7479 enablestring=
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7483 defaultval=yes
7484 else
7485 defaultval=no
7486 fi
7487 fi
7488
7489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7491 # Check whether --enable-stdpaths was given.
7492 if test "${enable_stdpaths+set}" = set; then
7493 enableval=$enable_stdpaths;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7496 else
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7498 fi
7499
7500 else
7501
7502 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7503
7504 fi
7505
7506
7507 eval "$wx_cv_use_stdpaths"
7508
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_STDPATHS = no; then
7511 result=yes
7512 else
7513 result=no
7514 fi
7515 else
7516 result=$wxUSE_STDPATHS
7517 fi
7518
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7521
7522
7523 enablestring=
7524 defaultval=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x"$enablestring" = xdisable; then
7527 defaultval=yes
7528 else
7529 defaultval=no
7530 fi
7531 fi
7532
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7535 # Check whether --enable-stopwatch was given.
7536 if test "${enable_stopwatch+set}" = set; then
7537 enableval=$enable_stopwatch;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7540 else
7541 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7542 fi
7543
7544 else
7545
7546 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7547
7548 fi
7549
7550
7551 eval "$wx_cv_use_stopwatch"
7552
7553 if test x"$enablestring" = xdisable; then
7554 if test $wxUSE_STOPWATCH = no; then
7555 result=yes
7556 else
7557 result=no
7558 fi
7559 else
7560 result=$wxUSE_STOPWATCH
7561 fi
7562
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7565
7566
7567 enablestring=
7568 defaultval=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x"$enablestring" = xdisable; then
7571 defaultval=yes
7572 else
7573 defaultval=no
7574 fi
7575 fi
7576
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7579 # Check whether --enable-streams was given.
7580 if test "${enable_streams+set}" = set; then
7581 enableval=$enable_streams;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_streams='wxUSE_STREAMS=yes'
7584 else
7585 wx_cv_use_streams='wxUSE_STREAMS=no'
7586 fi
7587
7588 else
7589
7590 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7591
7592 fi
7593
7594
7595 eval "$wx_cv_use_streams"
7596
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STREAMS = no; then
7599 result=yes
7600 else
7601 result=no
7602 fi
7603 else
7604 result=$wxUSE_STREAMS
7605 fi
7606
7607 { echo "$as_me:$LINENO: result: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7609
7610
7611 enablestring=
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7615 defaultval=yes
7616 else
7617 defaultval=no
7618 fi
7619 fi
7620
7621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7623 # Check whether --enable-system_options was given.
7624 if test "${enable_system_options+set}" = set; then
7625 enableval=$enable_system_options;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7628 else
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7630 fi
7631
7632 else
7633
7634 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7635
7636 fi
7637
7638
7639 eval "$wx_cv_use_system_options"
7640
7641 if test x"$enablestring" = xdisable; then
7642 if test $wxUSE_SYSTEM_OPTIONS = no; then
7643 result=yes
7644 else
7645 result=no
7646 fi
7647 else
7648 result=$wxUSE_SYSTEM_OPTIONS
7649 fi
7650
7651 { echo "$as_me:$LINENO: result: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7653
7654
7655 enablestring=
7656 defaultval=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x"$enablestring" = xdisable; then
7659 defaultval=yes
7660 else
7661 defaultval=no
7662 fi
7663 fi
7664
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7667 # Check whether --enable-tarstream was given.
7668 if test "${enable_tarstream+set}" = set; then
7669 enableval=$enable_tarstream;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7672 else
7673 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7674 fi
7675
7676 else
7677
7678 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7679
7680 fi
7681
7682
7683 eval "$wx_cv_use_tarstream"
7684
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_TARSTREAM = no; then
7687 result=yes
7688 else
7689 result=no
7690 fi
7691 else
7692 result=$wxUSE_TARSTREAM
7693 fi
7694
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7697
7698
7699 enablestring=
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7703 defaultval=yes
7704 else
7705 defaultval=no
7706 fi
7707 fi
7708
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7711 # Check whether --enable-textbuf was given.
7712 if test "${enable_textbuf+set}" = set; then
7713 enableval=$enable_textbuf;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7716 else
7717 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7718 fi
7719
7720 else
7721
7722 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7723
7724 fi
7725
7726
7727 eval "$wx_cv_use_textbuf"
7728
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_TEXTBUFFER = no; then
7731 result=yes
7732 else
7733 result=no
7734 fi
7735 else
7736 result=$wxUSE_TEXTBUFFER
7737 fi
7738
7739 { echo "$as_me:$LINENO: result: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7741
7742
7743 enablestring=
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7747 defaultval=yes
7748 else
7749 defaultval=no
7750 fi
7751 fi
7752
7753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7755 # Check whether --enable-textfile was given.
7756 if test "${enable_textfile+set}" = set; then
7757 enableval=$enable_textfile;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7760 else
7761 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7762 fi
7763
7764 else
7765
7766 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7767
7768 fi
7769
7770
7771 eval "$wx_cv_use_textfile"
7772
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_TEXTFILE = no; then
7775 result=yes
7776 else
7777 result=no
7778 fi
7779 else
7780 result=$wxUSE_TEXTFILE
7781 fi
7782
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7785
7786
7787 enablestring=
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7791 defaultval=yes
7792 else
7793 defaultval=no
7794 fi
7795 fi
7796
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7799 # Check whether --enable-timer was given.
7800 if test "${enable_timer+set}" = set; then
7801 enableval=$enable_timer;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_timer='wxUSE_TIMER=yes'
7804 else
7805 wx_cv_use_timer='wxUSE_TIMER=no'
7806 fi
7807
7808 else
7809
7810 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7811
7812 fi
7813
7814
7815 eval "$wx_cv_use_timer"
7816
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_TIMER = no; then
7819 result=yes
7820 else
7821 result=no
7822 fi
7823 else
7824 result=$wxUSE_TIMER
7825 fi
7826
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7829
7830
7831 enablestring=
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7835 defaultval=yes
7836 else
7837 defaultval=no
7838 fi
7839 fi
7840
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7843 # Check whether --enable-variant was given.
7844 if test "${enable_variant+set}" = set; then
7845 enableval=$enable_variant;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_variant='wxUSE_VARIANT=yes'
7848 else
7849 wx_cv_use_variant='wxUSE_VARIANT=no'
7850 fi
7851
7852 else
7853
7854 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7855
7856 fi
7857
7858
7859 eval "$wx_cv_use_variant"
7860
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_VARIANT = no; then
7863 result=yes
7864 else
7865 result=no
7866 fi
7867 else
7868 result=$wxUSE_VARIANT
7869 fi
7870
7871 { echo "$as_me:$LINENO: result: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7873
7874
7875 enablestring=
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7879 defaultval=yes
7880 else
7881 defaultval=no
7882 fi
7883 fi
7884
7885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7887 # Check whether --enable-zipstream was given.
7888 if test "${enable_zipstream+set}" = set; then
7889 enableval=$enable_zipstream;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7892 else
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7894 fi
7895
7896 else
7897
7898 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7899
7900 fi
7901
7902
7903 eval "$wx_cv_use_zipstream"
7904
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_ZIPSTREAM = no; then
7907 result=yes
7908 else
7909 result=no
7910 fi
7911 else
7912 result=$wxUSE_ZIPSTREAM
7913 fi
7914
7915 { echo "$as_me:$LINENO: result: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7917
7918
7919
7920 enablestring=
7921 defaultval=$wxUSE_ALL_FEATURES
7922 if test -z "$defaultval"; then
7923 if test x"$enablestring" = xdisable; then
7924 defaultval=yes
7925 else
7926 defaultval=no
7927 fi
7928 fi
7929
7930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7932 # Check whether --enable-url was given.
7933 if test "${enable_url+set}" = set; then
7934 enableval=$enable_url;
7935 if test "$enableval" = yes; then
7936 wx_cv_use_url='wxUSE_URL=yes'
7937 else
7938 wx_cv_use_url='wxUSE_URL=no'
7939 fi
7940
7941 else
7942
7943 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7944
7945 fi
7946
7947
7948 eval "$wx_cv_use_url"
7949
7950 if test x"$enablestring" = xdisable; then
7951 if test $wxUSE_URL = no; then
7952 result=yes
7953 else
7954 result=no
7955 fi
7956 else
7957 result=$wxUSE_URL
7958 fi
7959
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7962
7963
7964 enablestring=
7965 defaultval=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x"$enablestring" = xdisable; then
7968 defaultval=yes
7969 else
7970 defaultval=no
7971 fi
7972 fi
7973
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7976 # Check whether --enable-protocol was given.
7977 if test "${enable_protocol+set}" = set; then
7978 enableval=$enable_protocol;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7981 else
7982 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7983 fi
7984
7985 else
7986
7987 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7988
7989 fi
7990
7991
7992 eval "$wx_cv_use_protocol"
7993
7994 if test x"$enablestring" = xdisable; then
7995 if test $wxUSE_PROTOCOL = no; then
7996 result=yes
7997 else
7998 result=no
7999 fi
8000 else
8001 result=$wxUSE_PROTOCOL
8002 fi
8003
8004 { echo "$as_me:$LINENO: result: $result" >&5
8005 echo "${ECHO_T}$result" >&6; }
8006
8007
8008 enablestring=
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8012 defaultval=yes
8013 else
8014 defaultval=no
8015 fi
8016 fi
8017
8018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8020 # Check whether --enable-protocol_http was given.
8021 if test "${enable_protocol_http+set}" = set; then
8022 enableval=$enable_protocol_http;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8025 else
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8027 fi
8028
8029 else
8030
8031 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8032
8033 fi
8034
8035
8036 eval "$wx_cv_use_protocol_http"
8037
8038 if test x"$enablestring" = xdisable; then
8039 if test $wxUSE_PROTOCOL_HTTP = no; then
8040 result=yes
8041 else
8042 result=no
8043 fi
8044 else
8045 result=$wxUSE_PROTOCOL_HTTP
8046 fi
8047
8048 { echo "$as_me:$LINENO: result: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8050
8051
8052 enablestring=
8053 defaultval=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x"$enablestring" = xdisable; then
8056 defaultval=yes
8057 else
8058 defaultval=no
8059 fi
8060 fi
8061
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8064 # Check whether --enable-protocol_ftp was given.
8065 if test "${enable_protocol_ftp+set}" = set; then
8066 enableval=$enable_protocol_ftp;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8069 else
8070 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8071 fi
8072
8073 else
8074
8075 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8076
8077 fi
8078
8079
8080 eval "$wx_cv_use_protocol_ftp"
8081
8082 if test x"$enablestring" = xdisable; then
8083 if test $wxUSE_PROTOCOL_FTP = no; then
8084 result=yes
8085 else
8086 result=no
8087 fi
8088 else
8089 result=$wxUSE_PROTOCOL_FTP
8090 fi
8091
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8094
8095
8096 enablestring=
8097 defaultval=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x"$enablestring" = xdisable; then
8100 defaultval=yes
8101 else
8102 defaultval=no
8103 fi
8104 fi
8105
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_file was given.
8109 if test "${enable_protocol_file+set}" = set; then
8110 enableval=$enable_protocol_file;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8113 else
8114 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8115 fi
8116
8117 else
8118
8119 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8120
8121 fi
8122
8123
8124 eval "$wx_cv_use_protocol_file"
8125
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_FILE = no; then
8128 result=yes
8129 else
8130 result=no
8131 fi
8132 else
8133 result=$wxUSE_PROTOCOL_FILE
8134 fi
8135
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8138
8139
8140
8141 enablestring=
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8145 defaultval=yes
8146 else
8147 defaultval=no
8148 fi
8149 fi
8150
8151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8153 # Check whether --enable-threads was given.
8154 if test "${enable_threads+set}" = set; then
8155 enableval=$enable_threads;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_threads='wxUSE_THREADS=yes'
8158 else
8159 wx_cv_use_threads='wxUSE_THREADS=no'
8160 fi
8161
8162 else
8163
8164 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8165
8166 fi
8167
8168
8169 eval "$wx_cv_use_threads"
8170
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_THREADS = no; then
8173 result=yes
8174 else
8175 result=no
8176 fi
8177 else
8178 result=$wxUSE_THREADS
8179 fi
8180
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8183
8184
8185
8186 enablestring=
8187 defaultval=
8188 if test -z "$defaultval"; then
8189 if test x"$enablestring" = xdisable; then
8190 defaultval=yes
8191 else
8192 defaultval=no
8193 fi
8194 fi
8195
8196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8198 # Check whether --enable-iniconf was given.
8199 if test "${enable_iniconf+set}" = set; then
8200 enableval=$enable_iniconf;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8203 else
8204 wx_cv_use_iniconf='wxUSE_INICONF=no'
8205 fi
8206
8207 else
8208
8209 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8210
8211 fi
8212
8213
8214 eval "$wx_cv_use_iniconf"
8215
8216 if test x"$enablestring" = xdisable; then
8217 if test $wxUSE_INICONF = no; then
8218 result=yes
8219 else
8220 result=no
8221 fi
8222 else
8223 result=$wxUSE_INICONF
8224 fi
8225
8226 { echo "$as_me:$LINENO: result: $result" >&5
8227 echo "${ECHO_T}$result" >&6; }
8228
8229
8230 enablestring=
8231 defaultval=$wxUSE_ALL_FEATURES
8232 if test -z "$defaultval"; then
8233 if test x"$enablestring" = xdisable; then
8234 defaultval=yes
8235 else
8236 defaultval=no
8237 fi
8238 fi
8239
8240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8242 # Check whether --enable-regkey was given.
8243 if test "${enable_regkey+set}" = set; then
8244 enableval=$enable_regkey;
8245 if test "$enableval" = yes; then
8246 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8247 else
8248 wx_cv_use_regkey='wxUSE_REGKEY=no'
8249 fi
8250
8251 else
8252
8253 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8254
8255 fi
8256
8257
8258 eval "$wx_cv_use_regkey"
8259
8260 if test x"$enablestring" = xdisable; then
8261 if test $wxUSE_REGKEY = no; then
8262 result=yes
8263 else
8264 result=no
8265 fi
8266 else
8267 result=$wxUSE_REGKEY
8268 fi
8269
8270 { echo "$as_me:$LINENO: result: $result" >&5
8271 echo "${ECHO_T}$result" >&6; }
8272
8273
8274 if test "$wxUSE_GUI" = "yes"; then
8275
8276
8277
8278 enablestring=
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8282 defaultval=yes
8283 else
8284 defaultval=no
8285 fi
8286 fi
8287
8288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8290 # Check whether --enable-docview was given.
8291 if test "${enable_docview+set}" = set; then
8292 enableval=$enable_docview;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8295 else
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8297 fi
8298
8299 else
8300
8301 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8302
8303 fi
8304
8305
8306 eval "$wx_cv_use_docview"
8307
8308 if test x"$enablestring" = xdisable; then
8309 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8310 result=yes
8311 else
8312 result=no
8313 fi
8314 else
8315 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8316 fi
8317
8318 { echo "$as_me:$LINENO: result: $result" >&5
8319 echo "${ECHO_T}$result" >&6; }
8320
8321
8322 enablestring=
8323 defaultval=$wxUSE_ALL_FEATURES
8324 if test -z "$defaultval"; then
8325 if test x"$enablestring" = xdisable; then
8326 defaultval=yes
8327 else
8328 defaultval=no
8329 fi
8330 fi
8331
8332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8334 # Check whether --enable-help was given.
8335 if test "${enable_help+set}" = set; then
8336 enableval=$enable_help;
8337 if test "$enableval" = yes; then
8338 wx_cv_use_help='wxUSE_HELP=yes'
8339 else
8340 wx_cv_use_help='wxUSE_HELP=no'
8341 fi
8342
8343 else
8344
8345 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8346
8347 fi
8348
8349
8350 eval "$wx_cv_use_help"
8351
8352 if test x"$enablestring" = xdisable; then
8353 if test $wxUSE_HELP = no; then
8354 result=yes
8355 else
8356 result=no
8357 fi
8358 else
8359 result=$wxUSE_HELP
8360 fi
8361
8362 { echo "$as_me:$LINENO: result: $result" >&5
8363 echo "${ECHO_T}$result" >&6; }
8364
8365
8366 enablestring=
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8370 defaultval=yes
8371 else
8372 defaultval=no
8373 fi
8374 fi
8375
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8378 # Check whether --enable-mshtmlhelp was given.
8379 if test "${enable_mshtmlhelp+set}" = set; then
8380 enableval=$enable_mshtmlhelp;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8383 else
8384 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8385 fi
8386
8387 else
8388
8389 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8390
8391 fi
8392
8393
8394 eval "$wx_cv_use_mshtmlhelp"
8395
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_MS_HTML_HELP = no; then
8398 result=yes
8399 else
8400 result=no
8401 fi
8402 else
8403 result=$wxUSE_MS_HTML_HELP
8404 fi
8405
8406 { echo "$as_me:$LINENO: result: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8408
8409
8410 enablestring=
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8414 defaultval=yes
8415 else
8416 defaultval=no
8417 fi
8418 fi
8419
8420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8422 # Check whether --enable-html was given.
8423 if test "${enable_html+set}" = set; then
8424 enableval=$enable_html;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_html='wxUSE_HTML=yes'
8427 else
8428 wx_cv_use_html='wxUSE_HTML=no'
8429 fi
8430
8431 else
8432
8433 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$wx_cv_use_html"
8439
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_HTML = no; then
8442 result=yes
8443 else
8444 result=no
8445 fi
8446 else
8447 result=$wxUSE_HTML
8448 fi
8449
8450 { echo "$as_me:$LINENO: result: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8452
8453
8454 enablestring=
8455 defaultval=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x"$enablestring" = xdisable; then
8458 defaultval=yes
8459 else
8460 defaultval=no
8461 fi
8462 fi
8463
8464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8466 # Check whether --enable-htmlhelp was given.
8467 if test "${enable_htmlhelp+set}" = set; then
8468 enableval=$enable_htmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8471 else
8472 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8473 fi
8474
8475 else
8476
8477 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8478
8479 fi
8480
8481
8482 eval "$wx_cv_use_htmlhelp"
8483
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_WXHTML_HELP = no; then
8486 result=yes
8487 else
8488 result=no
8489 fi
8490 else
8491 result=$wxUSE_WXHTML_HELP
8492 fi
8493
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8496
8497
8498 enablestring=
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8502 defaultval=yes
8503 else
8504 defaultval=no
8505 fi
8506 fi
8507
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8510 # Check whether --enable-xrc was given.
8511 if test "${enable_xrc+set}" = set; then
8512 enableval=$enable_xrc;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_xrc='wxUSE_XRC=yes'
8515 else
8516 wx_cv_use_xrc='wxUSE_XRC=no'
8517 fi
8518
8519 else
8520
8521 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8522
8523 fi
8524
8525
8526 eval "$wx_cv_use_xrc"
8527
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_XRC = no; then
8530 result=yes
8531 else
8532 result=no
8533 fi
8534 else
8535 result=$wxUSE_XRC
8536 fi
8537
8538 { echo "$as_me:$LINENO: result: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8540
8541
8542 enablestring=
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8546 defaultval=yes
8547 else
8548 defaultval=no
8549 fi
8550 fi
8551
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8554 # Check whether --enable-aui was given.
8555 if test "${enable_aui+set}" = set; then
8556 enableval=$enable_aui;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_aui='wxUSE_AUI=yes'
8559 else
8560 wx_cv_use_aui='wxUSE_AUI=no'
8561 fi
8562
8563 else
8564
8565 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8566
8567 fi
8568
8569
8570 eval "$wx_cv_use_aui"
8571
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_AUI = no; then
8574 result=yes
8575 else
8576 result=no
8577 fi
8578 else
8579 result=$wxUSE_AUI
8580 fi
8581
8582 { echo "$as_me:$LINENO: result: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8584
8585
8586 enablestring=
8587 defaultval=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x"$enablestring" = xdisable; then
8590 defaultval=yes
8591 else
8592 defaultval=no
8593 fi
8594 fi
8595
8596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8597 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8598 # Check whether --enable-propgrid was given.
8599 if test "${enable_propgrid+set}" = set; then
8600 enableval=$enable_propgrid;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8603 else
8604 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8605 fi
8606
8607 else
8608
8609 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_propgrid"
8615
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_PROPGRID = no; then
8618 result=yes
8619 else
8620 result=no
8621 fi
8622 else
8623 result=$wxUSE_PROPGRID
8624 fi
8625
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8628
8629
8630 enablestring=
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8634 defaultval=yes
8635 else
8636 defaultval=no
8637 fi
8638 fi
8639
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8642 # Check whether --enable-stc was given.
8643 if test "${enable_stc+set}" = set; then
8644 enableval=$enable_stc;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_stc='wxUSE_STC=yes'
8647 else
8648 wx_cv_use_stc='wxUSE_STC=no'
8649 fi
8650
8651 else
8652
8653 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8654
8655 fi
8656
8657
8658 eval "$wx_cv_use_stc"
8659
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_STC = no; then
8662 result=yes
8663 else
8664 result=no
8665 fi
8666 else
8667 result=$wxUSE_STC
8668 fi
8669
8670 { echo "$as_me:$LINENO: result: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8672
8673
8674 enablestring=
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8678 defaultval=yes
8679 else
8680 defaultval=no
8681 fi
8682 fi
8683
8684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8685 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8686 # Check whether --enable-constraints was given.
8687 if test "${enable_constraints+set}" = set; then
8688 enableval=$enable_constraints;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8691 else
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8693 fi
8694
8695 else
8696
8697 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8698
8699 fi
8700
8701
8702 eval "$wx_cv_use_constraints"
8703
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_CONSTRAINTS = no; then
8706 result=yes
8707 else
8708 result=no
8709 fi
8710 else
8711 result=$wxUSE_CONSTRAINTS
8712 fi
8713
8714 { echo "$as_me:$LINENO: result: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8716
8717
8718 enablestring=
8719 defaultval=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x"$enablestring" = xdisable; then
8722 defaultval=yes
8723 else
8724 defaultval=no
8725 fi
8726 fi
8727
8728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8730 # Check whether --enable-loggui was given.
8731 if test "${enable_loggui+set}" = set; then
8732 enableval=$enable_loggui;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8735 else
8736 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8737 fi
8738
8739 else
8740
8741 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8742
8743 fi
8744
8745
8746 eval "$wx_cv_use_loggui"
8747
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_LOGGUI = no; then
8750 result=yes
8751 else
8752 result=no
8753 fi
8754 else
8755 result=$wxUSE_LOGGUI
8756 fi
8757
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8760
8761
8762 enablestring=
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8766 defaultval=yes
8767 else
8768 defaultval=no
8769 fi
8770 fi
8771
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8774 # Check whether --enable-logwin was given.
8775 if test "${enable_logwin+set}" = set; then
8776 enableval=$enable_logwin;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8779 else
8780 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8781 fi
8782
8783 else
8784
8785 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8786
8787 fi
8788
8789
8790 eval "$wx_cv_use_logwin"
8791
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_LOGWINDOW = no; then
8794 result=yes
8795 else
8796 result=no
8797 fi
8798 else
8799 result=$wxUSE_LOGWINDOW
8800 fi
8801
8802 { echo "$as_me:$LINENO: result: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8804
8805
8806 enablestring=
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8810 defaultval=yes
8811 else
8812 defaultval=no
8813 fi
8814 fi
8815
8816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8818 # Check whether --enable-logdialog was given.
8819 if test "${enable_logdialog+set}" = set; then
8820 enableval=$enable_logdialog;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8823 else
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8825 fi
8826
8827 else
8828
8829 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8830
8831 fi
8832
8833
8834 eval "$wx_cv_use_logdialog"
8835
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_LOGDIALOG = no; then
8838 result=yes
8839 else
8840 result=no
8841 fi
8842 else
8843 result=$wxUSE_LOGDIALOG
8844 fi
8845
8846 { echo "$as_me:$LINENO: result: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8848
8849
8850 enablestring=
8851 defaultval=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x"$enablestring" = xdisable; then
8854 defaultval=yes
8855 else
8856 defaultval=no
8857 fi
8858 fi
8859
8860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8862 # Check whether --enable-mdi was given.
8863 if test "${enable_mdi+set}" = set; then
8864 enableval=$enable_mdi;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_mdi='wxUSE_MDI=yes'
8867 else
8868 wx_cv_use_mdi='wxUSE_MDI=no'
8869 fi
8870
8871 else
8872
8873 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8874
8875 fi
8876
8877
8878 eval "$wx_cv_use_mdi"
8879
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_MDI = no; then
8882 result=yes
8883 else
8884 result=no
8885 fi
8886 else
8887 result=$wxUSE_MDI
8888 fi
8889
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8892
8893
8894 enablestring=
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8898 defaultval=yes
8899 else
8900 defaultval=no
8901 fi
8902 fi
8903
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8906 # Check whether --enable-mdidoc was given.
8907 if test "${enable_mdidoc+set}" = set; then
8908 enableval=$enable_mdidoc;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8911 else
8912 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8913 fi
8914
8915 else
8916
8917 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8918
8919 fi
8920
8921
8922 eval "$wx_cv_use_mdidoc"
8923
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_MDI_ARCHITECTURE = no; then
8926 result=yes
8927 else
8928 result=no
8929 fi
8930 else
8931 result=$wxUSE_MDI_ARCHITECTURE
8932 fi
8933
8934 { echo "$as_me:$LINENO: result: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8936
8937
8938 enablestring=
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8942 defaultval=yes
8943 else
8944 defaultval=no
8945 fi
8946 fi
8947
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8950 # Check whether --enable-mediactrl was given.
8951 if test "${enable_mediactrl+set}" = set; then
8952 enableval=$enable_mediactrl;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8955 else
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8957 fi
8958
8959 else
8960
8961 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8962
8963 fi
8964
8965
8966 eval "$wx_cv_use_mediactrl"
8967
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_MEDIACTRL = no; then
8970 result=yes
8971 else
8972 result=no
8973 fi
8974 else
8975 result=$wxUSE_MEDIACTRL
8976 fi
8977
8978 { echo "$as_me:$LINENO: result: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8980
8981
8982 enablestring=
8983 defaultval=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x"$enablestring" = xdisable; then
8986 defaultval=yes
8987 else
8988 defaultval=no
8989 fi
8990 fi
8991
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8994 # Check whether --enable-gstreamer8 was given.
8995 if test "${enable_gstreamer8+set}" = set; then
8996 enableval=$enable_gstreamer8;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8999 else
9000 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9001 fi
9002
9003 else
9004
9005 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_gstreamer8"
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_GSTREAMER8 = no; then
9014 result=yes
9015 else
9016 result=no
9017 fi
9018 else
9019 result=$wxUSE_GSTREAMER8
9020 fi
9021
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9038 # Check whether --enable-webkit was given.
9039 if test "${enable_webkit+set}" = set; then
9040 enableval=$enable_webkit;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9043 else
9044 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9045 fi
9046
9047 else
9048
9049 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9050
9051 fi
9052
9053
9054 eval "$wx_cv_use_webkit"
9055
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_WEBKIT = no; then
9058 result=yes
9059 else
9060 result=no
9061 fi
9062 else
9063 result=$wxUSE_WEBKIT
9064 fi
9065
9066 { echo "$as_me:$LINENO: result: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9068
9069
9070 enablestring=
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9074 defaultval=yes
9075 else
9076 defaultval=no
9077 fi
9078 fi
9079
9080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9082 # Check whether --enable-richtext was given.
9083 if test "${enable_richtext+set}" = set; then
9084 enableval=$enable_richtext;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9087 else
9088 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9089 fi
9090
9091 else
9092
9093 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9094
9095 fi
9096
9097
9098 eval "$wx_cv_use_richtext"
9099
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_RICHTEXT = no; then
9102 result=yes
9103 else
9104 result=no
9105 fi
9106 else
9107 result=$wxUSE_RICHTEXT
9108 fi
9109
9110 { echo "$as_me:$LINENO: result: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9112
9113
9114 enablestring=
9115 defaultval=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x"$enablestring" = xdisable; then
9118 defaultval=yes
9119 else
9120 defaultval=no
9121 fi
9122 fi
9123
9124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9126 # Check whether --enable-graphics_ctx was given.
9127 if test "${enable_graphics_ctx+set}" = set; then
9128 enableval=$enable_graphics_ctx;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9131 else
9132 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9133 fi
9134
9135 else
9136
9137 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9138
9139 fi
9140
9141
9142 eval "$wx_cv_use_graphics_ctx"
9143
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9146 result=yes
9147 else
9148 result=no
9149 fi
9150 else
9151 result=$wxUSE_GRAPHICS_CONTEXT
9152 fi
9153
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9156
9157
9158 enablestring=
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9162 defaultval=yes
9163 else
9164 defaultval=no
9165 fi
9166 fi
9167
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9170 # Check whether --enable-postscript was given.
9171 if test "${enable_postscript+set}" = set; then
9172 enableval=$enable_postscript;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9175 else
9176 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9177 fi
9178
9179 else
9180
9181 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9182
9183 fi
9184
9185
9186 eval "$wx_cv_use_postscript"
9187
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_POSTSCRIPT = no; then
9190 result=yes
9191 else
9192 result=no
9193 fi
9194 else
9195 result=$wxUSE_POSTSCRIPT
9196 fi
9197
9198 { echo "$as_me:$LINENO: result: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9200
9201
9202 enablestring=
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9206 defaultval=yes
9207 else
9208 defaultval=no
9209 fi
9210 fi
9211
9212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9214 # Check whether --enable-printarch was given.
9215 if test "${enable_printarch+set}" = set; then
9216 enableval=$enable_printarch;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9219 else
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9221 fi
9222
9223 else
9224
9225 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9226
9227 fi
9228
9229
9230 eval "$wx_cv_use_printarch"
9231
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9234 result=yes
9235 else
9236 result=no
9237 fi
9238 else
9239 result=$wxUSE_PRINTING_ARCHITECTURE
9240 fi
9241
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9244
9245
9246 enablestring=
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9250 defaultval=yes
9251 else
9252 defaultval=no
9253 fi
9254 fi
9255
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9258 # Check whether --enable-svg was given.
9259 if test "${enable_svg+set}" = set; then
9260 enableval=$enable_svg;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_svg='wxUSE_SVG=yes'
9263 else
9264 wx_cv_use_svg='wxUSE_SVG=no'
9265 fi
9266
9267 else
9268
9269 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_svg"
9275
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_SVG = no; then
9278 result=yes
9279 else
9280 result=no
9281 fi
9282 else
9283 result=$wxUSE_SVG
9284 fi
9285
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9288
9289
9290
9291
9292 enablestring=
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9296 defaultval=yes
9297 else
9298 defaultval=no
9299 fi
9300 fi
9301
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9304 # Check whether --enable-clipboard was given.
9305 if test "${enable_clipboard+set}" = set; then
9306 enableval=$enable_clipboard;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9309 else
9310 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9311 fi
9312
9313 else
9314
9315 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9316
9317 fi
9318
9319
9320 eval "$wx_cv_use_clipboard"
9321
9322 if test x"$enablestring" = xdisable; then
9323 if test $wxUSE_CLIPBOARD = no; then
9324 result=yes
9325 else
9326 result=no
9327 fi
9328 else
9329 result=$wxUSE_CLIPBOARD
9330 fi
9331
9332 { echo "$as_me:$LINENO: result: $result" >&5
9333 echo "${ECHO_T}$result" >&6; }
9334
9335
9336 enablestring=
9337 defaultval=$wxUSE_ALL_FEATURES
9338 if test -z "$defaultval"; then
9339 if test x"$enablestring" = xdisable; then
9340 defaultval=yes
9341 else
9342 defaultval=no
9343 fi
9344 fi
9345
9346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9348 # Check whether --enable-dnd was given.
9349 if test "${enable_dnd+set}" = set; then
9350 enableval=$enable_dnd;
9351 if test "$enableval" = yes; then
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9353 else
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9355 fi
9356
9357 else
9358
9359 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9360
9361 fi
9362
9363
9364 eval "$wx_cv_use_dnd"
9365
9366 if test x"$enablestring" = xdisable; then
9367 if test $wxUSE_DRAG_AND_DROP = no; then
9368 result=yes
9369 else
9370 result=no
9371 fi
9372 else
9373 result=$wxUSE_DRAG_AND_DROP
9374 fi
9375
9376 { echo "$as_me:$LINENO: result: $result" >&5
9377 echo "${ECHO_T}$result" >&6; }
9378
9379
9380 enablestring=
9381 defaultval=$wxUSE_ALL_FEATURES
9382 if test -z "$defaultval"; then
9383 if test x"$enablestring" = xdisable; then
9384 defaultval=yes
9385 else
9386 defaultval=no
9387 fi
9388 fi
9389
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9392 # Check whether --enable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval=$enable_metafile;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9397 else
9398 wx_cv_use_metafile='wxUSE_METAFILE=no'
9399 fi
9400
9401 else
9402
9403 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9404
9405 fi
9406
9407
9408 eval "$wx_cv_use_metafile"
9409
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_METAFILE = no; then
9412 result=yes
9413 else
9414 result=no
9415 fi
9416 else
9417 result=$wxUSE_METAFILE
9418 fi
9419
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9422
9423
9424
9425 DEFAULT_wxUSE_CONTROLS=none
9426
9427 enablestring=disable
9428 defaultval=
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9431 defaultval=yes
9432 else
9433 defaultval=no
9434 fi
9435 fi
9436
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9439 # Check whether --enable-controls was given.
9440 if test "${enable_controls+set}" = set; then
9441 enableval=$enable_controls;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9444 else
9445 wx_cv_use_controls='wxUSE_CONTROLS=no'
9446 fi
9447
9448 else
9449
9450 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9451
9452 fi
9453
9454
9455 eval "$wx_cv_use_controls"
9456
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_CONTROLS = no; then
9459 result=yes
9460 else
9461 result=no
9462 fi
9463 else
9464 result=$wxUSE_CONTROLS
9465 fi
9466
9467 { echo "$as_me:$LINENO: result: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9469
9470
9471 if test "$wxUSE_CONTROLS" = "no"; then
9472 DEFAULT_wxUSE_ACCEL=no
9473 DEFAULT_wxUSE_ANIMATIONCTRL=no
9474 DEFAULT_wxUSE_BMPBUTTON=no
9475 DEFAULT_wxUSE_BUTTON=no
9476 DEFAULT_wxUSE_CALCTRL=no
9477 DEFAULT_wxUSE_CARET=no
9478 DEFAULT_wxUSE_CHECKBOX=no
9479 DEFAULT_wxUSE_CHECKLISTBOX=no
9480 DEFAULT_wxUSE_CHOICE=no
9481 DEFAULT_wxUSE_CHOICEBOOK=no
9482 DEFAULT_wxUSE_COLLPANE=no
9483 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9484 DEFAULT_wxUSE_COMBOBOX=no
9485 DEFAULT_wxUSE_COMBOBOX=no
9486 DEFAULT_wxUSE_DATAVIEWCTRL=no
9487 DEFAULT_wxUSE_DATEPICKCTRL=no
9488 DEFAULT_wxUSE_DETECT_SM=no
9489 DEFAULT_wxUSE_DIRPICKERCTRL=no
9490 DEFAULT_wxUSE_DISPLAY=no
9491 DEFAULT_wxUSE_FILECTRL=no
9492 DEFAULT_wxUSE_FILEPICKERCTRL=no
9493 DEFAULT_wxUSE_FONTPICKERCTRL=no
9494 DEFAULT_wxUSE_GAUGE=no
9495 DEFAULT_wxUSE_GRID=no
9496 DEFAULT_wxUSE_HEADERCTRL=no
9497 DEFAULT_wxUSE_HYPERLINKCTRL=no
9498 DEFAULT_wxUSE_IMAGLIST=no
9499 DEFAULT_wxUSE_LISTBOOK=no
9500 DEFAULT_wxUSE_LISTBOX=no
9501 DEFAULT_wxUSE_LISTCTRL=no
9502 DEFAULT_wxUSE_NOTEBOOK=no
9503 DEFAULT_wxUSE_POPUPWIN=no
9504 DEFAULT_wxUSE_RADIOBOX=no
9505 DEFAULT_wxUSE_RADIOBTN=no
9506 DEFAULT_wxUSE_REARRANGECTRL=no
9507 DEFAULT_wxUSE_SASH=no
9508 DEFAULT_wxUSE_SCROLLBAR=no
9509 DEFAULT_wxUSE_SEARCHCTRL=no
9510 DEFAULT_wxUSE_SLIDER=no
9511 DEFAULT_wxUSE_SPINBTN=no
9512 DEFAULT_wxUSE_SPINCTRL=no
9513 DEFAULT_wxUSE_SPLITTER=no
9514 DEFAULT_wxUSE_STATBMP=no
9515 DEFAULT_wxUSE_STATBOX=no
9516 DEFAULT_wxUSE_STATLINE=no
9517 DEFAULT_wxUSE_STATUSBAR=no
9518 DEFAULT_wxUSE_TIPWINDOW=no
9519 DEFAULT_wxUSE_TOGGLEBTN=no
9520 DEFAULT_wxUSE_TOOLBAR=no
9521 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9522 DEFAULT_wxUSE_TOOLBOOK=no
9523 DEFAULT_wxUSE_TOOLTIPS=no
9524 DEFAULT_wxUSE_TREEBOOK=no
9525 DEFAULT_wxUSE_TREECTRL=no
9526 fi
9527
9528
9529 enablestring=
9530 defaultval=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x"$enablestring" = xdisable; then
9533 defaultval=yes
9534 else
9535 defaultval=no
9536 fi
9537 fi
9538
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9541 # Check whether --enable-accel was given.
9542 if test "${enable_accel+set}" = set; then
9543 enableval=$enable_accel;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_accel='wxUSE_ACCEL=yes'
9546 else
9547 wx_cv_use_accel='wxUSE_ACCEL=no'
9548 fi
9549
9550 else
9551
9552 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9553
9554 fi
9555
9556
9557 eval "$wx_cv_use_accel"
9558
9559 if test x"$enablestring" = xdisable; then
9560 if test $wxUSE_ACCEL = no; then
9561 result=yes
9562 else
9563 result=no
9564 fi
9565 else
9566 result=$wxUSE_ACCEL
9567 fi
9568
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9571
9572
9573 enablestring=
9574 defaultval=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x"$enablestring" = xdisable; then
9577 defaultval=yes
9578 else
9579 defaultval=no
9580 fi
9581 fi
9582
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9585 # Check whether --enable-animatectrl was given.
9586 if test "${enable_animatectrl+set}" = set; then
9587 enableval=$enable_animatectrl;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9590 else
9591 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9592 fi
9593
9594 else
9595
9596 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9597
9598 fi
9599
9600
9601 eval "$wx_cv_use_animatectrl"
9602
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ANIMATIONCTRL = no; then
9605 result=yes
9606 else
9607 result=no
9608 fi
9609 else
9610 result=$wxUSE_ANIMATIONCTRL
9611 fi
9612
9613 { echo "$as_me:$LINENO: result: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9615
9616
9617 enablestring=
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9621 defaultval=yes
9622 else
9623 defaultval=no
9624 fi
9625 fi
9626
9627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9629 # Check whether --enable-bmpbutton was given.
9630 if test "${enable_bmpbutton+set}" = set; then
9631 enableval=$enable_bmpbutton;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9634 else
9635 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9636 fi
9637
9638 else
9639
9640 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9641
9642 fi
9643
9644
9645 eval "$wx_cv_use_bmpbutton"
9646
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_BMPBUTTON = no; then
9649 result=yes
9650 else
9651 result=no
9652 fi
9653 else
9654 result=$wxUSE_BMPBUTTON
9655 fi
9656
9657 { echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9673 # Check whether --enable-bmpcombobox was given.
9674 if test "${enable_bmpcombobox+set}" = set; then
9675 enableval=$enable_bmpcombobox;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9678 else
9679 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9680 fi
9681
9682 else
9683
9684 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9685
9686 fi
9687
9688
9689 eval "$wx_cv_use_bmpcombobox"
9690
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_BITMAPCOMBOBOX = no; then
9693 result=yes
9694 else
9695 result=no
9696 fi
9697 else
9698 result=$wxUSE_BITMAPCOMBOBOX
9699 fi
9700
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9703
9704
9705 enablestring=
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9709 defaultval=yes
9710 else
9711 defaultval=no
9712 fi
9713 fi
9714
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9717 # Check whether --enable-button was given.
9718 if test "${enable_button+set}" = set; then
9719 enableval=$enable_button;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_button='wxUSE_BUTTON=yes'
9722 else
9723 wx_cv_use_button='wxUSE_BUTTON=no'
9724 fi
9725
9726 else
9727
9728 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9729
9730 fi
9731
9732
9733 eval "$wx_cv_use_button"
9734
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BUTTON = no; then
9737 result=yes
9738 else
9739 result=no
9740 fi
9741 else
9742 result=$wxUSE_BUTTON
9743 fi
9744
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9747
9748
9749 enablestring=
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9753 defaultval=yes
9754 else
9755 defaultval=no
9756 fi
9757 fi
9758
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9761 # Check whether --enable-calendar was given.
9762 if test "${enable_calendar+set}" = set; then
9763 enableval=$enable_calendar;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9766 else
9767 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9768 fi
9769
9770 else
9771
9772 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9773
9774 fi
9775
9776
9777 eval "$wx_cv_use_calendar"
9778
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_CALCTRL = no; then
9781 result=yes
9782 else
9783 result=no
9784 fi
9785 else
9786 result=$wxUSE_CALCTRL
9787 fi
9788
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9791
9792
9793 enablestring=
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9805 # Check whether --enable-caret was given.
9806 if test "${enable_caret+set}" = set; then
9807 enableval=$enable_caret;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_caret='wxUSE_CARET=yes'
9810 else
9811 wx_cv_use_caret='wxUSE_CARET=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_caret"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_CARET = no; then
9825 result=yes
9826 else
9827 result=no
9828 fi
9829 else
9830 result=$wxUSE_CARET
9831 fi
9832
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9849 # Check whether --enable-checkbox was given.
9850 if test "${enable_checkbox+set}" = set; then
9851 enableval=$enable_checkbox;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9854 else
9855 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_checkbox"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CHECKBOX = no; then
9869 result=yes
9870 else
9871 result=no
9872 fi
9873 else
9874 result=$wxUSE_CHECKBOX
9875 fi
9876
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9893 # Check whether --enable-checklst was given.
9894 if test "${enable_checklst+set}" = set; then
9895 enableval=$enable_checklst;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9898 else
9899 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9900 fi
9901
9902 else
9903
9904 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_checklst"
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CHECKLST = no; then
9913 result=yes
9914 else
9915 result=no
9916 fi
9917 else
9918 result=$wxUSE_CHECKLST
9919 fi
9920
9921 { echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9937 # Check whether --enable-choice was given.
9938 if test "${enable_choice+set}" = set; then
9939 enableval=$enable_choice;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_choice='wxUSE_CHOICE=yes'
9942 else
9943 wx_cv_use_choice='wxUSE_CHOICE=no'
9944 fi
9945
9946 else
9947
9948 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9949
9950 fi
9951
9952
9953 eval "$wx_cv_use_choice"
9954
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CHOICE = no; then
9957 result=yes
9958 else
9959 result=no
9960 fi
9961 else
9962 result=$wxUSE_CHOICE
9963 fi
9964
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9967
9968
9969 enablestring=
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9973 defaultval=yes
9974 else
9975 defaultval=no
9976 fi
9977 fi
9978
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9981 # Check whether --enable-choicebook was given.
9982 if test "${enable_choicebook+set}" = set; then
9983 enableval=$enable_choicebook;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9986 else
9987 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9988 fi
9989
9990 else
9991
9992 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9993
9994 fi
9995
9996
9997 eval "$wx_cv_use_choicebook"
9998
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICEBOOK = no; then
10001 result=yes
10002 else
10003 result=no
10004 fi
10005 else
10006 result=$wxUSE_CHOICEBOOK
10007 fi
10008
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10011
10012
10013 enablestring=
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10017 defaultval=yes
10018 else
10019 defaultval=no
10020 fi
10021 fi
10022
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10025 # Check whether --enable-collpane was given.
10026 if test "${enable_collpane+set}" = set; then
10027 enableval=$enable_collpane;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10030 else
10031 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10032 fi
10033
10034 else
10035
10036 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_collpane"
10042
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_COLLPANE = no; then
10045 result=yes
10046 else
10047 result=no
10048 fi
10049 else
10050 result=$wxUSE_COLLPANE
10051 fi
10052
10053 { echo "$as_me:$LINENO: result: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10055
10056
10057 enablestring=
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10061 defaultval=yes
10062 else
10063 defaultval=no
10064 fi
10065 fi
10066
10067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10069 # Check whether --enable-colourpicker was given.
10070 if test "${enable_colourpicker+set}" = set; then
10071 enableval=$enable_colourpicker;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10074 else
10075 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10076 fi
10077
10078 else
10079
10080 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10081
10082 fi
10083
10084
10085 eval "$wx_cv_use_colourpicker"
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_COLOURPICKERCTRL = no; then
10089 result=yes
10090 else
10091 result=no
10092 fi
10093 else
10094 result=$wxUSE_COLOURPICKERCTRL
10095 fi
10096
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10113 # Check whether --enable-combobox was given.
10114 if test "${enable_combobox+set}" = set; then
10115 enableval=$enable_combobox;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10118 else
10119 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10120 fi
10121
10122 else
10123
10124 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10125
10126 fi
10127
10128
10129 eval "$wx_cv_use_combobox"
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COMBOBOX = no; then
10133 result=yes
10134 else
10135 result=no
10136 fi
10137 else
10138 result=$wxUSE_COMBOBOX
10139 fi
10140
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10157 # Check whether --enable-comboctrl was given.
10158 if test "${enable_comboctrl+set}" = set; then
10159 enableval=$enable_comboctrl;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10162 else
10163 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10164 fi
10165
10166 else
10167
10168 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10169
10170 fi
10171
10172
10173 eval "$wx_cv_use_comboctrl"
10174
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COMBOCTRL = no; then
10177 result=yes
10178 else
10179 result=no
10180 fi
10181 else
10182 result=$wxUSE_COMBOCTRL
10183 fi
10184
10185 { echo "$as_me:$LINENO: result: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10187
10188
10189 enablestring=
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10193 defaultval=yes
10194 else
10195 defaultval=no
10196 fi
10197 fi
10198
10199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10201 # Check whether --enable-dataviewctrl was given.
10202 if test "${enable_dataviewctrl+set}" = set; then
10203 enableval=$enable_dataviewctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10206 else
10207 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10208 fi
10209
10210 else
10211
10212 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10213
10214 fi
10215
10216
10217 eval "$wx_cv_use_dataviewctrl"
10218
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_DATAVIEWCTRL = no; then
10221 result=yes
10222 else
10223 result=no
10224 fi
10225 else
10226 result=$wxUSE_DATAVIEWCTRL
10227 fi
10228
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10231
10232
10233 enablestring=
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10237 defaultval=yes
10238 else
10239 defaultval=no
10240 fi
10241 fi
10242
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10250 else
10251 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10252 fi
10253
10254 else
10255
10256 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10257
10258 fi
10259
10260
10261 eval "$wx_cv_use_datepick"
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = no; then
10265 result=yes
10266 else
10267 result=no
10268 fi
10269 else
10270 result=$wxUSE_DATEPICKCTRL
10271 fi
10272
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10289 # Check whether --enable-detect_sm was given.
10290 if test "${enable_detect_sm+set}" = set; then
10291 enableval=$enable_detect_sm;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10294 else
10295 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10296 fi
10297
10298 else
10299
10300 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10301
10302 fi
10303
10304
10305 eval "$wx_cv_use_detect_sm"
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_DETECT_SM = no; then
10309 result=yes
10310 else
10311 result=no
10312 fi
10313 else
10314 result=$wxUSE_DETECT_SM
10315 fi
10316
10317 { echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10333 # Check whether --enable-dirpicker was given.
10334 if test "${enable_dirpicker+set}" = set; then
10335 enableval=$enable_dirpicker;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10338 else
10339 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10340 fi
10341
10342 else
10343
10344 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_dirpicker"
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DIRPICKERCTRL = no; then
10353 result=yes
10354 else
10355 result=no
10356 fi
10357 else
10358 result=$wxUSE_DIRPICKERCTRL
10359 fi
10360
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10377 # Check whether --enable-display was given.
10378 if test "${enable_display+set}" = set; then
10379 enableval=$enable_display;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_display='wxUSE_DISPLAY=yes'
10382 else
10383 wx_cv_use_display='wxUSE_DISPLAY=no'
10384 fi
10385
10386 else
10387
10388 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10389
10390 fi
10391
10392
10393 eval "$wx_cv_use_display"
10394
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DISPLAY = no; then
10397 result=yes
10398 else
10399 result=no
10400 fi
10401 else
10402 result=$wxUSE_DISPLAY
10403 fi
10404
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10407
10408
10409 enablestring=
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10413 defaultval=yes
10414 else
10415 defaultval=no
10416 fi
10417 fi
10418
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10426 else
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10428 fi
10429
10430 else
10431
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10433
10434 fi
10435
10436
10437 eval "$wx_cv_use_editablebox"
10438
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_EDITABLELISTBOX = no; then
10441 result=yes
10442 else
10443 result=no
10444 fi
10445 else
10446 result=$wxUSE_EDITABLELISTBOX
10447 fi
10448
10449 { echo "$as_me:$LINENO: result: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10451
10452
10453 enablestring=
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10457 defaultval=yes
10458 else
10459 defaultval=no
10460 fi
10461 fi
10462
10463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10465 # Check whether --enable-filectrl was given.
10466 if test "${enable_filectrl+set}" = set; then
10467 enableval=$enable_filectrl;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10470 else
10471 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10472 fi
10473
10474 else
10475
10476 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_filectrl"
10482
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_FILECTRL = no; then
10485 result=yes
10486 else
10487 result=no
10488 fi
10489 else
10490 result=$wxUSE_FILECTRL
10491 fi
10492
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10509 # Check whether --enable-filepicker was given.
10510 if test "${enable_filepicker+set}" = set; then
10511 enableval=$enable_filepicker;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10514 else
10515 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10516 fi
10517
10518 else
10519
10520 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_filepicker"
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILEPICKERCTRL = no; then
10529 result=yes
10530 else
10531 result=no
10532 fi
10533 else
10534 result=$wxUSE_FILEPICKERCTRL
10535 fi
10536
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10558 else
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10560 fi
10561
10562 else
10563
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10565
10566 fi
10567
10568
10569 eval "$wx_cv_use_fontpicker"
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_FONTPICKERCTRL = no; then
10573 result=yes
10574 else
10575 result=no
10576 fi
10577 else
10578 result=$wxUSE_FONTPICKERCTRL
10579 fi
10580
10581 { echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10602 else
10603 wx_cv_use_gauge='wxUSE_GAUGE=no'
10604 fi
10605
10606 else
10607
10608 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10609
10610 fi
10611
10612
10613 eval "$wx_cv_use_gauge"
10614
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_GAUGE = no; then
10617 result=yes
10618 else
10619 result=no
10620 fi
10621 else
10622 result=$wxUSE_GAUGE
10623 fi
10624
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10627
10628
10629 enablestring=
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10633 defaultval=yes
10634 else
10635 defaultval=no
10636 fi
10637 fi
10638
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid='wxUSE_GRID=yes'
10646 else
10647 wx_cv_use_grid='wxUSE_GRID=no'
10648 fi
10649
10650 else
10651
10652 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_grid"
10658
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = no; then
10661 result=yes
10662 else
10663 result=no
10664 fi
10665 else
10666 result=$wxUSE_GRID
10667 fi
10668
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10671
10672
10673 enablestring=
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10677 defaultval=yes
10678 else
10679 defaultval=no
10680 fi
10681 fi
10682
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10685 # Check whether --enable-headerctrl was given.
10686 if test "${enable_headerctrl+set}" = set; then
10687 enableval=$enable_headerctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10690 else
10691 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10692 fi
10693
10694 else
10695
10696 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10697
10698 fi
10699
10700
10701 eval "$wx_cv_use_headerctrl"
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_HEADERCTRL = no; then
10705 result=yes
10706 else
10707 result=no
10708 fi
10709 else
10710 result=$wxUSE_HEADERCTRL
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10734 else
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10736 fi
10737
10738 else
10739
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_hyperlink"
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_HYPERLINKCTRL = no; then
10749 result=yes
10750 else
10751 result=no
10752 fi
10753 else
10754 result=$wxUSE_HYPERLINKCTRL
10755 fi
10756
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10778 else
10779 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10780 fi
10781
10782 else
10783
10784 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10785
10786 fi
10787
10788
10789 eval "$wx_cv_use_imaglist"
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = no; then
10793 result=yes
10794 else
10795 result=no
10796 fi
10797 else
10798 result=$wxUSE_IMAGLIST
10799 fi
10800
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10822 else
10823 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10824 fi
10825
10826 else
10827
10828 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10829
10830 fi
10831
10832
10833 eval "$wx_cv_use_listbook"
10834
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_LISTBOOK = no; then
10837 result=yes
10838 else
10839 result=no
10840 fi
10841 else
10842 result=$wxUSE_LISTBOOK
10843 fi
10844
10845 { echo "$as_me:$LINENO: result: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10847
10848
10849 enablestring=
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10853 defaultval=yes
10854 else
10855 defaultval=no
10856 fi
10857 fi
10858
10859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10866 else
10867 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10868 fi
10869
10870 else
10871
10872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_listbox"
10878
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_LISTBOX = no; then
10881 result=yes
10882 else
10883 result=no
10884 fi
10885 else
10886 result=$wxUSE_LISTBOX
10887 fi
10888
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10891
10892
10893 enablestring=
10894 defaultval=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x"$enablestring" = xdisable; then
10897 defaultval=yes
10898 else
10899 defaultval=no
10900 fi
10901 fi
10902
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10910 else
10911 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10912 fi
10913
10914 else
10915
10916 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10917
10918 fi
10919
10920
10921 eval "$wx_cv_use_listctrl"
10922
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = no; then
10925 result=yes
10926 else
10927 result=no
10928 fi
10929 else
10930 result=$wxUSE_LISTCTRL
10931 fi
10932
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10935
10936
10937 enablestring=
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10941 defaultval=yes
10942 else
10943 defaultval=no
10944 fi
10945 fi
10946
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10954 else
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10956 fi
10957
10958 else
10959
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10961
10962 fi
10963
10964
10965 eval "$wx_cv_use_notebook"
10966
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_NOTEBOOK = no; then
10969 result=yes
10970 else
10971 result=no
10972 fi
10973 else
10974 result=$wxUSE_NOTEBOOK
10975 fi
10976
10977 { echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10979
10980
10981 enablestring=
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10985 defaultval=yes
10986 else
10987 defaultval=no
10988 fi
10989 fi
10990
10991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10998 else
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11000 fi
11001
11002 else
11003
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11005
11006 fi
11007
11008
11009 eval "$wx_cv_use_notifmsg"
11010
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11013 result=yes
11014 else
11015 result=no
11016 fi
11017 else
11018 result=$wxUSE_NOTIFICATION_MESSAGE
11019 fi
11020
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11023
11024
11025 enablestring=
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11029 defaultval=yes
11030 else
11031 defaultval=no
11032 fi
11033 fi
11034
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11042 else
11043 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11044 fi
11045
11046 else
11047
11048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11049
11050 fi
11051
11052
11053 eval "$wx_cv_use_odcombobox"
11054
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = no; then
11057 result=yes
11058 else
11059 result=no
11060 fi
11061 else
11062 result=$wxUSE_ODCOMBOBOX
11063 fi
11064
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11067
11068
11069 enablestring=
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11073 defaultval=yes
11074 else
11075 defaultval=no
11076 fi
11077 fi
11078
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11081 # Check whether --enable-popupwin was given.
11082 if test "${enable_popupwin+set}" = set; then
11083 enableval=$enable_popupwin;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11086 else
11087 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11088 fi
11089
11090 else
11091
11092 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_popupwin"
11098
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_POPUPWIN = no; then
11101 result=yes
11102 else
11103 result=no
11104 fi
11105 else
11106 result=$wxUSE_POPUPWIN
11107 fi
11108
11109 { echo "$as_me:$LINENO: result: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11111
11112
11113 enablestring=
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11117 defaultval=yes
11118 else
11119 defaultval=no
11120 fi
11121 fi
11122
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11125 # Check whether --enable-radiobox was given.
11126 if test "${enable_radiobox+set}" = set; then
11127 enableval=$enable_radiobox;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11130 else
11131 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11132 fi
11133
11134 else
11135
11136 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11137
11138 fi
11139
11140
11141 eval "$wx_cv_use_radiobox"
11142
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_RADIOBOX = no; then
11145 result=yes
11146 else
11147 result=no
11148 fi
11149 else
11150 result=$wxUSE_RADIOBOX
11151 fi
11152
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11155
11156
11157 enablestring=
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11161 defaultval=yes
11162 else
11163 defaultval=no
11164 fi
11165 fi
11166
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11169 # Check whether --enable-radiobtn was given.
11170 if test "${enable_radiobtn+set}" = set; then
11171 enableval=$enable_radiobtn;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11174 else
11175 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11176 fi
11177
11178 else
11179
11180 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11181
11182 fi
11183
11184
11185 eval "$wx_cv_use_radiobtn"
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_RADIOBTN = no; then
11189 result=yes
11190 else
11191 result=no
11192 fi
11193 else
11194 result=$wxUSE_RADIOBTN
11195 fi
11196
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11199
11200
11201 enablestring=
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11205 defaultval=yes
11206 else
11207 defaultval=no
11208 fi
11209 fi
11210
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11213 # Check whether --enable-rearrangectrl was given.
11214 if test "${enable_rearrangectrl+set}" = set; then
11215 enableval=$enable_rearrangectrl;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11218 else
11219 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11220 fi
11221
11222 else
11223
11224 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11225
11226 fi
11227
11228
11229 eval "$wx_cv_use_rearrangectrl"
11230
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_REARRANGECTRL = no; then
11233 result=yes
11234 else
11235 result=no
11236 fi
11237 else
11238 result=$wxUSE_REARRANGECTRL
11239 fi
11240
11241 { echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11243
11244
11245 enablestring=
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11249 defaultval=yes
11250 else
11251 defaultval=no
11252 fi
11253 fi
11254
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11257 # Check whether --enable-sash was given.
11258 if test "${enable_sash+set}" = set; then
11259 enableval=$enable_sash;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_sash='wxUSE_SASH=yes'
11262 else
11263 wx_cv_use_sash='wxUSE_SASH=no'
11264 fi
11265
11266 else
11267
11268 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11269
11270 fi
11271
11272
11273 eval "$wx_cv_use_sash"
11274
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_SASH = no; then
11277 result=yes
11278 else
11279 result=no
11280 fi
11281 else
11282 result=$wxUSE_SASH
11283 fi
11284
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11287
11288
11289 enablestring=
11290 defaultval=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x"$enablestring" = xdisable; then
11293 defaultval=yes
11294 else
11295 defaultval=no
11296 fi
11297 fi
11298
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11301 # Check whether --enable-scrollbar was given.
11302 if test "${enable_scrollbar+set}" = set; then
11303 enableval=$enable_scrollbar;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11306 else
11307 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11308 fi
11309
11310 else
11311
11312 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11313
11314 fi
11315
11316
11317 eval "$wx_cv_use_scrollbar"
11318
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SCROLLBAR = no; then
11321 result=yes
11322 else
11323 result=no
11324 fi
11325 else
11326 result=$wxUSE_SCROLLBAR
11327 fi
11328
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11331
11332
11333 enablestring=
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11337 defaultval=yes
11338 else
11339 defaultval=no
11340 fi
11341 fi
11342
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11345 # Check whether --enable-searchctrl was given.
11346 if test "${enable_searchctrl+set}" = set; then
11347 enableval=$enable_searchctrl;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11350 else
11351 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11352 fi
11353
11354 else
11355
11356 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11357
11358 fi
11359
11360
11361 eval "$wx_cv_use_searchctrl"
11362
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_SEARCHCTRL = no; then
11365 result=yes
11366 else
11367 result=no
11368 fi
11369 else
11370 result=$wxUSE_SEARCHCTRL
11371 fi
11372
11373 { echo "$as_me:$LINENO: result: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11375
11376
11377 enablestring=
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11381 defaultval=yes
11382 else
11383 defaultval=no
11384 fi
11385 fi
11386
11387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11389 # Check whether --enable-slider was given.
11390 if test "${enable_slider+set}" = set; then
11391 enableval=$enable_slider;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_slider='wxUSE_SLIDER=yes'
11394 else
11395 wx_cv_use_slider='wxUSE_SLIDER=no'
11396 fi
11397
11398 else
11399
11400 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11401
11402 fi
11403
11404
11405 eval "$wx_cv_use_slider"
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_SLIDER = no; then
11409 result=yes
11410 else
11411 result=no
11412 fi
11413 else
11414 result=$wxUSE_SLIDER
11415 fi
11416
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11433 # Check whether --enable-spinbtn was given.
11434 if test "${enable_spinbtn+set}" = set; then
11435 enableval=$enable_spinbtn;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11438 else
11439 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11440 fi
11441
11442 else
11443
11444 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11445
11446 fi
11447
11448
11449 eval "$wx_cv_use_spinbtn"
11450
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPINBTN = no; then
11453 result=yes
11454 else
11455 result=no
11456 fi
11457 else
11458 result=$wxUSE_SPINBTN
11459 fi
11460
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11463
11464
11465 enablestring=
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11469 defaultval=yes
11470 else
11471 defaultval=no
11472 fi
11473 fi
11474
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11477 # Check whether --enable-spinctrl was given.
11478 if test "${enable_spinctrl+set}" = set; then
11479 enableval=$enable_spinctrl;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11482 else
11483 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11484 fi
11485
11486 else
11487
11488 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11489
11490 fi
11491
11492
11493 eval "$wx_cv_use_spinctrl"
11494
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SPINCTRL = no; then
11497 result=yes
11498 else
11499 result=no
11500 fi
11501 else
11502 result=$wxUSE_SPINCTRL
11503 fi
11504
11505 { echo "$as_me:$LINENO: result: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11507
11508
11509 enablestring=
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11513 defaultval=yes
11514 else
11515 defaultval=no
11516 fi
11517 fi
11518
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11521 # Check whether --enable-splitter was given.
11522 if test "${enable_splitter+set}" = set; then
11523 enableval=$enable_splitter;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11526 else
11527 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11528 fi
11529
11530 else
11531
11532 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11533
11534 fi
11535
11536
11537 eval "$wx_cv_use_splitter"
11538
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_SPLITTER = no; then
11541 result=yes
11542 else
11543 result=no
11544 fi
11545 else
11546 result=$wxUSE_SPLITTER
11547 fi
11548
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11551
11552
11553 enablestring=
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11557 defaultval=yes
11558 else
11559 defaultval=no
11560 fi
11561 fi
11562
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11565 # Check whether --enable-statbmp was given.
11566 if test "${enable_statbmp+set}" = set; then
11567 enableval=$enable_statbmp;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11570 else
11571 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11572 fi
11573
11574 else
11575
11576 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11577
11578 fi
11579
11580
11581 eval "$wx_cv_use_statbmp"
11582
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATBMP = no; then
11585 result=yes
11586 else
11587 result=no
11588 fi
11589 else
11590 result=$wxUSE_STATBMP
11591 fi
11592
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11595
11596
11597 enablestring=
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11601 defaultval=yes
11602 else
11603 defaultval=no
11604 fi
11605 fi
11606
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11609 # Check whether --enable-statbox was given.
11610 if test "${enable_statbox+set}" = set; then
11611 enableval=$enable_statbox;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11614 else
11615 wx_cv_use_statbox='wxUSE_STATBOX=no'
11616 fi
11617
11618 else
11619
11620 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11621
11622 fi
11623
11624
11625 eval "$wx_cv_use_statbox"
11626
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_STATBOX = no; then
11629 result=yes
11630 else
11631 result=no
11632 fi
11633 else
11634 result=$wxUSE_STATBOX
11635 fi
11636
11637 { echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11639
11640
11641 enablestring=
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11645 defaultval=yes
11646 else
11647 defaultval=no
11648 fi
11649 fi
11650
11651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11653 # Check whether --enable-statline was given.
11654 if test "${enable_statline+set}" = set; then
11655 enableval=$enable_statline;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statline='wxUSE_STATLINE=yes'
11658 else
11659 wx_cv_use_statline='wxUSE_STATLINE=no'
11660 fi
11661
11662 else
11663
11664 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11665
11666 fi
11667
11668
11669 eval "$wx_cv_use_statline"
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_STATLINE = no; then
11673 result=yes
11674 else
11675 result=no
11676 fi
11677 else
11678 result=$wxUSE_STATLINE
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11697 # Check whether --enable-stattext was given.
11698 if test "${enable_stattext+set}" = set; then
11699 enableval=$enable_stattext;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11702 else
11703 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11704 fi
11705
11706 else
11707
11708 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_stattext"
11714
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_STATTEXT = no; then
11717 result=yes
11718 else
11719 result=no
11720 fi
11721 else
11722 result=$wxUSE_STATTEXT
11723 fi
11724
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11727
11728
11729 enablestring=
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11733 defaultval=yes
11734 else
11735 defaultval=no
11736 fi
11737 fi
11738
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11741 # Check whether --enable-statusbar was given.
11742 if test "${enable_statusbar+set}" = set; then
11743 enableval=$enable_statusbar;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11746 else
11747 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11748 fi
11749
11750 else
11751
11752 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11753
11754 fi
11755
11756
11757 eval "$wx_cv_use_statusbar"
11758
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATUSBAR = no; then
11761 result=yes
11762 else
11763 result=no
11764 fi
11765 else
11766 result=$wxUSE_STATUSBAR
11767 fi
11768
11769 { echo "$as_me:$LINENO: result: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11771
11772
11773 enablestring=
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11777 defaultval=yes
11778 else
11779 defaultval=no
11780 fi
11781 fi
11782
11783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11785 # Check whether --enable-taskbaricon was given.
11786 if test "${enable_taskbaricon+set}" = set; then
11787 enableval=$enable_taskbaricon;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11790 else
11791 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11792 fi
11793
11794 else
11795
11796 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11797
11798 fi
11799
11800
11801 eval "$wx_cv_use_taskbaricon"
11802
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_TASKBARICON = no; then
11805 result=yes
11806 else
11807 result=no
11808 fi
11809 else
11810 result=$wxUSE_TASKBARICON
11811 fi
11812
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11815
11816
11817 enablestring=
11818 defaultval=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x"$enablestring" = xdisable; then
11821 defaultval=yes
11822 else
11823 defaultval=no
11824 fi
11825 fi
11826
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11829 # Check whether --enable-tbarnative was given.
11830 if test "${enable_tbarnative+set}" = set; then
11831 enableval=$enable_tbarnative;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11834 else
11835 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11836 fi
11837
11838 else
11839
11840 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11841
11842 fi
11843
11844
11845 eval "$wx_cv_use_tbarnative"
11846
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOOLBAR_NATIVE = no; then
11849 result=yes
11850 else
11851 result=no
11852 fi
11853 else
11854 result=$wxUSE_TOOLBAR_NATIVE
11855 fi
11856
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11859
11860
11861 enablestring=
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11865 defaultval=yes
11866 else
11867 defaultval=no
11868 fi
11869 fi
11870
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11873 # Check whether --enable-textctrl was given.
11874 if test "${enable_textctrl+set}" = set; then
11875 enableval=$enable_textctrl;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11878 else
11879 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11880 fi
11881
11882 else
11883
11884 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11885
11886 fi
11887
11888
11889 eval "$wx_cv_use_textctrl"
11890
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_TEXTCTRL = no; then
11893 result=yes
11894 else
11895 result=no
11896 fi
11897 else
11898 result=$wxUSE_TEXTCTRL
11899 fi
11900
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11903
11904
11905 enablestring=
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11909 defaultval=yes
11910 else
11911 defaultval=no
11912 fi
11913 fi
11914
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11917 # Check whether --enable-tipwindow was given.
11918 if test "${enable_tipwindow+set}" = set; then
11919 enableval=$enable_tipwindow;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11922 else
11923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11924 fi
11925
11926 else
11927
11928 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11929
11930 fi
11931
11932
11933 eval "$wx_cv_use_tipwindow"
11934
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_TIPWINDOW = no; then
11937 result=yes
11938 else
11939 result=no
11940 fi
11941 else
11942 result=$wxUSE_TIPWINDOW
11943 fi
11944
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11947
11948
11949 enablestring=
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11953 defaultval=yes
11954 else
11955 defaultval=no
11956 fi
11957 fi
11958
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11961 # Check whether --enable-togglebtn was given.
11962 if test "${enable_togglebtn+set}" = set; then
11963 enableval=$enable_togglebtn;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11966 else
11967 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11968 fi
11969
11970 else
11971
11972 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11973
11974 fi
11975
11976
11977 eval "$wx_cv_use_togglebtn"
11978
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TOGGLEBTN = no; then
11981 result=yes
11982 else
11983 result=no
11984 fi
11985 else
11986 result=$wxUSE_TOGGLEBTN
11987 fi
11988
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11991
11992
11993 enablestring=
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
11997 defaultval=yes
11998 else
11999 defaultval=no
12000 fi
12001 fi
12002
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12005 # Check whether --enable-toolbar was given.
12006 if test "${enable_toolbar+set}" = set; then
12007 enableval=$enable_toolbar;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12010 else
12011 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12012 fi
12013
12014 else
12015
12016 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12017
12018 fi
12019
12020
12021 eval "$wx_cv_use_toolbar"
12022
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR = no; then
12025 result=yes
12026 else
12027 result=no
12028 fi
12029 else
12030 result=$wxUSE_TOOLBAR
12031 fi
12032
12033 { echo "$as_me:$LINENO: result: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12035
12036
12037 enablestring=
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12041 defaultval=yes
12042 else
12043 defaultval=no
12044 fi
12045 fi
12046
12047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12049 # Check whether --enable-toolbook was given.
12050 if test "${enable_toolbook+set}" = set; then
12051 enableval=$enable_toolbook;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12054 else
12055 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12056 fi
12057
12058 else
12059
12060 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12061
12062 fi
12063
12064
12065 eval "$wx_cv_use_toolbook"
12066
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TOOLBOOK = no; then
12069 result=yes
12070 else
12071 result=no
12072 fi
12073 else
12074 result=$wxUSE_TOOLBOOK
12075 fi
12076
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12093 # Check whether --enable-treebook was given.
12094 if test "${enable_treebook+set}" = set; then
12095 enableval=$enable_treebook;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12098 else
12099 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12100 fi
12101
12102 else
12103
12104 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_treebook"
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TREEBOOK = no; then
12113 result=yes
12114 else
12115 result=no
12116 fi
12117 else
12118 result=$wxUSE_TREEBOOK
12119 fi
12120
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12123
12124
12125 enablestring=
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12129 defaultval=yes
12130 else
12131 defaultval=no
12132 fi
12133 fi
12134
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12137 # Check whether --enable-treectrl was given.
12138 if test "${enable_treectrl+set}" = set; then
12139 enableval=$enable_treectrl;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12142 else
12143 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12144 fi
12145
12146 else
12147
12148 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12149
12150 fi
12151
12152
12153 eval "$wx_cv_use_treectrl"
12154
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TREECTRL = no; then
12157 result=yes
12158 else
12159 result=no
12160 fi
12161 else
12162 result=$wxUSE_TREECTRL
12163 fi
12164
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12167
12168
12169
12170
12171 enablestring=
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12175 defaultval=yes
12176 else
12177 defaultval=no
12178 fi
12179 fi
12180
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12183 # Check whether --enable-commondlg was given.
12184 if test "${enable_commondlg+set}" = set; then
12185 enableval=$enable_commondlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12188 else
12189 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12190 fi
12191
12192 else
12193
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12195
12196 fi
12197
12198
12199 eval "$wx_cv_use_commondlg"
12200
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_COMMONDLGS = no; then
12203 result=yes
12204 else
12205 result=no
12206 fi
12207 else
12208 result=$wxUSE_COMMONDLGS
12209 fi
12210
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12213
12214
12215 enablestring=
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12219 defaultval=yes
12220 else
12221 defaultval=no
12222 fi
12223 fi
12224
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12227 # Check whether --enable-aboutdlg was given.
12228 if test "${enable_aboutdlg+set}" = set; then
12229 enableval=$enable_aboutdlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12232 else
12233 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12234 fi
12235
12236 else
12237
12238 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12239
12240 fi
12241
12242
12243 eval "$wx_cv_use_aboutdlg"
12244
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_ABOUTDLG = no; then
12247 result=yes
12248 else
12249 result=no
12250 fi
12251 else
12252 result=$wxUSE_ABOUTDLG
12253 fi
12254
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12257
12258
12259 enablestring=
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12263 defaultval=yes
12264 else
12265 defaultval=no
12266 fi
12267 fi
12268
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12271 # Check whether --enable-choicedlg was given.
12272 if test "${enable_choicedlg+set}" = set; then
12273 enableval=$enable_choicedlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12276 else
12277 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12278 fi
12279
12280 else
12281
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12283
12284 fi
12285
12286
12287 eval "$wx_cv_use_choicedlg"
12288
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_CHOICEDLG = no; then
12291 result=yes
12292 else
12293 result=no
12294 fi
12295 else
12296 result=$wxUSE_CHOICEDLG
12297 fi
12298
12299 { echo "$as_me:$LINENO: result: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12301
12302
12303 enablestring=
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12307 defaultval=yes
12308 else
12309 defaultval=no
12310 fi
12311 fi
12312
12313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12314 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12315 # Check whether --enable-coldlg was given.
12316 if test "${enable_coldlg+set}" = set; then
12317 enableval=$enable_coldlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12320 else
12321 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12322 fi
12323
12324 else
12325
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12327
12328 fi
12329
12330
12331 eval "$wx_cv_use_coldlg"
12332
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_COLOURDLG = no; then
12335 result=yes
12336 else
12337 result=no
12338 fi
12339 else
12340 result=$wxUSE_COLOURDLG
12341 fi
12342
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12345
12346
12347 enablestring=
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12351 defaultval=yes
12352 else
12353 defaultval=no
12354 fi
12355 fi
12356
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12359 # Check whether --enable-filedlg was given.
12360 if test "${enable_filedlg+set}" = set; then
12361 enableval=$enable_filedlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12364 else
12365 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12366 fi
12367
12368 else
12369
12370 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_filedlg"
12376
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FILEDLG = no; then
12379 result=yes
12380 else
12381 result=no
12382 fi
12383 else
12384 result=$wxUSE_FILEDLG
12385 fi
12386
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12389
12390
12391 enablestring=
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12395 defaultval=yes
12396 else
12397 defaultval=no
12398 fi
12399 fi
12400
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12403 # Check whether --enable-finddlg was given.
12404 if test "${enable_finddlg+set}" = set; then
12405 enableval=$enable_finddlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12408 else
12409 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12410 fi
12411
12412 else
12413
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12415
12416 fi
12417
12418
12419 eval "$wx_cv_use_finddlg"
12420
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_FINDREPLDLG = no; then
12423 result=yes
12424 else
12425 result=no
12426 fi
12427 else
12428 result=$wxUSE_FINDREPLDLG
12429 fi
12430
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12433
12434
12435 enablestring=
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12439 defaultval=yes
12440 else
12441 defaultval=no
12442 fi
12443 fi
12444
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12447 # Check whether --enable-fontdlg was given.
12448 if test "${enable_fontdlg+set}" = set; then
12449 enableval=$enable_fontdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12452 else
12453 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12454 fi
12455
12456 else
12457
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_fontdlg"
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_FONTDLG = no; then
12467 result=yes
12468 else
12469 result=no
12470 fi
12471 else
12472 result=$wxUSE_FONTDLG
12473 fi
12474
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-dirdlg was given.
12492 if test "${enable_dirdlg+set}" = set; then
12493 enableval=$enable_dirdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12496 else
12497 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12498 fi
12499
12500 else
12501
12502 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12503
12504 fi
12505
12506
12507 eval "$wx_cv_use_dirdlg"
12508
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_DIRDLG = no; then
12511 result=yes
12512 else
12513 result=no
12514 fi
12515 else
12516 result=$wxUSE_DIRDLG
12517 fi
12518
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12521
12522
12523 enablestring=
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12527 defaultval=yes
12528 else
12529 defaultval=no
12530 fi
12531 fi
12532
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12535 # Check whether --enable-msgdlg was given.
12536 if test "${enable_msgdlg+set}" = set; then
12537 enableval=$enable_msgdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12540 else
12541 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12542 fi
12543
12544 else
12545
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12547
12548 fi
12549
12550
12551 eval "$wx_cv_use_msgdlg"
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_MSGDLG = no; then
12555 result=yes
12556 else
12557 result=no
12558 fi
12559 else
12560 result=$wxUSE_MSGDLG
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12579 # Check whether --enable-numberdlg was given.
12580 if test "${enable_numberdlg+set}" = set; then
12581 enableval=$enable_numberdlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12584 else
12585 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12586 fi
12587
12588 else
12589
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_numberdlg"
12596
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_NUMBERDLG = no; then
12599 result=yes
12600 else
12601 result=no
12602 fi
12603 else
12604 result=$wxUSE_NUMBERDLG
12605 fi
12606
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12609
12610
12611 enablestring=
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12615 defaultval=yes
12616 else
12617 defaultval=no
12618 fi
12619 fi
12620
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12623 # Check whether --enable-splash was given.
12624 if test "${enable_splash+set}" = set; then
12625 enableval=$enable_splash;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_splash='wxUSE_SPLASH=yes'
12628 else
12629 wx_cv_use_splash='wxUSE_SPLASH=no'
12630 fi
12631
12632 else
12633
12634 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12635
12636 fi
12637
12638
12639 eval "$wx_cv_use_splash"
12640
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_SPLASH = no; then
12643 result=yes
12644 else
12645 result=no
12646 fi
12647 else
12648 result=$wxUSE_SPLASH
12649 fi
12650
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12653
12654
12655 enablestring=
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12659 defaultval=yes
12660 else
12661 defaultval=no
12662 fi
12663 fi
12664
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-textdlg was given.
12668 if test "${enable_textdlg+set}" = set; then
12669 enableval=$enable_textdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12672 else
12673 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12674 fi
12675
12676 else
12677
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_textdlg"
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_TEXTDLG = no; then
12687 result=yes
12688 else
12689 result=no
12690 fi
12691 else
12692 result=$wxUSE_TEXTDLG
12693 fi
12694
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-tipdlg was given.
12712 if test "${enable_tipdlg+set}" = set; then
12713 enableval=$enable_tipdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12716 else
12717 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12718 fi
12719
12720 else
12721
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_tipdlg"
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_STARTUP_TIPS = no; then
12731 result=yes
12732 else
12733 result=no
12734 fi
12735 else
12736 result=$wxUSE_STARTUP_TIPS
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-progressdlg was given.
12756 if test "${enable_progressdlg+set}" = set; then
12757 enableval=$enable_progressdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12760 else
12761 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_progressdlg"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_PROGRESSDLG = no; then
12775 result=yes
12776 else
12777 result=no
12778 fi
12779 else
12780 result=$wxUSE_PROGRESSDLG
12781 fi
12782
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12799 # Check whether --enable-wizarddlg was given.
12800 if test "${enable_wizarddlg+set}" = set; then
12801 enableval=$enable_wizarddlg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12804 else
12805 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12806 fi
12807
12808 else
12809
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_wizarddlg"
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_WIZARDDLG = no; then
12819 result=yes
12820 else
12821 result=no
12822 fi
12823 else
12824 result=$wxUSE_WIZARDDLG
12825 fi
12826
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12829
12830
12831
12832
12833 enablestring=
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12837 defaultval=yes
12838 else
12839 defaultval=no
12840 fi
12841 fi
12842
12843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12844 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12845 # Check whether --enable-menus was given.
12846 if test "${enable_menus+set}" = set; then
12847 enableval=$enable_menus;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_menus='wxUSE_MENUS=yes'
12850 else
12851 wx_cv_use_menus='wxUSE_MENUS=no'
12852 fi
12853
12854 else
12855
12856 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12857
12858 fi
12859
12860
12861 eval "$wx_cv_use_menus"
12862
12863 if test x"$enablestring" = xdisable; then
12864 if test $wxUSE_MENUS = no; then
12865 result=yes
12866 else
12867 result=no
12868 fi
12869 else
12870 result=$wxUSE_MENUS
12871 fi
12872
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12875
12876
12877 enablestring=
12878 defaultval=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x"$enablestring" = xdisable; then
12881 defaultval=yes
12882 else
12883 defaultval=no
12884 fi
12885 fi
12886
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12889 # Check whether --enable-miniframe was given.
12890 if test "${enable_miniframe+set}" = set; then
12891 enableval=$enable_miniframe;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12894 else
12895 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12896 fi
12897
12898 else
12899
12900 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12901
12902 fi
12903
12904
12905 eval "$wx_cv_use_miniframe"
12906
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_MINIFRAME = no; then
12909 result=yes
12910 else
12911 result=no
12912 fi
12913 else
12914 result=$wxUSE_MINIFRAME
12915 fi
12916
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12919
12920
12921 enablestring=
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12925 defaultval=yes
12926 else
12927 defaultval=no
12928 fi
12929 fi
12930
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12933 # Check whether --enable-tooltips was given.
12934 if test "${enable_tooltips+set}" = set; then
12935 enableval=$enable_tooltips;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12938 else
12939 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12940 fi
12941
12942 else
12943
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12945
12946 fi
12947
12948
12949 eval "$wx_cv_use_tooltips"
12950
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_TOOLTIPS = no; then
12953 result=yes
12954 else
12955 result=no
12956 fi
12957 else
12958 result=$wxUSE_TOOLTIPS
12959 fi
12960
12961 { echo "$as_me:$LINENO: result: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12963
12964
12965 enablestring=
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12969 defaultval=yes
12970 else
12971 defaultval=no
12972 fi
12973 fi
12974
12975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12976 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12977 # Check whether --enable-splines was given.
12978 if test "${enable_splines+set}" = set; then
12979 enableval=$enable_splines;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_splines='wxUSE_SPLINES=yes'
12982 else
12983 wx_cv_use_splines='wxUSE_SPLINES=no'
12984 fi
12985
12986 else
12987
12988 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12989
12990 fi
12991
12992
12993 eval "$wx_cv_use_splines"
12994
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_SPLINES = no; then
12997 result=yes
12998 else
12999 result=no
13000 fi
13001 else
13002 result=$wxUSE_SPLINES
13003 fi
13004
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13007
13008
13009 enablestring=
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13013 defaultval=yes
13014 else
13015 defaultval=no
13016 fi
13017 fi
13018
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13021 # Check whether --enable-mousewheel was given.
13022 if test "${enable_mousewheel+set}" = set; then
13023 enableval=$enable_mousewheel;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13026 else
13027 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13028 fi
13029
13030 else
13031
13032 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13033
13034 fi
13035
13036
13037 eval "$wx_cv_use_mousewheel"
13038
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MOUSEWHEEL = no; then
13041 result=yes
13042 else
13043 result=no
13044 fi
13045 else
13046 result=$wxUSE_MOUSEWHEEL
13047 fi
13048
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13051
13052
13053 enablestring=
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13057 defaultval=yes
13058 else
13059 defaultval=no
13060 fi
13061 fi
13062
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13065 # Check whether --enable-validators was given.
13066 if test "${enable_validators+set}" = set; then
13067 enableval=$enable_validators;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13070 else
13071 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13072 fi
13073
13074 else
13075
13076 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13077
13078 fi
13079
13080
13081 eval "$wx_cv_use_validators"
13082
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_VALIDATORS = no; then
13085 result=yes
13086 else
13087 result=no
13088 fi
13089 else
13090 result=$wxUSE_VALIDATORS
13091 fi
13092
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13095
13096
13097 enablestring=
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13101 defaultval=yes
13102 else
13103 defaultval=no
13104 fi
13105 fi
13106
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13109 # Check whether --enable-busyinfo was given.
13110 if test "${enable_busyinfo+set}" = set; then
13111 enableval=$enable_busyinfo;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13114 else
13115 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13116 fi
13117
13118 else
13119
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13121
13122 fi
13123
13124
13125 eval "$wx_cv_use_busyinfo"
13126
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_BUSYINFO = no; then
13129 result=yes
13130 else
13131 result=no
13132 fi
13133 else
13134 result=$wxUSE_BUSYINFO
13135 fi
13136
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13139
13140
13141 enablestring=
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13145 defaultval=yes
13146 else
13147 defaultval=no
13148 fi
13149 fi
13150
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13153 # Check whether --enable-joystick was given.
13154 if test "${enable_joystick+set}" = set; then
13155 enableval=$enable_joystick;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13158 else
13159 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13160 fi
13161
13162 else
13163
13164 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_joystick"
13170
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_JOYSTICK = no; then
13173 result=yes
13174 else
13175 result=no
13176 fi
13177 else
13178 result=$wxUSE_JOYSTICK
13179 fi
13180
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13183
13184
13185 enablestring=
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13189 defaultval=yes
13190 else
13191 defaultval=no
13192 fi
13193 fi
13194
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13197 # Check whether --enable-metafile was given.
13198 if test "${enable_metafile+set}" = set; then
13199 enableval=$enable_metafile;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13202 else
13203 wx_cv_use_metafile='wxUSE_METAFILE=no'
13204 fi
13205
13206 else
13207
13208 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13209
13210 fi
13211
13212
13213 eval "$wx_cv_use_metafile"
13214
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_METAFILE = no; then
13217 result=yes
13218 else
13219 result=no
13220 fi
13221 else
13222 result=$wxUSE_METAFILE
13223 fi
13224
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13227
13228
13229 enablestring=
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13233 defaultval=yes
13234 else
13235 defaultval=no
13236 fi
13237 fi
13238
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13241 # Check whether --enable-dragimage was given.
13242 if test "${enable_dragimage+set}" = set; then
13243 enableval=$enable_dragimage;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13246 else
13247 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13248 fi
13249
13250 else
13251
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_dragimage"
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_DRAGIMAGE = no; then
13261 result=yes
13262 else
13263 result=no
13264 fi
13265 else
13266 result=$wxUSE_DRAGIMAGE
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273 enablestring=
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13277 defaultval=yes
13278 else
13279 defaultval=no
13280 fi
13281 fi
13282
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13285 # Check whether --enable-accessibility was given.
13286 if test "${enable_accessibility+set}" = set; then
13287 enableval=$enable_accessibility;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13290 else
13291 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13292 fi
13293
13294 else
13295
13296 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13297
13298 fi
13299
13300
13301 eval "$wx_cv_use_accessibility"
13302
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_ACCESSIBILITY = no; then
13305 result=yes
13306 else
13307 result=no
13308 fi
13309 else
13310 result=$wxUSE_ACCESSIBILITY
13311 fi
13312
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13315
13316
13317
13318
13319 enablestring=
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13323 defaultval=yes
13324 else
13325 defaultval=no
13326 fi
13327 fi
13328
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13331 # Check whether --enable-palette was given.
13332 if test "${enable_palette+set}" = set; then
13333 enableval=$enable_palette;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_palette='wxUSE_PALETTE=yes'
13336 else
13337 wx_cv_use_palette='wxUSE_PALETTE=no'
13338 fi
13339
13340 else
13341
13342 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13343
13344 fi
13345
13346
13347 eval "$wx_cv_use_palette"
13348
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_PALETTE = no; then
13351 result=yes
13352 else
13353 result=no
13354 fi
13355 else
13356 result=$wxUSE_PALETTE
13357 fi
13358
13359 { echo "$as_me:$LINENO: result: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13361
13362
13363 enablestring=
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13367 defaultval=yes
13368 else
13369 defaultval=no
13370 fi
13371 fi
13372
13373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13374 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13375 # Check whether --enable-image was given.
13376 if test "${enable_image+set}" = set; then
13377 enableval=$enable_image;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_image='wxUSE_IMAGE=yes'
13380 else
13381 wx_cv_use_image='wxUSE_IMAGE=no'
13382 fi
13383
13384 else
13385
13386 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13387
13388 fi
13389
13390
13391 eval "$wx_cv_use_image"
13392
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_IMAGE = no; then
13395 result=yes
13396 else
13397 result=no
13398 fi
13399 else
13400 result=$wxUSE_IMAGE
13401 fi
13402
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13405
13406
13407 enablestring=
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13411 defaultval=yes
13412 else
13413 defaultval=no
13414 fi
13415 fi
13416
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13419 # Check whether --enable-gif was given.
13420 if test "${enable_gif+set}" = set; then
13421 enableval=$enable_gif;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_gif='wxUSE_GIF=yes'
13424 else
13425 wx_cv_use_gif='wxUSE_GIF=no'
13426 fi
13427
13428 else
13429
13430 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13431
13432 fi
13433
13434
13435 eval "$wx_cv_use_gif"
13436
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_GIF = no; then
13439 result=yes
13440 else
13441 result=no
13442 fi
13443 else
13444 result=$wxUSE_GIF
13445 fi
13446
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13449
13450
13451 enablestring=
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13455 defaultval=yes
13456 else
13457 defaultval=no
13458 fi
13459 fi
13460
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13463 # Check whether --enable-pcx was given.
13464 if test "${enable_pcx+set}" = set; then
13465 enableval=$enable_pcx;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_pcx='wxUSE_PCX=yes'
13468 else
13469 wx_cv_use_pcx='wxUSE_PCX=no'
13470 fi
13471
13472 else
13473
13474 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13475
13476 fi
13477
13478
13479 eval "$wx_cv_use_pcx"
13480
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_PCX = no; then
13483 result=yes
13484 else
13485 result=no
13486 fi
13487 else
13488 result=$wxUSE_PCX
13489 fi
13490
13491 { echo "$as_me:$LINENO: result: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13493
13494
13495 enablestring=
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13499 defaultval=yes
13500 else
13501 defaultval=no
13502 fi
13503 fi
13504
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13507 # Check whether --enable-tga was given.
13508 if test "${enable_tga+set}" = set; then
13509 enableval=$enable_tga;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_tga='wxUSE_TGA=yes'
13512 else
13513 wx_cv_use_tga='wxUSE_TGA=no'
13514 fi
13515
13516 else
13517
13518 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_tga"
13524
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_TGA = no; then
13527 result=yes
13528 else
13529 result=no
13530 fi
13531 else
13532 result=$wxUSE_TGA
13533 fi
13534
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13537
13538
13539 enablestring=
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13543 defaultval=yes
13544 else
13545 defaultval=no
13546 fi
13547 fi
13548
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13551 # Check whether --enable-iff was given.
13552 if test "${enable_iff+set}" = set; then
13553 enableval=$enable_iff;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_iff='wxUSE_IFF=yes'
13556 else
13557 wx_cv_use_iff='wxUSE_IFF=no'
13558 fi
13559
13560 else
13561
13562 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_iff"
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IFF = no; then
13571 result=yes
13572 else
13573 result=no
13574 fi
13575 else
13576 result=$wxUSE_IFF
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13595 # Check whether --enable-pnm was given.
13596 if test "${enable_pnm+set}" = set; then
13597 enableval=$enable_pnm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_pnm='wxUSE_PNM=yes'
13600 else
13601 wx_cv_use_pnm='wxUSE_PNM=no'
13602 fi
13603
13604 else
13605
13606 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13607
13608 fi
13609
13610
13611 eval "$wx_cv_use_pnm"
13612
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_PNM = no; then
13615 result=yes
13616 else
13617 result=no
13618 fi
13619 else
13620 result=$wxUSE_PNM
13621 fi
13622
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13639 # Check whether --enable-xpm was given.
13640 if test "${enable_xpm+set}" = set; then
13641 enableval=$enable_xpm;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_xpm='wxUSE_XPM=yes'
13644 else
13645 wx_cv_use_xpm='wxUSE_XPM=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_xpm"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_XPM = no; then
13659 result=yes
13660 else
13661 result=no
13662 fi
13663 else
13664 result=$wxUSE_XPM
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13683 # Check whether --enable-ico_cur was given.
13684 if test "${enable_ico_cur+set}" = set; then
13685 enableval=$enable_ico_cur;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13688 else
13689 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13690 fi
13691
13692 else
13693
13694 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13695
13696 fi
13697
13698
13699 eval "$wx_cv_use_ico_cur"
13700
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_ICO_CUR = no; then
13703 result=yes
13704 else
13705 result=no
13706 fi
13707 else
13708 result=$wxUSE_ICO_CUR
13709 fi
13710
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13713
13714
13715
13716
13717 enablestring=
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13721 defaultval=yes
13722 else
13723 defaultval=no
13724 fi
13725 fi
13726
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13729 # Check whether --enable-dccache was given.
13730 if test "${enable_dccache+set}" = set; then
13731 enableval=$enable_dccache;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13734 else
13735 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13736 fi
13737
13738 else
13739
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13741
13742 fi
13743
13744
13745 eval "$wx_cv_use_dccache"
13746
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_DC_CACHEING = no; then
13749 result=yes
13750 else
13751 result=no
13752 fi
13753 else
13754 result=$wxUSE_DC_CACHEING
13755 fi
13756
13757 { echo "$as_me:$LINENO: result: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13759
13760
13761 enablestring=
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13765 defaultval=yes
13766 else
13767 defaultval=no
13768 fi
13769 fi
13770
13771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13772 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13773 # Check whether --enable-ps-in-msw was given.
13774 if test "${enable_ps_in_msw+set}" = set; then
13775 enableval=$enable_ps_in_msw;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13778 else
13779 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13780 fi
13781
13782 else
13783
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13785
13786 fi
13787
13788
13789 eval "$wx_cv_use_ps_in_msw"
13790
13791 if test x"$enablestring" = xdisable; then
13792 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13793 result=yes
13794 else
13795 result=no
13796 fi
13797 else
13798 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13799 fi
13800
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13803
13804
13805 enablestring=
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13809 defaultval=yes
13810 else
13811 defaultval=no
13812 fi
13813 fi
13814
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13817 # Check whether --enable-ownerdrawn was given.
13818 if test "${enable_ownerdrawn+set}" = set; then
13819 enableval=$enable_ownerdrawn;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13822 else
13823 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13824 fi
13825
13826 else
13827
13828 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13829
13830 fi
13831
13832
13833 eval "$wx_cv_use_ownerdrawn"
13834
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_OWNER_DRAWN = no; then
13837 result=yes
13838 else
13839 result=no
13840 fi
13841 else
13842 result=$wxUSE_OWNER_DRAWN
13843 fi
13844
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13847
13848
13849 enablestring=
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13853 defaultval=yes
13854 else
13855 defaultval=no
13856 fi
13857 fi
13858
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13861 # Check whether --enable-uxtheme was given.
13862 if test "${enable_uxtheme+set}" = set; then
13863 enableval=$enable_uxtheme;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13866 else
13867 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13868 fi
13869
13870 else
13871
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13873
13874 fi
13875
13876
13877 eval "$wx_cv_use_uxtheme"
13878
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_UXTHEME = no; then
13881 result=yes
13882 else
13883 result=no
13884 fi
13885 else
13886 result=$wxUSE_UXTHEME
13887 fi
13888
13889 { echo "$as_me:$LINENO: result: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13891
13892
13893 enablestring=
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13897 defaultval=yes
13898 else
13899 defaultval=no
13900 fi
13901 fi
13902
13903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13904 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13905 # Check whether --enable-wxdib was given.
13906 if test "${enable_wxdib+set}" = set; then
13907 enableval=$enable_wxdib;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_wxdib='wxUSE_DIB=yes'
13910 else
13911 wx_cv_use_wxdib='wxUSE_DIB=no'
13912 fi
13913
13914 else
13915
13916 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13917
13918 fi
13919
13920
13921 eval "$wx_cv_use_wxdib"
13922
13923 if test x"$enablestring" = xdisable; then
13924 if test $wxUSE_DIB = no; then
13925 result=yes
13926 else
13927 result=no
13928 fi
13929 else
13930 result=$wxUSE_DIB
13931 fi
13932
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13935
13936
13937 if test "$wxUSE_MSW" != 1; then
13938 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13939 fi
13940
13941
13942 enablestring=
13943 defaultval=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x"$enablestring" = xdisable; then
13946 defaultval=yes
13947 else
13948 defaultval=no
13949 fi
13950 fi
13951
13952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13953 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13954 # Check whether --enable-autoidman was given.
13955 if test "${enable_autoidman+set}" = set; then
13956 enableval=$enable_autoidman;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13959 else
13960 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13961 fi
13962
13963 else
13964
13965 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13966
13967 fi
13968
13969
13970 eval "$wx_cv_use_autoidman"
13971
13972 if test x"$enablestring" = xdisable; then
13973 if test $wxUSE_AUTOID_MANAGEMENT = no; then
13974 result=yes
13975 else
13976 result=no
13977 fi
13978 else
13979 result=$wxUSE_AUTOID_MANAGEMENT
13980 fi
13981
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13984
13985
13986 fi
13987
13988
13989 cat >confcache <<\_ACEOF
13990 # This file is a shell script that caches the results of configure
13991 # tests run on this system so they can be shared between configure
13992 # scripts and configure runs, see configure's option --config-cache.
13993 # It is not useful on other systems. If it contains results you don't
13994 # want to keep, you may remove or edit it.
13995 #
13996 # config.status only pays attention to the cache file if you give it
13997 # the --recheck option to rerun configure.
13998 #
13999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14001 # following values.
14002
14003 _ACEOF
14004
14005 # The following way of writing the cache mishandles newlines in values,
14006 # but we know of no workaround that is simple, portable, and efficient.
14007 # So, we kill variables containing newlines.
14008 # Ultrix sh set writes to stderr and can't be redirected directly,
14009 # and sets the high bit in the cache file unless we assign to the vars.
14010 (
14011 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14012 eval ac_val=\$$ac_var
14013 case $ac_val in #(
14014 *${as_nl}*)
14015 case $ac_var in #(
14016 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14017 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14018 esac
14019 case $ac_var in #(
14020 _ | IFS | as_nl) ;; #(
14021 *) $as_unset $ac_var ;;
14022 esac ;;
14023 esac
14024 done
14025
14026 (set) 2>&1 |
14027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14028 *${as_nl}ac_space=\ *)
14029 # `set' does not quote correctly, so add quotes (double-quote
14030 # substitution turns \\\\ into \\, and sed turns \\ into \).
14031 sed -n \
14032 "s/'/'\\\\''/g;
14033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14034 ;; #(
14035 *)
14036 # `set' quotes correctly as required by POSIX, so do not add quotes.
14037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14038 ;;
14039 esac |
14040 sort
14041 ) |
14042 sed '
14043 /^ac_cv_env_/b end
14044 t clear
14045 :clear
14046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14047 t end
14048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14049 :end' >>confcache
14050 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14051 if test -w "$cache_file"; then
14052 test "x$cache_file" != "x/dev/null" &&
14053 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14054 echo "$as_me: updating cache $cache_file" >&6;}
14055 cat confcache >$cache_file
14056 else
14057 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14058 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14059 fi
14060 fi
14061 rm -f confcache
14062
14063 CFLAGS=${CFLAGS:=}
14064
14065
14066
14067 ac_ext=c
14068 ac_cpp='$CPP $CPPFLAGS'
14069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14072 if test -n "$ac_tool_prefix"; then
14073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14074 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 else
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC="$CC" # Let the user override the test.
14082 else
14083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14084 for as_dir in $PATH
14085 do
14086 IFS=$as_save_IFS
14087 test -z "$as_dir" && as_dir=.
14088 for ac_exec_ext in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14092 break 2
14093 fi
14094 done
14095 done
14096 IFS=$as_save_IFS
14097
14098 fi
14099 fi
14100 CC=$ac_cv_prog_CC
14101 if test -n "$CC"; then
14102 { echo "$as_me:$LINENO: result: $CC" >&5
14103 echo "${ECHO_T}$CC" >&6; }
14104 else
14105 { echo "$as_me:$LINENO: result: no" >&5
14106 echo "${ECHO_T}no" >&6; }
14107 fi
14108
14109
14110 fi
14111 if test -z "$ac_cv_prog_CC"; then
14112 ac_ct_CC=$CC
14113 # Extract the first word of "gcc", so it can be a program name with args.
14114 set dummy gcc; ac_word=$2
14115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 else
14120 if test -n "$ac_ct_CC"; then
14121 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14122 else
14123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14124 for as_dir in $PATH
14125 do
14126 IFS=$as_save_IFS
14127 test -z "$as_dir" && as_dir=.
14128 for ac_exec_ext in '' $ac_executable_extensions; do
14129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14130 ac_cv_prog_ac_ct_CC="gcc"
14131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14132 break 2
14133 fi
14134 done
14135 done
14136 IFS=$as_save_IFS
14137
14138 fi
14139 fi
14140 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14141 if test -n "$ac_ct_CC"; then
14142 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14143 echo "${ECHO_T}$ac_ct_CC" >&6; }
14144 else
14145 { echo "$as_me:$LINENO: result: no" >&5
14146 echo "${ECHO_T}no" >&6; }
14147 fi
14148
14149 if test "x$ac_ct_CC" = x; then
14150 CC=""
14151 else
14152 case $cross_compiling:$ac_tool_warned in
14153 yes:)
14154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14155 whose name does not start with the host triplet. If you think this
14156 configuration is useful to you, please write to autoconf@gnu.org." >&5
14157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14158 whose name does not start with the host triplet. If you think this
14159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14160 ac_tool_warned=yes ;;
14161 esac
14162 CC=$ac_ct_CC
14163 fi
14164 else
14165 CC="$ac_cv_prog_CC"
14166 fi
14167
14168 if test -z "$CC"; then
14169 if test -n "$ac_tool_prefix"; then
14170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14171 set dummy ${ac_tool_prefix}cc; ac_word=$2
14172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14174 if test "${ac_cv_prog_CC+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 else
14177 if test -n "$CC"; then
14178 ac_cv_prog_CC="$CC" # Let the user override the test.
14179 else
14180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14181 for as_dir in $PATH
14182 do
14183 IFS=$as_save_IFS
14184 test -z "$as_dir" && as_dir=.
14185 for ac_exec_ext in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 ac_cv_prog_CC="${ac_tool_prefix}cc"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14189 break 2
14190 fi
14191 done
14192 done
14193 IFS=$as_save_IFS
14194
14195 fi
14196 fi
14197 CC=$ac_cv_prog_CC
14198 if test -n "$CC"; then
14199 { echo "$as_me:$LINENO: result: $CC" >&5
14200 echo "${ECHO_T}$CC" >&6; }
14201 else
14202 { echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6; }
14204 fi
14205
14206
14207 fi
14208 fi
14209 if test -z "$CC"; then
14210 # Extract the first word of "cc", so it can be a program name with args.
14211 set dummy cc; ac_word=$2
14212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14214 if test "${ac_cv_prog_CC+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 if test -n "$CC"; then
14218 ac_cv_prog_CC="$CC" # Let the user override the test.
14219 else
14220 ac_prog_rejected=no
14221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14223 do
14224 IFS=$as_save_IFS
14225 test -z "$as_dir" && as_dir=.
14226 for ac_exec_ext in '' $ac_executable_extensions; do
14227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14229 ac_prog_rejected=yes
14230 continue
14231 fi
14232 ac_cv_prog_CC="cc"
14233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14234 break 2
14235 fi
14236 done
14237 done
14238 IFS=$as_save_IFS
14239
14240 if test $ac_prog_rejected = yes; then
14241 # We found a bogon in the path, so make sure we never use it.
14242 set dummy $ac_cv_prog_CC
14243 shift
14244 if test $# != 0; then
14245 # We chose a different compiler from the bogus one.
14246 # However, it has the same basename, so the bogon will be chosen
14247 # first if we set CC to just the basename; use the full file name.
14248 shift
14249 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14250 fi
14251 fi
14252 fi
14253 fi
14254 CC=$ac_cv_prog_CC
14255 if test -n "$CC"; then
14256 { echo "$as_me:$LINENO: result: $CC" >&5
14257 echo "${ECHO_T}$CC" >&6; }
14258 else
14259 { echo "$as_me:$LINENO: result: no" >&5
14260 echo "${ECHO_T}no" >&6; }
14261 fi
14262
14263
14264 fi
14265 if test -z "$CC"; then
14266 if test -n "$ac_tool_prefix"; then
14267 for ac_prog in cl.exe
14268 do
14269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 if test -n "$CC"; then
14277 ac_cv_prog_CC="$CC" # Let the user override the test.
14278 else
14279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14280 for as_dir in $PATH
14281 do
14282 IFS=$as_save_IFS
14283 test -z "$as_dir" && as_dir=.
14284 for ac_exec_ext in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 break 2
14289 fi
14290 done
14291 done
14292 IFS=$as_save_IFS
14293
14294 fi
14295 fi
14296 CC=$ac_cv_prog_CC
14297 if test -n "$CC"; then
14298 { echo "$as_me:$LINENO: result: $CC" >&5
14299 echo "${ECHO_T}$CC" >&6; }
14300 else
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14303 fi
14304
14305
14306 test -n "$CC" && break
14307 done
14308 fi
14309 if test -z "$CC"; then
14310 ac_ct_CC=$CC
14311 for ac_prog in cl.exe
14312 do
14313 # Extract the first word of "$ac_prog", so it can be a program name with args.
14314 set dummy $ac_prog; ac_word=$2
14315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 else
14320 if test -n "$ac_ct_CC"; then
14321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14322 else
14323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14324 for as_dir in $PATH
14325 do
14326 IFS=$as_save_IFS
14327 test -z "$as_dir" && as_dir=.
14328 for ac_exec_ext in '' $ac_executable_extensions; do
14329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330 ac_cv_prog_ac_ct_CC="$ac_prog"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14332 break 2
14333 fi
14334 done
14335 done
14336 IFS=$as_save_IFS
14337
14338 fi
14339 fi
14340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14341 if test -n "$ac_ct_CC"; then
14342 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14343 echo "${ECHO_T}$ac_ct_CC" >&6; }
14344 else
14345 { echo "$as_me:$LINENO: result: no" >&5
14346 echo "${ECHO_T}no" >&6; }
14347 fi
14348
14349
14350 test -n "$ac_ct_CC" && break
14351 done
14352
14353 if test "x$ac_ct_CC" = x; then
14354 CC=""
14355 else
14356 case $cross_compiling:$ac_tool_warned in
14357 yes:)
14358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14359 whose name does not start with the host triplet. If you think this
14360 configuration is useful to you, please write to autoconf@gnu.org." >&5
14361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14362 whose name does not start with the host triplet. If you think this
14363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14364 ac_tool_warned=yes ;;
14365 esac
14366 CC=$ac_ct_CC
14367 fi
14368 fi
14369
14370 fi
14371
14372
14373 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14374 See \`config.log' for more details." >&5
14375 echo "$as_me: error: no acceptable C compiler found in \$PATH
14376 See \`config.log' for more details." >&2;}
14377 { (exit 1); exit 1; }; }
14378
14379 # Provide some information about the compiler.
14380 echo "$as_me:$LINENO: checking for C compiler version" >&5
14381 ac_compiler=`set X $ac_compile; echo $2`
14382 { (ac_try="$ac_compiler --version >&5"
14383 case "(($ac_try" in
14384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14386 esac
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_compiler --version >&5") 2>&5
14389 ac_status=$?
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }
14392 { (ac_try="$ac_compiler -v >&5"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14396 esac
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compiler -v >&5") 2>&5
14399 ac_status=$?
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }
14402 { (ac_try="$ac_compiler -V >&5"
14403 case "(($ac_try" in
14404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14405 *) ac_try_echo=$ac_try;;
14406 esac
14407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14408 (eval "$ac_compiler -V >&5") 2>&5
14409 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }
14412
14413 cat >conftest.$ac_ext <<_ACEOF
14414 /* confdefs.h. */
14415 _ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419
14420 int
14421 main ()
14422 {
14423
14424 ;
14425 return 0;
14426 }
14427 _ACEOF
14428 ac_clean_files_save=$ac_clean_files
14429 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14430 # Try to create an executable without -o first, disregard a.out.
14431 # It will help us diagnose broken compilers, and finding out an intuition
14432 # of exeext.
14433 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14434 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14435 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14436 #
14437 # List of possible output files, starting from the most likely.
14438 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14439 # only as a last resort. b.out is created by i960 compilers.
14440 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14441 #
14442 # The IRIX 6 linker writes into existing files which may not be
14443 # executable, retaining their permissions. Remove them first so a
14444 # subsequent execution test works.
14445 ac_rmfiles=
14446 for ac_file in $ac_files
14447 do
14448 case $ac_file in
14449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14450 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14451 esac
14452 done
14453 rm -f $ac_rmfiles
14454
14455 if { (ac_try="$ac_link_default"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link_default") 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; then
14465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14467 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14468 # so that the user can short-circuit this test for compilers unknown to
14469 # Autoconf.
14470 for ac_file in $ac_files ''
14471 do
14472 test -f "$ac_file" || continue
14473 case $ac_file in
14474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14475 ;;
14476 [ab].out )
14477 # We found the default executable, but exeext='' is most
14478 # certainly right.
14479 break;;
14480 *.* )
14481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14482 then :; else
14483 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14484 fi
14485 # We set ac_cv_exeext here because the later test for it is not
14486 # safe: cross compilers may not add the suffix if given an `-o'
14487 # argument, so we may need to know it at that point already.
14488 # Even if this section looks crufty: it has the advantage of
14489 # actually working.
14490 break;;
14491 * )
14492 break;;
14493 esac
14494 done
14495 test "$ac_cv_exeext" = no && ac_cv_exeext=
14496
14497 else
14498 ac_file=''
14499 fi
14500
14501 { echo "$as_me:$LINENO: result: $ac_file" >&5
14502 echo "${ECHO_T}$ac_file" >&6; }
14503 if test -z "$ac_file"; then
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14506
14507 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14508 See \`config.log' for more details." >&5
14509 echo "$as_me: error: C compiler cannot create executables
14510 See \`config.log' for more details." >&2;}
14511 { (exit 77); exit 77; }; }
14512 fi
14513
14514 ac_exeext=$ac_cv_exeext
14515
14516 # Check that the compiler produces executables we can run. If not, either
14517 # the compiler is broken, or we cross compile.
14518 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14519 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14520 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14521 # If not cross compiling, check that we can run a simple program.
14522 if test "$cross_compiling" != yes; then
14523 if { ac_try='./$ac_file'
14524 { (case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14527 esac
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14533 cross_compiling=no
14534 else
14535 if test "$cross_compiling" = maybe; then
14536 cross_compiling=yes
14537 else
14538 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14539 If you meant to cross compile, use \`--host'.
14540 See \`config.log' for more details." >&5
14541 echo "$as_me: error: cannot run C compiled programs.
14542 If you meant to cross compile, use \`--host'.
14543 See \`config.log' for more details." >&2;}
14544 { (exit 1); exit 1; }; }
14545 fi
14546 fi
14547 fi
14548 { echo "$as_me:$LINENO: result: yes" >&5
14549 echo "${ECHO_T}yes" >&6; }
14550
14551 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14552 ac_clean_files=$ac_clean_files_save
14553 # Check that the compiler produces executables we can run. If not, either
14554 # the compiler is broken, or we cross compile.
14555 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14556 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14557 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14558 echo "${ECHO_T}$cross_compiling" >&6; }
14559
14560 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14561 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14562 if { (ac_try="$ac_link"
14563 case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;;
14566 esac
14567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14568 (eval "$ac_link") 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; then
14572 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14573 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14574 # work properly (i.e., refer to `conftest.exe'), while it won't with
14575 # `rm'.
14576 for ac_file in conftest.exe conftest conftest.*; do
14577 test -f "$ac_file" || continue
14578 case $ac_file in
14579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14580 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14581 break;;
14582 * ) break;;
14583 esac
14584 done
14585 else
14586 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14587 See \`config.log' for more details." >&5
14588 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14589 See \`config.log' for more details." >&2;}
14590 { (exit 1); exit 1; }; }
14591 fi
14592
14593 rm -f conftest$ac_cv_exeext
14594 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14595 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14596
14597 rm -f conftest.$ac_ext
14598 EXEEXT=$ac_cv_exeext
14599 ac_exeext=$EXEEXT
14600 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14601 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14602 if test "${ac_cv_objext+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 else
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611
14612 int
14613 main ()
14614 {
14615
14616 ;
14617 return 0;
14618 }
14619 _ACEOF
14620 rm -f conftest.o conftest.obj
14621 if { (ac_try="$ac_compile"
14622 case "(($ac_try" in
14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14625 esac
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_compile") 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; then
14631 for ac_file in conftest.o conftest.obj conftest.*; do
14632 test -f "$ac_file" || continue;
14633 case $ac_file in
14634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14636 break;;
14637 esac
14638 done
14639 else
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14642
14643 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14644 See \`config.log' for more details." >&5
14645 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14646 See \`config.log' for more details." >&2;}
14647 { (exit 1); exit 1; }; }
14648 fi
14649
14650 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14651 fi
14652 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14653 echo "${ECHO_T}$ac_cv_objext" >&6; }
14654 OBJEXT=$ac_cv_objext
14655 ac_objext=$OBJEXT
14656 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14657 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14658 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14659 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 else
14661 cat >conftest.$ac_ext <<_ACEOF
14662 /* confdefs.h. */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667
14668 int
14669 main ()
14670 {
14671 #ifndef __GNUC__
14672 choke me
14673 #endif
14674
14675 ;
14676 return 0;
14677 }
14678 _ACEOF
14679 rm -f conftest.$ac_objext
14680 if { (ac_try="$ac_compile"
14681 case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14684 esac
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_compile") 2>conftest.er1
14687 ac_status=$?
14688 grep -v '^ *+' conftest.er1 >conftest.err
14689 rm -f conftest.er1
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest.$ac_objext; then
14696 ac_compiler_gnu=yes
14697 else
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14700
14701 ac_compiler_gnu=no
14702 fi
14703
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14706
14707 fi
14708 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14709 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14710 GCC=`test $ac_compiler_gnu = yes && echo yes`
14711 ac_test_CFLAGS=${CFLAGS+set}
14712 ac_save_CFLAGS=$CFLAGS
14713 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14714 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14715 if test "${ac_cv_prog_cc_g+set}" = set; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14717 else
14718 ac_save_c_werror_flag=$ac_c_werror_flag
14719 ac_c_werror_flag=yes
14720 ac_cv_prog_cc_g=no
14721 CFLAGS="-g"
14722 cat >conftest.$ac_ext <<_ACEOF
14723 /* confdefs.h. */
14724 _ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728
14729 int
14730 main ()
14731 {
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (ac_try="$ac_compile"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_compile") 2>conftest.er1
14745 ac_status=$?
14746 grep -v '^ *+' conftest.er1 >conftest.err
14747 rm -f conftest.er1
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } && {
14751 test -z "$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14753 } && test -s conftest.$ac_objext; then
14754 ac_cv_prog_cc_g=yes
14755 else
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14758
14759 CFLAGS=""
14760 cat >conftest.$ac_ext <<_ACEOF
14761 /* confdefs.h. */
14762 _ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766
14767 int
14768 main ()
14769 {
14770
14771 ;
14772 return 0;
14773 }
14774 _ACEOF
14775 rm -f conftest.$ac_objext
14776 if { (ac_try="$ac_compile"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14780 esac
14781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_compile") 2>conftest.er1
14783 ac_status=$?
14784 grep -v '^ *+' conftest.er1 >conftest.err
14785 rm -f conftest.er1
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest.$ac_objext; then
14792 :
14793 else
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14796
14797 ac_c_werror_flag=$ac_save_c_werror_flag
14798 CFLAGS="-g"
14799 cat >conftest.$ac_ext <<_ACEOF
14800 /* confdefs.h. */
14801 _ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14805
14806 int
14807 main ()
14808 {
14809
14810 ;
14811 return 0;
14812 }
14813 _ACEOF
14814 rm -f conftest.$ac_objext
14815 if { (ac_try="$ac_compile"
14816 case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14819 esac
14820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_compile") 2>conftest.er1
14822 ac_status=$?
14823 grep -v '^ *+' conftest.er1 >conftest.err
14824 rm -f conftest.er1
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } && {
14828 test -z "$ac_c_werror_flag" ||
14829 test ! -s conftest.err
14830 } && test -s conftest.$ac_objext; then
14831 ac_cv_prog_cc_g=yes
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836
14837 fi
14838
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14840 fi
14841
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 fi
14844
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 ac_c_werror_flag=$ac_save_c_werror_flag
14847 fi
14848 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14849 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14850 if test "$ac_test_CFLAGS" = set; then
14851 CFLAGS=$ac_save_CFLAGS
14852 elif test $ac_cv_prog_cc_g = yes; then
14853 if test "$GCC" = yes; then
14854 CFLAGS="-g -O2"
14855 else
14856 CFLAGS="-g"
14857 fi
14858 else
14859 if test "$GCC" = yes; then
14860 CFLAGS="-O2"
14861 else
14862 CFLAGS=
14863 fi
14864 fi
14865 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14866 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14867 if test "${ac_cv_prog_cc_c89+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 else
14870 ac_cv_prog_cc_c89=no
14871 ac_save_CC=$CC
14872 cat >conftest.$ac_ext <<_ACEOF
14873 /* confdefs.h. */
14874 _ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 #include <stdarg.h>
14879 #include <stdio.h>
14880 #include <sys/types.h>
14881 #include <sys/stat.h>
14882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14883 struct buf { int x; };
14884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14885 static char *e (p, i)
14886 char **p;
14887 int i;
14888 {
14889 return p[i];
14890 }
14891 static char *f (char * (*g) (char **, int), char **p, ...)
14892 {
14893 char *s;
14894 va_list v;
14895 va_start (v,p);
14896 s = g (p, va_arg (v,int));
14897 va_end (v);
14898 return s;
14899 }
14900
14901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14902 function prototypes and stuff, but not '\xHH' hex character constants.
14903 These don't provoke an error unfortunately, instead are silently treated
14904 as 'x'. The following induces an error, until -std is added to get
14905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14906 array size at least. It's necessary to write '\x00'==0 to get something
14907 that's true only with -std. */
14908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14909
14910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14911 inside strings and character constants. */
14912 #define FOO(x) 'x'
14913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14914
14915 int test (int i, double x);
14916 struct s1 {int (*f) (int a);};
14917 struct s2 {int (*f) (double a);};
14918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14919 int argc;
14920 char **argv;
14921 int
14922 main ()
14923 {
14924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14925 ;
14926 return 0;
14927 }
14928 _ACEOF
14929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14931 do
14932 CC="$ac_save_CC $ac_arg"
14933 rm -f conftest.$ac_objext
14934 if { (ac_try="$ac_compile"
14935 case "(($ac_try" in
14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14938 esac
14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_compile") 2>conftest.er1
14941 ac_status=$?
14942 grep -v '^ *+' conftest.er1 >conftest.err
14943 rm -f conftest.er1
14944 cat conftest.err >&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); } && {
14947 test -z "$ac_c_werror_flag" ||
14948 test ! -s conftest.err
14949 } && test -s conftest.$ac_objext; then
14950 ac_cv_prog_cc_c89=$ac_arg
14951 else
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14954
14955
14956 fi
14957
14958 rm -f core conftest.err conftest.$ac_objext
14959 test "x$ac_cv_prog_cc_c89" != "xno" && break
14960 done
14961 rm -f conftest.$ac_ext
14962 CC=$ac_save_CC
14963
14964 fi
14965 # AC_CACHE_VAL
14966 case "x$ac_cv_prog_cc_c89" in
14967 x)
14968 { echo "$as_me:$LINENO: result: none needed" >&5
14969 echo "${ECHO_T}none needed" >&6; } ;;
14970 xno)
14971 { echo "$as_me:$LINENO: result: unsupported" >&5
14972 echo "${ECHO_T}unsupported" >&6; } ;;
14973 *)
14974 CC="$CC $ac_cv_prog_cc_c89"
14975 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14976 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14977 esac
14978
14979
14980 ac_ext=c
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14985
14986
14987
14988
14989 ac_ext=c
14990 ac_cpp='$CPP $CPPFLAGS'
14991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994
14995 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14996 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14997 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 cat >conftest.$ac_ext <<_ACEOF
15001 /* confdefs.h. */
15002 _ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006
15007 int
15008 main ()
15009 {
15010
15011 #ifndef __INTEL_COMPILER
15012 choke me
15013 #endif
15014
15015 ;
15016 return 0;
15017 }
15018 _ACEOF
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15024 esac
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15027 ac_status=$?
15028 grep -v '^ *+' conftest.er1 >conftest.err
15029 rm -f conftest.er1
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15037 else
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15040
15041 bakefile_cv_c_compiler___INTEL_COMPILER=no
15042
15043 fi
15044
15045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15046
15047
15048 fi
15049 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15050 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15051 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15052 :; INTELCC=yes
15053 else
15054 :;
15055 fi
15056 ac_ext=c
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15061
15062
15063
15064
15065 if test "$INTELCC" = "yes"; then
15066
15067
15068 ac_ext=c
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15073
15074 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15075 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15076 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 else
15079 cat >conftest.$ac_ext <<_ACEOF
15080 /* confdefs.h. */
15081 _ACEOF
15082 cat confdefs.h >>conftest.$ac_ext
15083 cat >>conftest.$ac_ext <<_ACEOF
15084 /* end confdefs.h. */
15085
15086 int
15087 main ()
15088 {
15089
15090 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15091 choke me
15092 #endif
15093
15094 ;
15095 return 0;
15096 }
15097 _ACEOF
15098 rm -f conftest.$ac_objext
15099 if { (ac_try="$ac_compile"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15103 esac
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_compile") 2>conftest.er1
15106 ac_status=$?
15107 grep -v '^ *+' conftest.er1 >conftest.err
15108 rm -f conftest.er1
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest.$ac_objext; then
15115 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15116 else
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15119
15120 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15121
15122 fi
15123
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125
15126
15127 fi
15128 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15129 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15130 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15131 :; INTELCC8=yes
15132 else
15133 :;
15134 fi
15135 ac_ext=c
15136 ac_cpp='$CPP $CPPFLAGS'
15137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15140
15141
15142
15143
15144
15145 ac_ext=c
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15150
15151 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15152 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15153 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15154 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 else
15156 cat >conftest.$ac_ext <<_ACEOF
15157 /* confdefs.h. */
15158 _ACEOF
15159 cat confdefs.h >>conftest.$ac_ext
15160 cat >>conftest.$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15162
15163 int
15164 main ()
15165 {
15166
15167 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15168 choke me
15169 #endif
15170
15171 ;
15172 return 0;
15173 }
15174 _ACEOF
15175 rm -f conftest.$ac_objext
15176 if { (ac_try="$ac_compile"
15177 case "(($ac_try" in
15178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15180 esac
15181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_compile") 2>conftest.er1
15183 ac_status=$?
15184 grep -v '^ *+' conftest.er1 >conftest.err
15185 rm -f conftest.er1
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest.$ac_objext; then
15192 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15193 else
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15196
15197 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15198
15199 fi
15200
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15202
15203
15204 fi
15205 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15206 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15207 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15208 :; INTELCC10=yes
15209 else
15210 :;
15211 fi
15212 ac_ext=c
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15217
15218
15219
15220 fi
15221
15222 if test "x$GCC" != "xyes"; then
15223 if test "xCC" = "xC"; then
15224 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15225 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15226 if test "${bakefile_cv_c_exto+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 else
15229 cat >conftest.$ac_ext <<_ACEOF
15230 /* confdefs.h. */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235
15236 int
15237 main ()
15238 {
15239
15240 ;
15241 return 0;
15242 }
15243 _ACEOF
15244 rm -f conftest.$ac_objext conftest.$ac_ext.o
15245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15246 (eval $ac_compile) 2>&5
15247 ac_status=$?
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; then
15250 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15251 case $ac_file in
15252 conftest.$ac_ext.o)
15253 bakefile_cv_c_exto="-ext o"
15254 ;;
15255 *)
15256 ;;
15257 esac
15258 done
15259 else
15260 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15261 See \`config.log' for more details." >&5
15262 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15263 See \`config.log' for more details." >&2;}
15264 { (exit 1); exit 1; }; }
15265
15266 fi
15267
15268 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15269
15270 fi
15271 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15272 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15273 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15274 if test "c" = "c"; then
15275 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15276 fi
15277 if test "c" = "cxx"; then
15278 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15279 fi
15280 fi
15281
15282 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15283 unset ac_cv_prog_cc_g
15284 ac_test_CFLAGS=${CFLAGS+set}
15285 ac_save_CFLAGS=$CFLAGS
15286 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15288 if test "${ac_cv_prog_cc_g+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 else
15291 ac_save_c_werror_flag=$ac_c_werror_flag
15292 ac_c_werror_flag=yes
15293 ac_cv_prog_cc_g=no
15294 CFLAGS="-g"
15295 cat >conftest.$ac_ext <<_ACEOF
15296 /* confdefs.h. */
15297 _ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301
15302 int
15303 main ()
15304 {
15305
15306 ;
15307 return 0;
15308 }
15309 _ACEOF
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15315 esac
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15318 ac_status=$?
15319 grep -v '^ *+' conftest.er1 >conftest.err
15320 rm -f conftest.er1
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && {
15324 test -z "$ac_c_werror_flag" ||
15325 test ! -s conftest.err
15326 } && test -s conftest.$ac_objext; then
15327 ac_cv_prog_cc_g=yes
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15331
15332 CFLAGS=""
15333 cat >conftest.$ac_ext <<_ACEOF
15334 /* confdefs.h. */
15335 _ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339
15340 int
15341 main ()
15342 {
15343
15344 ;
15345 return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15353 esac
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15356 ac_status=$?
15357 grep -v '^ *+' conftest.er1 >conftest.err
15358 rm -f conftest.er1
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 :
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15369
15370 ac_c_werror_flag=$ac_save_c_werror_flag
15371 CFLAGS="-g"
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378
15379 int
15380 main ()
15381 {
15382
15383 ;
15384 return 0;
15385 }
15386 _ACEOF
15387 rm -f conftest.$ac_objext
15388 if { (ac_try="$ac_compile"
15389 case "(($ac_try" in
15390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15391 *) ac_try_echo=$ac_try;;
15392 esac
15393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15394 (eval "$ac_compile") 2>conftest.er1
15395 ac_status=$?
15396 grep -v '^ *+' conftest.er1 >conftest.err
15397 rm -f conftest.er1
15398 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && {
15401 test -z "$ac_c_werror_flag" ||
15402 test ! -s conftest.err
15403 } && test -s conftest.$ac_objext; then
15404 ac_cv_prog_cc_g=yes
15405 else
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.$ac_ext >&5
15408
15409
15410 fi
15411
15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15413 fi
15414
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15416 fi
15417
15418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 ac_c_werror_flag=$ac_save_c_werror_flag
15420 fi
15421 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15423 if test "$ac_test_CFLAGS" = set; then
15424 CFLAGS=$ac_save_CFLAGS
15425 elif test $ac_cv_prog_cc_g = yes; then
15426 if test "$GCC" = yes; then
15427 CFLAGS="-g -O2"
15428 else
15429 CFLAGS="-g"
15430 fi
15431 else
15432 if test "$GCC" = yes; then
15433 CFLAGS="-O2"
15434 else
15435 CFLAGS=
15436 fi
15437 fi
15438 fi
15439 fi
15440
15441 case `uname -s` in
15442 AIX*)
15443
15444
15445 ac_ext=c
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450
15451 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15452 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15453 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 else
15456 cat >conftest.$ac_ext <<_ACEOF
15457 /* confdefs.h. */
15458 _ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462
15463 int
15464 main ()
15465 {
15466
15467 #ifndef __xlC__
15468 choke me
15469 #endif
15470
15471 ;
15472 return 0;
15473 }
15474 _ACEOF
15475 rm -f conftest.$ac_objext
15476 if { (ac_try="$ac_compile"
15477 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15480 esac
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_compile") 2>conftest.er1
15483 ac_status=$?
15484 grep -v '^ *+' conftest.er1 >conftest.err
15485 rm -f conftest.er1
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest.$ac_objext; then
15492 bakefile_cv_c_compiler___xlC__=yes
15493 else
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 bakefile_cv_c_compiler___xlC__=no
15498
15499 fi
15500
15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15502
15503
15504 fi
15505 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15506 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15507 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15508 :; XLCC=yes
15509 else
15510 :;
15511 fi
15512 ac_ext=c
15513 ac_cpp='$CPP $CPPFLAGS'
15514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15517
15518
15519
15520 ;;
15521
15522 Darwin)
15523
15524
15525 ac_ext=c
15526 ac_cpp='$CPP $CPPFLAGS'
15527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530
15531 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15532 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15533 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 else
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542
15543 int
15544 main ()
15545 {
15546
15547 #ifndef __MWERKS__
15548 choke me
15549 #endif
15550
15551 ;
15552 return 0;
15553 }
15554 _ACEOF
15555 rm -f conftest.$ac_objext
15556 if { (ac_try="$ac_compile"
15557 case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15560 esac
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_compile") 2>conftest.er1
15563 ac_status=$?
15564 grep -v '^ *+' conftest.er1 >conftest.err
15565 rm -f conftest.er1
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } && {
15569 test -z "$ac_c_werror_flag" ||
15570 test ! -s conftest.err
15571 } && test -s conftest.$ac_objext; then
15572 bakefile_cv_c_compiler___MWERKS__=yes
15573 else
15574 echo "$as_me: failed program was:" >&5
15575 sed 's/^/| /' conftest.$ac_ext >&5
15576
15577 bakefile_cv_c_compiler___MWERKS__=no
15578
15579 fi
15580
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582
15583
15584 fi
15585 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15586 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15587 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15588 :; MWCC=yes
15589 else
15590 :;
15591 fi
15592 ac_ext=c
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15597
15598
15599
15600 if test "$MWCC" != "yes"; then
15601
15602
15603 ac_ext=c
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15608
15609 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15610 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15611 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614 cat >conftest.$ac_ext <<_ACEOF
15615 /* confdefs.h. */
15616 _ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620
15621 int
15622 main ()
15623 {
15624
15625 #ifndef __xlC__
15626 choke me
15627 #endif
15628
15629 ;
15630 return 0;
15631 }
15632 _ACEOF
15633 rm -f conftest.$ac_objext
15634 if { (ac_try="$ac_compile"
15635 case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15638 esac
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_compile") 2>conftest.er1
15641 ac_status=$?
15642 grep -v '^ *+' conftest.er1 >conftest.err
15643 rm -f conftest.er1
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest.$ac_objext; then
15650 bakefile_cv_c_compiler___xlC__=yes
15651 else
15652 echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.$ac_ext >&5
15654
15655 bakefile_cv_c_compiler___xlC__=no
15656
15657 fi
15658
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15660
15661
15662 fi
15663 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15664 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15665 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15666 :; XLCC=yes
15667 else
15668 :;
15669 fi
15670 ac_ext=c
15671 ac_cpp='$CPP $CPPFLAGS'
15672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15675
15676
15677
15678 fi
15679 ;;
15680
15681 IRIX*)
15682
15683
15684 ac_ext=c
15685 ac_cpp='$CPP $CPPFLAGS'
15686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15689
15690 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15691 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15692 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 else
15695 cat >conftest.$ac_ext <<_ACEOF
15696 /* confdefs.h. */
15697 _ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15701
15702 int
15703 main ()
15704 {
15705
15706 #ifndef _SGI_COMPILER_VERSION
15707 choke me
15708 #endif
15709
15710 ;
15711 return 0;
15712 }
15713 _ACEOF
15714 rm -f conftest.$ac_objext
15715 if { (ac_try="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15719 esac
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15722 ac_status=$?
15723 grep -v '^ *+' conftest.er1 >conftest.err
15724 rm -f conftest.er1
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15737
15738 fi
15739
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741
15742
15743 fi
15744 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15745 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15746 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15747 :; SGICC=yes
15748 else
15749 :;
15750 fi
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15756
15757
15758
15759 ;;
15760
15761 Linux*)
15762 if test "$INTELCC" != "yes"; then
15763
15764
15765 ac_ext=c
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15770
15771 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15772 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15773 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 cat >conftest.$ac_ext <<_ACEOF
15777 /* confdefs.h. */
15778 _ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15782
15783 int
15784 main ()
15785 {
15786
15787 #ifndef __SUNPRO_C
15788 choke me
15789 #endif
15790
15791 ;
15792 return 0;
15793 }
15794 _ACEOF
15795 rm -f conftest.$ac_objext
15796 if { (ac_try="$ac_compile"
15797 case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15800 esac
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15803 ac_status=$?
15804 grep -v '^ *+' conftest.er1 >conftest.err
15805 rm -f conftest.er1
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && {
15809 test -z "$ac_c_werror_flag" ||
15810 test ! -s conftest.err
15811 } && test -s conftest.$ac_objext; then
15812 bakefile_cv_c_compiler___SUNPRO_C=yes
15813 else
15814 echo "$as_me: failed program was:" >&5
15815 sed 's/^/| /' conftest.$ac_ext >&5
15816
15817 bakefile_cv_c_compiler___SUNPRO_C=no
15818
15819 fi
15820
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822
15823
15824 fi
15825 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15826 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15827 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15828 :; SUNCC=yes
15829 else
15830 :;
15831 fi
15832 ac_ext=c
15833 ac_cpp='$CPP $CPPFLAGS'
15834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15837
15838
15839
15840 fi
15841 ;;
15842
15843 HP-UX*)
15844
15845
15846 ac_ext=c
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851
15852 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15853 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15854 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 cat >conftest.$ac_ext <<_ACEOF
15858 /* confdefs.h. */
15859 _ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15863
15864 int
15865 main ()
15866 {
15867
15868 #ifndef __HP_cc
15869 choke me
15870 #endif
15871
15872 ;
15873 return 0;
15874 }
15875 _ACEOF
15876 rm -f conftest.$ac_objext
15877 if { (ac_try="$ac_compile"
15878 case "(($ac_try" in
15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15880 *) ac_try_echo=$ac_try;;
15881 esac
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_compile") 2>conftest.er1
15884 ac_status=$?
15885 grep -v '^ *+' conftest.er1 >conftest.err
15886 rm -f conftest.er1
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && {
15890 test -z "$ac_c_werror_flag" ||
15891 test ! -s conftest.err
15892 } && test -s conftest.$ac_objext; then
15893 bakefile_cv_c_compiler___HP_cc=yes
15894 else
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.$ac_ext >&5
15897
15898 bakefile_cv_c_compiler___HP_cc=no
15899
15900 fi
15901
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903
15904
15905 fi
15906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15907 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15908 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15909 :; HPCC=yes
15910 else
15911 :;
15912 fi
15913 ac_ext=c
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15918
15919
15920
15921 ;;
15922
15923 OSF1)
15924
15925
15926 ac_ext=c
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931
15932 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15933 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15934 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 else
15937 cat >conftest.$ac_ext <<_ACEOF
15938 /* confdefs.h. */
15939 _ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15943
15944 int
15945 main ()
15946 {
15947
15948 #ifndef __DECC
15949 choke me
15950 #endif
15951
15952 ;
15953 return 0;
15954 }
15955 _ACEOF
15956 rm -f conftest.$ac_objext
15957 if { (ac_try="$ac_compile"
15958 case "(($ac_try" in
15959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15960 *) ac_try_echo=$ac_try;;
15961 esac
15962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15963 (eval "$ac_compile") 2>conftest.er1
15964 ac_status=$?
15965 grep -v '^ *+' conftest.er1 >conftest.err
15966 rm -f conftest.er1
15967 cat conftest.err >&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } && {
15970 test -z "$ac_c_werror_flag" ||
15971 test ! -s conftest.err
15972 } && test -s conftest.$ac_objext; then
15973 bakefile_cv_c_compiler___DECC=yes
15974 else
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15977
15978 bakefile_cv_c_compiler___DECC=no
15979
15980 fi
15981
15982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15983
15984
15985 fi
15986 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15987 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15988 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15989 :; COMPAQCC=yes
15990 else
15991 :;
15992 fi
15993 ac_ext=c
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15998
15999
16000
16001 ;;
16002
16003 SunOS)
16004
16005
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16013 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16014 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 else
16017 cat >conftest.$ac_ext <<_ACEOF
16018 /* confdefs.h. */
16019 _ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023
16024 int
16025 main ()
16026 {
16027
16028 #ifndef __SUNPRO_C
16029 choke me
16030 #endif
16031
16032 ;
16033 return 0;
16034 }
16035 _ACEOF
16036 rm -f conftest.$ac_objext
16037 if { (ac_try="$ac_compile"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16041 esac
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_compile") 2>conftest.er1
16044 ac_status=$?
16045 grep -v '^ *+' conftest.er1 >conftest.err
16046 rm -f conftest.er1
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest.$ac_objext; then
16053 bakefile_cv_c_compiler___SUNPRO_C=yes
16054 else
16055 echo "$as_me: failed program was:" >&5
16056 sed 's/^/| /' conftest.$ac_ext >&5
16057
16058 bakefile_cv_c_compiler___SUNPRO_C=no
16059
16060 fi
16061
16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16063
16064
16065 fi
16066 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16067 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16068 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16069 :; SUNCC=yes
16070 else
16071 :;
16072 fi
16073 ac_ext=c
16074 ac_cpp='$CPP $CPPFLAGS'
16075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16078
16079
16080
16081 ;;
16082 esac
16083 fi
16084
16085
16086
16087 ac_ext=c
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16093 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16094 # On Suns, sometimes $CPP names a directory.
16095 if test -n "$CPP" && test -d "$CPP"; then
16096 CPP=
16097 fi
16098 if test -z "$CPP"; then
16099 if test "${ac_cv_prog_CPP+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 else
16102 # Double quotes because CPP needs to be expanded
16103 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16104 do
16105 ac_preproc_ok=false
16106 for ac_c_preproc_warn_flag in '' yes
16107 do
16108 # Use a header file that comes with gcc, so configuring glibc
16109 # with a fresh cross-compiler works.
16110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16111 # <limits.h> exists even on freestanding compilers.
16112 # On the NeXT, cc -E runs the code through the compiler's parser,
16113 # not just through cpp. "Syntax error" is here to catch this case.
16114 cat >conftest.$ac_ext <<_ACEOF
16115 /* confdefs.h. */
16116 _ACEOF
16117 cat confdefs.h >>conftest.$ac_ext
16118 cat >>conftest.$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 #ifdef __STDC__
16121 # include <limits.h>
16122 #else
16123 # include <assert.h>
16124 #endif
16125 Syntax error
16126 _ACEOF
16127 if { (ac_try="$ac_cpp conftest.$ac_ext"
16128 case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16131 esac
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } >/dev/null && {
16140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16142 }; then
16143 :
16144 else
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16147
16148 # Broken: fails on valid input.
16149 continue
16150 fi
16151
16152 rm -f conftest.err conftest.$ac_ext
16153
16154 # OK, works on sane cases. Now check whether nonexistent headers
16155 # can be detected and how.
16156 cat >conftest.$ac_ext <<_ACEOF
16157 /* confdefs.h. */
16158 _ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 #include <ac_nonexistent.h>
16163 _ACEOF
16164 if { (ac_try="$ac_cpp conftest.$ac_ext"
16165 case "(($ac_try" in
16166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16167 *) ac_try_echo=$ac_try;;
16168 esac
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16171 ac_status=$?
16172 grep -v '^ *+' conftest.er1 >conftest.err
16173 rm -f conftest.er1
16174 cat conftest.err >&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev/null && {
16177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16178 test ! -s conftest.err
16179 }; then
16180 # Broken: success on invalid input.
16181 continue
16182 else
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16185
16186 # Passes both tests.
16187 ac_preproc_ok=:
16188 break
16189 fi
16190
16191 rm -f conftest.err conftest.$ac_ext
16192
16193 done
16194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16195 rm -f conftest.err conftest.$ac_ext
16196 if $ac_preproc_ok; then
16197 break
16198 fi
16199
16200 done
16201 ac_cv_prog_CPP=$CPP
16202
16203 fi
16204 CPP=$ac_cv_prog_CPP
16205 else
16206 ac_cv_prog_CPP=$CPP
16207 fi
16208 { echo "$as_me:$LINENO: result: $CPP" >&5
16209 echo "${ECHO_T}$CPP" >&6; }
16210 ac_preproc_ok=false
16211 for ac_c_preproc_warn_flag in '' yes
16212 do
16213 # Use a header file that comes with gcc, so configuring glibc
16214 # with a fresh cross-compiler works.
16215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16216 # <limits.h> exists even on freestanding compilers.
16217 # On the NeXT, cc -E runs the code through the compiler's parser,
16218 # not just through cpp. "Syntax error" is here to catch this case.
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 #ifdef __STDC__
16226 # include <limits.h>
16227 #else
16228 # include <assert.h>
16229 #endif
16230 Syntax error
16231 _ACEOF
16232 if { (ac_try="$ac_cpp conftest.$ac_ext"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16236 esac
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16239 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } >/dev/null && {
16245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 }; then
16248 :
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16252
16253 # Broken: fails on valid input.
16254 continue
16255 fi
16256
16257 rm -f conftest.err conftest.$ac_ext
16258
16259 # OK, works on sane cases. Now check whether nonexistent headers
16260 # can be detected and how.
16261 cat >conftest.$ac_ext <<_ACEOF
16262 /* confdefs.h. */
16263 _ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <ac_nonexistent.h>
16268 _ACEOF
16269 if { (ac_try="$ac_cpp conftest.$ac_ext"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev/null && {
16282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16283 test ! -s conftest.err
16284 }; then
16285 # Broken: success on invalid input.
16286 continue
16287 else
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16290
16291 # Passes both tests.
16292 ac_preproc_ok=:
16293 break
16294 fi
16295
16296 rm -f conftest.err conftest.$ac_ext
16297
16298 done
16299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16300 rm -f conftest.err conftest.$ac_ext
16301 if $ac_preproc_ok; then
16302 :
16303 else
16304 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16305 See \`config.log' for more details." >&5
16306 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16307 See \`config.log' for more details." >&2;}
16308 { (exit 1); exit 1; }; }
16309 fi
16310
16311 ac_ext=c
16312 ac_cpp='$CPP $CPPFLAGS'
16313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16316
16317
16318 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16319 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16320 if test "${ac_cv_path_GREP+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16322 else
16323 # Extract the first word of "grep ggrep" to use in msg output
16324 if test -z "$GREP"; then
16325 set dummy grep ggrep; ac_prog_name=$2
16326 if test "${ac_cv_path_GREP+set}" = set; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 else
16329 ac_path_GREP_found=false
16330 # Loop through the user's path and test for each of PROGNAME-LIST
16331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16332 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16333 do
16334 IFS=$as_save_IFS
16335 test -z "$as_dir" && as_dir=.
16336 for ac_prog in grep ggrep; do
16337 for ac_exec_ext in '' $ac_executable_extensions; do
16338 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16339 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16340 # Check for GNU ac_path_GREP and select it if it is found.
16341 # Check for GNU $ac_path_GREP
16342 case `"$ac_path_GREP" --version 2>&1` in
16343 *GNU*)
16344 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16345 *)
16346 ac_count=0
16347 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16348 while :
16349 do
16350 cat "conftest.in" "conftest.in" >"conftest.tmp"
16351 mv "conftest.tmp" "conftest.in"
16352 cp "conftest.in" "conftest.nl"
16353 echo 'GREP' >> "conftest.nl"
16354 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16355 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16356 ac_count=`expr $ac_count + 1`
16357 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16358 # Best one so far, save it but keep looking for a better one
16359 ac_cv_path_GREP="$ac_path_GREP"
16360 ac_path_GREP_max=$ac_count
16361 fi
16362 # 10*(2^10) chars as input seems more than enough
16363 test $ac_count -gt 10 && break
16364 done
16365 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16366 esac
16367
16368
16369 $ac_path_GREP_found && break 3
16370 done
16371 done
16372
16373 done
16374 IFS=$as_save_IFS
16375
16376
16377 fi
16378
16379 GREP="$ac_cv_path_GREP"
16380 if test -z "$GREP"; then
16381 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16382 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16383 { (exit 1); exit 1; }; }
16384 fi
16385
16386 else
16387 ac_cv_path_GREP=$GREP
16388 fi
16389
16390
16391 fi
16392 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16393 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16394 GREP="$ac_cv_path_GREP"
16395
16396
16397 { echo "$as_me:$LINENO: checking for egrep" >&5
16398 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16399 if test "${ac_cv_path_EGREP+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16403 then ac_cv_path_EGREP="$GREP -E"
16404 else
16405 # Extract the first word of "egrep" to use in msg output
16406 if test -z "$EGREP"; then
16407 set dummy egrep; ac_prog_name=$2
16408 if test "${ac_cv_path_EGREP+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16410 else
16411 ac_path_EGREP_found=false
16412 # Loop through the user's path and test for each of PROGNAME-LIST
16413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16415 do
16416 IFS=$as_save_IFS
16417 test -z "$as_dir" && as_dir=.
16418 for ac_prog in egrep; do
16419 for ac_exec_ext in '' $ac_executable_extensions; do
16420 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16421 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16422 # Check for GNU ac_path_EGREP and select it if it is found.
16423 # Check for GNU $ac_path_EGREP
16424 case `"$ac_path_EGREP" --version 2>&1` in
16425 *GNU*)
16426 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16427 *)
16428 ac_count=0
16429 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16430 while :
16431 do
16432 cat "conftest.in" "conftest.in" >"conftest.tmp"
16433 mv "conftest.tmp" "conftest.in"
16434 cp "conftest.in" "conftest.nl"
16435 echo 'EGREP' >> "conftest.nl"
16436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16438 ac_count=`expr $ac_count + 1`
16439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16440 # Best one so far, save it but keep looking for a better one
16441 ac_cv_path_EGREP="$ac_path_EGREP"
16442 ac_path_EGREP_max=$ac_count
16443 fi
16444 # 10*(2^10) chars as input seems more than enough
16445 test $ac_count -gt 10 && break
16446 done
16447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16448 esac
16449
16450
16451 $ac_path_EGREP_found && break 3
16452 done
16453 done
16454
16455 done
16456 IFS=$as_save_IFS
16457
16458
16459 fi
16460
16461 EGREP="$ac_cv_path_EGREP"
16462 if test -z "$EGREP"; then
16463 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16464 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16465 { (exit 1); exit 1; }; }
16466 fi
16467
16468 else
16469 ac_cv_path_EGREP=$EGREP
16470 fi
16471
16472
16473 fi
16474 fi
16475 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16476 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16477 EGREP="$ac_cv_path_EGREP"
16478
16479
16480 if test $ac_cv_c_compiler_gnu = yes; then
16481 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16482 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16483 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16485 else
16486 ac_pattern="Autoconf.*'x'"
16487 cat >conftest.$ac_ext <<_ACEOF
16488 /* confdefs.h. */
16489 _ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493 #include <sgtty.h>
16494 Autoconf TIOCGETP
16495 _ACEOF
16496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16497 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16498 ac_cv_prog_gcc_traditional=yes
16499 else
16500 ac_cv_prog_gcc_traditional=no
16501 fi
16502 rm -f conftest*
16503
16504
16505 if test $ac_cv_prog_gcc_traditional = no; then
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 #include <termio.h>
16513 Autoconf TCGETA
16514 _ACEOF
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16517 ac_cv_prog_gcc_traditional=yes
16518 fi
16519 rm -f conftest*
16520
16521 fi
16522 fi
16523 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16524 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16525 if test $ac_cv_prog_gcc_traditional = yes; then
16526 CC="$CC -traditional"
16527 fi
16528 fi
16529
16530
16531 CXXFLAGS=${CXXFLAGS:=}
16532
16533
16534
16535 ac_ext=cpp
16536 ac_cpp='$CXXCPP $CPPFLAGS'
16537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16540 if test -z "$CXX"; then
16541 if test -n "$CCC"; then
16542 CXX=$CCC
16543 else
16544 if test -n "$ac_tool_prefix"; then
16545 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16546 do
16547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16548 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16551 if test "${ac_cv_prog_CXX+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16553 else
16554 if test -n "$CXX"; then
16555 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16556 else
16557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16558 for as_dir in $PATH
16559 do
16560 IFS=$as_save_IFS
16561 test -z "$as_dir" && as_dir=.
16562 for ac_exec_ext in '' $ac_executable_extensions; do
16563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16564 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16566 break 2
16567 fi
16568 done
16569 done
16570 IFS=$as_save_IFS
16571
16572 fi
16573 fi
16574 CXX=$ac_cv_prog_CXX
16575 if test -n "$CXX"; then
16576 { echo "$as_me:$LINENO: result: $CXX" >&5
16577 echo "${ECHO_T}$CXX" >&6; }
16578 else
16579 { echo "$as_me:$LINENO: result: no" >&5
16580 echo "${ECHO_T}no" >&6; }
16581 fi
16582
16583
16584 test -n "$CXX" && break
16585 done
16586 fi
16587 if test -z "$CXX"; then
16588 ac_ct_CXX=$CXX
16589 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16590 do
16591 # Extract the first word of "$ac_prog", so it can be a program name with args.
16592 set dummy $ac_prog; ac_word=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598 if test -n "$ac_ct_CXX"; then
16599 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16600 else
16601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16602 for as_dir in $PATH
16603 do
16604 IFS=$as_save_IFS
16605 test -z "$as_dir" && as_dir=.
16606 for ac_exec_ext in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_ac_ct_CXX="$ac_prog"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 break 2
16611 fi
16612 done
16613 done
16614 IFS=$as_save_IFS
16615
16616 fi
16617 fi
16618 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16619 if test -n "$ac_ct_CXX"; then
16620 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16621 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16622 else
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16625 fi
16626
16627
16628 test -n "$ac_ct_CXX" && break
16629 done
16630
16631 if test "x$ac_ct_CXX" = x; then
16632 CXX="g++"
16633 else
16634 case $cross_compiling:$ac_tool_warned in
16635 yes:)
16636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&5
16639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16640 whose name does not start with the host triplet. If you think this
16641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16642 ac_tool_warned=yes ;;
16643 esac
16644 CXX=$ac_ct_CXX
16645 fi
16646 fi
16647
16648 fi
16649 fi
16650 # Provide some information about the compiler.
16651 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16652 ac_compiler=`set X $ac_compile; echo $2`
16653 { (ac_try="$ac_compiler --version >&5"
16654 case "(($ac_try" in
16655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16657 esac
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_compiler --version >&5") 2>&5
16660 ac_status=$?
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }
16663 { (ac_try="$ac_compiler -v >&5"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16667 esac
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compiler -v >&5") 2>&5
16670 ac_status=$?
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }
16673 { (ac_try="$ac_compiler -V >&5"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16677 esac
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compiler -V >&5") 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }
16683
16684 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16685 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16686 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 else
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695
16696 int
16697 main ()
16698 {
16699 #ifndef __GNUC__
16700 choke me
16701 #endif
16702
16703 ;
16704 return 0;
16705 }
16706 _ACEOF
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711 *) ac_try_echo=$ac_try;;
16712 esac
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_cxx_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.$ac_objext; then
16724 ac_compiler_gnu=yes
16725 else
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16728
16729 ac_compiler_gnu=no
16730 fi
16731
16732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16733 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16734
16735 fi
16736 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16737 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16738 GXX=`test $ac_compiler_gnu = yes && echo yes`
16739 ac_test_CXXFLAGS=${CXXFLAGS+set}
16740 ac_save_CXXFLAGS=$CXXFLAGS
16741 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16742 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16743 if test "${ac_cv_prog_cxx_g+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 else
16746 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16747 ac_cxx_werror_flag=yes
16748 ac_cv_prog_cxx_g=no
16749 CXXFLAGS="-g"
16750 cat >conftest.$ac_ext <<_ACEOF
16751 /* confdefs.h. */
16752 _ACEOF
16753 cat confdefs.h >>conftest.$ac_ext
16754 cat >>conftest.$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16756
16757 int
16758 main ()
16759 {
16760
16761 ;
16762 return 0;
16763 }
16764 _ACEOF
16765 rm -f conftest.$ac_objext
16766 if { (ac_try="$ac_compile"
16767 case "(($ac_try" in
16768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16769 *) ac_try_echo=$ac_try;;
16770 esac
16771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16772 (eval "$ac_compile") 2>conftest.er1
16773 ac_status=$?
16774 grep -v '^ *+' conftest.er1 >conftest.err
16775 rm -f conftest.er1
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && {
16779 test -z "$ac_cxx_werror_flag" ||
16780 test ! -s conftest.err
16781 } && test -s conftest.$ac_objext; then
16782 ac_cv_prog_cxx_g=yes
16783 else
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16786
16787 CXXFLAGS=""
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794
16795 int
16796 main ()
16797 {
16798
16799 ;
16800 return 0;
16801 }
16802 _ACEOF
16803 rm -f conftest.$ac_objext
16804 if { (ac_try="$ac_compile"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16808 esac
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_compile") 2>conftest.er1
16811 ac_status=$?
16812 grep -v '^ *+' conftest.er1 >conftest.err
16813 rm -f conftest.er1
16814 cat conftest.err >&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } && {
16817 test -z "$ac_cxx_werror_flag" ||
16818 test ! -s conftest.err
16819 } && test -s conftest.$ac_objext; then
16820 :
16821 else
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.$ac_ext >&5
16824
16825 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16826 CXXFLAGS="-g"
16827 cat >conftest.$ac_ext <<_ACEOF
16828 /* confdefs.h. */
16829 _ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833
16834 int
16835 main ()
16836 {
16837
16838 ;
16839 return 0;
16840 }
16841 _ACEOF
16842 rm -f conftest.$ac_objext
16843 if { (ac_try="$ac_compile"
16844 case "(($ac_try" in
16845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16846 *) ac_try_echo=$ac_try;;
16847 esac
16848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16849 (eval "$ac_compile") 2>conftest.er1
16850 ac_status=$?
16851 grep -v '^ *+' conftest.er1 >conftest.err
16852 rm -f conftest.er1
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } && {
16856 test -z "$ac_cxx_werror_flag" ||
16857 test ! -s conftest.err
16858 } && test -s conftest.$ac_objext; then
16859 ac_cv_prog_cxx_g=yes
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864
16865 fi
16866
16867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16868 fi
16869
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871 fi
16872
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16875 fi
16876 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16877 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16878 if test "$ac_test_CXXFLAGS" = set; then
16879 CXXFLAGS=$ac_save_CXXFLAGS
16880 elif test $ac_cv_prog_cxx_g = yes; then
16881 if test "$GXX" = yes; then
16882 CXXFLAGS="-g -O2"
16883 else
16884 CXXFLAGS="-g"
16885 fi
16886 else
16887 if test "$GXX" = yes; then
16888 CXXFLAGS="-O2"
16889 else
16890 CXXFLAGS=
16891 fi
16892 fi
16893 ac_ext=c
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16898
16899
16900
16901
16902 ac_ext=cpp
16903 ac_cpp='$CXXCPP $CPPFLAGS'
16904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16907
16908 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16909 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 else
16913 cat >conftest.$ac_ext <<_ACEOF
16914 /* confdefs.h. */
16915 _ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919
16920 int
16921 main ()
16922 {
16923
16924 #ifndef __INTEL_COMPILER
16925 choke me
16926 #endif
16927
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16955
16956 fi
16957
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959
16960
16961 fi
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16964 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16965 :; INTELCXX=yes
16966 else
16967 :;
16968 fi
16969 ac_ext=c
16970 ac_cpp='$CPP $CPPFLAGS'
16971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16974
16975
16976
16977
16978 if test "$INTELCXX" = "yes"; then
16979
16980
16981 ac_ext=cpp
16982 ac_cpp='$CXXCPP $CPPFLAGS'
16983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16986
16987 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16988 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16989 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 else
16992 cat >conftest.$ac_ext <<_ACEOF
16993 /* confdefs.h. */
16994 _ACEOF
16995 cat confdefs.h >>conftest.$ac_ext
16996 cat >>conftest.$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998
16999 int
17000 main ()
17001 {
17002
17003 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17004 choke me
17005 #endif
17006
17007 ;
17008 return 0;
17009 }
17010 _ACEOF
17011 rm -f conftest.$ac_objext
17012 if { (ac_try="$ac_compile"
17013 case "(($ac_try" in
17014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17015 *) ac_try_echo=$ac_try;;
17016 esac
17017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17018 (eval "$ac_compile") 2>conftest.er1
17019 ac_status=$?
17020 grep -v '^ *+' conftest.er1 >conftest.err
17021 rm -f conftest.er1
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } && {
17025 test -z "$ac_cxx_werror_flag" ||
17026 test ! -s conftest.err
17027 } && test -s conftest.$ac_objext; then
17028 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17029 else
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17032
17033 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17034
17035 fi
17036
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038
17039
17040 fi
17041 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17042 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17043 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17044 :; INTELCXX8=yes
17045 else
17046 :;
17047 fi
17048 ac_ext=c
17049 ac_cpp='$CPP $CPPFLAGS'
17050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17053
17054
17055
17056
17057
17058 ac_ext=cpp
17059 ac_cpp='$CXXCPP $CPPFLAGS'
17060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17063
17064 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17065 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17066 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075
17076 int
17077 main ()
17078 {
17079
17080 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17081 choke me
17082 #endif
17083
17084 ;
17085 return 0;
17086 }
17087 _ACEOF
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092 *) ac_try_echo=$ac_try;;
17093 esac
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_compile") 2>conftest.er1
17096 ac_status=$?
17097 grep -v '^ *+' conftest.er1 >conftest.err
17098 rm -f conftest.er1
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } && {
17102 test -z "$ac_cxx_werror_flag" ||
17103 test ! -s conftest.err
17104 } && test -s conftest.$ac_objext; then
17105 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17106 else
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17109
17110 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17111
17112 fi
17113
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115
17116
17117 fi
17118 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17119 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17120 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17121 :; INTELCXX10=yes
17122 else
17123 :;
17124 fi
17125 ac_ext=c
17126 ac_cpp='$CPP $CPPFLAGS'
17127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17130
17131
17132
17133 fi
17134
17135 if test "x$GCXX" != "xyes"; then
17136 if test "xCXX" = "xC"; then
17137 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17138 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17139 if test "${bakefile_cv_c_exto+set}" = set; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 else
17142 cat >conftest.$ac_ext <<_ACEOF
17143 /* confdefs.h. */
17144 _ACEOF
17145 cat confdefs.h >>conftest.$ac_ext
17146 cat >>conftest.$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17148
17149 int
17150 main ()
17151 {
17152
17153 ;
17154 return 0;
17155 }
17156 _ACEOF
17157 rm -f conftest.$ac_objext conftest.$ac_ext.o
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>&5
17160 ac_status=$?
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; then
17163 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17164 case $ac_file in
17165 conftest.$ac_ext.o)
17166 bakefile_cv_c_exto="-ext o"
17167 ;;
17168 *)
17169 ;;
17170 esac
17171 done
17172 else
17173 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17174 See \`config.log' for more details." >&5
17175 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17176 See \`config.log' for more details." >&2;}
17177 { (exit 1); exit 1; }; }
17178
17179 fi
17180
17181 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17182
17183 fi
17184 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17185 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17186 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17187 if test "c" = "c"; then
17188 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17189 fi
17190 if test "c" = "cxx"; then
17191 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17192 fi
17193 fi
17194
17195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17196 unset ac_cv_prog_cc_g
17197 ac_test_CFLAGS=${CFLAGS+set}
17198 ac_save_CFLAGS=$CFLAGS
17199 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17200 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17201 if test "${ac_cv_prog_cc_g+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 else
17204 ac_save_c_werror_flag=$ac_c_werror_flag
17205 ac_c_werror_flag=yes
17206 ac_cv_prog_cc_g=no
17207 CFLAGS="-g"
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214
17215 int
17216 main ()
17217 {
17218
17219 ;
17220 return 0;
17221 }
17222 _ACEOF
17223 rm -f conftest.$ac_objext
17224 if { (ac_try="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17228 esac
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17231 ac_status=$?
17232 grep -v '^ *+' conftest.er1 >conftest.err
17233 rm -f conftest.er1
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_c_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 ac_cv_prog_cc_g=yes
17241 else
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17244
17245 CFLAGS=""
17246 cat >conftest.$ac_ext <<_ACEOF
17247 /* confdefs.h. */
17248 _ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17252
17253 int
17254 main ()
17255 {
17256
17257 ;
17258 return 0;
17259 }
17260 _ACEOF
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17266 esac
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.$ac_objext; then
17278 :
17279 else
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.$ac_ext >&5
17282
17283 ac_c_werror_flag=$ac_save_c_werror_flag
17284 CFLAGS="-g"
17285 cat >conftest.$ac_ext <<_ACEOF
17286 /* confdefs.h. */
17287 _ACEOF
17288 cat confdefs.h >>conftest.$ac_ext
17289 cat >>conftest.$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17291
17292 int
17293 main ()
17294 {
17295
17296 ;
17297 return 0;
17298 }
17299 _ACEOF
17300 rm -f conftest.$ac_objext
17301 if { (ac_try="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17305 esac
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17308 ac_status=$?
17309 grep -v '^ *+' conftest.er1 >conftest.err
17310 rm -f conftest.er1
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_c_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 ac_cv_prog_cc_g=yes
17318 else
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17321
17322
17323 fi
17324
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326 fi
17327
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329 fi
17330
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 ac_c_werror_flag=$ac_save_c_werror_flag
17333 fi
17334 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17335 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17336 if test "$ac_test_CFLAGS" = set; then
17337 CFLAGS=$ac_save_CFLAGS
17338 elif test $ac_cv_prog_cc_g = yes; then
17339 if test "$GCC" = yes; then
17340 CFLAGS="-g -O2"
17341 else
17342 CFLAGS="-g"
17343 fi
17344 else
17345 if test "$GCC" = yes; then
17346 CFLAGS="-O2"
17347 else
17348 CFLAGS=
17349 fi
17350 fi
17351 fi
17352 fi
17353
17354 case `uname -s` in
17355 AIX*)
17356
17357
17358 ac_ext=cpp
17359 ac_cpp='$CXXCPP $CPPFLAGS'
17360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17363
17364 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17365 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17366 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 else
17369 cat >conftest.$ac_ext <<_ACEOF
17370 /* confdefs.h. */
17371 _ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375
17376 int
17377 main ()
17378 {
17379
17380 #ifndef __xlC__
17381 choke me
17382 #endif
17383
17384 ;
17385 return 0;
17386 }
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (ac_try="$ac_compile"
17390 case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17392 *) ac_try_echo=$ac_try;;
17393 esac
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compile") 2>conftest.er1
17396 ac_status=$?
17397 grep -v '^ *+' conftest.er1 >conftest.err
17398 rm -f conftest.er1
17399 cat conftest.err >&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } && {
17402 test -z "$ac_cxx_werror_flag" ||
17403 test ! -s conftest.err
17404 } && test -s conftest.$ac_objext; then
17405 bakefile_cv_cxx_compiler___xlC__=yes
17406 else
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.$ac_ext >&5
17409
17410 bakefile_cv_cxx_compiler___xlC__=no
17411
17412 fi
17413
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415
17416
17417 fi
17418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17420 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17421 :; XLCXX=yes
17422 else
17423 :;
17424 fi
17425 ac_ext=c
17426 ac_cpp='$CPP $CPPFLAGS'
17427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17430
17431
17432
17433 ;;
17434
17435 Darwin)
17436
17437
17438 ac_ext=cpp
17439 ac_cpp='$CXXCPP $CPPFLAGS'
17440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17443
17444 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17445 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17446 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 else
17449 cat >conftest.$ac_ext <<_ACEOF
17450 /* confdefs.h. */
17451 _ACEOF
17452 cat confdefs.h >>conftest.$ac_ext
17453 cat >>conftest.$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17455
17456 int
17457 main ()
17458 {
17459
17460 #ifndef __MWERKS__
17461 choke me
17462 #endif
17463
17464 ;
17465 return 0;
17466 }
17467 _ACEOF
17468 rm -f conftest.$ac_objext
17469 if { (ac_try="$ac_compile"
17470 case "(($ac_try" in
17471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17473 esac
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_compile") 2>conftest.er1
17476 ac_status=$?
17477 grep -v '^ *+' conftest.er1 >conftest.err
17478 rm -f conftest.er1
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && {
17482 test -z "$ac_cxx_werror_flag" ||
17483 test ! -s conftest.err
17484 } && test -s conftest.$ac_objext; then
17485 bakefile_cv_cxx_compiler___MWERKS__=yes
17486 else
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17489
17490 bakefile_cv_cxx_compiler___MWERKS__=no
17491
17492 fi
17493
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495
17496
17497 fi
17498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17500 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17501 :; MWCXX=yes
17502 else
17503 :;
17504 fi
17505 ac_ext=c
17506 ac_cpp='$CPP $CPPFLAGS'
17507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17510
17511
17512
17513 if test "$MWCXX" != "yes"; then
17514
17515
17516 ac_ext=cpp
17517 ac_cpp='$CXXCPP $CPPFLAGS'
17518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17521
17522 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17523 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17524 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17526 else
17527 cat >conftest.$ac_ext <<_ACEOF
17528 /* confdefs.h. */
17529 _ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17533
17534 int
17535 main ()
17536 {
17537
17538 #ifndef __xlC__
17539 choke me
17540 #endif
17541
17542 ;
17543 return 0;
17544 }
17545 _ACEOF
17546 rm -f conftest.$ac_objext
17547 if { (ac_try="$ac_compile"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17550 *) ac_try_echo=$ac_try;;
17551 esac
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compile") 2>conftest.er1
17554 ac_status=$?
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } && {
17560 test -z "$ac_cxx_werror_flag" ||
17561 test ! -s conftest.err
17562 } && test -s conftest.$ac_objext; then
17563 bakefile_cv_cxx_compiler___xlC__=yes
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17567
17568 bakefile_cv_cxx_compiler___xlC__=no
17569
17570 fi
17571
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573
17574
17575 fi
17576 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17577 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17578 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17579 :; XLCXX=yes
17580 else
17581 :;
17582 fi
17583 ac_ext=c
17584 ac_cpp='$CPP $CPPFLAGS'
17585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17588
17589
17590
17591 fi
17592 ;;
17593
17594 IRIX*)
17595
17596
17597 ac_ext=cpp
17598 ac_cpp='$CXXCPP $CPPFLAGS'
17599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17602
17603 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17604 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17605 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608 cat >conftest.$ac_ext <<_ACEOF
17609 /* confdefs.h. */
17610 _ACEOF
17611 cat confdefs.h >>conftest.$ac_ext
17612 cat >>conftest.$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17614
17615 int
17616 main ()
17617 {
17618
17619 #ifndef _SGI_COMPILER_VERSION
17620 choke me
17621 #endif
17622
17623 ;
17624 return 0;
17625 }
17626 _ACEOF
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17632 esac
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_cxx_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17645 else
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17648
17649 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17650
17651 fi
17652
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654
17655
17656 fi
17657 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17658 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17659 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17660 :; SGICXX=yes
17661 else
17662 :;
17663 fi
17664 ac_ext=c
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17669
17670
17671
17672 ;;
17673
17674 Linux*)
17675 if test "$INTELCXX" != "yes"; then
17676
17677
17678 ac_ext=cpp
17679 ac_cpp='$CXXCPP $CPPFLAGS'
17680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17683
17684 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17685 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17686 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689 cat >conftest.$ac_ext <<_ACEOF
17690 /* confdefs.h. */
17691 _ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695
17696 int
17697 main ()
17698 {
17699
17700 #ifndef __SUNPRO_CC
17701 choke me
17702 #endif
17703
17704 ;
17705 return 0;
17706 }
17707 _ACEOF
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17712 *) ac_try_echo=$ac_try;;
17713 esac
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17716 ac_status=$?
17717 grep -v '^ *+' conftest.er1 >conftest.err
17718 rm -f conftest.er1
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_cxx_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.$ac_objext; then
17725 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17731
17732 fi
17733
17734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735
17736
17737 fi
17738 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17739 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17740 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17741 :; SUNCXX=yes
17742 else
17743 :;
17744 fi
17745 ac_ext=c
17746 ac_cpp='$CPP $CPPFLAGS'
17747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17750
17751
17752
17753 fi
17754 ;;
17755
17756 HP-UX*)
17757
17758
17759 ac_ext=cpp
17760 ac_cpp='$CXXCPP $CPPFLAGS'
17761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17764
17765 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17766 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17767 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 else
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776
17777 int
17778 main ()
17779 {
17780
17781 #ifndef __HP_aCC
17782 choke me
17783 #endif
17784
17785 ;
17786 return 0;
17787 }
17788 _ACEOF
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17794 esac
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_cxx_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 bakefile_cv_cxx_compiler___HP_aCC=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 bakefile_cv_cxx_compiler___HP_aCC=no
17812
17813 fi
17814
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816
17817
17818 fi
17819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17821 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17822 :; HPCXX=yes
17823 else
17824 :;
17825 fi
17826 ac_ext=c
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17831
17832
17833
17834 ;;
17835
17836 OSF1)
17837
17838
17839 ac_ext=cpp
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17844
17845 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17846 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17847 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 else
17850 cat >conftest.$ac_ext <<_ACEOF
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856
17857 int
17858 main ()
17859 {
17860
17861 #ifndef __DECCXX
17862 choke me
17863 #endif
17864
17865 ;
17866 return 0;
17867 }
17868 _ACEOF
17869 rm -f conftest.$ac_objext
17870 if { (ac_try="$ac_compile"
17871 case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17873 *) ac_try_echo=$ac_try;;
17874 esac
17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 (eval "$ac_compile") 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } && {
17883 test -z "$ac_cxx_werror_flag" ||
17884 test ! -s conftest.err
17885 } && test -s conftest.$ac_objext; then
17886 bakefile_cv_cxx_compiler___DECCXX=yes
17887 else
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.$ac_ext >&5
17890
17891 bakefile_cv_cxx_compiler___DECCXX=no
17892
17893 fi
17894
17895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896
17897
17898 fi
17899 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17900 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17901 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17902 :; COMPAQCXX=yes
17903 else
17904 :;
17905 fi
17906 ac_ext=c
17907 ac_cpp='$CPP $CPPFLAGS'
17908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17911
17912
17913
17914 ;;
17915
17916 SunOS)
17917
17918
17919 ac_ext=cpp
17920 ac_cpp='$CXXCPP $CPPFLAGS'
17921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17924
17925 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17926 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17927 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17929 else
17930 cat >conftest.$ac_ext <<_ACEOF
17931 /* confdefs.h. */
17932 _ACEOF
17933 cat confdefs.h >>conftest.$ac_ext
17934 cat >>conftest.$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17936
17937 int
17938 main ()
17939 {
17940
17941 #ifndef __SUNPRO_CC
17942 choke me
17943 #endif
17944
17945 ;
17946 return 0;
17947 }
17948 _ACEOF
17949 rm -f conftest.$ac_objext
17950 if { (ac_try="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17954 esac
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17957 ac_status=$?
17958 grep -v '^ *+' conftest.er1 >conftest.err
17959 rm -f conftest.er1
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_cxx_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17967 else
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17970
17971 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17972
17973 fi
17974
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976
17977
17978 fi
17979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17980 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17981 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17982 :; SUNCXX=yes
17983 else
17984 :;
17985 fi
17986 ac_ext=c
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17991
17992
17993
17994 ;;
17995 esac
17996 fi
17997
17998
17999
18000 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18001 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18002 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18003 { (exit 1); exit 1; }; }
18004 fi
18005
18006 if test "x$SUNCXX" != xyes; then
18007 if test -n "$ac_tool_prefix"; then
18008 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18009 set dummy ${ac_tool_prefix}ar; ac_word=$2
18010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18012 if test "${ac_cv_prog_AR+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 else
18015 if test -n "$AR"; then
18016 ac_cv_prog_AR="$AR" # Let the user override the test.
18017 else
18018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18019 for as_dir in $PATH
18020 do
18021 IFS=$as_save_IFS
18022 test -z "$as_dir" && as_dir=.
18023 for ac_exec_ext in '' $ac_executable_extensions; do
18024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18025 ac_cv_prog_AR="${ac_tool_prefix}ar"
18026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18027 break 2
18028 fi
18029 done
18030 done
18031 IFS=$as_save_IFS
18032
18033 fi
18034 fi
18035 AR=$ac_cv_prog_AR
18036 if test -n "$AR"; then
18037 { echo "$as_me:$LINENO: result: $AR" >&5
18038 echo "${ECHO_T}$AR" >&6; }
18039 else
18040 { echo "$as_me:$LINENO: result: no" >&5
18041 echo "${ECHO_T}no" >&6; }
18042 fi
18043
18044
18045 fi
18046 if test -z "$ac_cv_prog_AR"; then
18047 ac_ct_AR=$AR
18048 # Extract the first word of "ar", so it can be a program name with args.
18049 set dummy ar; ac_word=$2
18050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18052 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18054 else
18055 if test -n "$ac_ct_AR"; then
18056 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18057 else
18058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18059 for as_dir in $PATH
18060 do
18061 IFS=$as_save_IFS
18062 test -z "$as_dir" && as_dir=.
18063 for ac_exec_ext in '' $ac_executable_extensions; do
18064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18065 ac_cv_prog_ac_ct_AR="ar"
18066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18067 break 2
18068 fi
18069 done
18070 done
18071 IFS=$as_save_IFS
18072
18073 fi
18074 fi
18075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18076 if test -n "$ac_ct_AR"; then
18077 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18078 echo "${ECHO_T}$ac_ct_AR" >&6; }
18079 else
18080 { echo "$as_me:$LINENO: result: no" >&5
18081 echo "${ECHO_T}no" >&6; }
18082 fi
18083
18084 if test "x$ac_ct_AR" = x; then
18085 AR=""
18086 else
18087 case $cross_compiling:$ac_tool_warned in
18088 yes:)
18089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18090 whose name does not start with the host triplet. If you think this
18091 configuration is useful to you, please write to autoconf@gnu.org." >&5
18092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18093 whose name does not start with the host triplet. If you think this
18094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18095 ac_tool_warned=yes ;;
18096 esac
18097 AR=$ac_ct_AR
18098 fi
18099 else
18100 AR="$ac_cv_prog_AR"
18101 fi
18102
18103 if test "x$AR" = "x" ; then
18104 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18105 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18106 { (exit 1); exit 1; }; }
18107 fi
18108 fi
18109
18110
18111 if test "$wxUSE_MAC" = 1; then
18112
18113 retest_macosx_linking=no
18114
18115 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18116 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18117 # Implicitly turn on the new --with-macosx-sdk using the default
18118 # SDK which provides the behavior this option has always had.
18119 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18120 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18121 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18122 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18123 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18124 wxUSE_MACOSX_SDK=yes
18125 fi
18126 else
18127 # Complain to user if he specified an argument to --enable-universal_binary
18128 # and also 1) specified --with-macosx-sdk using the default (yes) or
18129 # 2) specified --with-macosx-sdk using a path or 3) specified
18130 # --without-macosx-sdk (no).
18131 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18132 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18133 See \`config.log' for more details." >&5
18134 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18135 See \`config.log' for more details." >&2;}
18136 { (exit 1); exit 1; }; }
18137 else
18138 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18139 # special-case the empty string because the below test simply
18140 # converts "no" to the empty string anyway.
18141 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18142 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18143 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18144 fi
18145 fi
18146 OSX_UNIV_OPTS="-arch ppc -arch i386"
18147 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18148 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18149 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18150 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18151 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18152 retest_macosx_linking=yes
18153
18154 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18155 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18156 bk_use_pch=no
18157 fi
18158
18159 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18160 wxUSE_MACOSX_SDK=
18161 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18162 # TODO: Search for most recent SDK and use it.
18163 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18164 fi
18165
18166
18167 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18168 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18169 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18170 if ! test -d "$wxUSE_MACOSX_SDK"; then
18171 { { echo "$as_me:$LINENO: error: not found
18172 See \`config.log' for more details." >&5
18173 echo "$as_me: error: not found
18174 See \`config.log' for more details." >&2;}
18175 { (exit 1); exit 1; }; }
18176 else
18177 { echo "$as_me:$LINENO: result: exists" >&5
18178 echo "${ECHO_T}exists" >&6; }
18179 fi
18180 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18181 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18182 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18183 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18184 retest_macosx_linking=yes
18185 fi
18186
18187 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18188 wxUSE_MACOSX_VERSION_MIN=
18189 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18190 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18191 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18192 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18193
18194 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/'`
18195
18196 # If that failed, try again with the new key
18197 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18198
18199 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/'`
18200
18201 fi
18202
18203 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18204 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18205 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18206 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18207 else
18208 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18209 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18210 wxUSE_MACOSX_VERSION_MIN=
18211 fi
18212 else
18213 wxUSE_MACOSX_VERSION_MIN=
18214 fi
18215 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18216 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18217 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18218 # otherwise configure stops on leopard for universal_binary
18219 wxUSE_MACOSX_VERSION_MIN=10.4
18220 else
18221 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18222 wxUSE_MACOSX_VERSION_MIN=10.5
18223 fi
18224 fi
18225
18226 NEEDS_GCC40="no"
18227 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18228 NEEDS_GCC40="yes"
18229 fi
18230
18231 if test "$wxUSE_OSX_CARBON" = 1; then
18232 NEEDS_GCC40="yes"
18233 fi
18234
18235 if test "x$NEEDS_GCC40" == "xyes"; then
18236 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18237 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18238 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18239 if test "x$CC" = "xgcc"; then
18240 CCVERSION=`$CC --version | grep 4.[2-9].`
18241 if test "x$CCVERSION" != "x"; then
18242 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18243 CC="/usr/bin/gcc-4.0"
18244 fi
18245 fi
18246
18247 if test "x$CXX" = "xg++"; then
18248 CCVERSION=`$CXX --version | grep 4.[2-9].`
18249 if test "x$CCVERSION" != "x"; then
18250 CXX="/usr/bin/g++-4.0"
18251 fi
18252 fi
18253 fi
18254
18255 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18256 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18257 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18258 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18259 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18260 retest_macosx_linking=yes
18261 fi
18262
18263 if test "x$retest_macosx_linking" = "xyes"; then
18264 ac_ext=c
18265 ac_cpp='$CPP $CPPFLAGS'
18266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18269
18270 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18271 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18278
18279 int
18280 main ()
18281 {
18282
18283 ;
18284 return 0;
18285 }
18286 _ACEOF
18287 rm -f conftest.$ac_objext conftest$ac_exeext
18288 if { (ac_try="$ac_link"
18289 case "(($ac_try" in
18290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18291 *) ac_try_echo=$ac_try;;
18292 esac
18293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18294 (eval "$ac_link") 2>conftest.er1
18295 ac_status=$?
18296 grep -v '^ *+' conftest.er1 >conftest.err
18297 rm -f conftest.er1
18298 cat conftest.err >&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } && {
18301 test -z "$ac_c_werror_flag" ||
18302 test ! -s conftest.err
18303 } && test -s conftest$ac_exeext &&
18304 $as_test_x conftest$ac_exeext; then
18305 { echo "$as_me:$LINENO: result: yes" >&5
18306 echo "${ECHO_T}yes" >&6; }
18307 else
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18310
18311 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18312 See \`config.log' for more details." >&5
18313 echo "$as_me: error: no. Try a different SDK
18314 See \`config.log' for more details." >&2;}
18315 { (exit 1); exit 1; }; }; exit 1
18316 fi
18317
18318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18319 conftest$ac_exeext conftest.$ac_ext
18320 ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325
18326
18327 ac_ext=cpp
18328 ac_cpp='$CXXCPP $CPPFLAGS'
18329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18332
18333 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18334 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18335 cat >conftest.$ac_ext <<_ACEOF
18336 /* confdefs.h. */
18337 _ACEOF
18338 cat confdefs.h >>conftest.$ac_ext
18339 cat >>conftest.$ac_ext <<_ACEOF
18340 /* end confdefs.h. */
18341
18342 int
18343 main ()
18344 {
18345
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext conftest$ac_exeext
18351 if { (ac_try="$ac_link"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18355 esac
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_link") 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_cxx_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest$ac_exeext &&
18367 $as_test_x conftest$ac_exeext; then
18368 { echo "$as_me:$LINENO: result: yes" >&5
18369 echo "${ECHO_T}yes" >&6; }
18370 else
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18373
18374 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18375 See \`config.log' for more details." >&5
18376 echo "$as_me: error: no. Try a different SDK
18377 See \`config.log' for more details." >&2;}
18378 { (exit 1); exit 1; }; }; exit 1
18379 fi
18380
18381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18382 conftest$ac_exeext conftest.$ac_ext
18383 ac_ext=c
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18388
18389 fi
18390
18391 fi
18392 case "${host}" in
18393
18394 *-*-darwin* )
18395 INSTALL_PROGRAM="cp -fp"
18396 INSTALL_DATA="cp -fp"
18397 ;;
18398 *)
18399 ;;
18400 esac
18401
18402
18403 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18404 CXXFLAGS="-qunique $CXXFLAGS"
18405 fi
18406
18407 case "${host}" in
18408 powerpc-*-darwin* )
18409 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18410 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18411 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h. */
18413 _ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417
18418 int
18419 main ()
18420 {
18421 #ifndef __POWERPC__
18422 choke me for lack of PowerPC
18423 #endif
18424
18425 ;
18426 return 0;
18427 }
18428 _ACEOF
18429 rm -f conftest.$ac_objext
18430 if { (ac_try="$ac_compile"
18431 case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18434 esac
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_compile") 2>conftest.er1
18437 ac_status=$?
18438 grep -v '^ *+' conftest.er1 >conftest.err
18439 rm -f conftest.er1
18440 cat conftest.err >&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } && {
18443 test -z "$ac_c_werror_flag" ||
18444 test ! -s conftest.err
18445 } && test -s conftest.$ac_objext; then
18446 { echo "$as_me:$LINENO: result: yes" >&5
18447 echo "${ECHO_T}yes" >&6; }
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18451
18452 { echo "$as_me:$LINENO: result: no" >&5
18453 echo "${ECHO_T}no" >&6; }
18454 cat >>confdefs.h <<\_ACEOF
18455 #define __POWERPC__ 1
18456 _ACEOF
18457
18458
18459 fi
18460
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462 ;;
18463 esac
18464
18465 case "${host}" in
18466 *-*-darwin* )
18467 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18468 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18469 cat >conftest.$ac_ext <<_ACEOF
18470 /* confdefs.h. */
18471 _ACEOF
18472 cat confdefs.h >>conftest.$ac_ext
18473 cat >>conftest.$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475 #include <CoreFoundation/CFBase.h>
18476
18477 int
18478 main ()
18479 {
18480
18481 ;
18482 return 0;
18483 }
18484 _ACEOF
18485 rm -f conftest.$ac_objext
18486 if { (ac_try="$ac_compile"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18490 esac
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_compile") 2>conftest.er1
18493 ac_status=$?
18494 grep -v '^ *+' conftest.er1 >conftest.err
18495 rm -f conftest.er1
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } && {
18499 test -z "$ac_c_werror_flag" ||
18500 test ! -s conftest.err
18501 } && test -s conftest.$ac_objext; then
18502 { echo "$as_me:$LINENO: result: yes" >&5
18503 echo "${ECHO_T}yes" >&6; }
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18507
18508 { echo "$as_me:$LINENO: result: no" >&5
18509 echo "${ECHO_T}no" >&6; }
18510 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18511 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18512 cat >conftest.$ac_ext <<_ACEOF
18513 /* confdefs.h. */
18514 _ACEOF
18515 cat confdefs.h >>conftest.$ac_ext
18516 cat >>conftest.$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18518 #define __CF_USE_FRAMEWORK_INCLUDES__
18519 #include <CoreFoundation/CFBase.h>
18520
18521 int
18522 main ()
18523 {
18524
18525 ;
18526 return 0;
18527 }
18528 _ACEOF
18529 rm -f conftest.$ac_objext
18530 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18534 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 { echo "$as_me:$LINENO: result: yes" >&5
18547 echo "${ECHO_T}yes" >&6; }
18548 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18549 else
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18552
18553 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18554 See \`config.log' for more details." >&5
18555 echo "$as_me: error: no. CoreFoundation not available.
18556 See \`config.log' for more details." >&2;}
18557 { (exit 1); exit 1; }; }
18558
18559 fi
18560
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562
18563
18564 fi
18565
18566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18567 ;;
18568 esac
18569
18570 wants_win32=0
18571 doesnt_want_win32=0
18572 case "${host}" in
18573 *-*-cygwin*)
18574 if test "$wxUSE_MSW" = 1 ; then
18575 wants_win32=1
18576 else
18577 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18578 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18579 if test "${wx_cv_nocygwin+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18581 else
18582
18583 cat >conftest.$ac_ext <<_ACEOF
18584 /* confdefs.h. */
18585 _ACEOF
18586 cat confdefs.h >>conftest.$ac_ext
18587 cat >>conftest.$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18589
18590 int
18591 main ()
18592 {
18593
18594 #ifdef __MINGW32__
18595 choke me
18596 #endif
18597
18598 ;
18599 return 0;
18600 }
18601 _ACEOF
18602 rm -f conftest.$ac_objext
18603 if { (ac_try="$ac_compile"
18604 case "(($ac_try" in
18605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18606 *) ac_try_echo=$ac_try;;
18607 esac
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_compile") 2>conftest.er1
18610 ac_status=$?
18611 grep -v '^ *+' conftest.er1 >conftest.err
18612 rm -f conftest.er1
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } && {
18616 test -z "$ac_c_werror_flag" ||
18617 test ! -s conftest.err
18618 } && test -s conftest.$ac_objext; then
18619 wx_cv_nocygwin=no
18620 else
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.$ac_ext >&5
18623
18624 wx_cv_nocygwin=yes
18625
18626 fi
18627
18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629
18630
18631 fi
18632 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18633 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18634
18635 if test "$wx_cv_nocygwin" = "yes"; then
18636 wants_win32=1
18637 else
18638 doesnt_want_win32=1
18639 fi
18640 fi
18641 if test "$wants_win32" = 1 ; then
18642 BAKEFILE_FORCE_PLATFORM=win32
18643 fi
18644 ;;
18645 *-*-mingw*)
18646 wants_win32=1
18647 ;;
18648 esac
18649
18650 if test "$wxUSE_WINE" = "yes"; then
18651 wants_win32=1
18652 LDFLAGS_GUI="-mwindows"
18653 fi
18654
18655 if test "$wants_win32" = 1 ; then
18656 USE_UNIX=0
18657 USE_WIN32=1
18658 cat >>confdefs.h <<\_ACEOF
18659 #define __WIN32__ 1
18660 _ACEOF
18661
18662 cat >>confdefs.h <<\_ACEOF
18663 #define __WIN95__ 1
18664 _ACEOF
18665
18666 cat >>confdefs.h <<\_ACEOF
18667 #define __WINDOWS__ 1
18668 _ACEOF
18669
18670 cat >>confdefs.h <<\_ACEOF
18671 #define __GNUWIN32__ 1
18672 _ACEOF
18673
18674 cat >>confdefs.h <<\_ACEOF
18675 #define STRICT 1
18676 _ACEOF
18677
18678 fi
18679 if test "$doesnt_want_win32" = 1 ; then
18680 USE_UNIX=1
18681 USE_WIN32=0
18682 fi
18683
18684 if test "$USE_UNIX" = 1 ; then
18685 wxUSE_UNIX=yes
18686 cat >>confdefs.h <<\_ACEOF
18687 #define __UNIX__ 1
18688 _ACEOF
18689
18690 fi
18691
18692 case "${host}" in
18693 *-pc-os2_emx | *-pc-os2-emx )
18694 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18695 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18696 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18697 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 else
18700 ac_check_lib_save_LIBS=$LIBS
18701 LIBS="-lcExt $LIBS"
18702 cat >conftest.$ac_ext <<_ACEOF
18703 /* confdefs.h. */
18704 _ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18708
18709 /* Override any GCC internal prototype to avoid an error.
18710 Use char because int might match the return type of a GCC
18711 builtin and then its argument prototype would still apply. */
18712 #ifdef __cplusplus
18713 extern "C"
18714 #endif
18715 char drand48 ();
18716 int
18717 main ()
18718 {
18719 return drand48 ();
18720 ;
18721 return 0;
18722 }
18723 _ACEOF
18724 rm -f conftest.$ac_objext conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>conftest.er1
18732 ac_status=$?
18733 grep -v '^ *+' conftest.er1 >conftest.err
18734 rm -f conftest.er1
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest$ac_exeext &&
18741 $as_test_x conftest$ac_exeext; then
18742 ac_cv_lib_cExt_drand48=yes
18743 else
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18746
18747 ac_cv_lib_cExt_drand48=no
18748 fi
18749
18750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18751 conftest$ac_exeext conftest.$ac_ext
18752 LIBS=$ac_check_lib_save_LIBS
18753 fi
18754 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18755 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18756 if test $ac_cv_lib_cExt_drand48 = yes; then
18757 LIBS="$LIBS -lcExt"
18758 fi
18759
18760 else
18761 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18762 fi
18763 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18764 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18765 if test "${wx_cv_gccversion+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768
18769 if test "$cross_compiling" = yes; then
18770 wx_cv_gccversion="EMX2"
18771
18772 else
18773 cat >conftest.$ac_ext <<_ACEOF
18774 /* confdefs.h. */
18775 _ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18779
18780 #include <stdio.h>
18781
18782 int main()
18783 {
18784 FILE *f=fopen("conftestval", "w");
18785 if (!f) exit(1);
18786 fprintf(f,
18787 #if (__GNUC__ < 3)
18788 "EMX2"
18789 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18790 "EMX3"
18791 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18792 "Innotek5"
18793 #else
18794 "Innotek6"
18795 #endif
18796 );
18797 exit(0);
18798 }
18799
18800 _ACEOF
18801 rm -f conftest$ac_exeext
18802 if { (ac_try="$ac_link"
18803 case "(($ac_try" in
18804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18805 *) ac_try_echo=$ac_try;;
18806 esac
18807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18808 (eval "$ac_link") 2>&5
18809 ac_status=$?
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18812 { (case "(($ac_try" in
18813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18814 *) ac_try_echo=$ac_try;;
18815 esac
18816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18817 (eval "$ac_try") 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 wx_cv_gccversion=`cat conftestval`
18822 else
18823 echo "$as_me: program exited with status $ac_status" >&5
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.$ac_ext >&5
18826
18827 ( exit $ac_status )
18828 wx_cv_gccversion="EMX2"
18829 fi
18830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18831 fi
18832
18833
18834
18835 fi
18836 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18837 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18838 if test "$wx_cv_gccversion" = "EMX2"; then
18839 LIBS="$LIBS -lstdcpp"
18840 LDFLAGS="$LDFLAGS -Zsysv-signals"
18841 else
18842 if test "$wx_cv_gccversion" = "EMX3"; then
18843 LIBS="$LIBS -lstdcxx -lgcc"
18844 LDFLAGS="$LDFLAGS -Zsysv-signals"
18845 else
18846 LIBS="$LIBS -lstdc++"
18847 fi
18848 fi
18849 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18850 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18851 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18852 wxUSE_OMF=yes
18853 enable_omf=yes
18854 fi
18855 ;;
18856 *)
18857
18858 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18859 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18860 if test "${ac_cv_string_strcasecmp+set}" = set; then
18861 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 else
18863
18864 cat >conftest.$ac_ext <<_ACEOF
18865 /* confdefs.h. */
18866 _ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870
18871 #include <string.h>
18872
18873 int
18874 main ()
18875 {
18876
18877 strcasecmp("foo", "bar");
18878
18879 ;
18880 return 0;
18881 }
18882 _ACEOF
18883 rm -f conftest.$ac_objext conftest$ac_exeext
18884 if { (ac_try="$ac_link"
18885 case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18888 esac
18889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18890 (eval "$ac_link") 2>conftest.er1
18891 ac_status=$?
18892 grep -v '^ *+' conftest.er1 >conftest.err
18893 rm -f conftest.er1
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } && {
18897 test -z "$ac_c_werror_flag" ||
18898 test ! -s conftest.err
18899 } && test -s conftest$ac_exeext &&
18900 $as_test_x conftest$ac_exeext; then
18901 ac_cv_string_strcasecmp=yes
18902 else
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.$ac_ext >&5
18905
18906 ac_cv_string_strcasecmp=no
18907
18908 fi
18909
18910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18911 conftest$ac_exeext conftest.$ac_ext
18912
18913 fi
18914 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18915 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18916
18917 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18918 cat >>confdefs.h <<\_ACEOF
18919 #define HAVE_STRCASECMP_IN_STRING_H 1
18920 _ACEOF
18921
18922 else
18923 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18924 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18925 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18928
18929 cat >conftest.$ac_ext <<_ACEOF
18930 /* confdefs.h. */
18931 _ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935
18936 #include <strings.h>
18937
18938 int
18939 main ()
18940 {
18941
18942 strcasecmp("foo", "bar");
18943
18944 ;
18945 return 0;
18946 }
18947 _ACEOF
18948 rm -f conftest.$ac_objext conftest$ac_exeext
18949 if { (ac_try="$ac_link"
18950 case "(($ac_try" in
18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952 *) ac_try_echo=$ac_try;;
18953 esac
18954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18955 (eval "$ac_link") 2>conftest.er1
18956 ac_status=$?
18957 grep -v '^ *+' conftest.er1 >conftest.err
18958 rm -f conftest.er1
18959 cat conftest.err >&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } && {
18962 test -z "$ac_c_werror_flag" ||
18963 test ! -s conftest.err
18964 } && test -s conftest$ac_exeext &&
18965 $as_test_x conftest$ac_exeext; then
18966 ac_cv_strings_strcasecmp=yes
18967 else
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18970
18971 ac_cv_strings_strcasecmp=no
18972
18973 fi
18974
18975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18976 conftest$ac_exeext conftest.$ac_ext
18977
18978 fi
18979 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18980 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18981
18982 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18983 cat >>confdefs.h <<\_ACEOF
18984 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18985 _ACEOF
18986
18987 else
18988 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18989 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18990 { (exit 1); exit 1; }; }
18991 fi
18992 fi
18993
18994 ;;
18995 esac
18996
18997
18998 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18999 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19000 if test "${ac_cv_header_stdc+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19002 else
19003 cat >conftest.$ac_ext <<_ACEOF
19004 /* confdefs.h. */
19005 _ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 #include <stdlib.h>
19010 #include <stdarg.h>
19011 #include <string.h>
19012 #include <float.h>
19013
19014 int
19015 main ()
19016 {
19017
19018 ;
19019 return 0;
19020 }
19021 _ACEOF
19022 rm -f conftest.$ac_objext
19023 if { (ac_try="$ac_compile"
19024 case "(($ac_try" in
19025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19026 *) ac_try_echo=$ac_try;;
19027 esac
19028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19029 (eval "$ac_compile") 2>conftest.er1
19030 ac_status=$?
19031 grep -v '^ *+' conftest.er1 >conftest.err
19032 rm -f conftest.er1
19033 cat conftest.err >&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } && {
19036 test -z "$ac_c_werror_flag" ||
19037 test ! -s conftest.err
19038 } && test -s conftest.$ac_objext; then
19039 ac_cv_header_stdc=yes
19040 else
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19043
19044 ac_cv_header_stdc=no
19045 fi
19046
19047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19048
19049 if test $ac_cv_header_stdc = yes; then
19050 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19051 cat >conftest.$ac_ext <<_ACEOF
19052 /* confdefs.h. */
19053 _ACEOF
19054 cat confdefs.h >>conftest.$ac_ext
19055 cat >>conftest.$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19057 #include <string.h>
19058
19059 _ACEOF
19060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19061 $EGREP "memchr" >/dev/null 2>&1; then
19062 :
19063 else
19064 ac_cv_header_stdc=no
19065 fi
19066 rm -f conftest*
19067
19068 fi
19069
19070 if test $ac_cv_header_stdc = yes; then
19071 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19072 cat >conftest.$ac_ext <<_ACEOF
19073 /* confdefs.h. */
19074 _ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 #include <stdlib.h>
19079
19080 _ACEOF
19081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19082 $EGREP "free" >/dev/null 2>&1; then
19083 :
19084 else
19085 ac_cv_header_stdc=no
19086 fi
19087 rm -f conftest*
19088
19089 fi
19090
19091 if test $ac_cv_header_stdc = yes; then
19092 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19093 if test "$cross_compiling" = yes; then
19094 :
19095 else
19096 cat >conftest.$ac_ext <<_ACEOF
19097 /* confdefs.h. */
19098 _ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 #include <ctype.h>
19103 #include <stdlib.h>
19104 #if ((' ' & 0x0FF) == 0x020)
19105 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19106 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19107 #else
19108 # define ISLOWER(c) \
19109 (('a' <= (c) && (c) <= 'i') \
19110 || ('j' <= (c) && (c) <= 'r') \
19111 || ('s' <= (c) && (c) <= 'z'))
19112 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19113 #endif
19114
19115 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19116 int
19117 main ()
19118 {
19119 int i;
19120 for (i = 0; i < 256; i++)
19121 if (XOR (islower (i), ISLOWER (i))
19122 || toupper (i) != TOUPPER (i))
19123 return 2;
19124 return 0;
19125 }
19126 _ACEOF
19127 rm -f conftest$ac_exeext
19128 if { (ac_try="$ac_link"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19132 esac
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_link") 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19138 { (case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19141 esac
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_try") 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 :
19148 else
19149 echo "$as_me: program exited with status $ac_status" >&5
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19152
19153 ( exit $ac_status )
19154 ac_cv_header_stdc=no
19155 fi
19156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19157 fi
19158
19159
19160 fi
19161 fi
19162 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19163 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19164 if test $ac_cv_header_stdc = yes; then
19165
19166 cat >>confdefs.h <<\_ACEOF
19167 #define STDC_HEADERS 1
19168 _ACEOF
19169
19170 fi
19171
19172 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19183 inttypes.h stdint.h unistd.h
19184 do
19185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19191 cat >conftest.$ac_ext <<_ACEOF
19192 /* confdefs.h. */
19193 _ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 $ac_includes_default
19198
19199 #include <$ac_header>
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (ac_try="$ac_compile"
19203 case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19206 esac
19207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_compile") 2>conftest.er1
19209 ac_status=$?
19210 grep -v '^ *+' conftest.er1 >conftest.err
19211 rm -f conftest.er1
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } && {
19215 test -z "$ac_c_werror_flag" ||
19216 test ! -s conftest.err
19217 } && test -s conftest.$ac_objext; then
19218 eval "$as_ac_Header=yes"
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19222
19223 eval "$as_ac_Header=no"
19224 fi
19225
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 fi
19228 ac_res=`eval echo '${'$as_ac_Header'}'`
19229 { echo "$as_me:$LINENO: result: $ac_res" >&5
19230 echo "${ECHO_T}$ac_res" >&6; }
19231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19232 cat >>confdefs.h <<_ACEOF
19233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19234 _ACEOF
19235
19236 fi
19237
19238 done
19239
19240
19241
19242
19243 for ac_header in langinfo.h wchar.h
19244 do
19245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19249 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 else
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 $ac_includes_default
19258
19259 #include <$ac_header>
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (ac_try="$ac_compile"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19266 esac
19267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_compile") 2>conftest.er1
19269 ac_status=$?
19270 grep -v '^ *+' conftest.er1 >conftest.err
19271 rm -f conftest.er1
19272 cat conftest.err >&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then
19278 eval "$as_ac_Header=yes"
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19282
19283 eval "$as_ac_Header=no"
19284 fi
19285
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19287 fi
19288 ac_res=`eval echo '${'$as_ac_Header'}'`
19289 { echo "$as_me:$LINENO: result: $ac_res" >&5
19290 echo "${ECHO_T}$ac_res" >&6; }
19291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19292 cat >>confdefs.h <<_ACEOF
19293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19294 _ACEOF
19295
19296 fi
19297
19298 done
19299
19300
19301 if test "$ac_cv_header_wchar_h" != "yes"; then
19302
19303 for ac_header in wcstr.h
19304 do
19305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19309 echo $ECHO_N "(cached) $ECHO_C" >&6
19310 else
19311 cat >conftest.$ac_ext <<_ACEOF
19312 /* confdefs.h. */
19313 _ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 $ac_includes_default
19318
19319 #include <$ac_header>
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (ac_try="$ac_compile"
19323 case "(($ac_try" in
19324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19325 *) ac_try_echo=$ac_try;;
19326 esac
19327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_compile") 2>conftest.er1
19329 ac_status=$?
19330 grep -v '^ *+' conftest.er1 >conftest.err
19331 rm -f conftest.er1
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && {
19335 test -z "$ac_c_werror_flag" ||
19336 test ! -s conftest.err
19337 } && test -s conftest.$ac_objext; then
19338 eval "$as_ac_Header=yes"
19339 else
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.$ac_ext >&5
19342
19343 eval "$as_ac_Header=no"
19344 fi
19345
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 fi
19348 ac_res=`eval echo '${'$as_ac_Header'}'`
19349 { echo "$as_me:$LINENO: result: $ac_res" >&5
19350 echo "${ECHO_T}$ac_res" >&6; }
19351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19352 cat >>confdefs.h <<_ACEOF
19353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19354 _ACEOF
19355
19356 fi
19357
19358 done
19359
19360 fi
19361
19362 case "${host}" in
19363 *-pc-os2_emx | *-pc-os2-emx )
19364 if test $ac_cv_header_langinfo_h = "yes" \
19365 -a \( "$wx_cv_gccversion" = "EMX2" \
19366 -o "$wx_cv_gccversion" = "EMX3" \
19367 -o "$wx_cv_gccversion" = "Innotek5" \); then
19368 LIBS="$LIBS -lintl"
19369 fi
19370 ;;
19371 esac
19372
19373 if test "$USE_UNIX" = 1 ; then
19374
19375 for ac_header in sys/select.h
19376 do
19377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19381 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 else
19383 cat >conftest.$ac_ext <<_ACEOF
19384 /* confdefs.h. */
19385 _ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 $ac_includes_default
19390
19391 #include <$ac_header>
19392 _ACEOF
19393 rm -f conftest.$ac_objext
19394 if { (ac_try="$ac_compile"
19395 case "(($ac_try" in
19396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19397 *) ac_try_echo=$ac_try;;
19398 esac
19399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19400 (eval "$ac_compile") 2>conftest.er1
19401 ac_status=$?
19402 grep -v '^ *+' conftest.er1 >conftest.err
19403 rm -f conftest.er1
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } && {
19407 test -z "$ac_c_werror_flag" ||
19408 test ! -s conftest.err
19409 } && test -s conftest.$ac_objext; then
19410 eval "$as_ac_Header=yes"
19411 else
19412 echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.$ac_ext >&5
19414
19415 eval "$as_ac_Header=no"
19416 fi
19417
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 fi
19420 ac_res=`eval echo '${'$as_ac_Header'}'`
19421 { echo "$as_me:$LINENO: result: $ac_res" >&5
19422 echo "${ECHO_T}$ac_res" >&6; }
19423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19424 cat >>confdefs.h <<_ACEOF
19425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19426 _ACEOF
19427
19428 fi
19429
19430 done
19431
19432 fi
19433
19434
19435 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19436 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19437 if test "${ac_cv_c_const+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 else
19440 cat >conftest.$ac_ext <<_ACEOF
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446
19447 int
19448 main ()
19449 {
19450 /* FIXME: Include the comments suggested by Paul. */
19451 #ifndef __cplusplus
19452 /* Ultrix mips cc rejects this. */
19453 typedef int charset[2];
19454 const charset cs;
19455 /* SunOS 4.1.1 cc rejects this. */
19456 char const *const *pcpcc;
19457 char **ppc;
19458 /* NEC SVR4.0.2 mips cc rejects this. */
19459 struct point {int x, y;};
19460 static struct point const zero = {0,0};
19461 /* AIX XL C 1.02.0.0 rejects this.
19462 It does not let you subtract one const X* pointer from another in
19463 an arm of an if-expression whose if-part is not a constant
19464 expression */
19465 const char *g = "string";
19466 pcpcc = &g + (g ? g-g : 0);
19467 /* HPUX 7.0 cc rejects these. */
19468 ++pcpcc;
19469 ppc = (char**) pcpcc;
19470 pcpcc = (char const *const *) ppc;
19471 { /* SCO 3.2v4 cc rejects this. */
19472 char *t;
19473 char const *s = 0 ? (char *) 0 : (char const *) 0;
19474
19475 *t++ = 0;
19476 if (s) return 0;
19477 }
19478 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19479 int x[] = {25, 17};
19480 const int *foo = &x[0];
19481 ++foo;
19482 }
19483 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19484 typedef const int *iptr;
19485 iptr p = 0;
19486 ++p;
19487 }
19488 { /* AIX XL C 1.02.0.0 rejects this saying
19489 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19490 struct s { int j; const int *ap[3]; };
19491 struct s *b; b->j = 5;
19492 }
19493 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19494 const int foo = 10;
19495 if (!foo) return 0;
19496 }
19497 return !cs[0] && !zero.x;
19498 #endif
19499
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 rm -f conftest.$ac_objext
19505 if { (ac_try="$ac_compile"
19506 case "(($ac_try" in
19507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19508 *) ac_try_echo=$ac_try;;
19509 esac
19510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19511 (eval "$ac_compile") 2>conftest.er1
19512 ac_status=$?
19513 grep -v '^ *+' conftest.er1 >conftest.err
19514 rm -f conftest.er1
19515 cat conftest.err >&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } && {
19518 test -z "$ac_c_werror_flag" ||
19519 test ! -s conftest.err
19520 } && test -s conftest.$ac_objext; then
19521 ac_cv_c_const=yes
19522 else
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.$ac_ext >&5
19525
19526 ac_cv_c_const=no
19527 fi
19528
19529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19530 fi
19531 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19532 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19533 if test $ac_cv_c_const = no; then
19534
19535 cat >>confdefs.h <<\_ACEOF
19536 #define const
19537 _ACEOF
19538
19539 fi
19540
19541 { echo "$as_me:$LINENO: checking for inline" >&5
19542 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19543 if test "${ac_cv_c_inline+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19546 ac_cv_c_inline=no
19547 for ac_kw in inline __inline__ __inline; do
19548 cat >conftest.$ac_ext <<_ACEOF
19549 /* confdefs.h. */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #ifndef __cplusplus
19555 typedef int foo_t;
19556 static $ac_kw foo_t static_foo () {return 0; }
19557 $ac_kw foo_t foo () {return 0; }
19558 #endif
19559
19560 _ACEOF
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19566 esac
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.$ac_objext; then
19578 ac_cv_c_inline=$ac_kw
19579 else
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19582
19583
19584 fi
19585
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 test "$ac_cv_c_inline" != no && break
19588 done
19589
19590 fi
19591 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19592 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19593
19594
19595 case $ac_cv_c_inline in
19596 inline | yes) ;;
19597 *)
19598 case $ac_cv_c_inline in
19599 no) ac_val=;;
19600 *) ac_val=$ac_cv_c_inline;;
19601 esac
19602 cat >>confdefs.h <<_ACEOF
19603 #ifndef __cplusplus
19604 #define inline $ac_val
19605 #endif
19606 _ACEOF
19607 ;;
19608 esac
19609
19610
19611 { echo "$as_me:$LINENO: checking for short" >&5
19612 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19613 if test "${ac_cv_type_short+set}" = set; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 else
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19623 typedef short ac__type_new_;
19624 int
19625 main ()
19626 {
19627 if ((ac__type_new_ *) 0)
19628 return 0;
19629 if (sizeof (ac__type_new_))
19630 return 0;
19631 ;
19632 return 0;
19633 }
19634 _ACEOF
19635 rm -f conftest.$ac_objext
19636 if { (ac_try="$ac_compile"
19637 case "(($ac_try" in
19638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19640 esac
19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_compile") 2>conftest.er1
19643 ac_status=$?
19644 grep -v '^ *+' conftest.er1 >conftest.err
19645 rm -f conftest.er1
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest.$ac_objext; then
19652 ac_cv_type_short=yes
19653 else
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19656
19657 ac_cv_type_short=no
19658 fi
19659
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 fi
19662 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19663 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19664
19665 # The cast to long int works around a bug in the HP C Compiler
19666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19668 # This bug is HP SR number 8606223364.
19669 { echo "$as_me:$LINENO: checking size of short" >&5
19670 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19671 if test "${ac_cv_sizeof_short+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 else
19674 if test "$cross_compiling" = yes; then
19675 # Depending upon the size, compute the lo and hi bounds.
19676 cat >conftest.$ac_ext <<_ACEOF
19677 /* confdefs.h. */
19678 _ACEOF
19679 cat confdefs.h >>conftest.$ac_ext
19680 cat >>conftest.$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef short ac__type_sizeof_;
19684 int
19685 main ()
19686 {
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19688 test_array [0] = 0
19689
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 rm -f conftest.$ac_objext
19695 if { (ac_try="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19699 esac
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19711 ac_lo=0 ac_mid=0
19712 while :; do
19713 cat >conftest.$ac_ext <<_ACEOF
19714 /* confdefs.h. */
19715 _ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 typedef short ac__type_sizeof_;
19721 int
19722 main ()
19723 {
19724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19725 test_array [0] = 0
19726
19727 ;
19728 return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19736 esac
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19739 ac_status=$?
19740 grep -v '^ *+' conftest.er1 >conftest.err
19741 rm -f conftest.er1
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.$ac_objext; then
19748 ac_hi=$ac_mid; break
19749 else
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19752
19753 ac_lo=`expr $ac_mid + 1`
19754 if test $ac_lo -le $ac_mid; then
19755 ac_lo= ac_hi=
19756 break
19757 fi
19758 ac_mid=`expr 2 '*' $ac_mid + 1`
19759 fi
19760
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 done
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 cat >conftest.$ac_ext <<_ACEOF
19768 /* confdefs.h. */
19769 _ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19774 typedef short ac__type_sizeof_;
19775 int
19776 main ()
19777 {
19778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19779 test_array [0] = 0
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790 esac
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 ac_hi=-1 ac_mid=-1
19803 while :; do
19804 cat >conftest.$ac_ext <<_ACEOF
19805 /* confdefs.h. */
19806 _ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19811 typedef short ac__type_sizeof_;
19812 int
19813 main ()
19814 {
19815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19816 test_array [0] = 0
19817
19818 ;
19819 return 0;
19820 }
19821 _ACEOF
19822 rm -f conftest.$ac_objext
19823 if { (ac_try="$ac_compile"
19824 case "(($ac_try" in
19825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19826 *) ac_try_echo=$ac_try;;
19827 esac
19828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19829 (eval "$ac_compile") 2>conftest.er1
19830 ac_status=$?
19831 grep -v '^ *+' conftest.er1 >conftest.err
19832 rm -f conftest.er1
19833 cat conftest.err >&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } && {
19836 test -z "$ac_c_werror_flag" ||
19837 test ! -s conftest.err
19838 } && test -s conftest.$ac_objext; then
19839 ac_lo=$ac_mid; break
19840 else
19841 echo "$as_me: failed program was:" >&5
19842 sed 's/^/| /' conftest.$ac_ext >&5
19843
19844 ac_hi=`expr '(' $ac_mid ')' - 1`
19845 if test $ac_mid -le $ac_hi; then
19846 ac_lo= ac_hi=
19847 break
19848 fi
19849 ac_mid=`expr 2 '*' $ac_mid`
19850 fi
19851
19852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19853 done
19854 else
19855 echo "$as_me: failed program was:" >&5
19856 sed 's/^/| /' conftest.$ac_ext >&5
19857
19858 ac_lo= ac_hi=
19859 fi
19860
19861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19862 fi
19863
19864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 # Binary search between lo and hi bounds.
19866 while test "x$ac_lo" != "x$ac_hi"; do
19867 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19868 cat >conftest.$ac_ext <<_ACEOF
19869 /* confdefs.h. */
19870 _ACEOF
19871 cat confdefs.h >>conftest.$ac_ext
19872 cat >>conftest.$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 $ac_includes_default
19875 typedef short ac__type_sizeof_;
19876 int
19877 main ()
19878 {
19879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19880 test_array [0] = 0
19881
19882 ;
19883 return 0;
19884 }
19885 _ACEOF
19886 rm -f conftest.$ac_objext
19887 if { (ac_try="$ac_compile"
19888 case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19891 esac
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_compile") 2>conftest.er1
19894 ac_status=$?
19895 grep -v '^ *+' conftest.er1 >conftest.err
19896 rm -f conftest.er1
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err
19902 } && test -s conftest.$ac_objext; then
19903 ac_hi=$ac_mid
19904 else
19905 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5
19907
19908 ac_lo=`expr '(' $ac_mid ')' + 1`
19909 fi
19910
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 done
19913 case $ac_lo in
19914 ?*) ac_cv_sizeof_short=$ac_lo;;
19915 '') if test "$ac_cv_type_short" = yes; then
19916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19917 See \`config.log' for more details." >&5
19918 echo "$as_me: error: cannot compute sizeof (short)
19919 See \`config.log' for more details." >&2;}
19920 { (exit 77); exit 77; }; }
19921 else
19922 ac_cv_sizeof_short=0
19923 fi ;;
19924 esac
19925 else
19926 cat >conftest.$ac_ext <<_ACEOF
19927 /* confdefs.h. */
19928 _ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19933 typedef short ac__type_sizeof_;
19934 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19935 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19936 #include <stdio.h>
19937 #include <stdlib.h>
19938 int
19939 main ()
19940 {
19941
19942 FILE *f = fopen ("conftest.val", "w");
19943 if (! f)
19944 return 1;
19945 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19946 {
19947 long int i = longval ();
19948 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19949 return 1;
19950 fprintf (f, "%ld\n", i);
19951 }
19952 else
19953 {
19954 unsigned long int i = ulongval ();
19955 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19956 return 1;
19957 fprintf (f, "%lu\n", i);
19958 }
19959 return ferror (f) || fclose (f) != 0;
19960
19961 ;
19962 return 0;
19963 }
19964 _ACEOF
19965 rm -f conftest$ac_exeext
19966 if { (ac_try="$ac_link"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19970 esac
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_link") 2>&5
19973 ac_status=$?
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19976 { (case "(($ac_try" in
19977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19978 *) ac_try_echo=$ac_try;;
19979 esac
19980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19981 (eval "$ac_try") 2>&5
19982 ac_status=$?
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_sizeof_short=`cat conftest.val`
19986 else
19987 echo "$as_me: program exited with status $ac_status" >&5
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19990
19991 ( exit $ac_status )
19992 if test "$ac_cv_type_short" = yes; then
19993 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19994 See \`config.log' for more details." >&5
19995 echo "$as_me: error: cannot compute sizeof (short)
19996 See \`config.log' for more details." >&2;}
19997 { (exit 77); exit 77; }; }
19998 else
19999 ac_cv_sizeof_short=0
20000 fi
20001 fi
20002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20003 fi
20004 rm -f conftest.val
20005 fi
20006 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20007 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20008
20009
20010
20011 cat >>confdefs.h <<_ACEOF
20012 #define SIZEOF_SHORT $ac_cv_sizeof_short
20013 _ACEOF
20014
20015
20016 { echo "$as_me:$LINENO: checking for void *" >&5
20017 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20018 if test "${ac_cv_type_void_p+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20020 else
20021 cat >conftest.$ac_ext <<_ACEOF
20022 /* confdefs.h. */
20023 _ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 $ac_includes_default
20028 typedef void * ac__type_new_;
20029 int
20030 main ()
20031 {
20032 if ((ac__type_new_ *) 0)
20033 return 0;
20034 if (sizeof (ac__type_new_))
20035 return 0;
20036 ;
20037 return 0;
20038 }
20039 _ACEOF
20040 rm -f conftest.$ac_objext
20041 if { (ac_try="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;;
20045 esac
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20048 ac_status=$?
20049 grep -v '^ *+' conftest.er1 >conftest.err
20050 rm -f conftest.er1
20051 cat conftest.err >&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } && {
20054 test -z "$ac_c_werror_flag" ||
20055 test ! -s conftest.err
20056 } && test -s conftest.$ac_objext; then
20057 ac_cv_type_void_p=yes
20058 else
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.$ac_ext >&5
20061
20062 ac_cv_type_void_p=no
20063 fi
20064
20065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20066 fi
20067 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20068 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20069
20070 # The cast to long int works around a bug in the HP C Compiler
20071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20073 # This bug is HP SR number 8606223364.
20074 { echo "$as_me:$LINENO: checking size of void *" >&5
20075 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20076 if test "${ac_cv_sizeof_void_p+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 else
20079 if test "$cross_compiling" = yes; then
20080 # Depending upon the size, compute the lo and hi bounds.
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef void * ac__type_sizeof_;
20089 int
20090 main ()
20091 {
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20093 test_array [0] = 0
20094
20095 ;
20096 return 0;
20097 }
20098 _ACEOF
20099 rm -f conftest.$ac_objext
20100 if { (ac_try="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20104 esac
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20116 ac_lo=0 ac_mid=0
20117 while :; do
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef void * ac__type_sizeof_;
20126 int
20127 main ()
20128 {
20129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20130 test_array [0] = 0
20131
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20141 esac
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20144 ac_status=$?
20145 grep -v '^ *+' conftest.er1 >conftest.err
20146 rm -f conftest.er1
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20153 ac_hi=$ac_mid; break
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_lo=`expr $ac_mid + 1`
20159 if test $ac_lo -le $ac_mid; then
20160 ac_lo= ac_hi=
20161 break
20162 fi
20163 ac_mid=`expr 2 '*' $ac_mid + 1`
20164 fi
20165
20166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 done
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 $ac_includes_default
20179 typedef void * ac__type_sizeof_;
20180 int
20181 main ()
20182 {
20183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20184 test_array [0] = 0
20185
20186 ;
20187 return 0;
20188 }
20189 _ACEOF
20190 rm -f conftest.$ac_objext
20191 if { (ac_try="$ac_compile"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_compile") 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.$ac_objext; then
20207 ac_hi=-1 ac_mid=-1
20208 while :; do
20209 cat >conftest.$ac_ext <<_ACEOF
20210 /* confdefs.h. */
20211 _ACEOF
20212 cat confdefs.h >>conftest.$ac_ext
20213 cat >>conftest.$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215 $ac_includes_default
20216 typedef void * ac__type_sizeof_;
20217 int
20218 main ()
20219 {
20220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20221 test_array [0] = 0
20222
20223 ;
20224 return 0;
20225 }
20226 _ACEOF
20227 rm -f conftest.$ac_objext
20228 if { (ac_try="$ac_compile"
20229 case "(($ac_try" in
20230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20231 *) ac_try_echo=$ac_try;;
20232 esac
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_compile") 2>conftest.er1
20235 ac_status=$?
20236 grep -v '^ *+' conftest.er1 >conftest.err
20237 rm -f conftest.er1
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } && {
20241 test -z "$ac_c_werror_flag" ||
20242 test ! -s conftest.err
20243 } && test -s conftest.$ac_objext; then
20244 ac_lo=$ac_mid; break
20245 else
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20248
20249 ac_hi=`expr '(' $ac_mid ')' - 1`
20250 if test $ac_mid -le $ac_hi; then
20251 ac_lo= ac_hi=
20252 break
20253 fi
20254 ac_mid=`expr 2 '*' $ac_mid`
20255 fi
20256
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20258 done
20259 else
20260 echo "$as_me: failed program was:" >&5
20261 sed 's/^/| /' conftest.$ac_ext >&5
20262
20263 ac_lo= ac_hi=
20264 fi
20265
20266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 fi
20268
20269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20270 # Binary search between lo and hi bounds.
20271 while test "x$ac_lo" != "x$ac_hi"; do
20272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20273 cat >conftest.$ac_ext <<_ACEOF
20274 /* confdefs.h. */
20275 _ACEOF
20276 cat confdefs.h >>conftest.$ac_ext
20277 cat >>conftest.$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20279 $ac_includes_default
20280 typedef void * ac__type_sizeof_;
20281 int
20282 main ()
20283 {
20284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20285 test_array [0] = 0
20286
20287 ;
20288 return 0;
20289 }
20290 _ACEOF
20291 rm -f conftest.$ac_objext
20292 if { (ac_try="$ac_compile"
20293 case "(($ac_try" in
20294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20295 *) ac_try_echo=$ac_try;;
20296 esac
20297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20298 (eval "$ac_compile") 2>conftest.er1
20299 ac_status=$?
20300 grep -v '^ *+' conftest.er1 >conftest.err
20301 rm -f conftest.er1
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } && {
20305 test -z "$ac_c_werror_flag" ||
20306 test ! -s conftest.err
20307 } && test -s conftest.$ac_objext; then
20308 ac_hi=$ac_mid
20309 else
20310 echo "$as_me: failed program was:" >&5
20311 sed 's/^/| /' conftest.$ac_ext >&5
20312
20313 ac_lo=`expr '(' $ac_mid ')' + 1`
20314 fi
20315
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20317 done
20318 case $ac_lo in
20319 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20320 '') if test "$ac_cv_type_void_p" = yes; then
20321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20322 See \`config.log' for more details." >&5
20323 echo "$as_me: error: cannot compute sizeof (void *)
20324 See \`config.log' for more details." >&2;}
20325 { (exit 77); exit 77; }; }
20326 else
20327 ac_cv_sizeof_void_p=0
20328 fi ;;
20329 esac
20330 else
20331 cat >conftest.$ac_ext <<_ACEOF
20332 /* confdefs.h. */
20333 _ACEOF
20334 cat confdefs.h >>conftest.$ac_ext
20335 cat >>conftest.$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 $ac_includes_default
20338 typedef void * ac__type_sizeof_;
20339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20341 #include <stdio.h>
20342 #include <stdlib.h>
20343 int
20344 main ()
20345 {
20346
20347 FILE *f = fopen ("conftest.val", "w");
20348 if (! f)
20349 return 1;
20350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20351 {
20352 long int i = longval ();
20353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20354 return 1;
20355 fprintf (f, "%ld\n", i);
20356 }
20357 else
20358 {
20359 unsigned long int i = ulongval ();
20360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20361 return 1;
20362 fprintf (f, "%lu\n", i);
20363 }
20364 return ferror (f) || fclose (f) != 0;
20365
20366 ;
20367 return 0;
20368 }
20369 _ACEOF
20370 rm -f conftest$ac_exeext
20371 if { (ac_try="$ac_link"
20372 case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20375 esac
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_link") 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20381 { (case "(($ac_try" in
20382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20383 *) ac_try_echo=$ac_try;;
20384 esac
20385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20386 (eval "$ac_try") 2>&5
20387 ac_status=$?
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_cv_sizeof_void_p=`cat conftest.val`
20391 else
20392 echo "$as_me: program exited with status $ac_status" >&5
20393 echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20395
20396 ( exit $ac_status )
20397 if test "$ac_cv_type_void_p" = yes; then
20398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20399 See \`config.log' for more details." >&5
20400 echo "$as_me: error: cannot compute sizeof (void *)
20401 See \`config.log' for more details." >&2;}
20402 { (exit 77); exit 77; }; }
20403 else
20404 ac_cv_sizeof_void_p=0
20405 fi
20406 fi
20407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20408 fi
20409 rm -f conftest.val
20410 fi
20411 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20412 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20413
20414
20415
20416 cat >>confdefs.h <<_ACEOF
20417 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20418 _ACEOF
20419
20420
20421 { echo "$as_me:$LINENO: checking for int" >&5
20422 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20423 if test "${ac_cv_type_int+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20425 else
20426 cat >conftest.$ac_ext <<_ACEOF
20427 /* confdefs.h. */
20428 _ACEOF
20429 cat confdefs.h >>conftest.$ac_ext
20430 cat >>conftest.$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20433 typedef int ac__type_new_;
20434 int
20435 main ()
20436 {
20437 if ((ac__type_new_ *) 0)
20438 return 0;
20439 if (sizeof (ac__type_new_))
20440 return 0;
20441 ;
20442 return 0;
20443 }
20444 _ACEOF
20445 rm -f conftest.$ac_objext
20446 if { (ac_try="$ac_compile"
20447 case "(($ac_try" in
20448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20450 esac
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_compile") 2>conftest.er1
20453 ac_status=$?
20454 grep -v '^ *+' conftest.er1 >conftest.err
20455 rm -f conftest.er1
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } && {
20459 test -z "$ac_c_werror_flag" ||
20460 test ! -s conftest.err
20461 } && test -s conftest.$ac_objext; then
20462 ac_cv_type_int=yes
20463 else
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.$ac_ext >&5
20466
20467 ac_cv_type_int=no
20468 fi
20469
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 fi
20472 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20473 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20474
20475 # The cast to long int works around a bug in the HP C Compiler
20476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20478 # This bug is HP SR number 8606223364.
20479 { echo "$as_me:$LINENO: checking size of int" >&5
20480 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20481 if test "${ac_cv_sizeof_int+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20483 else
20484 if test "$cross_compiling" = yes; then
20485 # Depending upon the size, compute the lo and hi bounds.
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 typedef int ac__type_sizeof_;
20494 int
20495 main ()
20496 {
20497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20498 test_array [0] = 0
20499
20500 ;
20501 return 0;
20502 }
20503 _ACEOF
20504 rm -f conftest.$ac_objext
20505 if { (ac_try="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20509 esac
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20512 ac_status=$?
20513 grep -v '^ *+' conftest.er1 >conftest.err
20514 rm -f conftest.er1
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20521 ac_lo=0 ac_mid=0
20522 while :; do
20523 cat >conftest.$ac_ext <<_ACEOF
20524 /* confdefs.h. */
20525 _ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 typedef int ac__type_sizeof_;
20531 int
20532 main ()
20533 {
20534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20535 test_array [0] = 0
20536
20537 ;
20538 return 0;
20539 }
20540 _ACEOF
20541 rm -f conftest.$ac_objext
20542 if { (ac_try="$ac_compile"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20545 *) ac_try_echo=$ac_try;;
20546 esac
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_compile") 2>conftest.er1
20549 ac_status=$?
20550 grep -v '^ *+' conftest.er1 >conftest.err
20551 rm -f conftest.er1
20552 cat conftest.err >&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && {
20555 test -z "$ac_c_werror_flag" ||
20556 test ! -s conftest.err
20557 } && test -s conftest.$ac_objext; then
20558 ac_hi=$ac_mid; break
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 ac_lo=`expr $ac_mid + 1`
20564 if test $ac_lo -le $ac_mid; then
20565 ac_lo= ac_hi=
20566 break
20567 fi
20568 ac_mid=`expr 2 '*' $ac_mid + 1`
20569 fi
20570
20571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20572 done
20573 else
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20576
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef int ac__type_sizeof_;
20585 int
20586 main ()
20587 {
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20589 test_array [0] = 0
20590
20591 ;
20592 return 0;
20593 }
20594 _ACEOF
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20600 esac
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20603 ac_status=$?
20604 grep -v '^ *+' conftest.er1 >conftest.err
20605 rm -f conftest.er1
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20612 ac_hi=-1 ac_mid=-1
20613 while :; do
20614 cat >conftest.$ac_ext <<_ACEOF
20615 /* confdefs.h. */
20616 _ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 $ac_includes_default
20621 typedef int ac__type_sizeof_;
20622 int
20623 main ()
20624 {
20625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20626 test_array [0] = 0
20627
20628 ;
20629 return 0;
20630 }
20631 _ACEOF
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20637 esac
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20640 ac_status=$?
20641 grep -v '^ *+' conftest.er1 >conftest.err
20642 rm -f conftest.er1
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20649 ac_lo=$ac_mid; break
20650 else
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20653
20654 ac_hi=`expr '(' $ac_mid ')' - 1`
20655 if test $ac_mid -le $ac_hi; then
20656 ac_lo= ac_hi=
20657 break
20658 fi
20659 ac_mid=`expr 2 '*' $ac_mid`
20660 fi
20661
20662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20663 done
20664 else
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.$ac_ext >&5
20667
20668 ac_lo= ac_hi=
20669 fi
20670
20671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20672 fi
20673
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 # Binary search between lo and hi bounds.
20676 while test "x$ac_lo" != "x$ac_hi"; do
20677 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20678 cat >conftest.$ac_ext <<_ACEOF
20679 /* confdefs.h. */
20680 _ACEOF
20681 cat confdefs.h >>conftest.$ac_ext
20682 cat >>conftest.$ac_ext <<_ACEOF
20683 /* end confdefs.h. */
20684 $ac_includes_default
20685 typedef int ac__type_sizeof_;
20686 int
20687 main ()
20688 {
20689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20690 test_array [0] = 0
20691
20692 ;
20693 return 0;
20694 }
20695 _ACEOF
20696 rm -f conftest.$ac_objext
20697 if { (ac_try="$ac_compile"
20698 case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20701 esac
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_compile") 2>conftest.er1
20704 ac_status=$?
20705 grep -v '^ *+' conftest.er1 >conftest.err
20706 rm -f conftest.er1
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } && {
20710 test -z "$ac_c_werror_flag" ||
20711 test ! -s conftest.err
20712 } && test -s conftest.$ac_objext; then
20713 ac_hi=$ac_mid
20714 else
20715 echo "$as_me: failed program was:" >&5
20716 sed 's/^/| /' conftest.$ac_ext >&5
20717
20718 ac_lo=`expr '(' $ac_mid ')' + 1`
20719 fi
20720
20721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20722 done
20723 case $ac_lo in
20724 ?*) ac_cv_sizeof_int=$ac_lo;;
20725 '') if test "$ac_cv_type_int" = yes; then
20726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20727 See \`config.log' for more details." >&5
20728 echo "$as_me: error: cannot compute sizeof (int)
20729 See \`config.log' for more details." >&2;}
20730 { (exit 77); exit 77; }; }
20731 else
20732 ac_cv_sizeof_int=0
20733 fi ;;
20734 esac
20735 else
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef int ac__type_sizeof_;
20744 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20745 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20746 #include <stdio.h>
20747 #include <stdlib.h>
20748 int
20749 main ()
20750 {
20751
20752 FILE *f = fopen ("conftest.val", "w");
20753 if (! f)
20754 return 1;
20755 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20756 {
20757 long int i = longval ();
20758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20759 return 1;
20760 fprintf (f, "%ld\n", i);
20761 }
20762 else
20763 {
20764 unsigned long int i = ulongval ();
20765 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20766 return 1;
20767 fprintf (f, "%lu\n", i);
20768 }
20769 return ferror (f) || fclose (f) != 0;
20770
20771 ;
20772 return 0;
20773 }
20774 _ACEOF
20775 rm -f conftest$ac_exeext
20776 if { (ac_try="$ac_link"
20777 case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20780 esac
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_link") 2>&5
20783 ac_status=$?
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20786 { (case "(($ac_try" in
20787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20788 *) ac_try_echo=$ac_try;;
20789 esac
20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20791 (eval "$ac_try") 2>&5
20792 ac_status=$?
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); }; }; then
20795 ac_cv_sizeof_int=`cat conftest.val`
20796 else
20797 echo "$as_me: program exited with status $ac_status" >&5
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20800
20801 ( exit $ac_status )
20802 if test "$ac_cv_type_int" = yes; then
20803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20804 See \`config.log' for more details." >&5
20805 echo "$as_me: error: cannot compute sizeof (int)
20806 See \`config.log' for more details." >&2;}
20807 { (exit 77); exit 77; }; }
20808 else
20809 ac_cv_sizeof_int=0
20810 fi
20811 fi
20812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20813 fi
20814 rm -f conftest.val
20815 fi
20816 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20817 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20818
20819
20820
20821 cat >>confdefs.h <<_ACEOF
20822 #define SIZEOF_INT $ac_cv_sizeof_int
20823 _ACEOF
20824
20825
20826 { echo "$as_me:$LINENO: checking for long" >&5
20827 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20828 if test "${ac_cv_type_long+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20830 else
20831 cat >conftest.$ac_ext <<_ACEOF
20832 /* confdefs.h. */
20833 _ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 $ac_includes_default
20838 typedef long ac__type_new_;
20839 int
20840 main ()
20841 {
20842 if ((ac__type_new_ *) 0)
20843 return 0;
20844 if (sizeof (ac__type_new_))
20845 return 0;
20846 ;
20847 return 0;
20848 }
20849 _ACEOF
20850 rm -f conftest.$ac_objext
20851 if { (ac_try="$ac_compile"
20852 case "(($ac_try" in
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20855 esac
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_compile") 2>conftest.er1
20858 ac_status=$?
20859 grep -v '^ *+' conftest.er1 >conftest.err
20860 rm -f conftest.er1
20861 cat conftest.err >&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } && {
20864 test -z "$ac_c_werror_flag" ||
20865 test ! -s conftest.err
20866 } && test -s conftest.$ac_objext; then
20867 ac_cv_type_long=yes
20868 else
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20871
20872 ac_cv_type_long=no
20873 fi
20874
20875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20876 fi
20877 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20878 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20879
20880 # The cast to long int works around a bug in the HP C Compiler
20881 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20883 # This bug is HP SR number 8606223364.
20884 { echo "$as_me:$LINENO: checking size of long" >&5
20885 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20886 if test "${ac_cv_sizeof_long+set}" = set; then
20887 echo $ECHO_N "(cached) $ECHO_C" >&6
20888 else
20889 if test "$cross_compiling" = yes; then
20890 # Depending upon the size, compute the lo and hi bounds.
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef long ac__type_sizeof_;
20899 int
20900 main ()
20901 {
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20903 test_array [0] = 0
20904
20905 ;
20906 return 0;
20907 }
20908 _ACEOF
20909 rm -f conftest.$ac_objext
20910 if { (ac_try="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20914 esac
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20917 ac_status=$?
20918 grep -v '^ *+' conftest.er1 >conftest.err
20919 rm -f conftest.er1
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20926 ac_lo=0 ac_mid=0
20927 while :; do
20928 cat >conftest.$ac_ext <<_ACEOF
20929 /* confdefs.h. */
20930 _ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef long ac__type_sizeof_;
20936 int
20937 main ()
20938 {
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20940 test_array [0] = 0
20941
20942 ;
20943 return 0;
20944 }
20945 _ACEOF
20946 rm -f conftest.$ac_objext
20947 if { (ac_try="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20950 *) ac_try_echo=$ac_try;;
20951 esac
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20954 ac_status=$?
20955 grep -v '^ *+' conftest.er1 >conftest.err
20956 rm -f conftest.er1
20957 cat conftest.err >&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.$ac_objext; then
20963 ac_hi=$ac_mid; break
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 ac_lo=`expr $ac_mid + 1`
20969 if test $ac_lo -le $ac_mid; then
20970 ac_lo= ac_hi=
20971 break
20972 fi
20973 ac_mid=`expr 2 '*' $ac_mid + 1`
20974 fi
20975
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 done
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 cat >conftest.$ac_ext <<_ACEOF
20983 /* confdefs.h. */
20984 _ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20989 typedef long ac__type_sizeof_;
20990 int
20991 main ()
20992 {
20993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20994 test_array [0] = 0
20995
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21005 esac
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21008 ac_status=$?
21009 grep -v '^ *+' conftest.er1 >conftest.err
21010 rm -f conftest.er1
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21017 ac_hi=-1 ac_mid=-1
21018 while :; do
21019 cat >conftest.$ac_ext <<_ACEOF
21020 /* confdefs.h. */
21021 _ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 typedef long ac__type_sizeof_;
21027 int
21028 main ()
21029 {
21030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21031 test_array [0] = 0
21032
21033 ;
21034 return 0;
21035 }
21036 _ACEOF
21037 rm -f conftest.$ac_objext
21038 if { (ac_try="$ac_compile"
21039 case "(($ac_try" in
21040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21041 *) ac_try_echo=$ac_try;;
21042 esac
21043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21044 (eval "$ac_compile") 2>conftest.er1
21045 ac_status=$?
21046 grep -v '^ *+' conftest.er1 >conftest.err
21047 rm -f conftest.er1
21048 cat conftest.err >&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } && {
21051 test -z "$ac_c_werror_flag" ||
21052 test ! -s conftest.err
21053 } && test -s conftest.$ac_objext; then
21054 ac_lo=$ac_mid; break
21055 else
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.$ac_ext >&5
21058
21059 ac_hi=`expr '(' $ac_mid ')' - 1`
21060 if test $ac_mid -le $ac_hi; then
21061 ac_lo= ac_hi=
21062 break
21063 fi
21064 ac_mid=`expr 2 '*' $ac_mid`
21065 fi
21066
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 done
21069 else
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.$ac_ext >&5
21072
21073 ac_lo= ac_hi=
21074 fi
21075
21076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21077 fi
21078
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 # Binary search between lo and hi bounds.
21081 while test "x$ac_lo" != "x$ac_hi"; do
21082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21083 cat >conftest.$ac_ext <<_ACEOF
21084 /* confdefs.h. */
21085 _ACEOF
21086 cat confdefs.h >>conftest.$ac_ext
21087 cat >>conftest.$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 $ac_includes_default
21090 typedef long ac__type_sizeof_;
21091 int
21092 main ()
21093 {
21094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21095 test_array [0] = 0
21096
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21106 esac
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21109 ac_status=$?
21110 grep -v '^ *+' conftest.er1 >conftest.err
21111 rm -f conftest.er1
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && {
21115 test -z "$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21117 } && test -s conftest.$ac_objext; then
21118 ac_hi=$ac_mid
21119 else
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21122
21123 ac_lo=`expr '(' $ac_mid ')' + 1`
21124 fi
21125
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 done
21128 case $ac_lo in
21129 ?*) ac_cv_sizeof_long=$ac_lo;;
21130 '') if test "$ac_cv_type_long" = yes; then
21131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21132 See \`config.log' for more details." >&5
21133 echo "$as_me: error: cannot compute sizeof (long)
21134 See \`config.log' for more details." >&2;}
21135 { (exit 77); exit 77; }; }
21136 else
21137 ac_cv_sizeof_long=0
21138 fi ;;
21139 esac
21140 else
21141 cat >conftest.$ac_ext <<_ACEOF
21142 /* confdefs.h. */
21143 _ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21148 typedef long ac__type_sizeof_;
21149 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21150 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21151 #include <stdio.h>
21152 #include <stdlib.h>
21153 int
21154 main ()
21155 {
21156
21157 FILE *f = fopen ("conftest.val", "w");
21158 if (! f)
21159 return 1;
21160 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21161 {
21162 long int i = longval ();
21163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21164 return 1;
21165 fprintf (f, "%ld\n", i);
21166 }
21167 else
21168 {
21169 unsigned long int i = ulongval ();
21170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21171 return 1;
21172 fprintf (f, "%lu\n", i);
21173 }
21174 return ferror (f) || fclose (f) != 0;
21175
21176 ;
21177 return 0;
21178 }
21179 _ACEOF
21180 rm -f conftest$ac_exeext
21181 if { (ac_try="$ac_link"
21182 case "(($ac_try" in
21183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21184 *) ac_try_echo=$ac_try;;
21185 esac
21186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21187 (eval "$ac_link") 2>&5
21188 ac_status=$?
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21191 { (case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21194 esac
21195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_try") 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 ac_cv_sizeof_long=`cat conftest.val`
21201 else
21202 echo "$as_me: program exited with status $ac_status" >&5
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21205
21206 ( exit $ac_status )
21207 if test "$ac_cv_type_long" = yes; then
21208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21209 See \`config.log' for more details." >&5
21210 echo "$as_me: error: cannot compute sizeof (long)
21211 See \`config.log' for more details." >&2;}
21212 { (exit 77); exit 77; }; }
21213 else
21214 ac_cv_sizeof_long=0
21215 fi
21216 fi
21217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21218 fi
21219 rm -f conftest.val
21220 fi
21221 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21222 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21223
21224
21225
21226 cat >>confdefs.h <<_ACEOF
21227 #define SIZEOF_LONG $ac_cv_sizeof_long
21228 _ACEOF
21229
21230
21231 { echo "$as_me:$LINENO: checking for size_t" >&5
21232 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21233 if test "${ac_cv_type_size_t+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21235 else
21236 cat >conftest.$ac_ext <<_ACEOF
21237 /* confdefs.h. */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 $ac_includes_default
21243 typedef size_t ac__type_new_;
21244 int
21245 main ()
21246 {
21247 if ((ac__type_new_ *) 0)
21248 return 0;
21249 if (sizeof (ac__type_new_))
21250 return 0;
21251 ;
21252 return 0;
21253 }
21254 _ACEOF
21255 rm -f conftest.$ac_objext
21256 if { (ac_try="$ac_compile"
21257 case "(($ac_try" in
21258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21260 esac
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_compile") 2>conftest.er1
21263 ac_status=$?
21264 grep -v '^ *+' conftest.er1 >conftest.err
21265 rm -f conftest.er1
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } && {
21269 test -z "$ac_c_werror_flag" ||
21270 test ! -s conftest.err
21271 } && test -s conftest.$ac_objext; then
21272 ac_cv_type_size_t=yes
21273 else
21274 echo "$as_me: failed program was:" >&5
21275 sed 's/^/| /' conftest.$ac_ext >&5
21276
21277 ac_cv_type_size_t=no
21278 fi
21279
21280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21281 fi
21282 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21283 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21284
21285 # The cast to long int works around a bug in the HP C Compiler
21286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21288 # This bug is HP SR number 8606223364.
21289 { echo "$as_me:$LINENO: checking size of size_t" >&5
21290 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21291 if test "${ac_cv_sizeof_size_t+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 else
21294 if test "$cross_compiling" = yes; then
21295 # Depending upon the size, compute the lo and hi bounds.
21296 cat >conftest.$ac_ext <<_ACEOF
21297 /* confdefs.h. */
21298 _ACEOF
21299 cat confdefs.h >>conftest.$ac_ext
21300 cat >>conftest.$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21302 $ac_includes_default
21303 typedef size_t ac__type_sizeof_;
21304 int
21305 main ()
21306 {
21307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21308 test_array [0] = 0
21309
21310 ;
21311 return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21319 esac
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_lo=0 ac_mid=0
21332 while :; do
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h. */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 $ac_includes_default
21340 typedef size_t ac__type_sizeof_;
21341 int
21342 main ()
21343 {
21344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21345 test_array [0] = 0
21346
21347 ;
21348 return 0;
21349 }
21350 _ACEOF
21351 rm -f conftest.$ac_objext
21352 if { (ac_try="$ac_compile"
21353 case "(($ac_try" in
21354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21355 *) ac_try_echo=$ac_try;;
21356 esac
21357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21358 (eval "$ac_compile") 2>conftest.er1
21359 ac_status=$?
21360 grep -v '^ *+' conftest.er1 >conftest.err
21361 rm -f conftest.er1
21362 cat conftest.err >&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } && {
21365 test -z "$ac_c_werror_flag" ||
21366 test ! -s conftest.err
21367 } && test -s conftest.$ac_objext; then
21368 ac_hi=$ac_mid; break
21369 else
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21372
21373 ac_lo=`expr $ac_mid + 1`
21374 if test $ac_lo -le $ac_mid; then
21375 ac_lo= ac_hi=
21376 break
21377 fi
21378 ac_mid=`expr 2 '*' $ac_mid + 1`
21379 fi
21380
21381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21382 done
21383 else
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21386
21387 cat >conftest.$ac_ext <<_ACEOF
21388 /* confdefs.h. */
21389 _ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 $ac_includes_default
21394 typedef size_t ac__type_sizeof_;
21395 int
21396 main ()
21397 {
21398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21399 test_array [0] = 0
21400
21401 ;
21402 return 0;
21403 }
21404 _ACEOF
21405 rm -f conftest.$ac_objext
21406 if { (ac_try="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21410 esac
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21413 ac_status=$?
21414 grep -v '^ *+' conftest.er1 >conftest.err
21415 rm -f conftest.er1
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21422 ac_hi=-1 ac_mid=-1
21423 while :; do
21424 cat >conftest.$ac_ext <<_ACEOF
21425 /* confdefs.h. */
21426 _ACEOF
21427 cat confdefs.h >>conftest.$ac_ext
21428 cat >>conftest.$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 $ac_includes_default
21431 typedef size_t ac__type_sizeof_;
21432 int
21433 main ()
21434 {
21435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21436 test_array [0] = 0
21437
21438 ;
21439 return 0;
21440 }
21441 _ACEOF
21442 rm -f conftest.$ac_objext
21443 if { (ac_try="$ac_compile"
21444 case "(($ac_try" in
21445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21446 *) ac_try_echo=$ac_try;;
21447 esac
21448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21449 (eval "$ac_compile") 2>conftest.er1
21450 ac_status=$?
21451 grep -v '^ *+' conftest.er1 >conftest.err
21452 rm -f conftest.er1
21453 cat conftest.err >&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); } && {
21456 test -z "$ac_c_werror_flag" ||
21457 test ! -s conftest.err
21458 } && test -s conftest.$ac_objext; then
21459 ac_lo=$ac_mid; break
21460 else
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.$ac_ext >&5
21463
21464 ac_hi=`expr '(' $ac_mid ')' - 1`
21465 if test $ac_mid -le $ac_hi; then
21466 ac_lo= ac_hi=
21467 break
21468 fi
21469 ac_mid=`expr 2 '*' $ac_mid`
21470 fi
21471
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21473 done
21474 else
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21477
21478 ac_lo= ac_hi=
21479 fi
21480
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 fi
21483
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 # Binary search between lo and hi bounds.
21486 while test "x$ac_lo" != "x$ac_hi"; do
21487 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21488 cat >conftest.$ac_ext <<_ACEOF
21489 /* confdefs.h. */
21490 _ACEOF
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 $ac_includes_default
21495 typedef size_t ac__type_sizeof_;
21496 int
21497 main ()
21498 {
21499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21500 test_array [0] = 0
21501
21502 ;
21503 return 0;
21504 }
21505 _ACEOF
21506 rm -f conftest.$ac_objext
21507 if { (ac_try="$ac_compile"
21508 case "(($ac_try" in
21509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21510 *) ac_try_echo=$ac_try;;
21511 esac
21512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21513 (eval "$ac_compile") 2>conftest.er1
21514 ac_status=$?
21515 grep -v '^ *+' conftest.er1 >conftest.err
21516 rm -f conftest.er1
21517 cat conftest.err >&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); } && {
21520 test -z "$ac_c_werror_flag" ||
21521 test ! -s conftest.err
21522 } && test -s conftest.$ac_objext; then
21523 ac_hi=$ac_mid
21524 else
21525 echo "$as_me: failed program was:" >&5
21526 sed 's/^/| /' conftest.$ac_ext >&5
21527
21528 ac_lo=`expr '(' $ac_mid ')' + 1`
21529 fi
21530
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 done
21533 case $ac_lo in
21534 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21535 '') if test "$ac_cv_type_size_t" = yes; then
21536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21537 See \`config.log' for more details." >&5
21538 echo "$as_me: error: cannot compute sizeof (size_t)
21539 See \`config.log' for more details." >&2;}
21540 { (exit 77); exit 77; }; }
21541 else
21542 ac_cv_sizeof_size_t=0
21543 fi ;;
21544 esac
21545 else
21546 cat >conftest.$ac_ext <<_ACEOF
21547 /* confdefs.h. */
21548 _ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21553 typedef size_t ac__type_sizeof_;
21554 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21555 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21556 #include <stdio.h>
21557 #include <stdlib.h>
21558 int
21559 main ()
21560 {
21561
21562 FILE *f = fopen ("conftest.val", "w");
21563 if (! f)
21564 return 1;
21565 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21566 {
21567 long int i = longval ();
21568 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21569 return 1;
21570 fprintf (f, "%ld\n", i);
21571 }
21572 else
21573 {
21574 unsigned long int i = ulongval ();
21575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21576 return 1;
21577 fprintf (f, "%lu\n", i);
21578 }
21579 return ferror (f) || fclose (f) != 0;
21580
21581 ;
21582 return 0;
21583 }
21584 _ACEOF
21585 rm -f conftest$ac_exeext
21586 if { (ac_try="$ac_link"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21590 esac
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_link") 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21596 { (case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21599 esac
21600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21601 (eval "$ac_try") 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_cv_sizeof_size_t=`cat conftest.val`
21606 else
21607 echo "$as_me: program exited with status $ac_status" >&5
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.$ac_ext >&5
21610
21611 ( exit $ac_status )
21612 if test "$ac_cv_type_size_t" = yes; then
21613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21614 See \`config.log' for more details." >&5
21615 echo "$as_me: error: cannot compute sizeof (size_t)
21616 See \`config.log' for more details." >&2;}
21617 { (exit 77); exit 77; }; }
21618 else
21619 ac_cv_sizeof_size_t=0
21620 fi
21621 fi
21622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21623 fi
21624 rm -f conftest.val
21625 fi
21626 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21627 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21628
21629
21630
21631 cat >>confdefs.h <<_ACEOF
21632 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21633 _ACEOF
21634
21635
21636
21637 case "${host}" in
21638 arm-*-linux* )
21639 { echo "$as_me:$LINENO: checking for long long" >&5
21640 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21641 if test "${ac_cv_type_long_long+set}" = set; then
21642 echo $ECHO_N "(cached) $ECHO_C" >&6
21643 else
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 $ac_includes_default
21651 typedef long long ac__type_new_;
21652 int
21653 main ()
21654 {
21655 if ((ac__type_new_ *) 0)
21656 return 0;
21657 if (sizeof (ac__type_new_))
21658 return 0;
21659 ;
21660 return 0;
21661 }
21662 _ACEOF
21663 rm -f conftest.$ac_objext
21664 if { (ac_try="$ac_compile"
21665 case "(($ac_try" in
21666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21667 *) ac_try_echo=$ac_try;;
21668 esac
21669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21670 (eval "$ac_compile") 2>conftest.er1
21671 ac_status=$?
21672 grep -v '^ *+' conftest.er1 >conftest.err
21673 rm -f conftest.er1
21674 cat conftest.err >&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); } && {
21677 test -z "$ac_c_werror_flag" ||
21678 test ! -s conftest.err
21679 } && test -s conftest.$ac_objext; then
21680 ac_cv_type_long_long=yes
21681 else
21682 echo "$as_me: failed program was:" >&5
21683 sed 's/^/| /' conftest.$ac_ext >&5
21684
21685 ac_cv_type_long_long=no
21686 fi
21687
21688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21689 fi
21690 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21691 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21692
21693 # The cast to long int works around a bug in the HP C Compiler
21694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21696 # This bug is HP SR number 8606223364.
21697 { echo "$as_me:$LINENO: checking size of long long" >&5
21698 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21699 if test "${ac_cv_sizeof_long_long+set}" = set; then
21700 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 else
21702 if test "$cross_compiling" = yes; then
21703 # Depending upon the size, compute the lo and hi bounds.
21704 cat >conftest.$ac_ext <<_ACEOF
21705 /* confdefs.h. */
21706 _ACEOF
21707 cat confdefs.h >>conftest.$ac_ext
21708 cat >>conftest.$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 $ac_includes_default
21711 typedef long long ac__type_sizeof_;
21712 int
21713 main ()
21714 {
21715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21716 test_array [0] = 0
21717
21718 ;
21719 return 0;
21720 }
21721 _ACEOF
21722 rm -f conftest.$ac_objext
21723 if { (ac_try="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21727 esac
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && {
21736 test -z "$ac_c_werror_flag" ||
21737 test ! -s conftest.err
21738 } && test -s conftest.$ac_objext; then
21739 ac_lo=0 ac_mid=0
21740 while :; do
21741 cat >conftest.$ac_ext <<_ACEOF
21742 /* confdefs.h. */
21743 _ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 $ac_includes_default
21748 typedef long long ac__type_sizeof_;
21749 int
21750 main ()
21751 {
21752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21753 test_array [0] = 0
21754
21755 ;
21756 return 0;
21757 }
21758 _ACEOF
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21764 esac
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21776 ac_hi=$ac_mid; break
21777 else
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21780
21781 ac_lo=`expr $ac_mid + 1`
21782 if test $ac_lo -le $ac_mid; then
21783 ac_lo= ac_hi=
21784 break
21785 fi
21786 ac_mid=`expr 2 '*' $ac_mid + 1`
21787 fi
21788
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 done
21791 else
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21794
21795 cat >conftest.$ac_ext <<_ACEOF
21796 /* confdefs.h. */
21797 _ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 $ac_includes_default
21802 typedef long long ac__type_sizeof_;
21803 int
21804 main ()
21805 {
21806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21807 test_array [0] = 0
21808
21809 ;
21810 return 0;
21811 }
21812 _ACEOF
21813 rm -f conftest.$ac_objext
21814 if { (ac_try="$ac_compile"
21815 case "(($ac_try" in
21816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21817 *) ac_try_echo=$ac_try;;
21818 esac
21819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21820 (eval "$ac_compile") 2>conftest.er1
21821 ac_status=$?
21822 grep -v '^ *+' conftest.er1 >conftest.err
21823 rm -f conftest.er1
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } && {
21827 test -z "$ac_c_werror_flag" ||
21828 test ! -s conftest.err
21829 } && test -s conftest.$ac_objext; then
21830 ac_hi=-1 ac_mid=-1
21831 while :; do
21832 cat >conftest.$ac_ext <<_ACEOF
21833 /* confdefs.h. */
21834 _ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 $ac_includes_default
21839 typedef long long ac__type_sizeof_;
21840 int
21841 main ()
21842 {
21843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21844 test_array [0] = 0
21845
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 rm -f conftest.$ac_objext
21851 if { (ac_try="$ac_compile"
21852 case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21854 *) ac_try_echo=$ac_try;;
21855 esac
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_compile") 2>conftest.er1
21858 ac_status=$?
21859 grep -v '^ *+' conftest.er1 >conftest.err
21860 rm -f conftest.er1
21861 cat conftest.err >&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && {
21864 test -z "$ac_c_werror_flag" ||
21865 test ! -s conftest.err
21866 } && test -s conftest.$ac_objext; then
21867 ac_lo=$ac_mid; break
21868 else
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.$ac_ext >&5
21871
21872 ac_hi=`expr '(' $ac_mid ')' - 1`
21873 if test $ac_mid -le $ac_hi; then
21874 ac_lo= ac_hi=
21875 break
21876 fi
21877 ac_mid=`expr 2 '*' $ac_mid`
21878 fi
21879
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881 done
21882 else
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.$ac_ext >&5
21885
21886 ac_lo= ac_hi=
21887 fi
21888
21889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21890 fi
21891
21892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21893 # Binary search between lo and hi bounds.
21894 while test "x$ac_lo" != "x$ac_hi"; do
21895 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21896 cat >conftest.$ac_ext <<_ACEOF
21897 /* confdefs.h. */
21898 _ACEOF
21899 cat confdefs.h >>conftest.$ac_ext
21900 cat >>conftest.$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21902 $ac_includes_default
21903 typedef long long ac__type_sizeof_;
21904 int
21905 main ()
21906 {
21907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21908 test_array [0] = 0
21909
21910 ;
21911 return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest.$ac_objext
21915 if { (ac_try="$ac_compile"
21916 case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21919 esac
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compile") 2>conftest.er1
21922 ac_status=$?
21923 grep -v '^ *+' conftest.er1 >conftest.err
21924 rm -f conftest.er1
21925 cat conftest.err >&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } && {
21928 test -z "$ac_c_werror_flag" ||
21929 test ! -s conftest.err
21930 } && test -s conftest.$ac_objext; then
21931 ac_hi=$ac_mid
21932 else
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21935
21936 ac_lo=`expr '(' $ac_mid ')' + 1`
21937 fi
21938
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940 done
21941 case $ac_lo in
21942 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21943 '') if test "$ac_cv_type_long_long" = yes; then
21944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21945 See \`config.log' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long long)
21947 See \`config.log' for more details." >&2;}
21948 { (exit 77); exit 77; }; }
21949 else
21950 ac_cv_sizeof_long_long=0
21951 fi ;;
21952 esac
21953 else
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21962 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21963 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21964 #include <stdio.h>
21965 #include <stdlib.h>
21966 int
21967 main ()
21968 {
21969
21970 FILE *f = fopen ("conftest.val", "w");
21971 if (! f)
21972 return 1;
21973 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21974 {
21975 long int i = longval ();
21976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21977 return 1;
21978 fprintf (f, "%ld\n", i);
21979 }
21980 else
21981 {
21982 unsigned long int i = ulongval ();
21983 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21984 return 1;
21985 fprintf (f, "%lu\n", i);
21986 }
21987 return ferror (f) || fclose (f) != 0;
21988
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest$ac_exeext
21994 if { (ac_try="$ac_link"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21998 esac
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_link") 2>&5
22001 ac_status=$?
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22004 { (case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22007 esac
22008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_try") 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_sizeof_long_long=`cat conftest.val`
22014 else
22015 echo "$as_me: program exited with status $ac_status" >&5
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22018
22019 ( exit $ac_status )
22020 if test "$ac_cv_type_long_long" = yes; then
22021 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22022 See \`config.log' for more details." >&5
22023 echo "$as_me: error: cannot compute sizeof (long long)
22024 See \`config.log' for more details." >&2;}
22025 { (exit 77); exit 77; }; }
22026 else
22027 ac_cv_sizeof_long_long=0
22028 fi
22029 fi
22030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22031 fi
22032 rm -f conftest.val
22033 fi
22034 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22035 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22036
22037
22038
22039 cat >>confdefs.h <<_ACEOF
22040 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22041 _ACEOF
22042
22043
22044 ;;
22045 *-hp-hpux* )
22046 { echo "$as_me:$LINENO: checking for long long" >&5
22047 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22048 if test "${ac_cv_type_long_long+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 else
22051 cat >conftest.$ac_ext <<_ACEOF
22052 /* confdefs.h. */
22053 _ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef long long ac__type_new_;
22059 int
22060 main ()
22061 {
22062 if ((ac__type_new_ *) 0)
22063 return 0;
22064 if (sizeof (ac__type_new_))
22065 return 0;
22066 ;
22067 return 0;
22068 }
22069 _ACEOF
22070 rm -f conftest.$ac_objext
22071 if { (ac_try="$ac_compile"
22072 case "(($ac_try" in
22073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22075 esac
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_compile") 2>conftest.er1
22078 ac_status=$?
22079 grep -v '^ *+' conftest.er1 >conftest.err
22080 rm -f conftest.er1
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } && {
22084 test -z "$ac_c_werror_flag" ||
22085 test ! -s conftest.err
22086 } && test -s conftest.$ac_objext; then
22087 ac_cv_type_long_long=yes
22088 else
22089 echo "$as_me: failed program was:" >&5
22090 sed 's/^/| /' conftest.$ac_ext >&5
22091
22092 ac_cv_type_long_long=no
22093 fi
22094
22095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22096 fi
22097 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22098 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22099
22100 # The cast to long int works around a bug in the HP C Compiler
22101 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22103 # This bug is HP SR number 8606223364.
22104 { echo "$as_me:$LINENO: checking size of long long" >&5
22105 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22106 if test "${ac_cv_sizeof_long_long+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 else
22109 if test "$cross_compiling" = yes; then
22110 # Depending upon the size, compute the lo and hi bounds.
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 $ac_includes_default
22118 typedef long long ac__type_sizeof_;
22119 int
22120 main ()
22121 {
22122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22123 test_array [0] = 0
22124
22125 ;
22126 return 0;
22127 }
22128 _ACEOF
22129 rm -f conftest.$ac_objext
22130 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22137 ac_status=$?
22138 grep -v '^ *+' conftest.er1 >conftest.err
22139 rm -f conftest.er1
22140 cat conftest.err >&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); } && {
22143 test -z "$ac_c_werror_flag" ||
22144 test ! -s conftest.err
22145 } && test -s conftest.$ac_objext; then
22146 ac_lo=0 ac_mid=0
22147 while :; do
22148 cat >conftest.$ac_ext <<_ACEOF
22149 /* confdefs.h. */
22150 _ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 $ac_includes_default
22155 typedef long long ac__type_sizeof_;
22156 int
22157 main ()
22158 {
22159 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22160 test_array [0] = 0
22161
22162 ;
22163 return 0;
22164 }
22165 _ACEOF
22166 rm -f conftest.$ac_objext
22167 if { (ac_try="$ac_compile"
22168 case "(($ac_try" in
22169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22170 *) ac_try_echo=$ac_try;;
22171 esac
22172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22173 (eval "$ac_compile") 2>conftest.er1
22174 ac_status=$?
22175 grep -v '^ *+' conftest.er1 >conftest.err
22176 rm -f conftest.er1
22177 cat conftest.err >&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } && {
22180 test -z "$ac_c_werror_flag" ||
22181 test ! -s conftest.err
22182 } && test -s conftest.$ac_objext; then
22183 ac_hi=$ac_mid; break
22184 else
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22187
22188 ac_lo=`expr $ac_mid + 1`
22189 if test $ac_lo -le $ac_mid; then
22190 ac_lo= ac_hi=
22191 break
22192 fi
22193 ac_mid=`expr 2 '*' $ac_mid + 1`
22194 fi
22195
22196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22197 done
22198 else
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22201
22202 cat >conftest.$ac_ext <<_ACEOF
22203 /* confdefs.h. */
22204 _ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22209 typedef long long ac__type_sizeof_;
22210 int
22211 main ()
22212 {
22213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22214 test_array [0] = 0
22215
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest.$ac_objext
22221 if { (ac_try="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_compile") 2>conftest.er1
22228 ac_status=$?
22229 grep -v '^ *+' conftest.er1 >conftest.err
22230 rm -f conftest.er1
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && {
22234 test -z "$ac_c_werror_flag" ||
22235 test ! -s conftest.err
22236 } && test -s conftest.$ac_objext; then
22237 ac_hi=-1 ac_mid=-1
22238 while :; do
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_))) >= $ac_mid)];
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=$ac_mid; break
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_hi=`expr '(' $ac_mid ')' - 1`
22280 if test $ac_mid -le $ac_hi; then
22281 ac_lo= ac_hi=
22282 break
22283 fi
22284 ac_mid=`expr 2 '*' $ac_mid`
22285 fi
22286
22287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22288 done
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 ac_lo= ac_hi=
22294 fi
22295
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 fi
22298
22299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22300 # Binary search between lo and hi bounds.
22301 while test "x$ac_lo" != "x$ac_hi"; do
22302 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22303 cat >conftest.$ac_ext <<_ACEOF
22304 /* confdefs.h. */
22305 _ACEOF
22306 cat confdefs.h >>conftest.$ac_ext
22307 cat >>conftest.$ac_ext <<_ACEOF
22308 /* end confdefs.h. */
22309 $ac_includes_default
22310 typedef long long ac__type_sizeof_;
22311 int
22312 main ()
22313 {
22314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22315 test_array [0] = 0
22316
22317 ;
22318 return 0;
22319 }
22320 _ACEOF
22321 rm -f conftest.$ac_objext
22322 if { (ac_try="$ac_compile"
22323 case "(($ac_try" in
22324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22325 *) ac_try_echo=$ac_try;;
22326 esac
22327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22328 (eval "$ac_compile") 2>conftest.er1
22329 ac_status=$?
22330 grep -v '^ *+' conftest.er1 >conftest.err
22331 rm -f conftest.er1
22332 cat conftest.err >&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } && {
22335 test -z "$ac_c_werror_flag" ||
22336 test ! -s conftest.err
22337 } && test -s conftest.$ac_objext; then
22338 ac_hi=$ac_mid
22339 else
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22342
22343 ac_lo=`expr '(' $ac_mid ')' + 1`
22344 fi
22345
22346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347 done
22348 case $ac_lo in
22349 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22350 '') if test "$ac_cv_type_long_long" = yes; then
22351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22352 See \`config.log' for more details." >&5
22353 echo "$as_me: error: cannot compute sizeof (long long)
22354 See \`config.log' for more details." >&2;}
22355 { (exit 77); exit 77; }; }
22356 else
22357 ac_cv_sizeof_long_long=0
22358 fi ;;
22359 esac
22360 else
22361 cat >conftest.$ac_ext <<_ACEOF
22362 /* confdefs.h. */
22363 _ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367 $ac_includes_default
22368 typedef long long ac__type_sizeof_;
22369 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22370 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22371 #include <stdio.h>
22372 #include <stdlib.h>
22373 int
22374 main ()
22375 {
22376
22377 FILE *f = fopen ("conftest.val", "w");
22378 if (! f)
22379 return 1;
22380 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22381 {
22382 long int i = longval ();
22383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22384 return 1;
22385 fprintf (f, "%ld\n", i);
22386 }
22387 else
22388 {
22389 unsigned long int i = ulongval ();
22390 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22391 return 1;
22392 fprintf (f, "%lu\n", i);
22393 }
22394 return ferror (f) || fclose (f) != 0;
22395
22396 ;
22397 return 0;
22398 }
22399 _ACEOF
22400 rm -f conftest$ac_exeext
22401 if { (ac_try="$ac_link"
22402 case "(($ac_try" in
22403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22404 *) ac_try_echo=$ac_try;;
22405 esac
22406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22407 (eval "$ac_link") 2>&5
22408 ac_status=$?
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22411 { (case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22414 esac
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_try") 2>&5
22417 ac_status=$?
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; }; then
22420 ac_cv_sizeof_long_long=`cat conftest.val`
22421 else
22422 echo "$as_me: program exited with status $ac_status" >&5
22423 echo "$as_me: failed program was:" >&5
22424 sed 's/^/| /' conftest.$ac_ext >&5
22425
22426 ( exit $ac_status )
22427 if test "$ac_cv_type_long_long" = yes; then
22428 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22429 See \`config.log' for more details." >&5
22430 echo "$as_me: error: cannot compute sizeof (long long)
22431 See \`config.log' for more details." >&2;}
22432 { (exit 77); exit 77; }; }
22433 else
22434 ac_cv_sizeof_long_long=0
22435 fi
22436 fi
22437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22438 fi
22439 rm -f conftest.val
22440 fi
22441 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22442 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22443
22444
22445
22446 cat >>confdefs.h <<_ACEOF
22447 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22448 _ACEOF
22449
22450
22451 if test "$ac_cv_sizeof_long_long" != 0; then
22452 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22453 fi
22454 ;;
22455 * )
22456 { echo "$as_me:$LINENO: checking for long long" >&5
22457 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22458 if test "${ac_cv_type_long_long+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22460 else
22461 cat >conftest.$ac_ext <<_ACEOF
22462 /* confdefs.h. */
22463 _ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 $ac_includes_default
22468 typedef long long ac__type_new_;
22469 int
22470 main ()
22471 {
22472 if ((ac__type_new_ *) 0)
22473 return 0;
22474 if (sizeof (ac__type_new_))
22475 return 0;
22476 ;
22477 return 0;
22478 }
22479 _ACEOF
22480 rm -f conftest.$ac_objext
22481 if { (ac_try="$ac_compile"
22482 case "(($ac_try" in
22483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;;
22485 esac
22486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22487 (eval "$ac_compile") 2>conftest.er1
22488 ac_status=$?
22489 grep -v '^ *+' conftest.er1 >conftest.err
22490 rm -f conftest.er1
22491 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } && {
22494 test -z "$ac_c_werror_flag" ||
22495 test ! -s conftest.err
22496 } && test -s conftest.$ac_objext; then
22497 ac_cv_type_long_long=yes
22498 else
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22501
22502 ac_cv_type_long_long=no
22503 fi
22504
22505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22506 fi
22507 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22508 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22509
22510 # The cast to long int works around a bug in the HP C Compiler
22511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22513 # This bug is HP SR number 8606223364.
22514 { echo "$as_me:$LINENO: checking size of long long" >&5
22515 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22516 if test "${ac_cv_sizeof_long_long+set}" = set; then
22517 echo $ECHO_N "(cached) $ECHO_C" >&6
22518 else
22519 if test "$cross_compiling" = yes; then
22520 # Depending upon the size, compute the lo and hi bounds.
22521 cat >conftest.$ac_ext <<_ACEOF
22522 /* confdefs.h. */
22523 _ACEOF
22524 cat confdefs.h >>conftest.$ac_ext
22525 cat >>conftest.$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22527 $ac_includes_default
22528 typedef long long ac__type_sizeof_;
22529 int
22530 main ()
22531 {
22532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22533 test_array [0] = 0
22534
22535 ;
22536 return 0;
22537 }
22538 _ACEOF
22539 rm -f conftest.$ac_objext
22540 if { (ac_try="$ac_compile"
22541 case "(($ac_try" in
22542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22543 *) ac_try_echo=$ac_try;;
22544 esac
22545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546 (eval "$ac_compile") 2>conftest.er1
22547 ac_status=$?
22548 grep -v '^ *+' conftest.er1 >conftest.err
22549 rm -f conftest.er1
22550 cat conftest.err >&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } && {
22553 test -z "$ac_c_werror_flag" ||
22554 test ! -s conftest.err
22555 } && test -s conftest.$ac_objext; then
22556 ac_lo=0 ac_mid=0
22557 while :; do
22558 cat >conftest.$ac_ext <<_ACEOF
22559 /* confdefs.h. */
22560 _ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564 $ac_includes_default
22565 typedef long long ac__type_sizeof_;
22566 int
22567 main ()
22568 {
22569 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22570 test_array [0] = 0
22571
22572 ;
22573 return 0;
22574 }
22575 _ACEOF
22576 rm -f conftest.$ac_objext
22577 if { (ac_try="$ac_compile"
22578 case "(($ac_try" in
22579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22580 *) ac_try_echo=$ac_try;;
22581 esac
22582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_compile") 2>conftest.er1
22584 ac_status=$?
22585 grep -v '^ *+' conftest.er1 >conftest.err
22586 rm -f conftest.er1
22587 cat conftest.err >&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } && {
22590 test -z "$ac_c_werror_flag" ||
22591 test ! -s conftest.err
22592 } && test -s conftest.$ac_objext; then
22593 ac_hi=$ac_mid; break
22594 else
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22597
22598 ac_lo=`expr $ac_mid + 1`
22599 if test $ac_lo -le $ac_mid; then
22600 ac_lo= ac_hi=
22601 break
22602 fi
22603 ac_mid=`expr 2 '*' $ac_mid + 1`
22604 fi
22605
22606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 done
22608 else
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5
22611
22612 cat >conftest.$ac_ext <<_ACEOF
22613 /* confdefs.h. */
22614 _ACEOF
22615 cat confdefs.h >>conftest.$ac_ext
22616 cat >>conftest.$ac_ext <<_ACEOF
22617 /* end confdefs.h. */
22618 $ac_includes_default
22619 typedef long long ac__type_sizeof_;
22620 int
22621 main ()
22622 {
22623 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22624 test_array [0] = 0
22625
22626 ;
22627 return 0;
22628 }
22629 _ACEOF
22630 rm -f conftest.$ac_objext
22631 if { (ac_try="$ac_compile"
22632 case "(($ac_try" in
22633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22634 *) ac_try_echo=$ac_try;;
22635 esac
22636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22637 (eval "$ac_compile") 2>conftest.er1
22638 ac_status=$?
22639 grep -v '^ *+' conftest.er1 >conftest.err
22640 rm -f conftest.er1
22641 cat conftest.err >&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } && {
22644 test -z "$ac_c_werror_flag" ||
22645 test ! -s conftest.err
22646 } && test -s conftest.$ac_objext; then
22647 ac_hi=-1 ac_mid=-1
22648 while :; do
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h. */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655 $ac_includes_default
22656 typedef long long ac__type_sizeof_;
22657 int
22658 main ()
22659 {
22660 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22661 test_array [0] = 0
22662
22663 ;
22664 return 0;
22665 }
22666 _ACEOF
22667 rm -f conftest.$ac_objext
22668 if { (ac_try="$ac_compile"
22669 case "(($ac_try" in
22670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22672 esac
22673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_compile") 2>conftest.er1
22675 ac_status=$?
22676 grep -v '^ *+' conftest.er1 >conftest.err
22677 rm -f conftest.er1
22678 cat conftest.err >&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } && {
22681 test -z "$ac_c_werror_flag" ||
22682 test ! -s conftest.err
22683 } && test -s conftest.$ac_objext; then
22684 ac_lo=$ac_mid; break
22685 else
22686 echo "$as_me: failed program was:" >&5
22687 sed 's/^/| /' conftest.$ac_ext >&5
22688
22689 ac_hi=`expr '(' $ac_mid ')' - 1`
22690 if test $ac_mid -le $ac_hi; then
22691 ac_lo= ac_hi=
22692 break
22693 fi
22694 ac_mid=`expr 2 '*' $ac_mid`
22695 fi
22696
22697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22698 done
22699 else
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22702
22703 ac_lo= ac_hi=
22704 fi
22705
22706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22707 fi
22708
22709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22710 # Binary search between lo and hi bounds.
22711 while test "x$ac_lo" != "x$ac_hi"; do
22712 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22713 cat >conftest.$ac_ext <<_ACEOF
22714 /* confdefs.h. */
22715 _ACEOF
22716 cat confdefs.h >>conftest.$ac_ext
22717 cat >>conftest.$ac_ext <<_ACEOF
22718 /* end confdefs.h. */
22719 $ac_includes_default
22720 typedef long long ac__type_sizeof_;
22721 int
22722 main ()
22723 {
22724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22725 test_array [0] = 0
22726
22727 ;
22728 return 0;
22729 }
22730 _ACEOF
22731 rm -f conftest.$ac_objext
22732 if { (ac_try="$ac_compile"
22733 case "(($ac_try" in
22734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22736 esac
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_compile") 2>conftest.er1
22739 ac_status=$?
22740 grep -v '^ *+' conftest.er1 >conftest.err
22741 rm -f conftest.er1
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } && {
22745 test -z "$ac_c_werror_flag" ||
22746 test ! -s conftest.err
22747 } && test -s conftest.$ac_objext; then
22748 ac_hi=$ac_mid
22749 else
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22752
22753 ac_lo=`expr '(' $ac_mid ')' + 1`
22754 fi
22755
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22757 done
22758 case $ac_lo in
22759 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22760 '') if test "$ac_cv_type_long_long" = yes; then
22761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22762 See \`config.log' for more details." >&5
22763 echo "$as_me: error: cannot compute sizeof (long long)
22764 See \`config.log' for more details." >&2;}
22765 { (exit 77); exit 77; }; }
22766 else
22767 ac_cv_sizeof_long_long=0
22768 fi ;;
22769 esac
22770 else
22771 cat >conftest.$ac_ext <<_ACEOF
22772 /* confdefs.h. */
22773 _ACEOF
22774 cat confdefs.h >>conftest.$ac_ext
22775 cat >>conftest.$ac_ext <<_ACEOF
22776 /* end confdefs.h. */
22777 $ac_includes_default
22778 typedef long long ac__type_sizeof_;
22779 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22780 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22781 #include <stdio.h>
22782 #include <stdlib.h>
22783 int
22784 main ()
22785 {
22786
22787 FILE *f = fopen ("conftest.val", "w");
22788 if (! f)
22789 return 1;
22790 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22791 {
22792 long int i = longval ();
22793 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22794 return 1;
22795 fprintf (f, "%ld\n", i);
22796 }
22797 else
22798 {
22799 unsigned long int i = ulongval ();
22800 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22801 return 1;
22802 fprintf (f, "%lu\n", i);
22803 }
22804 return ferror (f) || fclose (f) != 0;
22805
22806 ;
22807 return 0;
22808 }
22809 _ACEOF
22810 rm -f conftest$ac_exeext
22811 if { (ac_try="$ac_link"
22812 case "(($ac_try" in
22813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22814 *) ac_try_echo=$ac_try;;
22815 esac
22816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22817 (eval "$ac_link") 2>&5
22818 ac_status=$?
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22821 { (case "(($ac_try" in
22822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22823 *) ac_try_echo=$ac_try;;
22824 esac
22825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22826 (eval "$ac_try") 2>&5
22827 ac_status=$?
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_sizeof_long_long=`cat conftest.val`
22831 else
22832 echo "$as_me: program exited with status $ac_status" >&5
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22835
22836 ( exit $ac_status )
22837 if test "$ac_cv_type_long_long" = yes; then
22838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22839 See \`config.log' for more details." >&5
22840 echo "$as_me: error: cannot compute sizeof (long long)
22841 See \`config.log' for more details." >&2;}
22842 { (exit 77); exit 77; }; }
22843 else
22844 ac_cv_sizeof_long_long=0
22845 fi
22846 fi
22847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22848 fi
22849 rm -f conftest.val
22850 fi
22851 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22852 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22853
22854
22855
22856 cat >>confdefs.h <<_ACEOF
22857 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22858 _ACEOF
22859
22860
22861 esac
22862
22863 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22864 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22865 if test "${ac_cv_type_wchar_t+set}" = set; then
22866 echo $ECHO_N "(cached) $ECHO_C" >&6
22867 else
22868 cat >conftest.$ac_ext <<_ACEOF
22869 /* confdefs.h. */
22870 _ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22874
22875 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22876 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22877 # error "fake wchar_t"
22878 #endif
22879 #ifdef HAVE_WCHAR_H
22880 # ifdef __CYGWIN__
22881 # include <stddef.h>
22882 # endif
22883 # include <wchar.h>
22884 #endif
22885 #ifdef HAVE_STDLIB_H
22886 # include <stdlib.h>
22887 #endif
22888 #include <stdio.h>
22889
22890
22891
22892 typedef wchar_t ac__type_new_;
22893 int
22894 main ()
22895 {
22896 if ((ac__type_new_ *) 0)
22897 return 0;
22898 if (sizeof (ac__type_new_))
22899 return 0;
22900 ;
22901 return 0;
22902 }
22903 _ACEOF
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22909 esac
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22912 ac_status=$?
22913 grep -v '^ *+' conftest.er1 >conftest.err
22914 rm -f conftest.er1
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22921 ac_cv_type_wchar_t=yes
22922 else
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22925
22926 ac_cv_type_wchar_t=no
22927 fi
22928
22929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 fi
22931 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22932 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22933
22934 # The cast to long int works around a bug in the HP C Compiler
22935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22937 # This bug is HP SR number 8606223364.
22938 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22939 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22940 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22942 else
22943 if test "$cross_compiling" = yes; then
22944 # Depending upon the size, compute the lo and hi bounds.
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951
22952 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22953 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22954 # error "fake wchar_t"
22955 #endif
22956 #ifdef HAVE_WCHAR_H
22957 # ifdef __CYGWIN__
22958 # include <stddef.h>
22959 # endif
22960 # include <wchar.h>
22961 #endif
22962 #ifdef HAVE_STDLIB_H
22963 # include <stdlib.h>
22964 #endif
22965 #include <stdio.h>
22966
22967
22968
22969 typedef wchar_t ac__type_sizeof_;
22970 int
22971 main ()
22972 {
22973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22974 test_array [0] = 0
22975
22976 ;
22977 return 0;
22978 }
22979 _ACEOF
22980 rm -f conftest.$ac_objext
22981 if { (ac_try="$ac_compile"
22982 case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22985 esac
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_compile") 2>conftest.er1
22988 ac_status=$?
22989 grep -v '^ *+' conftest.er1 >conftest.err
22990 rm -f conftest.er1
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } && {
22994 test -z "$ac_c_werror_flag" ||
22995 test ! -s conftest.err
22996 } && test -s conftest.$ac_objext; then
22997 ac_lo=0 ac_mid=0
22998 while :; do
22999 cat >conftest.$ac_ext <<_ACEOF
23000 /* confdefs.h. */
23001 _ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23005
23006 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23007 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23008 # error "fake wchar_t"
23009 #endif
23010 #ifdef HAVE_WCHAR_H
23011 # ifdef __CYGWIN__
23012 # include <stddef.h>
23013 # endif
23014 # include <wchar.h>
23015 #endif
23016 #ifdef HAVE_STDLIB_H
23017 # include <stdlib.h>
23018 #endif
23019 #include <stdio.h>
23020
23021
23022
23023 typedef wchar_t ac__type_sizeof_;
23024 int
23025 main ()
23026 {
23027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23028 test_array [0] = 0
23029
23030 ;
23031 return 0;
23032 }
23033 _ACEOF
23034 rm -f conftest.$ac_objext
23035 if { (ac_try="$ac_compile"
23036 case "(($ac_try" in
23037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23038 *) ac_try_echo=$ac_try;;
23039 esac
23040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041 (eval "$ac_compile") 2>conftest.er1
23042 ac_status=$?
23043 grep -v '^ *+' conftest.er1 >conftest.err
23044 rm -f conftest.er1
23045 cat conftest.err >&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); } && {
23048 test -z "$ac_c_werror_flag" ||
23049 test ! -s conftest.err
23050 } && test -s conftest.$ac_objext; then
23051 ac_hi=$ac_mid; break
23052 else
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23055
23056 ac_lo=`expr $ac_mid + 1`
23057 if test $ac_lo -le $ac_mid; then
23058 ac_lo= ac_hi=
23059 break
23060 fi
23061 ac_mid=`expr 2 '*' $ac_mid + 1`
23062 fi
23063
23064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 done
23066 else
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.$ac_ext >&5
23069
23070 cat >conftest.$ac_ext <<_ACEOF
23071 /* confdefs.h. */
23072 _ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076
23077 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23078 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23079 # error "fake wchar_t"
23080 #endif
23081 #ifdef HAVE_WCHAR_H
23082 # ifdef __CYGWIN__
23083 # include <stddef.h>
23084 # endif
23085 # include <wchar.h>
23086 #endif
23087 #ifdef HAVE_STDLIB_H
23088 # include <stdlib.h>
23089 #endif
23090 #include <stdio.h>
23091
23092
23093
23094 typedef wchar_t ac__type_sizeof_;
23095 int
23096 main ()
23097 {
23098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23099 test_array [0] = 0
23100
23101 ;
23102 return 0;
23103 }
23104 _ACEOF
23105 rm -f conftest.$ac_objext
23106 if { (ac_try="$ac_compile"
23107 case "(($ac_try" in
23108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23109 *) ac_try_echo=$ac_try;;
23110 esac
23111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23112 (eval "$ac_compile") 2>conftest.er1
23113 ac_status=$?
23114 grep -v '^ *+' conftest.er1 >conftest.err
23115 rm -f conftest.er1
23116 cat conftest.err >&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } && {
23119 test -z "$ac_c_werror_flag" ||
23120 test ! -s conftest.err
23121 } && test -s conftest.$ac_objext; then
23122 ac_hi=-1 ac_mid=-1
23123 while :; do
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h. */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130
23131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23133 # error "fake wchar_t"
23134 #endif
23135 #ifdef HAVE_WCHAR_H
23136 # ifdef __CYGWIN__
23137 # include <stddef.h>
23138 # endif
23139 # include <wchar.h>
23140 #endif
23141 #ifdef HAVE_STDLIB_H
23142 # include <stdlib.h>
23143 #endif
23144 #include <stdio.h>
23145
23146
23147
23148 typedef wchar_t ac__type_sizeof_;
23149 int
23150 main ()
23151 {
23152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23153 test_array [0] = 0
23154
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23164 esac
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23167 ac_status=$?
23168 grep -v '^ *+' conftest.er1 >conftest.err
23169 rm -f conftest.er1
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23176 ac_lo=$ac_mid; break
23177 else
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23180
23181 ac_hi=`expr '(' $ac_mid ')' - 1`
23182 if test $ac_mid -le $ac_hi; then
23183 ac_lo= ac_hi=
23184 break
23185 fi
23186 ac_mid=`expr 2 '*' $ac_mid`
23187 fi
23188
23189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23190 done
23191 else
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 ac_lo= ac_hi=
23196 fi
23197
23198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23199 fi
23200
23201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202 # Binary search between lo and hi bounds.
23203 while test "x$ac_lo" != "x$ac_hi"; do
23204 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23205 cat >conftest.$ac_ext <<_ACEOF
23206 /* confdefs.h. */
23207 _ACEOF
23208 cat confdefs.h >>conftest.$ac_ext
23209 cat >>conftest.$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23211
23212 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23213 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23214 # error "fake wchar_t"
23215 #endif
23216 #ifdef HAVE_WCHAR_H
23217 # ifdef __CYGWIN__
23218 # include <stddef.h>
23219 # endif
23220 # include <wchar.h>
23221 #endif
23222 #ifdef HAVE_STDLIB_H
23223 # include <stdlib.h>
23224 #endif
23225 #include <stdio.h>
23226
23227
23228
23229 typedef wchar_t ac__type_sizeof_;
23230 int
23231 main ()
23232 {
23233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23234 test_array [0] = 0
23235
23236 ;
23237 return 0;
23238 }
23239 _ACEOF
23240 rm -f conftest.$ac_objext
23241 if { (ac_try="$ac_compile"
23242 case "(($ac_try" in
23243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23244 *) ac_try_echo=$ac_try;;
23245 esac
23246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23247 (eval "$ac_compile") 2>conftest.er1
23248 ac_status=$?
23249 grep -v '^ *+' conftest.er1 >conftest.err
23250 rm -f conftest.er1
23251 cat conftest.err >&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } && {
23254 test -z "$ac_c_werror_flag" ||
23255 test ! -s conftest.err
23256 } && test -s conftest.$ac_objext; then
23257 ac_hi=$ac_mid
23258 else
23259 echo "$as_me: failed program was:" >&5
23260 sed 's/^/| /' conftest.$ac_ext >&5
23261
23262 ac_lo=`expr '(' $ac_mid ')' + 1`
23263 fi
23264
23265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23266 done
23267 case $ac_lo in
23268 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23269 '') if test "$ac_cv_type_wchar_t" = yes; then
23270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23271 See \`config.log' for more details." >&5
23272 echo "$as_me: error: cannot compute sizeof (wchar_t)
23273 See \`config.log' for more details." >&2;}
23274 { (exit 77); exit 77; }; }
23275 else
23276 ac_cv_sizeof_wchar_t=0
23277 fi ;;
23278 esac
23279 else
23280 cat >conftest.$ac_ext <<_ACEOF
23281 /* confdefs.h. */
23282 _ACEOF
23283 cat confdefs.h >>conftest.$ac_ext
23284 cat >>conftest.$ac_ext <<_ACEOF
23285 /* end confdefs.h. */
23286
23287 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23288 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23289 # error "fake wchar_t"
23290 #endif
23291 #ifdef HAVE_WCHAR_H
23292 # ifdef __CYGWIN__
23293 # include <stddef.h>
23294 # endif
23295 # include <wchar.h>
23296 #endif
23297 #ifdef HAVE_STDLIB_H
23298 # include <stdlib.h>
23299 #endif
23300 #include <stdio.h>
23301
23302
23303
23304 typedef wchar_t ac__type_sizeof_;
23305 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23306 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23307 #include <stdio.h>
23308 #include <stdlib.h>
23309 int
23310 main ()
23311 {
23312
23313 FILE *f = fopen ("conftest.val", "w");
23314 if (! f)
23315 return 1;
23316 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23317 {
23318 long int i = longval ();
23319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23320 return 1;
23321 fprintf (f, "%ld\n", i);
23322 }
23323 else
23324 {
23325 unsigned long int i = ulongval ();
23326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23327 return 1;
23328 fprintf (f, "%lu\n", i);
23329 }
23330 return ferror (f) || fclose (f) != 0;
23331
23332 ;
23333 return 0;
23334 }
23335 _ACEOF
23336 rm -f conftest$ac_exeext
23337 if { (ac_try="$ac_link"
23338 case "(($ac_try" in
23339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23340 *) ac_try_echo=$ac_try;;
23341 esac
23342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23343 (eval "$ac_link") 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356 ac_cv_sizeof_wchar_t=`cat conftest.val`
23357 else
23358 echo "$as_me: program exited with status $ac_status" >&5
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23361
23362 ( exit $ac_status )
23363 if test "$ac_cv_type_wchar_t" = yes; then
23364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23365 See \`config.log' for more details." >&5
23366 echo "$as_me: error: cannot compute sizeof (wchar_t)
23367 See \`config.log' for more details." >&2;}
23368 { (exit 77); exit 77; }; }
23369 else
23370 ac_cv_sizeof_wchar_t=0
23371 fi
23372 fi
23373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23374 fi
23375 rm -f conftest.val
23376 fi
23377 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23378 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23379
23380
23381
23382 cat >>confdefs.h <<_ACEOF
23383 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23384 _ACEOF
23385
23386
23387 if test "$ac_cv_sizeof_wchar_t" != 0; then
23388 wxUSE_WCHAR_T=yes
23389 else
23390 wxUSE_WCHAR_T=no
23391 fi
23392
23393 { echo "$as_me:$LINENO: checking for va_copy" >&5
23394 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23395 if test "${wx_cv_func_va_copy+set}" = set; then
23396 echo $ECHO_N "(cached) $ECHO_C" >&6
23397 else
23398
23399 ac_ext=cpp
23400 ac_cpp='$CXXCPP $CPPFLAGS'
23401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23404
23405 cat >conftest.$ac_ext <<_ACEOF
23406
23407 #include <stdarg.h>
23408 void foo(char *f, ...)
23409 {
23410 va_list ap1, ap2;
23411 va_start(ap1, f);
23412 va_copy(ap2, ap1);
23413 va_end(ap2);
23414 va_end(ap1);
23415 }
23416 int main()
23417 {
23418 foo("hi", 17);
23419 return 0;
23420 }
23421 _ACEOF
23422 rm -f conftest.$ac_objext conftest$ac_exeext
23423 if { (ac_try="$ac_link"
23424 case "(($ac_try" in
23425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23426 *) ac_try_echo=$ac_try;;
23427 esac
23428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23429 (eval "$ac_link") 2>conftest.er1
23430 ac_status=$?
23431 grep -v '^ *+' conftest.er1 >conftest.err
23432 rm -f conftest.er1
23433 cat conftest.err >&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } && {
23436 test -z "$ac_cxx_werror_flag" ||
23437 test ! -s conftest.err
23438 } && test -s conftest$ac_exeext &&
23439 $as_test_x conftest$ac_exeext; then
23440 wx_cv_func_va_copy=yes
23441 else
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.$ac_ext >&5
23444
23445 wx_cv_func_va_copy=no
23446
23447 fi
23448
23449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23450 conftest$ac_exeext conftest.$ac_ext
23451 ac_ext=c
23452 ac_cpp='$CPP $CPPFLAGS'
23453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23456
23457
23458
23459 fi
23460 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23461 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23462
23463 if test $wx_cv_func_va_copy = "yes"; then
23464 cat >>confdefs.h <<\_ACEOF
23465 #define HAVE_VA_COPY 1
23466 _ACEOF
23467
23468 else
23469 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23470 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23471 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23472 echo $ECHO_N "(cached) $ECHO_C" >&6
23473 else
23474
23475 if test "$cross_compiling" = yes; then
23476 wx_cv_type_va_list_lvalue=yes
23477
23478 else
23479 cat >conftest.$ac_ext <<_ACEOF
23480
23481 #include <stdarg.h>
23482 int foo(char *f, ...)
23483 {
23484 va_list ap1, ap2;
23485 va_start(ap1, f);
23486 ap2 = ap1;
23487 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23488 return 1;
23489 va_end(ap2);
23490 va_end(ap1);
23491 return 0;
23492 }
23493 int main()
23494 {
23495 return foo("hi", 17);
23496 }
23497 _ACEOF
23498 rm -f conftest$ac_exeext
23499 if { (ac_try="$ac_link"
23500 case "(($ac_try" in
23501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23503 esac
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_link") 2>&5
23506 ac_status=$?
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23509 { (case "(($ac_try" in
23510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23511 *) ac_try_echo=$ac_try;;
23512 esac
23513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23514 (eval "$ac_try") 2>&5
23515 ac_status=$?
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23518 wx_cv_type_va_list_lvalue=yes
23519 else
23520 echo "$as_me: program exited with status $ac_status" >&5
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23523
23524 ( exit $ac_status )
23525 wx_cv_type_va_list_lvalue=no
23526 fi
23527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23528 fi
23529
23530
23531
23532
23533 fi
23534 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23535 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23536
23537 if test $wx_cv_type_va_list_lvalue != "yes"; then
23538 cat >>confdefs.h <<\_ACEOF
23539 #define VA_LIST_IS_ARRAY 1
23540 _ACEOF
23541
23542 fi
23543 fi
23544
23545 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23546
23547 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23548 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23549 if test "${wx_cv_have_variadic_macros+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23551 else
23552
23553 ac_ext=cpp
23554 ac_cpp='$CXXCPP $CPPFLAGS'
23555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23558
23559 cat >conftest.$ac_ext <<_ACEOF
23560 /* confdefs.h. */
23561 _ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23565
23566 #include <stdio.h>
23567 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23568
23569 int
23570 main ()
23571 {
23572
23573 test("%s %d %p", "test", 1, 0);
23574
23575
23576 ;
23577 return 0;
23578 }
23579 _ACEOF
23580 rm -f conftest.$ac_objext
23581 if { (ac_try="$ac_compile"
23582 case "(($ac_try" in
23583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23584 *) ac_try_echo=$ac_try;;
23585 esac
23586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23587 (eval "$ac_compile") 2>conftest.er1
23588 ac_status=$?
23589 grep -v '^ *+' conftest.er1 >conftest.err
23590 rm -f conftest.er1
23591 cat conftest.err >&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } && {
23594 test -z "$ac_cxx_werror_flag" ||
23595 test ! -s conftest.err
23596 } && test -s conftest.$ac_objext; then
23597 wx_cv_have_variadic_macros=yes
23598 else
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.$ac_ext >&5
23601
23602 wx_cv_have_variadic_macros=no
23603
23604 fi
23605
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23607 ac_ext=c
23608 ac_cpp='$CPP $CPPFLAGS'
23609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23612
23613
23614
23615 fi
23616 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23617 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23618
23619 if test $wx_cv_have_variadic_macros = "yes"; then
23620 cat >>confdefs.h <<\_ACEOF
23621 #define HAVE_VARIADIC_MACROS 1
23622 _ACEOF
23623
23624 fi
23625
23626 fi
23627
23628 LARGEFILE_CPPFLAGS=
23629 # Check whether --enable-largefile was given.
23630 if test "${enable_largefile+set}" = set; then
23631 enableval=$enable_largefile;
23632 fi
23633
23634 if test "$enable_largefile" != no; then
23635 wx_largefile=no
23636
23637 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23638 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23639 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23641 else
23642
23643 cat >conftest.$ac_ext <<_ACEOF
23644 /* confdefs.h. */
23645 _ACEOF
23646 cat confdefs.h >>conftest.$ac_ext
23647 cat >>conftest.$ac_ext <<_ACEOF
23648 /* end confdefs.h. */
23649 #define _FILE_OFFSET_BITS 64
23650 #include <sys/types.h>
23651 int
23652 main ()
23653 {
23654 typedef struct {
23655 unsigned int field: sizeof(off_t) == 8;
23656 } wxlf;
23657
23658 ;
23659 return 0;
23660 }
23661 _ACEOF
23662 rm -f conftest.$ac_objext
23663 if { (ac_try="$ac_compile"
23664 case "(($ac_try" in
23665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23666 *) ac_try_echo=$ac_try;;
23667 esac
23668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23669 (eval "$ac_compile") 2>conftest.er1
23670 ac_status=$?
23671 grep -v '^ *+' conftest.er1 >conftest.err
23672 rm -f conftest.er1
23673 cat conftest.err >&5
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); } && {
23676 test -z "$ac_c_werror_flag" ||
23677 test ! -s conftest.err
23678 } && test -s conftest.$ac_objext; then
23679 ac_cv_sys_file_offset_bits=64
23680 else
23681 echo "$as_me: failed program was:" >&5
23682 sed 's/^/| /' conftest.$ac_ext >&5
23683
23684 ac_cv_sys_file_offset_bits=no
23685 fi
23686
23687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23688
23689
23690 fi
23691 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23692 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23693
23694 if test "$ac_cv_sys_file_offset_bits" != no; then
23695 wx_largefile=yes
23696 cat >>confdefs.h <<_ACEOF
23697 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23698 _ACEOF
23699
23700 fi
23701
23702 if test "x$wx_largefile" != "xyes"; then
23703
23704 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23705 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23706 if test "${ac_cv_sys_large_files+set}" = set; then
23707 echo $ECHO_N "(cached) $ECHO_C" >&6
23708 else
23709
23710 cat >conftest.$ac_ext <<_ACEOF
23711 /* confdefs.h. */
23712 _ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716 #define _LARGE_FILES 1
23717 #include <sys/types.h>
23718 int
23719 main ()
23720 {
23721 typedef struct {
23722 unsigned int field: sizeof(off_t) == 8;
23723 } wxlf;
23724
23725 ;
23726 return 0;
23727 }
23728 _ACEOF
23729 rm -f conftest.$ac_objext
23730 if { (ac_try="$ac_compile"
23731 case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23734 esac
23735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_compile") 2>conftest.er1
23737 ac_status=$?
23738 grep -v '^ *+' conftest.er1 >conftest.err
23739 rm -f conftest.er1
23740 cat conftest.err >&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); } && {
23743 test -z "$ac_c_werror_flag" ||
23744 test ! -s conftest.err
23745 } && test -s conftest.$ac_objext; then
23746 ac_cv_sys_large_files=1
23747 else
23748 echo "$as_me: failed program was:" >&5
23749 sed 's/^/| /' conftest.$ac_ext >&5
23750
23751 ac_cv_sys_large_files=no
23752 fi
23753
23754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23755
23756
23757 fi
23758 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23759 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23760
23761 if test "$ac_cv_sys_large_files" != no; then
23762 wx_largefile=yes
23763 cat >>confdefs.h <<_ACEOF
23764 #define _LARGE_FILES $ac_cv_sys_large_files
23765 _ACEOF
23766
23767 fi
23768
23769 fi
23770
23771 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23772 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23773 if test "x$wx_largefile" = "xyes"; then
23774 cat >>confdefs.h <<\_ACEOF
23775 #define HAVE_LARGEFILE_SUPPORT 1
23776 _ACEOF
23777
23778 fi
23779 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23780 echo "${ECHO_T}$wx_largefile" >&6; }
23781 fi
23782
23783 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23784 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23785 elif test "$ac_cv_sys_large_files" = 1; then
23786 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23787 fi
23788
23789 if test -n "$LARGEFILE_CPPFLAGS"; then
23790 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23791
23792 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23793 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23794 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23795 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23796 echo $ECHO_N "(cached) $ECHO_C" >&6
23797 else
23798
23799 ac_ext=cpp
23800 ac_cpp='$CXXCPP $CPPFLAGS'
23801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23804
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811
23812 int
23813 main ()
23814 {
23815
23816 #ifndef __STDC_EXT__
23817 choke me
23818 #endif
23819
23820 ;
23821 return 0;
23822 }
23823 _ACEOF
23824 rm -f conftest.$ac_objext
23825 if { (ac_try="$ac_compile"
23826 case "(($ac_try" in
23827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23828 *) ac_try_echo=$ac_try;;
23829 esac
23830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23831 (eval "$ac_compile") 2>conftest.er1
23832 ac_status=$?
23833 grep -v '^ *+' conftest.er1 >conftest.err
23834 rm -f conftest.er1
23835 cat conftest.err >&5
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); } && {
23838 test -z "$ac_cxx_werror_flag" ||
23839 test ! -s conftest.err
23840 } && test -s conftest.$ac_objext; then
23841 wx_cv_STDC_EXT_required=no
23842 else
23843 echo "$as_me: failed program was:" >&5
23844 sed 's/^/| /' conftest.$ac_ext >&5
23845
23846 wx_cv_STDC_EXT_required=yes
23847
23848 fi
23849
23850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851 ac_ext=c
23852 ac_cpp='$CPP $CPPFLAGS'
23853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23856
23857
23858
23859 fi
23860 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23861 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23862 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23863 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23864 fi
23865 fi
23866 fi
23867
23868 ac_ext=cpp
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873
23874 old_CPPFLAGS="$CPPFLAGS"
23875 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23876 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23877 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23878 if test "${ac_cv_sys_largefile_source+set}" = set; then
23879 echo $ECHO_N "(cached) $ECHO_C" >&6
23880 else
23881 while :; do
23882 cat >conftest.$ac_ext <<_ACEOF
23883 /* confdefs.h. */
23884 _ACEOF
23885 cat confdefs.h >>conftest.$ac_ext
23886 cat >>conftest.$ac_ext <<_ACEOF
23887 /* end confdefs.h. */
23888 #include <sys/types.h> /* for off_t */
23889 #include <stdio.h>
23890 int
23891 main ()
23892 {
23893 int (*fp) (FILE *, off_t, int) = fseeko;
23894 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23895 ;
23896 return 0;
23897 }
23898 _ACEOF
23899 rm -f conftest.$ac_objext conftest$ac_exeext
23900 if { (ac_try="$ac_link"
23901 case "(($ac_try" in
23902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23903 *) ac_try_echo=$ac_try;;
23904 esac
23905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23906 (eval "$ac_link") 2>conftest.er1
23907 ac_status=$?
23908 grep -v '^ *+' conftest.er1 >conftest.err
23909 rm -f conftest.er1
23910 cat conftest.err >&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } && {
23913 test -z "$ac_cxx_werror_flag" ||
23914 test ! -s conftest.err
23915 } && test -s conftest$ac_exeext &&
23916 $as_test_x conftest$ac_exeext; then
23917 ac_cv_sys_largefile_source=no; break
23918 else
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.$ac_ext >&5
23921
23922
23923 fi
23924
23925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23926 conftest$ac_exeext conftest.$ac_ext
23927 cat >conftest.$ac_ext <<_ACEOF
23928 /* confdefs.h. */
23929 _ACEOF
23930 cat confdefs.h >>conftest.$ac_ext
23931 cat >>conftest.$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 #define _LARGEFILE_SOURCE 1
23934 #include <sys/types.h> /* for off_t */
23935 #include <stdio.h>
23936 int
23937 main ()
23938 {
23939 int (*fp) (FILE *, off_t, int) = fseeko;
23940 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23941 ;
23942 return 0;
23943 }
23944 _ACEOF
23945 rm -f conftest.$ac_objext conftest$ac_exeext
23946 if { (ac_try="$ac_link"
23947 case "(($ac_try" in
23948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23949 *) ac_try_echo=$ac_try;;
23950 esac
23951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23952 (eval "$ac_link") 2>conftest.er1
23953 ac_status=$?
23954 grep -v '^ *+' conftest.er1 >conftest.err
23955 rm -f conftest.er1
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } && {
23959 test -z "$ac_cxx_werror_flag" ||
23960 test ! -s conftest.err
23961 } && test -s conftest$ac_exeext &&
23962 $as_test_x conftest$ac_exeext; then
23963 ac_cv_sys_largefile_source=1; break
23964 else
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23967
23968
23969 fi
23970
23971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23972 conftest$ac_exeext conftest.$ac_ext
23973 ac_cv_sys_largefile_source=unknown
23974 break
23975 done
23976 fi
23977 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23978 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23979 case $ac_cv_sys_largefile_source in #(
23980 no | unknown) ;;
23981 *)
23982 cat >>confdefs.h <<_ACEOF
23983 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23984 _ACEOF
23985 ;;
23986 esac
23987 rm -f conftest*
23988
23989 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23990 # in glibc 2.1.3, but that breaks too many other things.
23991 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23992 if test $ac_cv_sys_largefile_source != unknown; then
23993
23994 cat >>confdefs.h <<\_ACEOF
23995 #define HAVE_FSEEKO 1
23996 _ACEOF
23997
23998 fi
23999
24000 CPPFLAGS="$old_CPPFLAGS"
24001 ac_ext=c
24002 ac_cpp='$CPP $CPPFLAGS'
24003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24006
24007 if test "$ac_cv_sys_largefile_source" != no; then
24008 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24009 fi
24010
24011 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24012 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24013 if test "${ac_cv_c_bigendian+set}" = set; then
24014 echo $ECHO_N "(cached) $ECHO_C" >&6
24015 else
24016 ac_cv_c_bigendian=unknown
24017 # See if sys/param.h defines the BYTE_ORDER macro.
24018 cat >conftest.$ac_ext <<_ACEOF
24019 /* confdefs.h. */
24020 _ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024 #include <sys/types.h>
24025 #include <sys/param.h>
24026 int
24027 main ()
24028 {
24029
24030 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24031 bogus endian macros
24032 #endif
24033 ;
24034 return 0;
24035 }
24036 _ACEOF
24037 rm -f conftest.$ac_objext
24038 if { (ac_try="$ac_compile"
24039 case "(($ac_try" in
24040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24041 *) ac_try_echo=$ac_try;;
24042 esac
24043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24044 (eval "$ac_compile") 2>conftest.er1
24045 ac_status=$?
24046 grep -v '^ *+' conftest.er1 >conftest.err
24047 rm -f conftest.er1
24048 cat conftest.err >&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); } && {
24051 test -z "$ac_c_werror_flag" ||
24052 test ! -s conftest.err
24053 } && test -s conftest.$ac_objext; then
24054 # It does; now see whether it defined to BIG_ENDIAN or not.
24055 cat >conftest.$ac_ext <<_ACEOF
24056 /* confdefs.h. */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061 #include <sys/types.h>
24062 #include <sys/param.h>
24063 int
24064 main ()
24065 {
24066
24067 #if BYTE_ORDER != BIG_ENDIAN
24068 not big endian
24069 #endif
24070 ;
24071 return 0;
24072 }
24073 _ACEOF
24074 rm -f conftest.$ac_objext
24075 if { (ac_try="$ac_compile"
24076 case "(($ac_try" in
24077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24078 *) ac_try_echo=$ac_try;;
24079 esac
24080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24081 (eval "$ac_compile") 2>conftest.er1
24082 ac_status=$?
24083 grep -v '^ *+' conftest.er1 >conftest.err
24084 rm -f conftest.er1
24085 cat conftest.err >&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } && {
24088 test -z "$ac_c_werror_flag" ||
24089 test ! -s conftest.err
24090 } && test -s conftest.$ac_objext; then
24091 ac_cv_c_bigendian=yes
24092 else
24093 echo "$as_me: failed program was:" >&5
24094 sed 's/^/| /' conftest.$ac_ext >&5
24095
24096 ac_cv_c_bigendian=no
24097 fi
24098
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24100 else
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.$ac_ext >&5
24103
24104
24105 fi
24106
24107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24108 if test $ac_cv_c_bigendian = unknown; then
24109 if test "$cross_compiling" = yes; then
24110 ac_cv_c_bigendian=unknown
24111 else
24112 cat >conftest.$ac_ext <<_ACEOF
24113 /* confdefs.h. */
24114 _ACEOF
24115 cat confdefs.h >>conftest.$ac_ext
24116 cat >>conftest.$ac_ext <<_ACEOF
24117 /* end confdefs.h. */
24118 main () {
24119 /* Are we little or big endian? From Harbison&Steele. */
24120 union
24121 {
24122 long l;
24123 char c[sizeof (long)];
24124 } u;
24125 u.l = 1;
24126 exit (u.c[sizeof (long) - 1] == 1);
24127 }
24128 _ACEOF
24129 rm -f conftest$ac_exeext
24130 if { (ac_try="$ac_link"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24134 esac
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_link") 2>&5
24137 ac_status=$?
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24140 { (case "(($ac_try" in
24141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24142 *) ac_try_echo=$ac_try;;
24143 esac
24144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24145 (eval "$ac_try") 2>&5
24146 ac_status=$?
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; }; then
24149 ac_cv_c_bigendian=no
24150 else
24151 echo "$as_me: program exited with status $ac_status" >&5
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24154
24155 ( exit $ac_status )
24156 ac_cv_c_bigendian=yes
24157 fi
24158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24159 fi
24160
24161
24162 fi
24163 fi
24164 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24165 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24166 if test $ac_cv_c_bigendian = unknown; then
24167 { 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
24168 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;}
24169 fi
24170 if test $ac_cv_c_bigendian = yes; then
24171 cat >>confdefs.h <<\_ACEOF
24172 #define WORDS_BIGENDIAN 1
24173 _ACEOF
24174
24175 fi
24176
24177
24178
24179
24180 ac_ext=cpp
24181 ac_cpp='$CXXCPP $CPPFLAGS'
24182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24185
24186
24187
24188 for ac_header in iostream
24189 do
24190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24191 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 else
24196 cat >conftest.$ac_ext <<_ACEOF
24197 /* confdefs.h. */
24198 _ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24202
24203
24204 #include <$ac_header>
24205 _ACEOF
24206 rm -f conftest.$ac_objext
24207 if { (ac_try="$ac_compile"
24208 case "(($ac_try" in
24209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24210 *) ac_try_echo=$ac_try;;
24211 esac
24212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24213 (eval "$ac_compile") 2>conftest.er1
24214 ac_status=$?
24215 grep -v '^ *+' conftest.er1 >conftest.err
24216 rm -f conftest.er1
24217 cat conftest.err >&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } && {
24220 test -z "$ac_cxx_werror_flag" ||
24221 test ! -s conftest.err
24222 } && test -s conftest.$ac_objext; then
24223 eval "$as_ac_Header=yes"
24224 else
24225 echo "$as_me: failed program was:" >&5
24226 sed 's/^/| /' conftest.$ac_ext >&5
24227
24228 eval "$as_ac_Header=no"
24229 fi
24230
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 fi
24233 ac_res=`eval echo '${'$as_ac_Header'}'`
24234 { echo "$as_me:$LINENO: result: $ac_res" >&5
24235 echo "${ECHO_T}$ac_res" >&6; }
24236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24237 cat >>confdefs.h <<_ACEOF
24238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24239 _ACEOF
24240
24241 fi
24242
24243 done
24244
24245
24246 if test "$ac_cv_header_iostream" = "yes" ; then
24247 :
24248 else
24249 cat >>confdefs.h <<\_ACEOF
24250 #define wxUSE_IOSTREAMH 1
24251 _ACEOF
24252
24253 fi
24254
24255 ac_ext=c
24256 ac_cpp='$CPP $CPPFLAGS'
24257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24260
24261
24262
24263
24264 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24265 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24266 if test "${wx_cv_explicit+set}" = set; then
24267 echo $ECHO_N "(cached) $ECHO_C" >&6
24268 else
24269
24270
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24276
24277
24278 cat >conftest.$ac_ext <<_ACEOF
24279 /* confdefs.h. */
24280 _ACEOF
24281 cat confdefs.h >>conftest.$ac_ext
24282 cat >>conftest.$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24284
24285 class Foo { public: explicit Foo(int) {} };
24286
24287 int
24288 main ()
24289 {
24290
24291 return 0;
24292
24293 ;
24294 return 0;
24295 }
24296 _ACEOF
24297 rm -f conftest.$ac_objext
24298 if { (ac_try="$ac_compile"
24299 case "(($ac_try" in
24300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24301 *) ac_try_echo=$ac_try;;
24302 esac
24303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24304 (eval "$ac_compile") 2>conftest.er1
24305 ac_status=$?
24306 grep -v '^ *+' conftest.er1 >conftest.err
24307 rm -f conftest.er1
24308 cat conftest.err >&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } && {
24311 test -z "$ac_cxx_werror_flag" ||
24312 test ! -s conftest.err
24313 } && test -s conftest.$ac_objext; then
24314
24315 cat >conftest.$ac_ext <<_ACEOF
24316 /* confdefs.h. */
24317 _ACEOF
24318 cat confdefs.h >>conftest.$ac_ext
24319 cat >>conftest.$ac_ext <<_ACEOF
24320 /* end confdefs.h. */
24321
24322 class Foo { public: explicit Foo(int) {} };
24323 static void TakeFoo(const Foo& foo) { }
24324
24325 int
24326 main ()
24327 {
24328
24329 TakeFoo(17);
24330 return 0;
24331
24332 ;
24333 return 0;
24334 }
24335 _ACEOF
24336 rm -f conftest.$ac_objext
24337 if { (ac_try="$ac_compile"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24341 esac
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_compile") 2>conftest.er1
24344 ac_status=$?
24345 grep -v '^ *+' conftest.er1 >conftest.err
24346 rm -f conftest.er1
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_cxx_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest.$ac_objext; then
24353 wx_cv_explicit=no
24354 else
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24357
24358 wx_cv_explicit=yes
24359
24360 fi
24361
24362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24363
24364 else
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.$ac_ext >&5
24367
24368 wx_cv_explicit=no
24369
24370 fi
24371
24372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24373
24374 ac_ext=c
24375 ac_cpp='$CPP $CPPFLAGS'
24376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24379
24380
24381 fi
24382 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24383 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24384
24385 if test "$wx_cv_explicit" = "yes"; then
24386 cat >>confdefs.h <<\_ACEOF
24387 #define HAVE_EXPLICIT 1
24388 _ACEOF
24389
24390 fi
24391
24392
24393 if test "x$SUNCXX" = xyes; then
24394 CXXFLAGS="-features=tmplife $CXXFLAGS"
24395 fi
24396
24397 if test "x$SUNCC" = xyes; then
24398 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24399 fi
24400
24401 if test "x$SGICC" = "xyes"; then
24402 CFLAGS="-woff 3970 $CFLAGS"
24403 fi
24404 if test "x$SGICXX" = "xyes"; then
24405 CXXFLAGS="-woff 3970 $CXXFLAGS"
24406 fi
24407
24408 if test "x$HPCC" = "xyes"; then
24409 CFLAGS="+W 2011,2450 $CFLAGS"
24410 fi
24411 if test "x$HPCXX" = "xyes"; then
24412 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24413 fi
24414
24415 if test "x$COMPAQCXX" = "xyes"; then
24416 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24417 fi
24418
24419 ac_ext=cpp
24420 ac_cpp='$CXXCPP $CPPFLAGS'
24421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24424
24425
24426 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24427 if test "$wxUSE_UNICODE" = "yes"; then
24428 std_string="std::wstring"
24429 char_type="wchar_t"
24430 else
24431 std_string="std::string"
24432 char_type="char"
24433 fi
24434
24435 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24436 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24437 if test "${wx_cv_class_stdstring+set}" = set; then
24438 echo $ECHO_N "(cached) $ECHO_C" >&6
24439 else
24440
24441 cat >conftest.$ac_ext <<_ACEOF
24442 /* confdefs.h. */
24443 _ACEOF
24444 cat confdefs.h >>conftest.$ac_ext
24445 cat >>conftest.$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24447 #include <string>
24448 int
24449 main ()
24450 {
24451 $std_string foo;
24452 ;
24453 return 0;
24454 }
24455 _ACEOF
24456 rm -f conftest.$ac_objext
24457 if { (ac_try="$ac_compile"
24458 case "(($ac_try" in
24459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24460 *) ac_try_echo=$ac_try;;
24461 esac
24462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24463 (eval "$ac_compile") 2>conftest.er1
24464 ac_status=$?
24465 grep -v '^ *+' conftest.er1 >conftest.err
24466 rm -f conftest.er1
24467 cat conftest.err >&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } && {
24470 test -z "$ac_cxx_werror_flag" ||
24471 test ! -s conftest.err
24472 } && test -s conftest.$ac_objext; then
24473 wx_cv_class_stdstring=yes
24474 else
24475 echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.$ac_ext >&5
24477
24478 wx_cv_class_stdstring=no
24479
24480 fi
24481
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483
24484
24485 fi
24486 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24487 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24488
24489 if test "$wx_cv_class_stdstring" = yes; then
24490 if test "$wxUSE_UNICODE" = "yes"; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define HAVE_STD_WSTRING 1
24493 _ACEOF
24494
24495 fi
24496 else
24497 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24498 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24499 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 else
24502
24503 cat >conftest.$ac_ext <<_ACEOF
24504 /* confdefs.h. */
24505 _ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24509
24510 #ifdef HAVE_WCHAR_H
24511 # ifdef __CYGWIN__
24512 # include <stddef.h>
24513 # endif
24514 # include <wchar.h>
24515 #endif
24516 #ifdef HAVE_STDLIB_H
24517 # include <stdlib.h>
24518 #endif
24519 #include <stdio.h>
24520 #include <string>
24521
24522 int
24523 main ()
24524 {
24525 std::basic_string<$char_type> foo;
24526 const $char_type* dummy = foo.c_str();
24527 ;
24528 return 0;
24529 }
24530 _ACEOF
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24536 esac
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24539 ac_status=$?
24540 grep -v '^ *+' conftest.er1 >conftest.err
24541 rm -f conftest.er1
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 wx_cv_class_stdbasicstring=yes
24549 else
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553 wx_cv_class_stdbasicstring=no
24554
24555 fi
24556
24557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24558
24559
24560 fi
24561 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24562 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24563
24564 if test "$wx_cv_class_stdbasicstring" != yes; then
24565 if test "$wxUSE_STL" = "yes"; then
24566 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24567 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24568 { (exit 1); exit 1; }; }
24569 elif test "$wxUSE_STD_STRING" = "yes"; then
24570 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24571 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24572 { (exit 1); exit 1; }; }
24573 else
24574 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24575 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24576 wxUSE_STD_STRING=no
24577 fi
24578 fi
24579 fi
24580 fi
24581
24582 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24583 { echo "$as_me:$LINENO: checking for std::istream" >&5
24584 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24585 if test "${ac_cv_type_std__istream+set}" = set; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 else
24588 cat >conftest.$ac_ext <<_ACEOF
24589 /* confdefs.h. */
24590 _ACEOF
24591 cat confdefs.h >>conftest.$ac_ext
24592 cat >>conftest.$ac_ext <<_ACEOF
24593 /* end confdefs.h. */
24594 #include <iostream>
24595
24596 typedef std::istream ac__type_new_;
24597 int
24598 main ()
24599 {
24600 if ((ac__type_new_ *) 0)
24601 return 0;
24602 if (sizeof (ac__type_new_))
24603 return 0;
24604 ;
24605 return 0;
24606 }
24607 _ACEOF
24608 rm -f conftest.$ac_objext
24609 if { (ac_try="$ac_compile"
24610 case "(($ac_try" in
24611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612 *) ac_try_echo=$ac_try;;
24613 esac
24614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24615 (eval "$ac_compile") 2>conftest.er1
24616 ac_status=$?
24617 grep -v '^ *+' conftest.er1 >conftest.err
24618 rm -f conftest.er1
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } && {
24622 test -z "$ac_cxx_werror_flag" ||
24623 test ! -s conftest.err
24624 } && test -s conftest.$ac_objext; then
24625 ac_cv_type_std__istream=yes
24626 else
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.$ac_ext >&5
24629
24630 ac_cv_type_std__istream=no
24631 fi
24632
24633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24634 fi
24635 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24636 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24637 if test $ac_cv_type_std__istream = yes; then
24638
24639 cat >>confdefs.h <<_ACEOF
24640 #define HAVE_STD__ISTREAM 1
24641 _ACEOF
24642
24643
24644 else
24645 wxUSE_STD_IOSTREAM=no
24646 fi
24647 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24648 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24649 if test "${ac_cv_type_std__ostream+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24651 else
24652 cat >conftest.$ac_ext <<_ACEOF
24653 /* confdefs.h. */
24654 _ACEOF
24655 cat confdefs.h >>conftest.$ac_ext
24656 cat >>conftest.$ac_ext <<_ACEOF
24657 /* end confdefs.h. */
24658 #include <iostream>
24659
24660 typedef std::ostream ac__type_new_;
24661 int
24662 main ()
24663 {
24664 if ((ac__type_new_ *) 0)
24665 return 0;
24666 if (sizeof (ac__type_new_))
24667 return 0;
24668 ;
24669 return 0;
24670 }
24671 _ACEOF
24672 rm -f conftest.$ac_objext
24673 if { (ac_try="$ac_compile"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24677 esac
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_compile") 2>conftest.er1
24680 ac_status=$?
24681 grep -v '^ *+' conftest.er1 >conftest.err
24682 rm -f conftest.er1
24683 cat conftest.err >&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); } && {
24686 test -z "$ac_cxx_werror_flag" ||
24687 test ! -s conftest.err
24688 } && test -s conftest.$ac_objext; then
24689 ac_cv_type_std__ostream=yes
24690 else
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.$ac_ext >&5
24693
24694 ac_cv_type_std__ostream=no
24695 fi
24696
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698 fi
24699 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24700 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24701 if test $ac_cv_type_std__ostream = yes; then
24702
24703 cat >>confdefs.h <<_ACEOF
24704 #define HAVE_STD__OSTREAM 1
24705 _ACEOF
24706
24707
24708 else
24709 wxUSE_STD_IOSTREAM=no
24710 fi
24711
24712
24713 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24714 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24715 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24716 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24717 { (exit 1); exit 1; }; }
24718 else
24719 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24720 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24721 fi
24722 fi
24723 fi
24724
24725 if test "$wxUSE_STL" = "yes"; then
24726 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24727 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24728 if test "${wx_cv_lib_stl+set}" = set; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 else
24731 cat >conftest.$ac_ext <<_ACEOF
24732 /* confdefs.h. */
24733 _ACEOF
24734 cat confdefs.h >>conftest.$ac_ext
24735 cat >>conftest.$ac_ext <<_ACEOF
24736 /* end confdefs.h. */
24737 #include <string>
24738 #include <functional>
24739 #include <algorithm>
24740 #include <vector>
24741 #include <list>
24742 int
24743 main ()
24744 {
24745 std::vector<int> moo;
24746 std::list<int> foo;
24747 std::vector<int>::iterator it =
24748 std::find_if(moo.begin(), moo.end(),
24749 std::bind2nd(std::less<int>(), 3));
24750 ;
24751 return 0;
24752 }
24753 _ACEOF
24754 rm -f conftest.$ac_objext
24755 if { (ac_try="$ac_compile"
24756 case "(($ac_try" in
24757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24758 *) ac_try_echo=$ac_try;;
24759 esac
24760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24761 (eval "$ac_compile") 2>conftest.er1
24762 ac_status=$?
24763 grep -v '^ *+' conftest.er1 >conftest.err
24764 rm -f conftest.er1
24765 cat conftest.err >&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } && {
24768 test -z "$ac_cxx_werror_flag" ||
24769 test ! -s conftest.err
24770 } && test -s conftest.$ac_objext; then
24771 wx_cv_lib_stl=yes
24772 else
24773 echo "$as_me: failed program was:" >&5
24774 sed 's/^/| /' conftest.$ac_ext >&5
24775
24776 wx_cv_lib_stl=no
24777
24778 fi
24779
24780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24781
24782 fi
24783 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24784 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24785
24786 if test "$wx_cv_lib_stl" != yes; then
24787 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24788 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24789 { (exit 1); exit 1; }; }
24790 fi
24791
24792 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24793 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24794 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 else
24797 cat >conftest.$ac_ext <<_ACEOF
24798 /* confdefs.h. */
24799 _ACEOF
24800 cat confdefs.h >>conftest.$ac_ext
24801 cat >>conftest.$ac_ext <<_ACEOF
24802 /* end confdefs.h. */
24803 #include <string>
24804 int
24805 main ()
24806 {
24807 std::string foo, bar;
24808 foo.compare(bar);
24809 foo.compare(1, 1, bar);
24810 foo.compare(1, 1, bar, 1, 1);
24811 foo.compare("");
24812 foo.compare(1, 1, "");
24813 foo.compare(1, 1, "", 2);
24814 ;
24815 return 0;
24816 }
24817 _ACEOF
24818 rm -f conftest.$ac_objext
24819 if { (ac_try="$ac_compile"
24820 case "(($ac_try" in
24821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822 *) ac_try_echo=$ac_try;;
24823 esac
24824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825 (eval "$ac_compile") 2>conftest.er1
24826 ac_status=$?
24827 grep -v '^ *+' conftest.er1 >conftest.err
24828 rm -f conftest.er1
24829 cat conftest.err >&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); } && {
24832 test -z "$ac_cxx_werror_flag" ||
24833 test ! -s conftest.err
24834 } && test -s conftest.$ac_objext; then
24835 wx_cv_func_stdstring_compare=yes
24836 else
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24839
24840 wx_cv_func_stdstring_compare=no
24841
24842 fi
24843
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24845
24846 fi
24847 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24848 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24849
24850 if test "$wx_cv_func_stdstring_compare" = yes; then
24851 cat >>confdefs.h <<\_ACEOF
24852 #define HAVE_STD_STRING_COMPARE 1
24853 _ACEOF
24854
24855 fi
24856
24857 if test "$wx_cv_class_gnuhashmapset" = yes; then
24858 cat >>confdefs.h <<\_ACEOF
24859 #define HAVE_EXT_HASH_MAP 1
24860 _ACEOF
24861
24862 cat >>confdefs.h <<\_ACEOF
24863 #define HAVE_GNU_CXX_HASH_MAP 1
24864 _ACEOF
24865
24866 fi
24867
24868 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24869 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24870 if test "${ac_cv_header_unordered_map+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 else
24873 cat >conftest.$ac_ext <<_ACEOF
24874 /* confdefs.h. */
24875 _ACEOF
24876 cat confdefs.h >>conftest.$ac_ext
24877 cat >>conftest.$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24879
24880
24881
24882 #include <unordered_map>
24883 _ACEOF
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24889 esac
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24892 ac_status=$?
24893 grep -v '^ *+' conftest.er1 >conftest.err
24894 rm -f conftest.er1
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_cxx_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24901 ac_cv_header_unordered_map=yes
24902 else
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.$ac_ext >&5
24905
24906 ac_cv_header_unordered_map=no
24907 fi
24908
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910 fi
24911 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24912 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24913 if test $ac_cv_header_unordered_map = yes; then
24914 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24915 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24916 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24917 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 else
24919 cat >conftest.$ac_ext <<_ACEOF
24920 /* confdefs.h. */
24921 _ACEOF
24922 cat confdefs.h >>conftest.$ac_ext
24923 cat >>conftest.$ac_ext <<_ACEOF
24924 /* end confdefs.h. */
24925 #include <unordered_map>
24926 #include <unordered_set>
24927 int
24928 main ()
24929 {
24930 std::unordered_map<double*, char*> test1;
24931 std::unordered_set<char*> test2;
24932 ;
24933 return 0;
24934 }
24935 _ACEOF
24936 rm -f conftest.$ac_objext
24937 if { (ac_try="$ac_compile"
24938 case "(($ac_try" in
24939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24940 *) ac_try_echo=$ac_try;;
24941 esac
24942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24943 (eval "$ac_compile") 2>conftest.er1
24944 ac_status=$?
24945 grep -v '^ *+' conftest.er1 >conftest.err
24946 rm -f conftest.er1
24947 cat conftest.err >&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); } && {
24950 test -z "$ac_cxx_werror_flag" ||
24951 test ! -s conftest.err
24952 } && test -s conftest.$ac_objext; then
24953 wx_cv_class_stdunorderedmapset=yes
24954 else
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.$ac_ext >&5
24957
24958 wx_cv_class_stdunorderedmapset=no
24959 fi
24960
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962
24963
24964 fi
24965 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24966 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24967 fi
24968
24969
24970
24971 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24972 cat >>confdefs.h <<\_ACEOF
24973 #define HAVE_STD_UNORDERED_MAP 1
24974 _ACEOF
24975
24976 cat >>confdefs.h <<\_ACEOF
24977 #define HAVE_STD_UNORDERED_SET 1
24978 _ACEOF
24979
24980 else
24981 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24982 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24983 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24984 echo $ECHO_N "(cached) $ECHO_C" >&6
24985 else
24986 cat >conftest.$ac_ext <<_ACEOF
24987 /* confdefs.h. */
24988 _ACEOF
24989 cat confdefs.h >>conftest.$ac_ext
24990 cat >>conftest.$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24992
24993
24994
24995 #include <tr1/unordered_map>
24996 _ACEOF
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25002 esac
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25005 ac_status=$?
25006 grep -v '^ *+' conftest.er1 >conftest.err
25007 rm -f conftest.er1
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_cxx_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 ac_cv_header_tr1_unordered_map=yes
25015 else
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.$ac_ext >&5
25018
25019 ac_cv_header_tr1_unordered_map=no
25020 fi
25021
25022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25023 fi
25024 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25025 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25026 if test $ac_cv_header_tr1_unordered_map = yes; then
25027 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25028 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25029 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25030 echo $ECHO_N "(cached) $ECHO_C" >&6
25031 else
25032 cat >conftest.$ac_ext <<_ACEOF
25033 /* confdefs.h. */
25034 _ACEOF
25035 cat confdefs.h >>conftest.$ac_ext
25036 cat >>conftest.$ac_ext <<_ACEOF
25037 /* end confdefs.h. */
25038 #include <tr1/unordered_map>
25039 #include <tr1/unordered_set>
25040 int
25041 main ()
25042 {
25043 std::tr1::unordered_map<double*, char*> test1;
25044 std::tr1::unordered_set<char*> test2;
25045 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25046 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25047 #endif
25048 ;
25049 return 0;
25050 }
25051 _ACEOF
25052 rm -f conftest.$ac_objext
25053 if { (ac_try="$ac_compile"
25054 case "(($ac_try" in
25055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25056 *) ac_try_echo=$ac_try;;
25057 esac
25058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25059 (eval "$ac_compile") 2>conftest.er1
25060 ac_status=$?
25061 grep -v '^ *+' conftest.er1 >conftest.err
25062 rm -f conftest.er1
25063 cat conftest.err >&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } && {
25066 test -z "$ac_cxx_werror_flag" ||
25067 test ! -s conftest.err
25068 } && test -s conftest.$ac_objext; then
25069 wx_cv_class_tr1unorderedmapset=yes
25070 else
25071 echo "$as_me: failed program was:" >&5
25072 sed 's/^/| /' conftest.$ac_ext >&5
25073
25074 wx_cv_class_tr1unorderedmapset=no
25075 fi
25076
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078
25079
25080 fi
25081 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25082 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25083 fi
25084
25085
25086
25087 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25088 cat >>confdefs.h <<\_ACEOF
25089 #define HAVE_TR1_UNORDERED_MAP 1
25090 _ACEOF
25091
25092 cat >>confdefs.h <<\_ACEOF
25093 #define HAVE_TR1_UNORDERED_SET 1
25094 _ACEOF
25095
25096 else
25097 { echo "$as_me:$LINENO: checking for hash_map" >&5
25098 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25099 if test "${ac_cv_header_hash_map+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 else
25102 cat >conftest.$ac_ext <<_ACEOF
25103 /* confdefs.h. */
25104 _ACEOF
25105 cat confdefs.h >>conftest.$ac_ext
25106 cat >>conftest.$ac_ext <<_ACEOF
25107 /* end confdefs.h. */
25108
25109
25110
25111 #include <hash_map>
25112 _ACEOF
25113 rm -f conftest.$ac_objext
25114 if { (ac_try="$ac_compile"
25115 case "(($ac_try" in
25116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25117 *) ac_try_echo=$ac_try;;
25118 esac
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_compile") 2>conftest.er1
25121 ac_status=$?
25122 grep -v '^ *+' conftest.er1 >conftest.err
25123 rm -f conftest.er1
25124 cat conftest.err >&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && {
25127 test -z "$ac_cxx_werror_flag" ||
25128 test ! -s conftest.err
25129 } && test -s conftest.$ac_objext; then
25130 ac_cv_header_hash_map=yes
25131 else
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25134
25135 ac_cv_header_hash_map=no
25136 fi
25137
25138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25139 fi
25140 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25141 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25142 if test $ac_cv_header_hash_map = yes; then
25143 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25144 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25145 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25147 else
25148 cat >conftest.$ac_ext <<_ACEOF
25149 /* confdefs.h. */
25150 _ACEOF
25151 cat confdefs.h >>conftest.$ac_ext
25152 cat >>conftest.$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25154 #include <hash_map>
25155 #include <hash_set>
25156 int
25157 main ()
25158 {
25159 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25160 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25161 ;
25162 return 0;
25163 }
25164 _ACEOF
25165 rm -f conftest.$ac_objext
25166 if { (ac_try="$ac_compile"
25167 case "(($ac_try" in
25168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25169 *) ac_try_echo=$ac_try;;
25170 esac
25171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25172 (eval "$ac_compile") 2>conftest.er1
25173 ac_status=$?
25174 grep -v '^ *+' conftest.er1 >conftest.err
25175 rm -f conftest.er1
25176 cat conftest.err >&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); } && {
25179 test -z "$ac_cxx_werror_flag" ||
25180 test ! -s conftest.err
25181 } && test -s conftest.$ac_objext; then
25182 wx_cv_class_stdhashmapset=yes
25183 else
25184 echo "$as_me: failed program was:" >&5
25185 sed 's/^/| /' conftest.$ac_ext >&5
25186
25187 wx_cv_class_stdhashmapset=no
25188 fi
25189
25190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25191
25192
25193 fi
25194 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25195 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25196 fi
25197
25198
25199
25200 if test "$wx_cv_class_stdhashmapset" = yes; then
25201 cat >>confdefs.h <<\_ACEOF
25202 #define HAVE_HASH_MAP 1
25203 _ACEOF
25204
25205 cat >>confdefs.h <<\_ACEOF
25206 #define HAVE_STD_HASH_MAP 1
25207 _ACEOF
25208
25209 fi
25210
25211 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25212 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25213 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25214 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 else
25216 cat >conftest.$ac_ext <<_ACEOF
25217 /* confdefs.h. */
25218 _ACEOF
25219 cat confdefs.h >>conftest.$ac_ext
25220 cat >>conftest.$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222
25223
25224
25225 #include <ext/hash_map>
25226 _ACEOF
25227 rm -f conftest.$ac_objext
25228 if { (ac_try="$ac_compile"
25229 case "(($ac_try" in
25230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25231 *) ac_try_echo=$ac_try;;
25232 esac
25233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25234 (eval "$ac_compile") 2>conftest.er1
25235 ac_status=$?
25236 grep -v '^ *+' conftest.er1 >conftest.err
25237 rm -f conftest.er1
25238 cat conftest.err >&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); } && {
25241 test -z "$ac_cxx_werror_flag" ||
25242 test ! -s conftest.err
25243 } && test -s conftest.$ac_objext; then
25244 ac_cv_header_ext_hash_map=yes
25245 else
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.$ac_ext >&5
25248
25249 ac_cv_header_ext_hash_map=no
25250 fi
25251
25252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25253 fi
25254 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25255 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25256 if test $ac_cv_header_ext_hash_map = yes; then
25257 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25258 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25259 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25260 echo $ECHO_N "(cached) $ECHO_C" >&6
25261 else
25262 cat >conftest.$ac_ext <<_ACEOF
25263 /* confdefs.h. */
25264 _ACEOF
25265 cat confdefs.h >>conftest.$ac_ext
25266 cat >>conftest.$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25268 #include <ext/hash_map>
25269 #include <ext/hash_set>
25270 int
25271 main ()
25272 {
25273 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25274 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25275 ;
25276 return 0;
25277 }
25278 _ACEOF
25279 rm -f conftest.$ac_objext
25280 if { (ac_try="$ac_compile"
25281 case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25284 esac
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_compile") 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_cxx_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest.$ac_objext; then
25296 wx_cv_class_gnuhashmapset=yes
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 wx_cv_class_gnuhashmapset=no
25302 fi
25303
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305
25306
25307 fi
25308 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25309 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25310 fi
25311
25312
25313
25314 fi
25315 fi
25316 fi
25317
25318
25319
25320 if test -n "$GCC"; then
25321 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25322 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25323 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25324 echo $ECHO_N "(cached) $ECHO_C" >&6
25325 else
25326
25327 cat >conftest.$ac_ext <<_ACEOF
25328 /* confdefs.h. */
25329 _ACEOF
25330 cat confdefs.h >>conftest.$ac_ext
25331 cat >>conftest.$ac_ext <<_ACEOF
25332 /* end confdefs.h. */
25333
25334 int
25335 main ()
25336 {
25337
25338 unsigned int value=0;
25339 /* wxAtomicInc doesn't use return value here */
25340 __sync_fetch_and_add(&value, 2);
25341 __sync_sub_and_fetch(&value, 1);
25342 /* but wxAtomicDec does, so mimic that: */
25343 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25344
25345 ;
25346 return 0;
25347 }
25348 _ACEOF
25349 rm -f conftest.$ac_objext conftest$ac_exeext
25350 if { (ac_try="$ac_link"
25351 case "(($ac_try" in
25352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25353 *) ac_try_echo=$ac_try;;
25354 esac
25355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25356 (eval "$ac_link") 2>conftest.er1
25357 ac_status=$?
25358 grep -v '^ *+' conftest.er1 >conftest.err
25359 rm -f conftest.er1
25360 cat conftest.err >&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } && {
25363 test -z "$ac_cxx_werror_flag" ||
25364 test ! -s conftest.err
25365 } && test -s conftest$ac_exeext &&
25366 $as_test_x conftest$ac_exeext; then
25367 wx_cv_cc_gcc_atomic_builtins=yes
25368 else
25369 echo "$as_me: failed program was:" >&5
25370 sed 's/^/| /' conftest.$ac_ext >&5
25371
25372 wx_cv_cc_gcc_atomic_builtins=no
25373 fi
25374
25375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25376 conftest$ac_exeext conftest.$ac_ext
25377
25378 fi
25379
25380 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25381 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25382 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25383 cat >>confdefs.h <<\_ACEOF
25384 #define HAVE_GCC_ATOMIC_BUILTINS 1
25385 _ACEOF
25386
25387 fi
25388 fi
25389
25390
25391 ac_ext=c
25392 ac_cpp='$CPP $CPPFLAGS'
25393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25396
25397
25398
25399 SEARCH_INCLUDE="\
25400 /usr/local/include \
25401 /usr/local/X11/include \
25402 /usr/local/include/X11 \
25403 /usr/local/X11R7/include \
25404 /usr/local/X11R6/include \
25405 /usr/local/include/X11R7 \
25406 /usr/local/include/X11R6 \
25407 \
25408 /usr/Motif-2.1/include \
25409 /usr/Motif-1.2/include \
25410 /usr/include/Motif1.2 \
25411 \
25412 /usr/dt/include \
25413 /usr/openwin/include \
25414 \
25415 /usr/include/Xm \
25416 \
25417 /usr/X11R7/include \
25418 /usr/X11R6/include \
25419 /usr/X11R6.4/include \
25420 \
25421 /usr/include/X11R7 \
25422 /usr/include/X11R6 \
25423 \
25424 /usr/X11/include \
25425 /usr/include/X11 \
25426 \
25427 /usr/XFree86/include/X11 \
25428 /usr/pkg/include \
25429 \
25430 /usr/local/X1R5/include \
25431 /usr/local/include/X11R5 \
25432 /usr/X11R5/include \
25433 /usr/include/X11R5 \
25434 \
25435 /usr/local/X11R4/include \
25436 /usr/local/include/X11R4 \
25437 /usr/X11R4/include \
25438 /usr/include/X11R4 \
25439 \
25440 /usr/openwin/share/include"
25441
25442 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25443 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25444
25445 case "${host}" in
25446 *-*-irix6* )
25447 if test "${wx_cv_std_libpath+set}" = set; then
25448 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 else
25450
25451 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25452 for e in a so sl dylib dll.a; do
25453 libc="$d/libc.$e"
25454 if test -f $libc; then
25455 save_LIBS="$LIBS"
25456 LIBS="$libc"
25457 cat >conftest.$ac_ext <<_ACEOF
25458 int main() { return 0; }
25459 _ACEOF
25460 rm -f conftest.$ac_objext conftest$ac_exeext
25461 if { (ac_try="$ac_link"
25462 case "(($ac_try" in
25463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25464 *) ac_try_echo=$ac_try;;
25465 esac
25466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25467 (eval "$ac_link") 2>conftest.er1
25468 ac_status=$?
25469 grep -v '^ *+' conftest.er1 >conftest.err
25470 rm -f conftest.er1
25471 cat conftest.err >&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); } && {
25474 test -z "$ac_c_werror_flag" ||
25475 test ! -s conftest.err
25476 } && test -s conftest$ac_exeext &&
25477 $as_test_x conftest$ac_exeext; then
25478 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25479 else
25480 echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.$ac_ext >&5
25482
25483
25484 fi
25485
25486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25487 conftest$ac_exeext conftest.$ac_ext
25488 LIBS="$save_LIBS"
25489 if test "x$wx_cv_std_libpath" != "x"; then
25490 break 2
25491 fi
25492 fi
25493 done
25494 done
25495 if test "x$wx_cv_std_libpath" = "x"; then
25496 wx_cv_std_libpath="lib"
25497 fi
25498
25499
25500 fi
25501
25502 ;;
25503
25504 *-*-solaris2* )
25505 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25506 wx_cv_std_libpath="lib/64"
25507 else
25508 wx_cv_std_libpath="lib"
25509 fi
25510 ;;
25511
25512 *-*-linux* )
25513 if test "$ac_cv_sizeof_void_p" = 8 -a \
25514 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25515 wx_cv_std_libpath="lib64"
25516 else
25517 wx_cv_std_libpath="lib"
25518 fi
25519 ;;
25520
25521 *)
25522 wx_cv_std_libpath="lib";
25523 ;;
25524 esac
25525
25526 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25527 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25528
25529 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25530
25531 if test "$build" != "$host" -a "$GCC" = yes; then
25532 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25533 cross_root=`dirname $cross_root`
25534 cross_root=`dirname $cross_root`
25535
25536 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25537 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25538 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25539
25540 if test -z "$PKG_CONFIG_PATH"; then
25541 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25542 export PKG_CONFIG_PATH
25543 fi
25544
25545 if test -z "$x_includes" -o "$x_includes" = NONE; then
25546
25547 ac_find_includes=
25548 for ac_dir in $SEARCH_INCLUDE /usr/include;
25549 do
25550 if test -f "$ac_dir/X11/Intrinsic.h"; then
25551 ac_find_includes=$ac_dir
25552 break
25553 fi
25554 done
25555
25556 x_includes=$ac_find_includes
25557 fi
25558 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25559
25560 ac_find_libraries=
25561 for ac_dir in $SEARCH_LIB;
25562 do
25563 for ac_extension in a so sl dylib dll.a; do
25564 if test -f "$ac_dir/libXt.$ac_extension"; then
25565 ac_find_libraries=$ac_dir
25566 break 2
25567 fi
25568 done
25569 done
25570
25571 x_libraries=$ac_find_libraries
25572 fi
25573 fi
25574 fi
25575
25576
25577 cat >confcache <<\_ACEOF
25578 # This file is a shell script that caches the results of configure
25579 # tests run on this system so they can be shared between configure
25580 # scripts and configure runs, see configure's option --config-cache.
25581 # It is not useful on other systems. If it contains results you don't
25582 # want to keep, you may remove or edit it.
25583 #
25584 # config.status only pays attention to the cache file if you give it
25585 # the --recheck option to rerun configure.
25586 #
25587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25589 # following values.
25590
25591 _ACEOF
25592
25593 # The following way of writing the cache mishandles newlines in values,
25594 # but we know of no workaround that is simple, portable, and efficient.
25595 # So, we kill variables containing newlines.
25596 # Ultrix sh set writes to stderr and can't be redirected directly,
25597 # and sets the high bit in the cache file unless we assign to the vars.
25598 (
25599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25600 eval ac_val=\$$ac_var
25601 case $ac_val in #(
25602 *${as_nl}*)
25603 case $ac_var in #(
25604 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25605 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25606 esac
25607 case $ac_var in #(
25608 _ | IFS | as_nl) ;; #(
25609 *) $as_unset $ac_var ;;
25610 esac ;;
25611 esac
25612 done
25613
25614 (set) 2>&1 |
25615 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25616 *${as_nl}ac_space=\ *)
25617 # `set' does not quote correctly, so add quotes (double-quote
25618 # substitution turns \\\\ into \\, and sed turns \\ into \).
25619 sed -n \
25620 "s/'/'\\\\''/g;
25621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25622 ;; #(
25623 *)
25624 # `set' quotes correctly as required by POSIX, so do not add quotes.
25625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25626 ;;
25627 esac |
25628 sort
25629 ) |
25630 sed '
25631 /^ac_cv_env_/b end
25632 t clear
25633 :clear
25634 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25635 t end
25636 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25637 :end' >>confcache
25638 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25639 if test -w "$cache_file"; then
25640 test "x$cache_file" != "x/dev/null" &&
25641 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25642 echo "$as_me: updating cache $cache_file" >&6;}
25643 cat confcache >$cache_file
25644 else
25645 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25646 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25647 fi
25648 fi
25649 rm -f confcache
25650
25651 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25652 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25653 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25654 if test "${wx_cv_lib_glibc21+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25656 else
25657
25658 cat >conftest.$ac_ext <<_ACEOF
25659 /* confdefs.h. */
25660 _ACEOF
25661 cat confdefs.h >>conftest.$ac_ext
25662 cat >>conftest.$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664 #include <features.h>
25665 int
25666 main ()
25667 {
25668
25669 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25670 not glibc 2.1
25671 #endif
25672
25673 ;
25674 return 0;
25675 }
25676 _ACEOF
25677 rm -f conftest.$ac_objext
25678 if { (ac_try="$ac_compile"
25679 case "(($ac_try" in
25680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25681 *) ac_try_echo=$ac_try;;
25682 esac
25683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25684 (eval "$ac_compile") 2>conftest.er1
25685 ac_status=$?
25686 grep -v '^ *+' conftest.er1 >conftest.err
25687 rm -f conftest.er1
25688 cat conftest.err >&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } && {
25691 test -z "$ac_c_werror_flag" ||
25692 test ! -s conftest.err
25693 } && test -s conftest.$ac_objext; then
25694
25695 wx_cv_lib_glibc21=yes
25696
25697 else
25698 echo "$as_me: failed program was:" >&5
25699 sed 's/^/| /' conftest.$ac_ext >&5
25700
25701
25702 wx_cv_lib_glibc21=no
25703
25704
25705 fi
25706
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708
25709 fi
25710 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25711 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25712 if test "$wx_cv_lib_glibc21" = "yes"; then
25713 cat >>confdefs.h <<\_ACEOF
25714 #define wxHAVE_GLIBC2 1
25715 _ACEOF
25716
25717 fi
25718 fi
25719
25720 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25721 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25722 cat >>confdefs.h <<\_ACEOF
25723 #define _GNU_SOURCE 1
25724 _ACEOF
25725
25726 fi
25727 fi
25728
25729 have_cos=0
25730 have_floor=0
25731
25732 for ac_func in cos
25733 do
25734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25738 echo $ECHO_N "(cached) $ECHO_C" >&6
25739 else
25740 cat >conftest.$ac_ext <<_ACEOF
25741 /* confdefs.h. */
25742 _ACEOF
25743 cat confdefs.h >>conftest.$ac_ext
25744 cat >>conftest.$ac_ext <<_ACEOF
25745 /* end confdefs.h. */
25746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25748 #define $ac_func innocuous_$ac_func
25749
25750 /* System header to define __stub macros and hopefully few prototypes,
25751 which can conflict with char $ac_func (); below.
25752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25753 <limits.h> exists even on freestanding compilers. */
25754
25755 #ifdef __STDC__
25756 # include <limits.h>
25757 #else
25758 # include <assert.h>
25759 #endif
25760
25761 #undef $ac_func
25762
25763 /* Override any GCC internal prototype to avoid an error.
25764 Use char because int might match the return type of a GCC
25765 builtin and then its argument prototype would still apply. */
25766 #ifdef __cplusplus
25767 extern "C"
25768 #endif
25769 char $ac_func ();
25770 /* The GNU C library defines this for functions which it implements
25771 to always fail with ENOSYS. Some functions are actually named
25772 something starting with __ and the normal name is an alias. */
25773 #if defined __stub_$ac_func || defined __stub___$ac_func
25774 choke me
25775 #endif
25776
25777 int
25778 main ()
25779 {
25780 return $ac_func ();
25781 ;
25782 return 0;
25783 }
25784 _ACEOF
25785 rm -f conftest.$ac_objext conftest$ac_exeext
25786 if { (ac_try="$ac_link"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25790 esac
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_link") 2>conftest.er1
25793 ac_status=$?
25794 grep -v '^ *+' conftest.er1 >conftest.err
25795 rm -f conftest.er1
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } && {
25799 test -z "$ac_c_werror_flag" ||
25800 test ! -s conftest.err
25801 } && test -s conftest$ac_exeext &&
25802 $as_test_x conftest$ac_exeext; then
25803 eval "$as_ac_var=yes"
25804 else
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.$ac_ext >&5
25807
25808 eval "$as_ac_var=no"
25809 fi
25810
25811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25812 conftest$ac_exeext conftest.$ac_ext
25813 fi
25814 ac_res=`eval echo '${'$as_ac_var'}'`
25815 { echo "$as_me:$LINENO: result: $ac_res" >&5
25816 echo "${ECHO_T}$ac_res" >&6; }
25817 if test `eval echo '${'$as_ac_var'}'` = yes; then
25818 cat >>confdefs.h <<_ACEOF
25819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25820 _ACEOF
25821 have_cos=1
25822 fi
25823 done
25824
25825
25826 for ac_func in floor
25827 do
25828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 else
25834 cat >conftest.$ac_ext <<_ACEOF
25835 /* confdefs.h. */
25836 _ACEOF
25837 cat confdefs.h >>conftest.$ac_ext
25838 cat >>conftest.$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25842 #define $ac_func innocuous_$ac_func
25843
25844 /* System header to define __stub macros and hopefully few prototypes,
25845 which can conflict with char $ac_func (); below.
25846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25847 <limits.h> exists even on freestanding compilers. */
25848
25849 #ifdef __STDC__
25850 # include <limits.h>
25851 #else
25852 # include <assert.h>
25853 #endif
25854
25855 #undef $ac_func
25856
25857 /* Override any GCC internal prototype to avoid an error.
25858 Use char because int might match the return type of a GCC
25859 builtin and then its argument prototype would still apply. */
25860 #ifdef __cplusplus
25861 extern "C"
25862 #endif
25863 char $ac_func ();
25864 /* The GNU C library defines this for functions which it implements
25865 to always fail with ENOSYS. Some functions are actually named
25866 something starting with __ and the normal name is an alias. */
25867 #if defined __stub_$ac_func || defined __stub___$ac_func
25868 choke me
25869 #endif
25870
25871 int
25872 main ()
25873 {
25874 return $ac_func ();
25875 ;
25876 return 0;
25877 }
25878 _ACEOF
25879 rm -f conftest.$ac_objext conftest$ac_exeext
25880 if { (ac_try="$ac_link"
25881 case "(($ac_try" in
25882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25883 *) ac_try_echo=$ac_try;;
25884 esac
25885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25886 (eval "$ac_link") 2>conftest.er1
25887 ac_status=$?
25888 grep -v '^ *+' conftest.er1 >conftest.err
25889 rm -f conftest.er1
25890 cat conftest.err >&5
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); } && {
25893 test -z "$ac_c_werror_flag" ||
25894 test ! -s conftest.err
25895 } && test -s conftest$ac_exeext &&
25896 $as_test_x conftest$ac_exeext; then
25897 eval "$as_ac_var=yes"
25898 else
25899 echo "$as_me: failed program was:" >&5
25900 sed 's/^/| /' conftest.$ac_ext >&5
25901
25902 eval "$as_ac_var=no"
25903 fi
25904
25905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25906 conftest$ac_exeext conftest.$ac_ext
25907 fi
25908 ac_res=`eval echo '${'$as_ac_var'}'`
25909 { echo "$as_me:$LINENO: result: $ac_res" >&5
25910 echo "${ECHO_T}$ac_res" >&6; }
25911 if test `eval echo '${'$as_ac_var'}'` = yes; then
25912 cat >>confdefs.h <<_ACEOF
25913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25914 _ACEOF
25915 have_floor=1
25916 fi
25917 done
25918
25919 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25920 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25921 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25922 { echo "$as_me:$LINENO: result: yes" >&5
25923 echo "${ECHO_T}yes" >&6; }
25924 else
25925 { echo "$as_me:$LINENO: result: no" >&5
25926 echo "${ECHO_T}no" >&6; }
25927 LIBS="$LIBS -lm"
25928 # use different functions to avoid configure caching
25929 have_sin=0
25930 have_ceil=0
25931
25932 for ac_func in sin
25933 do
25934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25939 else
25940 cat >conftest.$ac_ext <<_ACEOF
25941 /* confdefs.h. */
25942 _ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25948 #define $ac_func innocuous_$ac_func
25949
25950 /* System header to define __stub macros and hopefully few prototypes,
25951 which can conflict with char $ac_func (); below.
25952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25953 <limits.h> exists even on freestanding compilers. */
25954
25955 #ifdef __STDC__
25956 # include <limits.h>
25957 #else
25958 # include <assert.h>
25959 #endif
25960
25961 #undef $ac_func
25962
25963 /* Override any GCC internal prototype to avoid an error.
25964 Use char because int might match the return type of a GCC
25965 builtin and then its argument prototype would still apply. */
25966 #ifdef __cplusplus
25967 extern "C"
25968 #endif
25969 char $ac_func ();
25970 /* The GNU C library defines this for functions which it implements
25971 to always fail with ENOSYS. Some functions are actually named
25972 something starting with __ and the normal name is an alias. */
25973 #if defined __stub_$ac_func || defined __stub___$ac_func
25974 choke me
25975 #endif
25976
25977 int
25978 main ()
25979 {
25980 return $ac_func ();
25981 ;
25982 return 0;
25983 }
25984 _ACEOF
25985 rm -f conftest.$ac_objext conftest$ac_exeext
25986 if { (ac_try="$ac_link"
25987 case "(($ac_try" in
25988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25989 *) ac_try_echo=$ac_try;;
25990 esac
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_link") 2>conftest.er1
25993 ac_status=$?
25994 grep -v '^ *+' conftest.er1 >conftest.err
25995 rm -f conftest.er1
25996 cat conftest.err >&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } && {
25999 test -z "$ac_c_werror_flag" ||
26000 test ! -s conftest.err
26001 } && test -s conftest$ac_exeext &&
26002 $as_test_x conftest$ac_exeext; then
26003 eval "$as_ac_var=yes"
26004 else
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.$ac_ext >&5
26007
26008 eval "$as_ac_var=no"
26009 fi
26010
26011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26012 conftest$ac_exeext conftest.$ac_ext
26013 fi
26014 ac_res=`eval echo '${'$as_ac_var'}'`
26015 { echo "$as_me:$LINENO: result: $ac_res" >&5
26016 echo "${ECHO_T}$ac_res" >&6; }
26017 if test `eval echo '${'$as_ac_var'}'` = yes; then
26018 cat >>confdefs.h <<_ACEOF
26019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26020 _ACEOF
26021 have_sin=1
26022 fi
26023 done
26024
26025
26026 for ac_func in ceil
26027 do
26028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26032 echo $ECHO_N "(cached) $ECHO_C" >&6
26033 else
26034 cat >conftest.$ac_ext <<_ACEOF
26035 /* confdefs.h. */
26036 _ACEOF
26037 cat confdefs.h >>conftest.$ac_ext
26038 cat >>conftest.$ac_ext <<_ACEOF
26039 /* end confdefs.h. */
26040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26042 #define $ac_func innocuous_$ac_func
26043
26044 /* System header to define __stub macros and hopefully few prototypes,
26045 which can conflict with char $ac_func (); below.
26046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26047 <limits.h> exists even on freestanding compilers. */
26048
26049 #ifdef __STDC__
26050 # include <limits.h>
26051 #else
26052 # include <assert.h>
26053 #endif
26054
26055 #undef $ac_func
26056
26057 /* Override any GCC internal prototype to avoid an error.
26058 Use char because int might match the return type of a GCC
26059 builtin and then its argument prototype would still apply. */
26060 #ifdef __cplusplus
26061 extern "C"
26062 #endif
26063 char $ac_func ();
26064 /* The GNU C library defines this for functions which it implements
26065 to always fail with ENOSYS. Some functions are actually named
26066 something starting with __ and the normal name is an alias. */
26067 #if defined __stub_$ac_func || defined __stub___$ac_func
26068 choke me
26069 #endif
26070
26071 int
26072 main ()
26073 {
26074 return $ac_func ();
26075 ;
26076 return 0;
26077 }
26078 _ACEOF
26079 rm -f conftest.$ac_objext conftest$ac_exeext
26080 if { (ac_try="$ac_link"
26081 case "(($ac_try" in
26082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26083 *) ac_try_echo=$ac_try;;
26084 esac
26085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26086 (eval "$ac_link") 2>conftest.er1
26087 ac_status=$?
26088 grep -v '^ *+' conftest.er1 >conftest.err
26089 rm -f conftest.er1
26090 cat conftest.err >&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); } && {
26093 test -z "$ac_c_werror_flag" ||
26094 test ! -s conftest.err
26095 } && test -s conftest$ac_exeext &&
26096 $as_test_x conftest$ac_exeext; then
26097 eval "$as_ac_var=yes"
26098 else
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26101
26102 eval "$as_ac_var=no"
26103 fi
26104
26105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26106 conftest$ac_exeext conftest.$ac_ext
26107 fi
26108 ac_res=`eval echo '${'$as_ac_var'}'`
26109 { echo "$as_me:$LINENO: result: $ac_res" >&5
26110 echo "${ECHO_T}$ac_res" >&6; }
26111 if test `eval echo '${'$as_ac_var'}'` = yes; then
26112 cat >>confdefs.h <<_ACEOF
26113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26114 _ACEOF
26115 have_ceil=1
26116 fi
26117 done
26118
26119 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26120 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26121 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26122 { echo "$as_me:$LINENO: result: yes" >&5
26123 echo "${ECHO_T}yes" >&6; }
26124 else
26125 { echo "$as_me:$LINENO: result: no" >&5
26126 echo "${ECHO_T}no" >&6; }
26127 # not sure we should warn the user, crash, etc.
26128 fi
26129 fi
26130
26131 ac_ext=cpp
26132 ac_cpp='$CXXCPP $CPPFLAGS'
26133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26136
26137 if test "wxUSE_UNICODE" = "yes"; then
26138
26139 for wx_func in wcstoull
26140 do
26141 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26142 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26143 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26145 else
26146
26147 cat >conftest.$ac_ext <<_ACEOF
26148
26149 /* confdefs.h. */
26150 _ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26154
26155
26156 $ac_includes_default
26157
26158 int
26159 main ()
26160 {
26161
26162 #ifndef $wx_func
26163 &$wx_func;
26164 #endif
26165
26166
26167 ;
26168 return 0;
26169 }
26170
26171 _ACEOF
26172 rm -f conftest.$ac_objext conftest$ac_exeext
26173 if { (ac_try="$ac_link"
26174 case "(($ac_try" in
26175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26176 *) ac_try_echo=$ac_try;;
26177 esac
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_link") 2>conftest.er1
26180 ac_status=$?
26181 grep -v '^ *+' conftest.er1 >conftest.err
26182 rm -f conftest.er1
26183 cat conftest.err >&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } && {
26186 test -z "$ac_cxx_werror_flag" ||
26187 test ! -s conftest.err
26188 } && test -s conftest$ac_exeext &&
26189 $as_test_x conftest$ac_exeext; then
26190 eval wx_cv_func_$wx_func=yes
26191 else
26192 echo "$as_me: failed program was:" >&5
26193 sed 's/^/| /' conftest.$ac_ext >&5
26194
26195 eval wx_cv_func_$wx_func=no
26196 fi
26197
26198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26199 conftest$ac_exeext conftest.$ac_ext
26200
26201 fi
26202 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26203 { echo "$as_me:$LINENO: result: $ac_res" >&5
26204 echo "${ECHO_T}$ac_res" >&6; }
26205
26206 if eval test \$wx_cv_func_$wx_func = yes
26207 then
26208 cat >>confdefs.h <<_ACEOF
26209 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26210 _ACEOF
26211
26212
26213 else
26214 :
26215
26216 fi
26217 done
26218
26219 else
26220
26221 for wx_func in strtoull
26222 do
26223 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26224 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26225 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26226 echo $ECHO_N "(cached) $ECHO_C" >&6
26227 else
26228
26229 cat >conftest.$ac_ext <<_ACEOF
26230
26231 /* confdefs.h. */
26232 _ACEOF
26233 cat confdefs.h >>conftest.$ac_ext
26234 cat >>conftest.$ac_ext <<_ACEOF
26235 /* end confdefs.h. */
26236
26237
26238 $ac_includes_default
26239
26240 int
26241 main ()
26242 {
26243
26244 #ifndef $wx_func
26245 &$wx_func;
26246 #endif
26247
26248
26249 ;
26250 return 0;
26251 }
26252
26253 _ACEOF
26254 rm -f conftest.$ac_objext conftest$ac_exeext
26255 if { (ac_try="$ac_link"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26259 esac
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_link") 2>conftest.er1
26262 ac_status=$?
26263 grep -v '^ *+' conftest.er1 >conftest.err
26264 rm -f conftest.er1
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } && {
26268 test -z "$ac_cxx_werror_flag" ||
26269 test ! -s conftest.err
26270 } && test -s conftest$ac_exeext &&
26271 $as_test_x conftest$ac_exeext; then
26272 eval wx_cv_func_$wx_func=yes
26273 else
26274 echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26276
26277 eval wx_cv_func_$wx_func=no
26278 fi
26279
26280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26281 conftest$ac_exeext conftest.$ac_ext
26282
26283 fi
26284 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26285 { echo "$as_me:$LINENO: result: $ac_res" >&5
26286 echo "${ECHO_T}$ac_res" >&6; }
26287
26288 if eval test \$wx_cv_func_$wx_func = yes
26289 then
26290 cat >>confdefs.h <<_ACEOF
26291 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26292 _ACEOF
26293
26294
26295 else
26296 :
26297
26298 fi
26299 done
26300
26301 fi
26302 ac_ext=c
26303 ac_cpp='$CPP $CPPFLAGS'
26304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26307
26308
26309
26310
26311 if test "$wxUSE_REGEX" != "no"; then
26312 cat >>confdefs.h <<\_ACEOF
26313 #define wxUSE_REGEX 1
26314 _ACEOF
26315
26316
26317 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26318 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26319 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26320 wxUSE_REGEX=builtin
26321 fi
26322
26323 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26324 { echo "$as_me:$LINENO: checking for regex.h" >&5
26325 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26326 if test "${ac_cv_header_regex_h+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26328 else
26329 cat >conftest.$ac_ext <<_ACEOF
26330 /* confdefs.h. */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335
26336
26337 #include <regex.h>
26338 _ACEOF
26339 rm -f conftest.$ac_objext
26340 if { (ac_try="$ac_compile"
26341 case "(($ac_try" in
26342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26343 *) ac_try_echo=$ac_try;;
26344 esac
26345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26346 (eval "$ac_compile") 2>conftest.er1
26347 ac_status=$?
26348 grep -v '^ *+' conftest.er1 >conftest.err
26349 rm -f conftest.er1
26350 cat conftest.err >&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } && {
26353 test -z "$ac_c_werror_flag" ||
26354 test ! -s conftest.err
26355 } && test -s conftest.$ac_objext; then
26356 ac_cv_header_regex_h=yes
26357 else
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26360
26361 ac_cv_header_regex_h=no
26362 fi
26363
26364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26365 fi
26366 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26367 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26368 if test $ac_cv_header_regex_h = yes; then
26369
26370
26371 for ac_func in regcomp re_search
26372 do
26373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26376 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26377 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 else
26379 cat >conftest.$ac_ext <<_ACEOF
26380 /* confdefs.h. */
26381 _ACEOF
26382 cat confdefs.h >>conftest.$ac_ext
26383 cat >>conftest.$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26387 #define $ac_func innocuous_$ac_func
26388
26389 /* System header to define __stub macros and hopefully few prototypes,
26390 which can conflict with char $ac_func (); below.
26391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26392 <limits.h> exists even on freestanding compilers. */
26393
26394 #ifdef __STDC__
26395 # include <limits.h>
26396 #else
26397 # include <assert.h>
26398 #endif
26399
26400 #undef $ac_func
26401
26402 /* Override any GCC internal prototype to avoid an error.
26403 Use char because int might match the return type of a GCC
26404 builtin and then its argument prototype would still apply. */
26405 #ifdef __cplusplus
26406 extern "C"
26407 #endif
26408 char $ac_func ();
26409 /* The GNU C library defines this for functions which it implements
26410 to always fail with ENOSYS. Some functions are actually named
26411 something starting with __ and the normal name is an alias. */
26412 #if defined __stub_$ac_func || defined __stub___$ac_func
26413 choke me
26414 #endif
26415
26416 int
26417 main ()
26418 {
26419 return $ac_func ();
26420 ;
26421 return 0;
26422 }
26423 _ACEOF
26424 rm -f conftest.$ac_objext conftest$ac_exeext
26425 if { (ac_try="$ac_link"
26426 case "(($ac_try" in
26427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26428 *) ac_try_echo=$ac_try;;
26429 esac
26430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26431 (eval "$ac_link") 2>conftest.er1
26432 ac_status=$?
26433 grep -v '^ *+' conftest.er1 >conftest.err
26434 rm -f conftest.er1
26435 cat conftest.err >&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); } && {
26438 test -z "$ac_c_werror_flag" ||
26439 test ! -s conftest.err
26440 } && test -s conftest$ac_exeext &&
26441 $as_test_x conftest$ac_exeext; then
26442 eval "$as_ac_var=yes"
26443 else
26444 echo "$as_me: failed program was:" >&5
26445 sed 's/^/| /' conftest.$ac_ext >&5
26446
26447 eval "$as_ac_var=no"
26448 fi
26449
26450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26451 conftest$ac_exeext conftest.$ac_ext
26452 fi
26453 ac_res=`eval echo '${'$as_ac_var'}'`
26454 { echo "$as_me:$LINENO: result: $ac_res" >&5
26455 echo "${ECHO_T}$ac_res" >&6; }
26456 if test `eval echo '${'$as_ac_var'}'` = yes; then
26457 cat >>confdefs.h <<_ACEOF
26458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26459 _ACEOF
26460
26461 fi
26462 done
26463
26464 fi
26465
26466
26467
26468 if test "x$ac_cv_func_regcomp" != "xyes"; then
26469 if test "$wxUSE_REGEX" = "sys" ; then
26470 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26471 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26472 { (exit 1); exit 1; }; }
26473 else
26474 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26475 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26476 wxUSE_REGEX=builtin
26477 fi
26478 else
26479 wxUSE_REGEX=sys
26480 cat >>confdefs.h <<\_ACEOF
26481 #define WX_NO_REGEX_ADVANCED 1
26482 _ACEOF
26483
26484 fi
26485 fi
26486 fi
26487
26488
26489 ZLIB_LINK=
26490 if test "$wxUSE_ZLIB" != "no" ; then
26491 cat >>confdefs.h <<\_ACEOF
26492 #define wxUSE_ZLIB 1
26493 _ACEOF
26494
26495
26496 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26497 if test "$USE_DARWIN" = 1; then
26498 system_zlib_h_ok="yes"
26499 else
26500 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26501 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26502 if test "${ac_cv_header_zlib_h+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 else
26505 if test "$cross_compiling" = yes; then
26506 unset ac_cv_header_zlib_h
26507
26508 else
26509 cat >conftest.$ac_ext <<_ACEOF
26510 /* confdefs.h. */
26511 _ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515
26516 #include <zlib.h>
26517 #include <stdio.h>
26518
26519 int main()
26520 {
26521 FILE *f=fopen("conftestval", "w");
26522 if (!f) exit(1);
26523 fprintf(f, "%s",
26524 ZLIB_VERSION[0] == '1' &&
26525 (ZLIB_VERSION[2] > '1' ||
26526 (ZLIB_VERSION[2] == '1' &&
26527 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26528 exit(0);
26529 }
26530
26531 _ACEOF
26532 rm -f conftest$ac_exeext
26533 if { (ac_try="$ac_link"
26534 case "(($ac_try" in
26535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26536 *) ac_try_echo=$ac_try;;
26537 esac
26538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26539 (eval "$ac_link") 2>&5
26540 ac_status=$?
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26543 { (case "(($ac_try" in
26544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26545 *) ac_try_echo=$ac_try;;
26546 esac
26547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26548 (eval "$ac_try") 2>&5
26549 ac_status=$?
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; }; then
26552 ac_cv_header_zlib_h=`cat conftestval`
26553 else
26554 echo "$as_me: program exited with status $ac_status" >&5
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26557
26558 ( exit $ac_status )
26559 ac_cv_header_zlib_h=no
26560 fi
26561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26562 fi
26563
26564
26565
26566 fi
26567 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26568 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26569 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26570 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26571 if test "${ac_cv_header_zlib_h+set}" = set; then
26572 echo $ECHO_N "(cached) $ECHO_C" >&6
26573 else
26574 cat >conftest.$ac_ext <<_ACEOF
26575 /* confdefs.h. */
26576 _ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26580
26581
26582 #include <zlib.h>
26583 _ACEOF
26584 rm -f conftest.$ac_objext
26585 if { (ac_try="$ac_compile"
26586 case "(($ac_try" in
26587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26588 *) ac_try_echo=$ac_try;;
26589 esac
26590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26591 (eval "$ac_compile") 2>conftest.er1
26592 ac_status=$?
26593 grep -v '^ *+' conftest.er1 >conftest.err
26594 rm -f conftest.er1
26595 cat conftest.err >&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); } && {
26598 test -z "$ac_c_werror_flag" ||
26599 test ! -s conftest.err
26600 } && test -s conftest.$ac_objext; then
26601 ac_cv_header_zlib_h=yes
26602 else
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.$ac_ext >&5
26605
26606 ac_cv_header_zlib_h=no
26607 fi
26608
26609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26610 fi
26611 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26612 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26613
26614
26615
26616 system_zlib_h_ok=$ac_cv_header_zlib_h
26617 fi
26618
26619 if test "$system_zlib_h_ok" = "yes"; then
26620 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26621 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26622 if test "${ac_cv_lib_z_deflate+set}" = set; then
26623 echo $ECHO_N "(cached) $ECHO_C" >&6
26624 else
26625 ac_check_lib_save_LIBS=$LIBS
26626 LIBS="-lz $LIBS"
26627 cat >conftest.$ac_ext <<_ACEOF
26628 /* confdefs.h. */
26629 _ACEOF
26630 cat confdefs.h >>conftest.$ac_ext
26631 cat >>conftest.$ac_ext <<_ACEOF
26632 /* end confdefs.h. */
26633
26634 /* Override any GCC internal prototype to avoid an error.
26635 Use char because int might match the return type of a GCC
26636 builtin and then its argument prototype would still apply. */
26637 #ifdef __cplusplus
26638 extern "C"
26639 #endif
26640 char deflate ();
26641 int
26642 main ()
26643 {
26644 return deflate ();
26645 ;
26646 return 0;
26647 }
26648 _ACEOF
26649 rm -f conftest.$ac_objext conftest$ac_exeext
26650 if { (ac_try="$ac_link"
26651 case "(($ac_try" in
26652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26653 *) ac_try_echo=$ac_try;;
26654 esac
26655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26656 (eval "$ac_link") 2>conftest.er1
26657 ac_status=$?
26658 grep -v '^ *+' conftest.er1 >conftest.err
26659 rm -f conftest.er1
26660 cat conftest.err >&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); } && {
26663 test -z "$ac_c_werror_flag" ||
26664 test ! -s conftest.err
26665 } && test -s conftest$ac_exeext &&
26666 $as_test_x conftest$ac_exeext; then
26667 ac_cv_lib_z_deflate=yes
26668 else
26669 echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.$ac_ext >&5
26671
26672 ac_cv_lib_z_deflate=no
26673 fi
26674
26675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26676 conftest$ac_exeext conftest.$ac_ext
26677 LIBS=$ac_check_lib_save_LIBS
26678 fi
26679 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26680 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26681 if test $ac_cv_lib_z_deflate = yes; then
26682 ZLIB_LINK=" -lz"
26683 fi
26684
26685 fi
26686
26687 if test "x$ZLIB_LINK" = "x" ; then
26688 if test "$wxUSE_ZLIB" = "sys" ; then
26689 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26690 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26691 { (exit 1); exit 1; }; }
26692 else
26693 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26694 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26695 wxUSE_ZLIB=builtin
26696 fi
26697 else
26698 wxUSE_ZLIB=sys
26699 fi
26700 fi
26701 fi
26702
26703
26704 PNG_LINK=
26705 if test "$wxUSE_LIBPNG" != "no" ; then
26706 cat >>confdefs.h <<\_ACEOF
26707 #define wxUSE_LIBPNG 1
26708 _ACEOF
26709
26710
26711 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26712 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26713 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26714 wxUSE_LIBPNG=sys
26715 fi
26716
26717 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26718 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26719 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26720 wxUSE_LIBPNG=builtin
26721 fi
26722
26723 if test "$wxUSE_MGL" != 1 ; then
26724 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26725 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26726 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26727 if test "${ac_cv_header_png_h+set}" = set; then
26728 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 else
26730 if test "$cross_compiling" = yes; then
26731 unset ac_cv_header_png_h
26732
26733 else
26734 cat >conftest.$ac_ext <<_ACEOF
26735 /* confdefs.h. */
26736 _ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740
26741 #include <png.h>
26742 #include <stdio.h>
26743
26744 int main()
26745 {
26746 FILE *f=fopen("conftestval", "w");
26747 if (!f) exit(1);
26748 fprintf(f, "%s",
26749 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26750 exit(0);
26751 }
26752
26753 _ACEOF
26754 rm -f conftest$ac_exeext
26755 if { (ac_try="$ac_link"
26756 case "(($ac_try" in
26757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26758 *) ac_try_echo=$ac_try;;
26759 esac
26760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26761 (eval "$ac_link") 2>&5
26762 ac_status=$?
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26765 { (case "(($ac_try" in
26766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26767 *) ac_try_echo=$ac_try;;
26768 esac
26769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26770 (eval "$ac_try") 2>&5
26771 ac_status=$?
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); }; }; then
26774 ac_cv_header_png_h=`cat conftestval`
26775 else
26776 echo "$as_me: program exited with status $ac_status" >&5
26777 echo "$as_me: failed program was:" >&5
26778 sed 's/^/| /' conftest.$ac_ext >&5
26779
26780 ( exit $ac_status )
26781 ac_cv_header_png_h=no
26782 fi
26783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26784 fi
26785
26786
26787
26788 fi
26789 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26790 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26791 { echo "$as_me:$LINENO: checking for png.h" >&5
26792 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26793 if test "${ac_cv_header_png_h+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26795 else
26796 cat >conftest.$ac_ext <<_ACEOF
26797 /* confdefs.h. */
26798 _ACEOF
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26802
26803
26804 #include <png.h>
26805 _ACEOF
26806 rm -f conftest.$ac_objext
26807 if { (ac_try="$ac_compile"
26808 case "(($ac_try" in
26809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26810 *) ac_try_echo=$ac_try;;
26811 esac
26812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26813 (eval "$ac_compile") 2>conftest.er1
26814 ac_status=$?
26815 grep -v '^ *+' conftest.er1 >conftest.err
26816 rm -f conftest.er1
26817 cat conftest.err >&5
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); } && {
26820 test -z "$ac_c_werror_flag" ||
26821 test ! -s conftest.err
26822 } && test -s conftest.$ac_objext; then
26823 ac_cv_header_png_h=yes
26824 else
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.$ac_ext >&5
26827
26828 ac_cv_header_png_h=no
26829 fi
26830
26831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26832 fi
26833 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26834 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26835
26836
26837
26838 if test "$ac_cv_header_png_h" = "yes"; then
26839 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26840 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26841 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 else
26844 ac_check_lib_save_LIBS=$LIBS
26845 LIBS="-lpng -lz -lm $LIBS"
26846 cat >conftest.$ac_ext <<_ACEOF
26847 /* confdefs.h. */
26848 _ACEOF
26849 cat confdefs.h >>conftest.$ac_ext
26850 cat >>conftest.$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26852
26853 /* Override any GCC internal prototype to avoid an error.
26854 Use char because int might match the return type of a GCC
26855 builtin and then its argument prototype would still apply. */
26856 #ifdef __cplusplus
26857 extern "C"
26858 #endif
26859 char png_check_sig ();
26860 int
26861 main ()
26862 {
26863 return png_check_sig ();
26864 ;
26865 return 0;
26866 }
26867 _ACEOF
26868 rm -f conftest.$ac_objext conftest$ac_exeext
26869 if { (ac_try="$ac_link"
26870 case "(($ac_try" in
26871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26872 *) ac_try_echo=$ac_try;;
26873 esac
26874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26875 (eval "$ac_link") 2>conftest.er1
26876 ac_status=$?
26877 grep -v '^ *+' conftest.er1 >conftest.err
26878 rm -f conftest.er1
26879 cat conftest.err >&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); } && {
26882 test -z "$ac_c_werror_flag" ||
26883 test ! -s conftest.err
26884 } && test -s conftest$ac_exeext &&
26885 $as_test_x conftest$ac_exeext; then
26886 ac_cv_lib_png_png_check_sig=yes
26887 else
26888 echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.$ac_ext >&5
26890
26891 ac_cv_lib_png_png_check_sig=no
26892 fi
26893
26894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26895 conftest$ac_exeext conftest.$ac_ext
26896 LIBS=$ac_check_lib_save_LIBS
26897 fi
26898 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26899 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26900 if test $ac_cv_lib_png_png_check_sig = yes; then
26901 PNG_LINK=" -lpng -lz"
26902 fi
26903
26904 fi
26905
26906 if test "x$PNG_LINK" = "x" ; then
26907 if test "$wxUSE_LIBPNG" = "sys" ; then
26908 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26909 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26910 { (exit 1); exit 1; }; }
26911 else
26912 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26913 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26914 wxUSE_LIBPNG=builtin
26915 fi
26916 else
26917 wxUSE_LIBPNG=sys
26918 fi
26919 fi
26920 fi
26921 fi
26922
26923
26924 JPEG_LINK=
26925 if test "$wxUSE_LIBJPEG" != "no" ; then
26926 cat >>confdefs.h <<\_ACEOF
26927 #define wxUSE_LIBJPEG 1
26928 _ACEOF
26929
26930
26931 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26932 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26933 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26934 wxUSE_LIBJPEG=sys
26935 fi
26936
26937 if test "$wxUSE_MGL" != 1 ; then
26938 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26939 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26940 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26941 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26942 echo $ECHO_N "(cached) $ECHO_C" >&6
26943 else
26944 cat >conftest.$ac_ext <<_ACEOF
26945 /* confdefs.h. */
26946 _ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26950
26951 #undef HAVE_STDLIB_H
26952 #include <stdio.h>
26953 #include <jpeglib.h>
26954
26955 int
26956 main ()
26957 {
26958
26959
26960 ;
26961 return 0;
26962 }
26963 _ACEOF
26964 rm -f conftest.$ac_objext
26965 if { (ac_try="$ac_compile"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26969 esac
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_compile") 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } && {
26978 test -z "$ac_c_werror_flag" ||
26979 test ! -s conftest.err
26980 } && test -s conftest.$ac_objext; then
26981 ac_cv_header_jpeglib_h=yes
26982 else
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26985
26986 ac_cv_header_jpeglib_h=no
26987
26988 fi
26989
26990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26991
26992 fi
26993
26994 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26995 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26996
26997 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26998 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26999 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27000 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 else
27003 ac_check_lib_save_LIBS=$LIBS
27004 LIBS="-ljpeg $LIBS"
27005 cat >conftest.$ac_ext <<_ACEOF
27006 /* confdefs.h. */
27007 _ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011
27012 /* Override any GCC internal prototype to avoid an error.
27013 Use char because int might match the return type of a GCC
27014 builtin and then its argument prototype would still apply. */
27015 #ifdef __cplusplus
27016 extern "C"
27017 #endif
27018 char jpeg_read_header ();
27019 int
27020 main ()
27021 {
27022 return jpeg_read_header ();
27023 ;
27024 return 0;
27025 }
27026 _ACEOF
27027 rm -f conftest.$ac_objext conftest$ac_exeext
27028 if { (ac_try="$ac_link"
27029 case "(($ac_try" in
27030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27031 *) ac_try_echo=$ac_try;;
27032 esac
27033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27034 (eval "$ac_link") 2>conftest.er1
27035 ac_status=$?
27036 grep -v '^ *+' conftest.er1 >conftest.err
27037 rm -f conftest.er1
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && {
27041 test -z "$ac_c_werror_flag" ||
27042 test ! -s conftest.err
27043 } && test -s conftest$ac_exeext &&
27044 $as_test_x conftest$ac_exeext; then
27045 ac_cv_lib_jpeg_jpeg_read_header=yes
27046 else
27047 echo "$as_me: failed program was:" >&5
27048 sed 's/^/| /' conftest.$ac_ext >&5
27049
27050 ac_cv_lib_jpeg_jpeg_read_header=no
27051 fi
27052
27053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27054 conftest$ac_exeext conftest.$ac_ext
27055 LIBS=$ac_check_lib_save_LIBS
27056 fi
27057 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27058 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27059 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27060 JPEG_LINK=" -ljpeg"
27061 fi
27062
27063 fi
27064
27065 if test "x$JPEG_LINK" = "x" ; then
27066 if test "$wxUSE_LIBJPEG" = "sys" ; then
27067 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27068 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27069 { (exit 1); exit 1; }; }
27070 else
27071 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27072 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27073 wxUSE_LIBJPEG=builtin
27074 fi
27075 else
27076 wxUSE_LIBJPEG=sys
27077
27078 if test "$wxUSE_MSW" = 1; then
27079 { echo "$as_me:$LINENO: checking for boolean" >&5
27080 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27081 if test "${ac_cv_type_boolean+set}" = set; then
27082 echo $ECHO_N "(cached) $ECHO_C" >&6
27083 else
27084 cat >conftest.$ac_ext <<_ACEOF
27085 /* confdefs.h. */
27086 _ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090 #include <windows.h>
27091
27092 typedef boolean ac__type_new_;
27093 int
27094 main ()
27095 {
27096 if ((ac__type_new_ *) 0)
27097 return 0;
27098 if (sizeof (ac__type_new_))
27099 return 0;
27100 ;
27101 return 0;
27102 }
27103 _ACEOF
27104 rm -f conftest.$ac_objext
27105 if { (ac_try="$ac_compile"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 *) ac_try_echo=$ac_try;;
27109 esac
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_compile") 2>conftest.er1
27112 ac_status=$?
27113 grep -v '^ *+' conftest.er1 >conftest.err
27114 rm -f conftest.er1
27115 cat conftest.err >&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest.$ac_objext; then
27121 ac_cv_type_boolean=yes
27122 else
27123 echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.$ac_ext >&5
27125
27126 ac_cv_type_boolean=no
27127 fi
27128
27129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27130 fi
27131 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27132 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27133 if test $ac_cv_type_boolean = yes; then
27134
27135 cat >>confdefs.h <<_ACEOF
27136 #define HAVE_BOOLEAN 1
27137 _ACEOF
27138
27139
27140 { echo "$as_me:$LINENO: checking for boolean" >&5
27141 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27142 if test "${ac_cv_type_boolean+set}" = set; then
27143 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 else
27145 cat >conftest.$ac_ext <<_ACEOF
27146 /* confdefs.h. */
27147 _ACEOF
27148 cat confdefs.h >>conftest.$ac_ext
27149 cat >>conftest.$ac_ext <<_ACEOF
27150 /* end confdefs.h. */
27151
27152 #undef HAVE_BOOLEAN
27153 #include <stdio.h>
27154 #include <jpeglib.h>
27155
27156
27157 typedef boolean ac__type_new_;
27158 int
27159 main ()
27160 {
27161 if ((ac__type_new_ *) 0)
27162 return 0;
27163 if (sizeof (ac__type_new_))
27164 return 0;
27165 ;
27166 return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest.$ac_objext
27170 if { (ac_try="$ac_compile"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27174 esac
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_compile") 2>conftest.er1
27177 ac_status=$?
27178 grep -v '^ *+' conftest.er1 >conftest.err
27179 rm -f conftest.er1
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest.$ac_objext; then
27186 ac_cv_type_boolean=yes
27187 else
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.$ac_ext >&5
27190
27191 ac_cv_type_boolean=no
27192 fi
27193
27194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27195 fi
27196 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27197 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27198
27199 # The cast to long int works around a bug in the HP C Compiler
27200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27202 # This bug is HP SR number 8606223364.
27203 { echo "$as_me:$LINENO: checking size of boolean" >&5
27204 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27205 if test "${ac_cv_sizeof_boolean+set}" = set; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27207 else
27208 if test "$cross_compiling" = yes; then
27209 # Depending upon the size, compute the lo and hi bounds.
27210 cat >conftest.$ac_ext <<_ACEOF
27211 /* confdefs.h. */
27212 _ACEOF
27213 cat confdefs.h >>conftest.$ac_ext
27214 cat >>conftest.$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216
27217 #undef HAVE_BOOLEAN
27218 #include <stdio.h>
27219 #include <jpeglib.h>
27220
27221
27222 typedef boolean ac__type_sizeof_;
27223 int
27224 main ()
27225 {
27226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27227 test_array [0] = 0
27228
27229 ;
27230 return 0;
27231 }
27232 _ACEOF
27233 rm -f conftest.$ac_objext
27234 if { (ac_try="$ac_compile"
27235 case "(($ac_try" in
27236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27237 *) ac_try_echo=$ac_try;;
27238 esac
27239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27240 (eval "$ac_compile") 2>conftest.er1
27241 ac_status=$?
27242 grep -v '^ *+' conftest.er1 >conftest.err
27243 rm -f conftest.er1
27244 cat conftest.err >&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } && {
27247 test -z "$ac_c_werror_flag" ||
27248 test ! -s conftest.err
27249 } && test -s conftest.$ac_objext; then
27250 ac_lo=0 ac_mid=0
27251 while :; do
27252 cat >conftest.$ac_ext <<_ACEOF
27253 /* confdefs.h. */
27254 _ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258
27259 #undef HAVE_BOOLEAN
27260 #include <stdio.h>
27261 #include <jpeglib.h>
27262
27263
27264 typedef boolean ac__type_sizeof_;
27265 int
27266 main ()
27267 {
27268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27269 test_array [0] = 0
27270
27271 ;
27272 return 0;
27273 }
27274 _ACEOF
27275 rm -f conftest.$ac_objext
27276 if { (ac_try="$ac_compile"
27277 case "(($ac_try" in
27278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27279 *) ac_try_echo=$ac_try;;
27280 esac
27281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27282 (eval "$ac_compile") 2>conftest.er1
27283 ac_status=$?
27284 grep -v '^ *+' conftest.er1 >conftest.err
27285 rm -f conftest.er1
27286 cat conftest.err >&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } && {
27289 test -z "$ac_c_werror_flag" ||
27290 test ! -s conftest.err
27291 } && test -s conftest.$ac_objext; then
27292 ac_hi=$ac_mid; break
27293 else
27294 echo "$as_me: failed program was:" >&5
27295 sed 's/^/| /' conftest.$ac_ext >&5
27296
27297 ac_lo=`expr $ac_mid + 1`
27298 if test $ac_lo -le $ac_mid; then
27299 ac_lo= ac_hi=
27300 break
27301 fi
27302 ac_mid=`expr 2 '*' $ac_mid + 1`
27303 fi
27304
27305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27306 done
27307 else
27308 echo "$as_me: failed program was:" >&5
27309 sed 's/^/| /' conftest.$ac_ext >&5
27310
27311 cat >conftest.$ac_ext <<_ACEOF
27312 /* confdefs.h. */
27313 _ACEOF
27314 cat confdefs.h >>conftest.$ac_ext
27315 cat >>conftest.$ac_ext <<_ACEOF
27316 /* end confdefs.h. */
27317
27318 #undef HAVE_BOOLEAN
27319 #include <stdio.h>
27320 #include <jpeglib.h>
27321
27322
27323 typedef boolean ac__type_sizeof_;
27324 int
27325 main ()
27326 {
27327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27328 test_array [0] = 0
27329
27330 ;
27331 return 0;
27332 }
27333 _ACEOF
27334 rm -f conftest.$ac_objext
27335 if { (ac_try="$ac_compile"
27336 case "(($ac_try" in
27337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27338 *) ac_try_echo=$ac_try;;
27339 esac
27340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27341 (eval "$ac_compile") 2>conftest.er1
27342 ac_status=$?
27343 grep -v '^ *+' conftest.er1 >conftest.err
27344 rm -f conftest.er1
27345 cat conftest.err >&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } && {
27348 test -z "$ac_c_werror_flag" ||
27349 test ! -s conftest.err
27350 } && test -s conftest.$ac_objext; then
27351 ac_hi=-1 ac_mid=-1
27352 while :; do
27353 cat >conftest.$ac_ext <<_ACEOF
27354 /* confdefs.h. */
27355 _ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359
27360 #undef HAVE_BOOLEAN
27361 #include <stdio.h>
27362 #include <jpeglib.h>
27363
27364
27365 typedef boolean ac__type_sizeof_;
27366 int
27367 main ()
27368 {
27369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27370 test_array [0] = 0
27371
27372 ;
27373 return 0;
27374 }
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_lo=$ac_mid; break
27394 else
27395 echo "$as_me: failed program was:" >&5
27396 sed 's/^/| /' conftest.$ac_ext >&5
27397
27398 ac_hi=`expr '(' $ac_mid ')' - 1`
27399 if test $ac_mid -le $ac_hi; then
27400 ac_lo= ac_hi=
27401 break
27402 fi
27403 ac_mid=`expr 2 '*' $ac_mid`
27404 fi
27405
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27407 done
27408 else
27409 echo "$as_me: failed program was:" >&5
27410 sed 's/^/| /' conftest.$ac_ext >&5
27411
27412 ac_lo= ac_hi=
27413 fi
27414
27415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27416 fi
27417
27418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27419 # Binary search between lo and hi bounds.
27420 while test "x$ac_lo" != "x$ac_hi"; do
27421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27422 cat >conftest.$ac_ext <<_ACEOF
27423 /* confdefs.h. */
27424 _ACEOF
27425 cat confdefs.h >>conftest.$ac_ext
27426 cat >>conftest.$ac_ext <<_ACEOF
27427 /* end confdefs.h. */
27428
27429 #undef HAVE_BOOLEAN
27430 #include <stdio.h>
27431 #include <jpeglib.h>
27432
27433
27434 typedef boolean ac__type_sizeof_;
27435 int
27436 main ()
27437 {
27438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27439 test_array [0] = 0
27440
27441 ;
27442 return 0;
27443 }
27444 _ACEOF
27445 rm -f conftest.$ac_objext
27446 if { (ac_try="$ac_compile"
27447 case "(($ac_try" in
27448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27449 *) ac_try_echo=$ac_try;;
27450 esac
27451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27452 (eval "$ac_compile") 2>conftest.er1
27453 ac_status=$?
27454 grep -v '^ *+' conftest.er1 >conftest.err
27455 rm -f conftest.er1
27456 cat conftest.err >&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && {
27459 test -z "$ac_c_werror_flag" ||
27460 test ! -s conftest.err
27461 } && test -s conftest.$ac_objext; then
27462 ac_hi=$ac_mid
27463 else
27464 echo "$as_me: failed program was:" >&5
27465 sed 's/^/| /' conftest.$ac_ext >&5
27466
27467 ac_lo=`expr '(' $ac_mid ')' + 1`
27468 fi
27469
27470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27471 done
27472 case $ac_lo in
27473 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27474 '') if test "$ac_cv_type_boolean" = yes; then
27475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27476 See \`config.log' for more details." >&5
27477 echo "$as_me: error: cannot compute sizeof (boolean)
27478 See \`config.log' for more details." >&2;}
27479 { (exit 77); exit 77; }; }
27480 else
27481 ac_cv_sizeof_boolean=0
27482 fi ;;
27483 esac
27484 else
27485 cat >conftest.$ac_ext <<_ACEOF
27486 /* confdefs.h. */
27487 _ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27491
27492 #undef HAVE_BOOLEAN
27493 #include <stdio.h>
27494 #include <jpeglib.h>
27495
27496
27497 typedef boolean ac__type_sizeof_;
27498 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27499 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27500 #include <stdio.h>
27501 #include <stdlib.h>
27502 int
27503 main ()
27504 {
27505
27506 FILE *f = fopen ("conftest.val", "w");
27507 if (! f)
27508 return 1;
27509 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27510 {
27511 long int i = longval ();
27512 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27513 return 1;
27514 fprintf (f, "%ld\n", i);
27515 }
27516 else
27517 {
27518 unsigned long int i = ulongval ();
27519 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27520 return 1;
27521 fprintf (f, "%lu\n", i);
27522 }
27523 return ferror (f) || fclose (f) != 0;
27524
27525 ;
27526 return 0;
27527 }
27528 _ACEOF
27529 rm -f conftest$ac_exeext
27530 if { (ac_try="$ac_link"
27531 case "(($ac_try" in
27532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27533 *) ac_try_echo=$ac_try;;
27534 esac
27535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27536 (eval "$ac_link") 2>&5
27537 ac_status=$?
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27540 { (case "(($ac_try" in
27541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27542 *) ac_try_echo=$ac_try;;
27543 esac
27544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27545 (eval "$ac_try") 2>&5
27546 ac_status=$?
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); }; }; then
27549 ac_cv_sizeof_boolean=`cat conftest.val`
27550 else
27551 echo "$as_me: program exited with status $ac_status" >&5
27552 echo "$as_me: failed program was:" >&5
27553 sed 's/^/| /' conftest.$ac_ext >&5
27554
27555 ( exit $ac_status )
27556 if test "$ac_cv_type_boolean" = yes; then
27557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27558 See \`config.log' for more details." >&5
27559 echo "$as_me: error: cannot compute sizeof (boolean)
27560 See \`config.log' for more details." >&2;}
27561 { (exit 77); exit 77; }; }
27562 else
27563 ac_cv_sizeof_boolean=0
27564 fi
27565 fi
27566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27567 fi
27568 rm -f conftest.val
27569 fi
27570 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27571 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27572
27573
27574
27575 cat >>confdefs.h <<_ACEOF
27576 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27577 _ACEOF
27578
27579
27580 cat >>confdefs.h <<_ACEOF
27581 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27582 _ACEOF
27583
27584
27585 fi
27586
27587 fi
27588 fi
27589 fi
27590 fi
27591 fi
27592
27593
27594 TIFF_LINK=
27595 TIFF_PREREQ_LINKS=-lm
27596 if test "$wxUSE_LIBTIFF" != "no" ; then
27597 cat >>confdefs.h <<\_ACEOF
27598 #define wxUSE_LIBTIFF 1
27599 _ACEOF
27600
27601
27602 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27603 if test "$wxUSE_LIBJPEG" = "sys"; then
27604 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27605 fi
27606 if test "$wxUSE_ZLIB" = "sys"; then
27607 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27608 fi
27609 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27610 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27611 if test "${ac_cv_header_tiffio_h+set}" = set; then
27612 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 else
27614 cat >conftest.$ac_ext <<_ACEOF
27615 /* confdefs.h. */
27616 _ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27620
27621
27622
27623 #include <tiffio.h>
27624 _ACEOF
27625 rm -f conftest.$ac_objext
27626 if { (ac_try="$ac_compile"
27627 case "(($ac_try" in
27628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27629 *) ac_try_echo=$ac_try;;
27630 esac
27631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27632 (eval "$ac_compile") 2>conftest.er1
27633 ac_status=$?
27634 grep -v '^ *+' conftest.er1 >conftest.err
27635 rm -f conftest.er1
27636 cat conftest.err >&5
27637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638 (exit $ac_status); } && {
27639 test -z "$ac_c_werror_flag" ||
27640 test ! -s conftest.err
27641 } && test -s conftest.$ac_objext; then
27642 ac_cv_header_tiffio_h=yes
27643 else
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.$ac_ext >&5
27646
27647 ac_cv_header_tiffio_h=no
27648 fi
27649
27650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27651 fi
27652 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27653 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27654 if test $ac_cv_header_tiffio_h = yes; then
27655
27656 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27657 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27658 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27659 echo $ECHO_N "(cached) $ECHO_C" >&6
27660 else
27661 ac_check_lib_save_LIBS=$LIBS
27662 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27663 cat >conftest.$ac_ext <<_ACEOF
27664 /* confdefs.h. */
27665 _ACEOF
27666 cat confdefs.h >>conftest.$ac_ext
27667 cat >>conftest.$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27669
27670 /* Override any GCC internal prototype to avoid an error.
27671 Use char because int might match the return type of a GCC
27672 builtin and then its argument prototype would still apply. */
27673 #ifdef __cplusplus
27674 extern "C"
27675 #endif
27676 char TIFFError ();
27677 int
27678 main ()
27679 {
27680 return TIFFError ();
27681 ;
27682 return 0;
27683 }
27684 _ACEOF
27685 rm -f conftest.$ac_objext conftest$ac_exeext
27686 if { (ac_try="$ac_link"
27687 case "(($ac_try" in
27688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27689 *) ac_try_echo=$ac_try;;
27690 esac
27691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27692 (eval "$ac_link") 2>conftest.er1
27693 ac_status=$?
27694 grep -v '^ *+' conftest.er1 >conftest.err
27695 rm -f conftest.er1
27696 cat conftest.err >&5
27697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698 (exit $ac_status); } && {
27699 test -z "$ac_c_werror_flag" ||
27700 test ! -s conftest.err
27701 } && test -s conftest$ac_exeext &&
27702 $as_test_x conftest$ac_exeext; then
27703 ac_cv_lib_tiff_TIFFError=yes
27704 else
27705 echo "$as_me: failed program was:" >&5
27706 sed 's/^/| /' conftest.$ac_ext >&5
27707
27708 ac_cv_lib_tiff_TIFFError=no
27709 fi
27710
27711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27712 conftest$ac_exeext conftest.$ac_ext
27713 LIBS=$ac_check_lib_save_LIBS
27714 fi
27715 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27716 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27717 if test $ac_cv_lib_tiff_TIFFError = yes; then
27718 TIFF_LINK=" -ltiff"
27719 fi
27720
27721
27722 fi
27723
27724
27725
27726 if test "x$TIFF_LINK" = "x" ; then
27727 if test "$wxUSE_LIBTIFF" = "sys" ; then
27728 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27729 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27730 { (exit 1); exit 1; }; }
27731 else
27732 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27733 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27734 wxUSE_LIBTIFF=builtin
27735 fi
27736 else
27737 wxUSE_LIBTIFF=sys
27738 fi
27739 fi
27740 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27741 if test "$wxUSE_LIBJPEG" = "no"; then
27742 ac_configure_args="$ac_configure_args --disable-jpeg"
27743 fi
27744 subdirs="$subdirs src/tiff"
27745
27746 fi
27747 fi
27748
27749
27750 if test "$wxUSE_WCHAR_T" != "yes"; then
27751 if test "$wxUSE_EXPAT" != "no"; then
27752 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27753 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27754 wxUSE_EXPAT=no
27755 fi
27756 if test "$wxUSE_XML" != "no"; then
27757 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27758 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27759 wxUSE_XML=no
27760 fi
27761 fi
27762
27763 if test "$wxUSE_EXPAT" != "no"; then
27764 wxUSE_XML=yes
27765 cat >>confdefs.h <<\_ACEOF
27766 #define wxUSE_EXPAT 1
27767 _ACEOF
27768
27769 cat >>confdefs.h <<\_ACEOF
27770 #define wxUSE_XML 1
27771 _ACEOF
27772
27773
27774 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27775 { echo "$as_me:$LINENO: checking for expat.h" >&5
27776 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27777 if test "${ac_cv_header_expat_h+set}" = set; then
27778 echo $ECHO_N "(cached) $ECHO_C" >&6
27779 else
27780 cat >conftest.$ac_ext <<_ACEOF
27781 /* confdefs.h. */
27782 _ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h. */
27786
27787
27788 #include <expat.h>
27789 _ACEOF
27790 rm -f conftest.$ac_objext
27791 if { (ac_try="$ac_compile"
27792 case "(($ac_try" in
27793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27794 *) ac_try_echo=$ac_try;;
27795 esac
27796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27797 (eval "$ac_compile") 2>conftest.er1
27798 ac_status=$?
27799 grep -v '^ *+' conftest.er1 >conftest.err
27800 rm -f conftest.er1
27801 cat conftest.err >&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } && {
27804 test -z "$ac_c_werror_flag" ||
27805 test ! -s conftest.err
27806 } && test -s conftest.$ac_objext; then
27807 ac_cv_header_expat_h=yes
27808 else
27809 echo "$as_me: failed program was:" >&5
27810 sed 's/^/| /' conftest.$ac_ext >&5
27811
27812 ac_cv_header_expat_h=no
27813 fi
27814
27815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27816 fi
27817 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27818 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27819 if test $ac_cv_header_expat_h = yes; then
27820 found_expat_h=1
27821 fi
27822
27823
27824 if test "x$found_expat_h" = "x1"; then
27825 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27826 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27827 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27828 echo $ECHO_N "(cached) $ECHO_C" >&6
27829 else
27830
27831 ac_ext=cpp
27832 ac_cpp='$CXXCPP $CPPFLAGS'
27833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27836
27837 cat >conftest.$ac_ext <<_ACEOF
27838 /* confdefs.h. */
27839 _ACEOF
27840 cat confdefs.h >>conftest.$ac_ext
27841 cat >>conftest.$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27843 #include <expat.h>
27844 int
27845 main ()
27846 {
27847
27848 ;
27849 return 0;
27850 }
27851 _ACEOF
27852 rm -f conftest.$ac_objext
27853 if { (ac_try="$ac_compile"
27854 case "(($ac_try" in
27855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27856 *) ac_try_echo=$ac_try;;
27857 esac
27858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27859 (eval "$ac_compile") 2>conftest.er1
27860 ac_status=$?
27861 grep -v '^ *+' conftest.er1 >conftest.err
27862 rm -f conftest.er1
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } && {
27866 test -z "$ac_cxx_werror_flag" ||
27867 test ! -s conftest.err
27868 } && test -s conftest.$ac_objext; then
27869 wx_cv_expat_is_not_broken=yes
27870 else
27871 echo "$as_me: failed program was:" >&5
27872 sed 's/^/| /' conftest.$ac_ext >&5
27873
27874 wx_cv_expat_is_not_broken=no
27875
27876 fi
27877
27878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27879 ac_ext=c
27880 ac_cpp='$CPP $CPPFLAGS'
27881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27884
27885
27886
27887 fi
27888 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27889 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27890 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27891 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27892 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27893 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27894 echo $ECHO_N "(cached) $ECHO_C" >&6
27895 else
27896 ac_check_lib_save_LIBS=$LIBS
27897 LIBS="-lexpat $LIBS"
27898 cat >conftest.$ac_ext <<_ACEOF
27899 /* confdefs.h. */
27900 _ACEOF
27901 cat confdefs.h >>conftest.$ac_ext
27902 cat >>conftest.$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27904
27905 /* Override any GCC internal prototype to avoid an error.
27906 Use char because int might match the return type of a GCC
27907 builtin and then its argument prototype would still apply. */
27908 #ifdef __cplusplus
27909 extern "C"
27910 #endif
27911 char XML_ParserCreate ();
27912 int
27913 main ()
27914 {
27915 return XML_ParserCreate ();
27916 ;
27917 return 0;
27918 }
27919 _ACEOF
27920 rm -f conftest.$ac_objext conftest$ac_exeext
27921 if { (ac_try="$ac_link"
27922 case "(($ac_try" in
27923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27924 *) ac_try_echo=$ac_try;;
27925 esac
27926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27927 (eval "$ac_link") 2>conftest.er1
27928 ac_status=$?
27929 grep -v '^ *+' conftest.er1 >conftest.err
27930 rm -f conftest.er1
27931 cat conftest.err >&5
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); } && {
27934 test -z "$ac_c_werror_flag" ||
27935 test ! -s conftest.err
27936 } && test -s conftest$ac_exeext &&
27937 $as_test_x conftest$ac_exeext; then
27938 ac_cv_lib_expat_XML_ParserCreate=yes
27939 else
27940 echo "$as_me: failed program was:" >&5
27941 sed 's/^/| /' conftest.$ac_ext >&5
27942
27943 ac_cv_lib_expat_XML_ParserCreate=no
27944 fi
27945
27946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27947 conftest$ac_exeext conftest.$ac_ext
27948 LIBS=$ac_check_lib_save_LIBS
27949 fi
27950 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27951 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27952 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27953 EXPAT_LINK=" -lexpat"
27954 fi
27955
27956 fi
27957 fi
27958 if test "x$EXPAT_LINK" = "x" ; then
27959 if test "$wxUSE_EXPAT" = "sys" ; then
27960 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27961 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27962 { (exit 1); exit 1; }; }
27963 else
27964 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27965 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27966 wxUSE_EXPAT=builtin
27967 fi
27968 else
27969 wxUSE_EXPAT=sys
27970 fi
27971 fi
27972 if test "$wxUSE_EXPAT" = "builtin" ; then
27973 subdirs="$subdirs src/expat"
27974
27975 fi
27976 fi
27977
27978
27979
27980 if test "$wxUSE_LIBMSPACK" != "no"; then
27981 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27982 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27983 if test "${ac_cv_header_mspack_h+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 else
27986 cat >conftest.$ac_ext <<_ACEOF
27987 /* confdefs.h. */
27988 _ACEOF
27989 cat confdefs.h >>conftest.$ac_ext
27990 cat >>conftest.$ac_ext <<_ACEOF
27991 /* end confdefs.h. */
27992
27993
27994 #include <mspack.h>
27995 _ACEOF
27996 rm -f conftest.$ac_objext
27997 if { (ac_try="$ac_compile"
27998 case "(($ac_try" in
27999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28000 *) ac_try_echo=$ac_try;;
28001 esac
28002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28003 (eval "$ac_compile") 2>conftest.er1
28004 ac_status=$?
28005 grep -v '^ *+' conftest.er1 >conftest.err
28006 rm -f conftest.er1
28007 cat conftest.err >&5
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); } && {
28010 test -z "$ac_c_werror_flag" ||
28011 test ! -s conftest.err
28012 } && test -s conftest.$ac_objext; then
28013 ac_cv_header_mspack_h=yes
28014 else
28015 echo "$as_me: failed program was:" >&5
28016 sed 's/^/| /' conftest.$ac_ext >&5
28017
28018 ac_cv_header_mspack_h=no
28019 fi
28020
28021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28022 fi
28023 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28024 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28025 if test $ac_cv_header_mspack_h = yes; then
28026 found_mspack_h=1
28027 fi
28028
28029
28030 if test "x$found_mspack_h" = "x1"; then
28031 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28032 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28033 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28035 else
28036 ac_check_lib_save_LIBS=$LIBS
28037 LIBS="-lmspack $LIBS"
28038 cat >conftest.$ac_ext <<_ACEOF
28039 /* confdefs.h. */
28040 _ACEOF
28041 cat confdefs.h >>conftest.$ac_ext
28042 cat >>conftest.$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28044
28045 /* Override any GCC internal prototype to avoid an error.
28046 Use char because int might match the return type of a GCC
28047 builtin and then its argument prototype would still apply. */
28048 #ifdef __cplusplus
28049 extern "C"
28050 #endif
28051 char mspack_create_chm_decompressor ();
28052 int
28053 main ()
28054 {
28055 return mspack_create_chm_decompressor ();
28056 ;
28057 return 0;
28058 }
28059 _ACEOF
28060 rm -f conftest.$ac_objext conftest$ac_exeext
28061 if { (ac_try="$ac_link"
28062 case "(($ac_try" in
28063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28064 *) ac_try_echo=$ac_try;;
28065 esac
28066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28067 (eval "$ac_link") 2>conftest.er1
28068 ac_status=$?
28069 grep -v '^ *+' conftest.er1 >conftest.err
28070 rm -f conftest.er1
28071 cat conftest.err >&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); } && {
28074 test -z "$ac_c_werror_flag" ||
28075 test ! -s conftest.err
28076 } && test -s conftest$ac_exeext &&
28077 $as_test_x conftest$ac_exeext; then
28078 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28079 else
28080 echo "$as_me: failed program was:" >&5
28081 sed 's/^/| /' conftest.$ac_ext >&5
28082
28083 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28084 fi
28085
28086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28087 conftest$ac_exeext conftest.$ac_ext
28088 LIBS=$ac_check_lib_save_LIBS
28089 fi
28090 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28091 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28092 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28093 MSPACK_LINK=" -lmspack"
28094 fi
28095
28096 fi
28097 if test "x$MSPACK_LINK" = "x" ; then
28098 wxUSE_LIBMSPACK=no
28099 fi
28100 fi
28101
28102 if test "$wxUSE_LIBMSPACK" != "no"; then
28103 cat >>confdefs.h <<\_ACEOF
28104 #define wxUSE_LIBMSPACK 1
28105 _ACEOF
28106
28107 fi
28108
28109
28110
28111 AFMINSTALL=
28112 WIN32INSTALL=
28113
28114 TOOLKIT=
28115 TOOLKIT_INCLUDE=
28116 WIDGET_SET=
28117
28118 if test "$USE_WIN32" = 1 ; then
28119
28120 for ac_header in w32api.h
28121 do
28122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28123 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28126 echo $ECHO_N "(cached) $ECHO_C" >&6
28127 else
28128 cat >conftest.$ac_ext <<_ACEOF
28129 /* confdefs.h. */
28130 _ACEOF
28131 cat confdefs.h >>conftest.$ac_ext
28132 cat >>conftest.$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28134
28135
28136 #include <$ac_header>
28137 _ACEOF
28138 rm -f conftest.$ac_objext
28139 if { (ac_try="$ac_compile"
28140 case "(($ac_try" in
28141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28142 *) ac_try_echo=$ac_try;;
28143 esac
28144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28145 (eval "$ac_compile") 2>conftest.er1
28146 ac_status=$?
28147 grep -v '^ *+' conftest.er1 >conftest.err
28148 rm -f conftest.er1
28149 cat conftest.err >&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); } && {
28152 test -z "$ac_c_werror_flag" ||
28153 test ! -s conftest.err
28154 } && test -s conftest.$ac_objext; then
28155 eval "$as_ac_Header=yes"
28156 else
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.$ac_ext >&5
28159
28160 eval "$as_ac_Header=no"
28161 fi
28162
28163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28164 fi
28165 ac_res=`eval echo '${'$as_ac_Header'}'`
28166 { echo "$as_me:$LINENO: result: $ac_res" >&5
28167 echo "${ECHO_T}$ac_res" >&6; }
28168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28169 cat >>confdefs.h <<_ACEOF
28170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28171 _ACEOF
28172
28173 fi
28174
28175 done
28176
28177 { echo "$as_me:$LINENO: checking for windows.h" >&5
28178 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28179 if test "${ac_cv_header_windows_h+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
28190 #include <windows.h>
28191 _ACEOF
28192 rm -f conftest.$ac_objext
28193 if { (ac_try="$ac_compile"
28194 case "(($ac_try" in
28195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28196 *) ac_try_echo=$ac_try;;
28197 esac
28198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28199 (eval "$ac_compile") 2>conftest.er1
28200 ac_status=$?
28201 grep -v '^ *+' conftest.er1 >conftest.err
28202 rm -f conftest.er1
28203 cat conftest.err >&5
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); } && {
28206 test -z "$ac_c_werror_flag" ||
28207 test ! -s conftest.err
28208 } && test -s conftest.$ac_objext; then
28209 ac_cv_header_windows_h=yes
28210 else
28211 echo "$as_me: failed program was:" >&5
28212 sed 's/^/| /' conftest.$ac_ext >&5
28213
28214 ac_cv_header_windows_h=no
28215 fi
28216
28217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218 fi
28219 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28220 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28221 if test $ac_cv_header_windows_h = yes; then
28222 :
28223 else
28224
28225 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28226 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28227 { (exit 1); exit 1; }; }
28228
28229 fi
28230
28231
28232
28233 case "${host}" in
28234 x86_64-*-mingw32* )
28235 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28236 ;;
28237 * )
28238 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28239 ;;
28240 esac
28241 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28242 LIBS="$LIBS -loleacc"
28243 fi
28244
28245 case "${host}" in
28246 *-*-cygwin* )
28247 LIBS="$LIBS -lkernel32 -luser32"
28248 esac
28249
28250 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28251 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28252
28253 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28254
28255 WIN32INSTALL=win32install
28256
28257 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28258 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28259 if test "${ac_cv_header_pbt_h+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 else
28262 cat >conftest.$ac_ext <<_ACEOF
28263 /* confdefs.h. */
28264 _ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268
28269
28270 #include <pbt.h>
28271 _ACEOF
28272 rm -f conftest.$ac_objext
28273 if { (ac_try="$ac_compile"
28274 case "(($ac_try" in
28275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28276 *) ac_try_echo=$ac_try;;
28277 esac
28278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_compile") 2>conftest.er1
28280 ac_status=$?
28281 grep -v '^ *+' conftest.er1 >conftest.err
28282 rm -f conftest.er1
28283 cat conftest.err >&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } && {
28286 test -z "$ac_c_werror_flag" ||
28287 test ! -s conftest.err
28288 } && test -s conftest.$ac_objext; then
28289 ac_cv_header_pbt_h=yes
28290 else
28291 echo "$as_me: failed program was:" >&5
28292 sed 's/^/| /' conftest.$ac_ext >&5
28293
28294 ac_cv_header_pbt_h=no
28295 fi
28296
28297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28298 fi
28299 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28300 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28301 if test $ac_cv_header_pbt_h = yes; then
28302 :
28303 else
28304 cat >>confdefs.h <<\_ACEOF
28305 #define NEED_PBT_H 1
28306 _ACEOF
28307
28308 fi
28309
28310
28311 fi
28312
28313 if test "$wxUSE_GUI" = "yes"; then
28314 USE_GUI=1
28315
28316 GUI_TK_LIBRARY=
28317
28318 WXGTK12=
28319 WXGTK127=
28320 WXGTK2=
28321 WXGPE=
28322
28323 if test "$wxUSE_COCOA" = 1 ; then
28324 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28325 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28326 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28327 wxUSE_PRINTING_ARCHITECTURE=no
28328 fi
28329 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28330 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28331 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28332 wxUSE_DRAG_AND_DROP=no
28333 fi
28334 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28335 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28336 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28337 wxUSE_DRAGIMAGE=no
28338 fi
28339 fi
28340
28341 if test "$wxUSE_MSW" = 1 ; then
28342 TOOLKIT=MSW
28343 GUIDIST=MSW_DIST
28344
28345 case "${host}" in
28346 *-*-mingw32* )
28347 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28348 esac
28349 fi
28350
28351 if test "$wxUSE_GTK" = 1; then
28352 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28353 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28354
28355 gtk_version_cached=1
28356 if test "${wx_cv_lib_gtk+set}" = set; then
28357 echo $ECHO_N "(cached) $ECHO_C" >&6
28358 else
28359
28360 gtk_version_cached=0
28361 { echo "$as_me:$LINENO: result: " >&5
28362 echo "${ECHO_T}" >&6; }
28363
28364 GTK_MODULES=
28365 if test "$wxUSE_THREADS" = "yes"; then
28366 GTK_MODULES=gthread
28367 fi
28368
28369 wx_cv_lib_gtk=
28370 if test "x$wxGTK_VERSION" != "x1"
28371 then
28372 case "${host}" in
28373 *-*-solaris2* )
28374 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28375 enable_gtktest=no
28376 fi
28377 esac
28378
28379 # Check whether --enable-gtktest was given.
28380 if test "${enable_gtktest+set}" = set; then
28381 enableval=$enable_gtktest;
28382 else
28383 enable_gtktest=yes
28384 fi
28385
28386
28387 pkg_config_args=gtk+-2.0
28388 for module in . $GTK_MODULES
28389 do
28390 case "$module" in
28391 gthread)
28392 pkg_config_args="$pkg_config_args gthread-2.0"
28393 ;;
28394 esac
28395 done
28396
28397 no_gtk=""
28398
28399 # Extract the first word of "pkg-config", so it can be a program name with args.
28400 set dummy pkg-config; ac_word=$2
28401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28403 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28404 echo $ECHO_N "(cached) $ECHO_C" >&6
28405 else
28406 case $PKG_CONFIG in
28407 [\\/]* | ?:[\\/]*)
28408 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28409 ;;
28410 *)
28411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28412 for as_dir in $PATH
28413 do
28414 IFS=$as_save_IFS
28415 test -z "$as_dir" && as_dir=.
28416 for ac_exec_ext in '' $ac_executable_extensions; do
28417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28418 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28420 break 2
28421 fi
28422 done
28423 done
28424 IFS=$as_save_IFS
28425
28426 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28427 ;;
28428 esac
28429 fi
28430 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28431 if test -n "$PKG_CONFIG"; then
28432 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28433 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28434 else
28435 { echo "$as_me:$LINENO: result: no" >&5
28436 echo "${ECHO_T}no" >&6; }
28437 fi
28438
28439
28440
28441 if test x$PKG_CONFIG != xno ; then
28442 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28443 :
28444 else
28445 echo "*** pkg-config too old; version 0.7 or better required."
28446 no_gtk=yes
28447 PKG_CONFIG=no
28448 fi
28449 else
28450 no_gtk=yes
28451 fi
28452
28453 min_gtk_version=2.4.0
28454 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28455 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28456
28457 if test x$PKG_CONFIG != xno ; then
28458 ## don't try to run the test against uninstalled libtool libs
28459 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28460 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28461 enable_gtktest=no
28462 fi
28463
28464 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28465 :
28466 else
28467 no_gtk=yes
28468 fi
28469 fi
28470
28471 if test x"$no_gtk" = x ; then
28472 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28473 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28474 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28476 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28478 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28480 if test "x$enable_gtktest" = "xyes" ; then
28481 ac_save_CFLAGS="$CFLAGS"
28482 ac_save_LIBS="$LIBS"
28483 CFLAGS="$CFLAGS $GTK_CFLAGS"
28484 LIBS="$GTK_LIBS $LIBS"
28485 rm -f conf.gtktest
28486 if test "$cross_compiling" = yes; then
28487 echo $ac_n "cross compiling; assumed OK... $ac_c"
28488 else
28489 cat >conftest.$ac_ext <<_ACEOF
28490 /* confdefs.h. */
28491 _ACEOF
28492 cat confdefs.h >>conftest.$ac_ext
28493 cat >>conftest.$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28495
28496 #include <gtk/gtk.h>
28497 #include <stdio.h>
28498 #include <stdlib.h>
28499
28500 int
28501 main ()
28502 {
28503 int major, minor, micro;
28504 char *tmp_version;
28505
28506 system ("touch conf.gtktest");
28507
28508 /* HP/UX 9 (%@#!) writes to sscanf strings */
28509 tmp_version = g_strdup("$min_gtk_version");
28510 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28511 printf("%s, bad version string\n", "$min_gtk_version");
28512 exit(1);
28513 }
28514
28515 if ((gtk_major_version != $gtk_config_major_version) ||
28516 (gtk_minor_version != $gtk_config_minor_version) ||
28517 (gtk_micro_version != $gtk_config_micro_version))
28518 {
28519 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28520 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28521 gtk_major_version, gtk_minor_version, gtk_micro_version);
28522 printf ("*** was found! If pkg-config was correct, then it is best\n");
28523 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28524 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28525 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28526 printf("*** required on your system.\n");
28527 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28528 printf("*** to point to the correct configuration files\n");
28529 }
28530 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28531 (gtk_minor_version != GTK_MINOR_VERSION) ||
28532 (gtk_micro_version != GTK_MICRO_VERSION))
28533 {
28534 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28535 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28536 printf("*** library (version %d.%d.%d)\n",
28537 gtk_major_version, gtk_minor_version, gtk_micro_version);
28538 }
28539 else
28540 {
28541 if ((gtk_major_version > major) ||
28542 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28543 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28544 {
28545 return 0;
28546 }
28547 else
28548 {
28549 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28550 gtk_major_version, gtk_minor_version, gtk_micro_version);
28551 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28552 major, minor, micro);
28553 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28554 printf("***\n");
28555 printf("*** If you have already installed a sufficiently new version, this error\n");
28556 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28557 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28558 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28559 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28560 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28561 printf("*** so that the correct libraries are found at run-time))\n");
28562 }
28563 }
28564 return 1;
28565 }
28566
28567 _ACEOF
28568 rm -f conftest$ac_exeext
28569 if { (ac_try="$ac_link"
28570 case "(($ac_try" in
28571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28572 *) ac_try_echo=$ac_try;;
28573 esac
28574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28575 (eval "$ac_link") 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28579 { (case "(($ac_try" in
28580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28581 *) ac_try_echo=$ac_try;;
28582 esac
28583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28584 (eval "$ac_try") 2>&5
28585 ac_status=$?
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); }; }; then
28588 :
28589 else
28590 echo "$as_me: program exited with status $ac_status" >&5
28591 echo "$as_me: failed program was:" >&5
28592 sed 's/^/| /' conftest.$ac_ext >&5
28593
28594 ( exit $ac_status )
28595 no_gtk=yes
28596 fi
28597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28598 fi
28599
28600
28601 CFLAGS="$ac_save_CFLAGS"
28602 LIBS="$ac_save_LIBS"
28603 fi
28604 fi
28605 if test "x$no_gtk" = x ; then
28606 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28607 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28608 wx_cv_lib_gtk=2.0
28609 else
28610 { echo "$as_me:$LINENO: result: no" >&5
28611 echo "${ECHO_T}no" >&6; }
28612 if test "$PKG_CONFIG" = "no" ; then
28613 echo "*** A new enough version of pkg-config was not found."
28614 echo "*** See http://pkgconfig.sourceforge.net"
28615 else
28616 if test -f conf.gtktest ; then
28617 :
28618 else
28619 echo "*** Could not run GTK+ test program, checking why..."
28620 ac_save_CFLAGS="$CFLAGS"
28621 ac_save_LIBS="$LIBS"
28622 CFLAGS="$CFLAGS $GTK_CFLAGS"
28623 LIBS="$LIBS $GTK_LIBS"
28624 cat >conftest.$ac_ext <<_ACEOF
28625 /* confdefs.h. */
28626 _ACEOF
28627 cat confdefs.h >>conftest.$ac_ext
28628 cat >>conftest.$ac_ext <<_ACEOF
28629 /* end confdefs.h. */
28630
28631 #include <gtk/gtk.h>
28632 #include <stdio.h>
28633
28634 int
28635 main ()
28636 {
28637 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28638 ;
28639 return 0;
28640 }
28641 _ACEOF
28642 rm -f conftest.$ac_objext conftest$ac_exeext
28643 if { (ac_try="$ac_link"
28644 case "(($ac_try" in
28645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28646 *) ac_try_echo=$ac_try;;
28647 esac
28648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28649 (eval "$ac_link") 2>conftest.er1
28650 ac_status=$?
28651 grep -v '^ *+' conftest.er1 >conftest.err
28652 rm -f conftest.er1
28653 cat conftest.err >&5
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); } && {
28656 test -z "$ac_c_werror_flag" ||
28657 test ! -s conftest.err
28658 } && test -s conftest$ac_exeext &&
28659 $as_test_x conftest$ac_exeext; then
28660 echo "*** The test program compiled, but did not run. This usually means"
28661 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28662 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28663 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28664 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28665 echo "*** is required on your system"
28666 echo "***"
28667 echo "*** If you have an old version installed, it is best to remove it, although"
28668 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28669 else
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.$ac_ext >&5
28672
28673 echo "*** The test program failed to compile or link. See the file config.log for the"
28674 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28675 fi
28676
28677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28678 conftest$ac_exeext conftest.$ac_ext
28679 CFLAGS="$ac_save_CFLAGS"
28680 LIBS="$ac_save_LIBS"
28681 fi
28682 fi
28683 GTK_CFLAGS=""
28684 GTK_LIBS=""
28685 :
28686 fi
28687
28688
28689 rm -f conf.gtktest
28690
28691
28692 case "${host}" in
28693 *-*-solaris2* )
28694 if test "$wxUSE_SHARED" != "yes"; then
28695 GTK_LIBS="$GTK_LIBS -lX11"
28696 fi
28697 esac
28698 fi
28699
28700 if test -z "$wx_cv_lib_gtk"; then
28701 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28702
28703 # Check whether --with-gtk-prefix was given.
28704 if test "${with_gtk_prefix+set}" = set; then
28705 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28706 else
28707 gtk_config_prefix=""
28708 fi
28709
28710
28711 # Check whether --with-gtk-exec-prefix was given.
28712 if test "${with_gtk_exec_prefix+set}" = set; then
28713 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28714 else
28715 gtk_config_exec_prefix=""
28716 fi
28717
28718 # Check whether --enable-gtktest was given.
28719 if test "${enable_gtktest+set}" = set; then
28720 enableval=$enable_gtktest;
28721 else
28722 enable_gtktest=yes
28723 fi
28724
28725
28726 for module in . $GTK_MODULES
28727 do
28728 case "$module" in
28729 gthread)
28730 gtk_config_args="$gtk_config_args gthread"
28731 ;;
28732 esac
28733 done
28734
28735 if test x$gtk_config_exec_prefix != x ; then
28736 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28737 if test x${GTK_CONFIG+set} != xset ; then
28738 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28739 fi
28740 fi
28741 if test x$gtk_config_prefix != x ; then
28742 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28743 if test x${GTK_CONFIG+set} != xset ; then
28744 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28745 fi
28746 fi
28747
28748 # Extract the first word of "gtk-config", so it can be a program name with args.
28749 set dummy gtk-config; ac_word=$2
28750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28752 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28753 echo $ECHO_N "(cached) $ECHO_C" >&6
28754 else
28755 case $GTK_CONFIG in
28756 [\\/]* | ?:[\\/]*)
28757 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28758 ;;
28759 *)
28760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28761 for as_dir in $PATH
28762 do
28763 IFS=$as_save_IFS
28764 test -z "$as_dir" && as_dir=.
28765 for ac_exec_ext in '' $ac_executable_extensions; do
28766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28767 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28769 break 2
28770 fi
28771 done
28772 done
28773 IFS=$as_save_IFS
28774
28775 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28776 ;;
28777 esac
28778 fi
28779 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28780 if test -n "$GTK_CONFIG"; then
28781 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28782 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28783 else
28784 { echo "$as_me:$LINENO: result: no" >&5
28785 echo "${ECHO_T}no" >&6; }
28786 fi
28787
28788
28789 min_gtk_version=1.2.7
28790 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28791 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28792 no_gtk=""
28793 if test "$GTK_CONFIG" = "no" ; then
28794 no_gtk=yes
28795 else
28796 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28797 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28798 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28800 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28802 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28804 if test "x$enable_gtktest" = "xyes" ; then
28805 ac_save_CFLAGS="$CFLAGS"
28806 ac_save_LIBS="$LIBS"
28807 CFLAGS="$CFLAGS $GTK_CFLAGS"
28808 LIBS="$GTK_LIBS $LIBS"
28809 rm -f conf.gtktest
28810 if test "$cross_compiling" = yes; then
28811 echo $ac_n "cross compiling; assumed OK... $ac_c"
28812 else
28813 cat >conftest.$ac_ext <<_ACEOF
28814 /* confdefs.h. */
28815 _ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819
28820 #include <gtk/gtk.h>
28821 #include <stdio.h>
28822 #include <stdlib.h>
28823
28824 int
28825 main ()
28826 {
28827 int major, minor, micro;
28828 char *tmp_version;
28829
28830 system ("touch conf.gtktest");
28831
28832 /* HP/UX 9 (%@#!) writes to sscanf strings */
28833 tmp_version = g_strdup("$min_gtk_version");
28834 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28835 printf("%s, bad version string\n", "$min_gtk_version");
28836 exit(1);
28837 }
28838
28839 if ((gtk_major_version != $gtk_config_major_version) ||
28840 (gtk_minor_version != $gtk_config_minor_version) ||
28841 (gtk_micro_version != $gtk_config_micro_version))
28842 {
28843 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28844 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28845 gtk_major_version, gtk_minor_version, gtk_micro_version);
28846 printf ("*** was found! If gtk-config was correct, then it is best\n");
28847 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28848 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28849 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28850 printf("*** required on your system.\n");
28851 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28852 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28853 printf("*** before re-running configure\n");
28854 }
28855 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28856 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28857 (gtk_minor_version != GTK_MINOR_VERSION) ||
28858 (gtk_micro_version != GTK_MICRO_VERSION))
28859 {
28860 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28861 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28862 printf("*** library (version %d.%d.%d)\n",
28863 gtk_major_version, gtk_minor_version, gtk_micro_version);
28864 }
28865 #endif /* defined (GTK_MAJOR_VERSION) ... */
28866 else
28867 {
28868 if ((gtk_major_version > major) ||
28869 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28870 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28871 {
28872 return 0;
28873 }
28874 else
28875 {
28876 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28877 gtk_major_version, gtk_minor_version, gtk_micro_version);
28878 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28879 major, minor, micro);
28880 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28881 printf("***\n");
28882 printf("*** If you have already installed a sufficiently new version, this error\n");
28883 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28884 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28885 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28886 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28887 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28888 printf("*** so that the correct libraries are found at run-time))\n");
28889 }
28890 }
28891 return 1;
28892 }
28893
28894 _ACEOF
28895 rm -f conftest$ac_exeext
28896 if { (ac_try="$ac_link"
28897 case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28900 esac
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_link") 2>&5
28903 ac_status=$?
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28906 { (case "(($ac_try" in
28907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28908 *) ac_try_echo=$ac_try;;
28909 esac
28910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28911 (eval "$ac_try") 2>&5
28912 ac_status=$?
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 :
28916 else
28917 echo "$as_me: program exited with status $ac_status" >&5
28918 echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.$ac_ext >&5
28920
28921 ( exit $ac_status )
28922 no_gtk=yes
28923 fi
28924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28925 fi
28926
28927
28928 CFLAGS="$ac_save_CFLAGS"
28929 LIBS="$ac_save_LIBS"
28930 fi
28931 fi
28932 if test "x$no_gtk" = x ; then
28933 { echo "$as_me:$LINENO: result: yes" >&5
28934 echo "${ECHO_T}yes" >&6; }
28935 wx_cv_lib_gtk=1.2.7
28936 else
28937 { echo "$as_me:$LINENO: result: no" >&5
28938 echo "${ECHO_T}no" >&6; }
28939 if test "$GTK_CONFIG" = "no" ; then
28940 echo "*** The gtk-config script installed by GTK could not be found"
28941 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28942 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28943 echo "*** full path to gtk-config."
28944 else
28945 if test -f conf.gtktest ; then
28946 :
28947 else
28948 echo "*** Could not run GTK test program, checking why..."
28949 CFLAGS="$CFLAGS $GTK_CFLAGS"
28950 LIBS="$LIBS $GTK_LIBS"
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28957
28958 #include <gtk/gtk.h>
28959 #include <stdio.h>
28960
28961 int
28962 main ()
28963 {
28964 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28965 ;
28966 return 0;
28967 }
28968 _ACEOF
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (ac_try="$ac_link"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28974 esac
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_link") 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } && {
28983 test -z "$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28985 } && test -s conftest$ac_exeext &&
28986 $as_test_x conftest$ac_exeext; then
28987 echo "*** The test program compiled, but did not run. This usually means"
28988 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28989 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28990 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28991 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28992 echo "*** is required on your system"
28993 echo "***"
28994 echo "*** If you have an old version installed, it is best to remove it, although"
28995 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28996 echo "***"
28997 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28998 echo "*** came with the system with the command"
28999 echo "***"
29000 echo "*** rpm --erase --nodeps gtk gtk-devel"
29001 else
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29004
29005 echo "*** The test program failed to compile or link. See the file config.log for the"
29006 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29007 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29008 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29009 fi
29010
29011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29012 conftest$ac_exeext conftest.$ac_ext
29013 CFLAGS="$ac_save_CFLAGS"
29014 LIBS="$ac_save_LIBS"
29015 fi
29016 fi
29017 GTK_CFLAGS=""
29018 GTK_LIBS=""
29019 :
29020 fi
29021
29022
29023 rm -f conf.gtktest
29024
29025
29026 if test -z "$wx_cv_lib_gtk"; then
29027
29028 # Check whether --with-gtk-prefix was given.
29029 if test "${with_gtk_prefix+set}" = set; then
29030 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29031 else
29032 gtk_config_prefix=""
29033 fi
29034
29035
29036 # Check whether --with-gtk-exec-prefix was given.
29037 if test "${with_gtk_exec_prefix+set}" = set; then
29038 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29039 else
29040 gtk_config_exec_prefix=""
29041 fi
29042
29043 # Check whether --enable-gtktest was given.
29044 if test "${enable_gtktest+set}" = set; then
29045 enableval=$enable_gtktest;
29046 else
29047 enable_gtktest=yes
29048 fi
29049
29050
29051 for module in . $GTK_MODULES
29052 do
29053 case "$module" in
29054 gthread)
29055 gtk_config_args="$gtk_config_args gthread"
29056 ;;
29057 esac
29058 done
29059
29060 if test x$gtk_config_exec_prefix != x ; then
29061 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29062 if test x${GTK_CONFIG+set} != xset ; then
29063 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29064 fi
29065 fi
29066 if test x$gtk_config_prefix != x ; then
29067 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29068 if test x${GTK_CONFIG+set} != xset ; then
29069 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29070 fi
29071 fi
29072
29073 # Extract the first word of "gtk-config", so it can be a program name with args.
29074 set dummy gtk-config; ac_word=$2
29075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29077 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29079 else
29080 case $GTK_CONFIG in
29081 [\\/]* | ?:[\\/]*)
29082 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29083 ;;
29084 *)
29085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29086 for as_dir in $PATH
29087 do
29088 IFS=$as_save_IFS
29089 test -z "$as_dir" && as_dir=.
29090 for ac_exec_ext in '' $ac_executable_extensions; do
29091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29092 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29094 break 2
29095 fi
29096 done
29097 done
29098 IFS=$as_save_IFS
29099
29100 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29101 ;;
29102 esac
29103 fi
29104 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29105 if test -n "$GTK_CONFIG"; then
29106 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29107 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29108 else
29109 { echo "$as_me:$LINENO: result: no" >&5
29110 echo "${ECHO_T}no" >&6; }
29111 fi
29112
29113
29114 min_gtk_version=1.2.3
29115 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29116 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29117 no_gtk=""
29118 if test "$GTK_CONFIG" = "no" ; then
29119 no_gtk=yes
29120 else
29121 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29122 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29123 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29125 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29127 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29129 if test "x$enable_gtktest" = "xyes" ; then
29130 ac_save_CFLAGS="$CFLAGS"
29131 ac_save_LIBS="$LIBS"
29132 CFLAGS="$CFLAGS $GTK_CFLAGS"
29133 LIBS="$GTK_LIBS $LIBS"
29134 rm -f conf.gtktest
29135 if test "$cross_compiling" = yes; then
29136 echo $ac_n "cross compiling; assumed OK... $ac_c"
29137 else
29138 cat >conftest.$ac_ext <<_ACEOF
29139 /* confdefs.h. */
29140 _ACEOF
29141 cat confdefs.h >>conftest.$ac_ext
29142 cat >>conftest.$ac_ext <<_ACEOF
29143 /* end confdefs.h. */
29144
29145 #include <gtk/gtk.h>
29146 #include <stdio.h>
29147 #include <stdlib.h>
29148
29149 int
29150 main ()
29151 {
29152 int major, minor, micro;
29153 char *tmp_version;
29154
29155 system ("touch conf.gtktest");
29156
29157 /* HP/UX 9 (%@#!) writes to sscanf strings */
29158 tmp_version = g_strdup("$min_gtk_version");
29159 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29160 printf("%s, bad version string\n", "$min_gtk_version");
29161 exit(1);
29162 }
29163
29164 if ((gtk_major_version != $gtk_config_major_version) ||
29165 (gtk_minor_version != $gtk_config_minor_version) ||
29166 (gtk_micro_version != $gtk_config_micro_version))
29167 {
29168 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29169 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29170 gtk_major_version, gtk_minor_version, gtk_micro_version);
29171 printf ("*** was found! If gtk-config was correct, then it is best\n");
29172 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29173 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29174 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29175 printf("*** required on your system.\n");
29176 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29177 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29178 printf("*** before re-running configure\n");
29179 }
29180 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29181 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29182 (gtk_minor_version != GTK_MINOR_VERSION) ||
29183 (gtk_micro_version != GTK_MICRO_VERSION))
29184 {
29185 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29186 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29187 printf("*** library (version %d.%d.%d)\n",
29188 gtk_major_version, gtk_minor_version, gtk_micro_version);
29189 }
29190 #endif /* defined (GTK_MAJOR_VERSION) ... */
29191 else
29192 {
29193 if ((gtk_major_version > major) ||
29194 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29195 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29196 {
29197 return 0;
29198 }
29199 else
29200 {
29201 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29202 gtk_major_version, gtk_minor_version, gtk_micro_version);
29203 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29204 major, minor, micro);
29205 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29206 printf("***\n");
29207 printf("*** If you have already installed a sufficiently new version, this error\n");
29208 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29209 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29210 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29211 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29212 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29213 printf("*** so that the correct libraries are found at run-time))\n");
29214 }
29215 }
29216 return 1;
29217 }
29218
29219 _ACEOF
29220 rm -f conftest$ac_exeext
29221 if { (ac_try="$ac_link"
29222 case "(($ac_try" in
29223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29224 *) ac_try_echo=$ac_try;;
29225 esac
29226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29227 (eval "$ac_link") 2>&5
29228 ac_status=$?
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
29237 ac_status=$?
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240 :
29241 else
29242 echo "$as_me: program exited with status $ac_status" >&5
29243 echo "$as_me: failed program was:" >&5
29244 sed 's/^/| /' conftest.$ac_ext >&5
29245
29246 ( exit $ac_status )
29247 no_gtk=yes
29248 fi
29249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29250 fi
29251
29252
29253 CFLAGS="$ac_save_CFLAGS"
29254 LIBS="$ac_save_LIBS"
29255 fi
29256 fi
29257 if test "x$no_gtk" = x ; then
29258 { echo "$as_me:$LINENO: result: yes" >&5
29259 echo "${ECHO_T}yes" >&6; }
29260 wx_cv_lib_gtk=1.2.3
29261 else
29262 { echo "$as_me:$LINENO: result: no" >&5
29263 echo "${ECHO_T}no" >&6; }
29264 if test "$GTK_CONFIG" = "no" ; then
29265 echo "*** The gtk-config script installed by GTK could not be found"
29266 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29267 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29268 echo "*** full path to gtk-config."
29269 else
29270 if test -f conf.gtktest ; then
29271 :
29272 else
29273 echo "*** Could not run GTK test program, checking why..."
29274 CFLAGS="$CFLAGS $GTK_CFLAGS"
29275 LIBS="$LIBS $GTK_LIBS"
29276 cat >conftest.$ac_ext <<_ACEOF
29277 /* confdefs.h. */
29278 _ACEOF
29279 cat confdefs.h >>conftest.$ac_ext
29280 cat >>conftest.$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29282
29283 #include <gtk/gtk.h>
29284 #include <stdio.h>
29285
29286 int
29287 main ()
29288 {
29289 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29290 ;
29291 return 0;
29292 }
29293 _ACEOF
29294 rm -f conftest.$ac_objext conftest$ac_exeext
29295 if { (ac_try="$ac_link"
29296 case "(($ac_try" in
29297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29298 *) ac_try_echo=$ac_try;;
29299 esac
29300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29301 (eval "$ac_link") 2>conftest.er1
29302 ac_status=$?
29303 grep -v '^ *+' conftest.er1 >conftest.err
29304 rm -f conftest.er1
29305 cat conftest.err >&5
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); } && {
29308 test -z "$ac_c_werror_flag" ||
29309 test ! -s conftest.err
29310 } && test -s conftest$ac_exeext &&
29311 $as_test_x conftest$ac_exeext; then
29312 echo "*** The test program compiled, but did not run. This usually means"
29313 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29314 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29317 echo "*** is required on your system"
29318 echo "***"
29319 echo "*** If you have an old version installed, it is best to remove it, although"
29320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29321 echo "***"
29322 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29323 echo "*** came with the system with the command"
29324 echo "***"
29325 echo "*** rpm --erase --nodeps gtk gtk-devel"
29326 else
29327 echo "$as_me: failed program was:" >&5
29328 sed 's/^/| /' conftest.$ac_ext >&5
29329
29330 echo "*** The test program failed to compile or link. See the file config.log for the"
29331 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29332 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29333 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29334 fi
29335
29336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29337 conftest$ac_exeext conftest.$ac_ext
29338 CFLAGS="$ac_save_CFLAGS"
29339 LIBS="$ac_save_LIBS"
29340 fi
29341 fi
29342 GTK_CFLAGS=""
29343 GTK_LIBS=""
29344 :
29345 fi
29346
29347
29348 rm -f conf.gtktest
29349
29350 fi
29351 fi
29352 fi
29353
29354 if test -z "$wx_cv_lib_gtk"; then
29355 wx_cv_lib_gtk=none
29356 else
29357 wx_cv_cflags_gtk=$GTK_CFLAGS
29358 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29359 fi
29360
29361
29362 fi
29363
29364
29365 if test "$gtk_version_cached" = 1; then
29366 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29367 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29368 fi
29369
29370 case "$wx_cv_lib_gtk" in
29371 2.0) WXGTK2=1
29372 TOOLKIT_VERSION=2
29373 ;;
29374 1.2.7) WXGTK127=1
29375 WXGTK12=1
29376 ;;
29377 1.2.3) WXGTK12=1
29378 ;;
29379 *) { { echo "$as_me:$LINENO: error:
29380 The development files for GTK+ were not found. For GTK+ 2, please
29381 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29382 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29383 and that the version is 1.2.3 or above. Also check that the
29384 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29385 --libs' are in the LD_LIBRARY_PATH or equivalent.
29386 " >&5
29387 echo "$as_me: error:
29388 The development files for GTK+ were not found. For GTK+ 2, please
29389 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29390 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29391 and that the version is 1.2.3 or above. Also check that the
29392 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29393 --libs' are in the LD_LIBRARY_PATH or equivalent.
29394 " >&2;}
29395 { (exit 1); exit 1; }; }
29396 ;;
29397 esac
29398
29399 if test "$WXGTK2" = 1; then
29400 save_CFLAGS="$CFLAGS"
29401 save_LIBS="$LIBS"
29402 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29403 LIBS="$LIBS $wx_cv_libs_gtk"
29404
29405 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29406 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29407 cat >conftest.$ac_ext <<_ACEOF
29408 /* confdefs.h. */
29409 _ACEOF
29410 cat confdefs.h >>conftest.$ac_ext
29411 cat >>conftest.$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29413
29414 #include <gtk/gtk.h>
29415
29416 int
29417 main ()
29418 {
29419
29420 #if !GTK_CHECK_VERSION(2,10,0)
29421 Not GTK+ 2.10
29422 #endif
29423
29424 ;
29425 return 0;
29426 }
29427 _ACEOF
29428 rm -f conftest.$ac_objext
29429 if { (ac_try="$ac_compile"
29430 case "(($ac_try" in
29431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29432 *) ac_try_echo=$ac_try;;
29433 esac
29434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29435 (eval "$ac_compile") 2>conftest.er1
29436 ac_status=$?
29437 grep -v '^ *+' conftest.er1 >conftest.err
29438 rm -f conftest.er1
29439 cat conftest.err >&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); } && {
29442 test -z "$ac_c_werror_flag" ||
29443 test ! -s conftest.err
29444 } && test -s conftest.$ac_objext; then
29445
29446 cat >>confdefs.h <<\_ACEOF
29447 #define __WXGTK210__ 1
29448 _ACEOF
29449
29450 cat >>confdefs.h <<\_ACEOF
29451 #define __WXGTK26__ 1
29452 _ACEOF
29453
29454 { echo "$as_me:$LINENO: result: yes" >&5
29455 echo "${ECHO_T}yes" >&6; }
29456 ac_wxgtk210=1
29457
29458 else
29459 echo "$as_me: failed program was:" >&5
29460 sed 's/^/| /' conftest.$ac_ext >&5
29461
29462
29463 { echo "$as_me:$LINENO: result: no" >&5
29464 echo "${ECHO_T}no" >&6; }
29465 ac_wxgtk210=0
29466
29467 fi
29468
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29470
29471 if test "$ac_wxgtk210" = 0; then
29472 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29473 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29474 cat >conftest.$ac_ext <<_ACEOF
29475 /* confdefs.h. */
29476 _ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29480
29481 #include <gtk/gtk.h>
29482
29483 int
29484 main ()
29485 {
29486
29487 #if !GTK_CHECK_VERSION(2,6,0)
29488 Not GTK+ 2.6
29489 #endif
29490
29491 ;
29492 return 0;
29493 }
29494 _ACEOF
29495 rm -f conftest.$ac_objext
29496 if { (ac_try="$ac_compile"
29497 case "(($ac_try" in
29498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29499 *) ac_try_echo=$ac_try;;
29500 esac
29501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29502 (eval "$ac_compile") 2>conftest.er1
29503 ac_status=$?
29504 grep -v '^ *+' conftest.er1 >conftest.err
29505 rm -f conftest.er1
29506 cat conftest.err >&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } && {
29509 test -z "$ac_c_werror_flag" ||
29510 test ! -s conftest.err
29511 } && test -s conftest.$ac_objext; then
29512
29513 cat >>confdefs.h <<\_ACEOF
29514 #define __WXGTK26__ 1
29515 _ACEOF
29516
29517 { echo "$as_me:$LINENO: result: yes" >&5
29518 echo "${ECHO_T}yes" >&6; }
29519 ac_wxgtk26=1
29520
29521 else
29522 echo "$as_me: failed program was:" >&5
29523 sed 's/^/| /' conftest.$ac_ext >&5
29524
29525
29526 { echo "$as_me:$LINENO: result: no" >&5
29527 echo "${ECHO_T}no" >&6; }
29528 ac_wxgtk26=0
29529
29530 fi
29531
29532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29533 fi
29534
29535 CFLAGS="$save_CFLAGS"
29536 LIBS="$save_LIBS"
29537 else
29538 if test "$wxUSE_UNICODE" = "yes"; then
29539 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29540 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29541 wxUSE_UNICODE=no
29542 fi
29543
29544 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29545 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29546 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29547 echo $ECHO_N "(cached) $ECHO_C" >&6
29548 else
29549 ac_check_lib_save_LIBS=$LIBS
29550 LIBS="-lgdk $LIBS"
29551 cat >conftest.$ac_ext <<_ACEOF
29552 /* confdefs.h. */
29553 _ACEOF
29554 cat confdefs.h >>conftest.$ac_ext
29555 cat >>conftest.$ac_ext <<_ACEOF
29556 /* end confdefs.h. */
29557
29558 /* Override any GCC internal prototype to avoid an error.
29559 Use char because int might match the return type of a GCC
29560 builtin and then its argument prototype would still apply. */
29561 #ifdef __cplusplus
29562 extern "C"
29563 #endif
29564 char gdk_im_open ();
29565 int
29566 main ()
29567 {
29568 return gdk_im_open ();
29569 ;
29570 return 0;
29571 }
29572 _ACEOF
29573 rm -f conftest.$ac_objext conftest$ac_exeext
29574 if { (ac_try="$ac_link"
29575 case "(($ac_try" in
29576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29577 *) ac_try_echo=$ac_try;;
29578 esac
29579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29580 (eval "$ac_link") 2>conftest.er1
29581 ac_status=$?
29582 grep -v '^ *+' conftest.er1 >conftest.err
29583 rm -f conftest.er1
29584 cat conftest.err >&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } && {
29587 test -z "$ac_c_werror_flag" ||
29588 test ! -s conftest.err
29589 } && test -s conftest$ac_exeext &&
29590 $as_test_x conftest$ac_exeext; then
29591 ac_cv_lib_gdk_gdk_im_open=yes
29592 else
29593 echo "$as_me: failed program was:" >&5
29594 sed 's/^/| /' conftest.$ac_ext >&5
29595
29596 ac_cv_lib_gdk_gdk_im_open=no
29597 fi
29598
29599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29600 conftest$ac_exeext conftest.$ac_ext
29601 LIBS=$ac_check_lib_save_LIBS
29602 fi
29603 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29604 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29605 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29606 cat >>confdefs.h <<\_ACEOF
29607 #define HAVE_XIM 1
29608 _ACEOF
29609
29610 fi
29611
29612
29613 if test "$USE_DARWIN" != 1; then
29614
29615 for ac_func in poll
29616 do
29617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29618 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29621 echo $ECHO_N "(cached) $ECHO_C" >&6
29622 else
29623 cat >conftest.$ac_ext <<_ACEOF
29624 /* confdefs.h. */
29625 _ACEOF
29626 cat confdefs.h >>conftest.$ac_ext
29627 cat >>conftest.$ac_ext <<_ACEOF
29628 /* end confdefs.h. */
29629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29631 #define $ac_func innocuous_$ac_func
29632
29633 /* System header to define __stub macros and hopefully few prototypes,
29634 which can conflict with char $ac_func (); below.
29635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29636 <limits.h> exists even on freestanding compilers. */
29637
29638 #ifdef __STDC__
29639 # include <limits.h>
29640 #else
29641 # include <assert.h>
29642 #endif
29643
29644 #undef $ac_func
29645
29646 /* Override any GCC internal prototype to avoid an error.
29647 Use char because int might match the return type of a GCC
29648 builtin and then its argument prototype would still apply. */
29649 #ifdef __cplusplus
29650 extern "C"
29651 #endif
29652 char $ac_func ();
29653 /* The GNU C library defines this for functions which it implements
29654 to always fail with ENOSYS. Some functions are actually named
29655 something starting with __ and the normal name is an alias. */
29656 #if defined __stub_$ac_func || defined __stub___$ac_func
29657 choke me
29658 #endif
29659
29660 int
29661 main ()
29662 {
29663 return $ac_func ();
29664 ;
29665 return 0;
29666 }
29667 _ACEOF
29668 rm -f conftest.$ac_objext conftest$ac_exeext
29669 if { (ac_try="$ac_link"
29670 case "(($ac_try" in
29671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29672 *) ac_try_echo=$ac_try;;
29673 esac
29674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29675 (eval "$ac_link") 2>conftest.er1
29676 ac_status=$?
29677 grep -v '^ *+' conftest.er1 >conftest.err
29678 rm -f conftest.er1
29679 cat conftest.err >&5
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); } && {
29682 test -z "$ac_c_werror_flag" ||
29683 test ! -s conftest.err
29684 } && test -s conftest$ac_exeext &&
29685 $as_test_x conftest$ac_exeext; then
29686 eval "$as_ac_var=yes"
29687 else
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29690
29691 eval "$as_ac_var=no"
29692 fi
29693
29694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29695 conftest$ac_exeext conftest.$ac_ext
29696 fi
29697 ac_res=`eval echo '${'$as_ac_var'}'`
29698 { echo "$as_me:$LINENO: result: $ac_res" >&5
29699 echo "${ECHO_T}$ac_res" >&6; }
29700 if test `eval echo '${'$as_ac_var'}'` = yes; then
29701 cat >>confdefs.h <<_ACEOF
29702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29703 _ACEOF
29704
29705 fi
29706 done
29707
29708 fi
29709 fi
29710
29711 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29712 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29713
29714 AFMINSTALL=afminstall
29715 TOOLKIT=GTK
29716 GUIDIST=GTK_DIST
29717
29718 if test "$wxUSE_GPE" = "yes"; then
29719 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29720 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29721
29722 ac_find_libraries=
29723 for ac_dir in $SEARCH_LIB;
29724 do
29725 for ac_extension in a so sl dylib dll.a; do
29726 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29727 ac_find_libraries=$ac_dir
29728 break 2
29729 fi
29730 done
29731 done
29732
29733 if test "$ac_find_libraries" != "" ; then
29734
29735 if test "$ac_find_libraries" = "default location"; then
29736 ac_path_to_link=""
29737 else
29738 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29739 result=$?
29740 if test $result = 0; then
29741 ac_path_to_link=""
29742 else
29743 ac_path_to_link=" -L$ac_find_libraries"
29744 fi
29745 fi
29746
29747 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29748 WXGPE=1
29749 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29750 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29751 else
29752 { echo "$as_me:$LINENO: result: not found" >&5
29753 echo "${ECHO_T}not found" >&6; }
29754 fi
29755
29756 fi
29757 fi
29758
29759 if test "$wxUSE_MGL" = 1; then
29760 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29761 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29762 if test "x$MGL_ROOT" = x ; then
29763 { echo "$as_me:$LINENO: result: not found" >&5
29764 echo "${ECHO_T}not found" >&6; }
29765 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29766 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29767 { (exit 1); exit 1; }; }
29768 else
29769 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29770 echo "${ECHO_T}$MGL_ROOT" >&6; }
29771 fi
29772
29773 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29774 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29775 case "${host}" in
29776 *-*-linux* )
29777 if test "x$wxUSE_SHARED" = xyes ; then
29778 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29779 else
29780 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29781 fi
29782 ;;
29783 *-pc-msdosdjgpp )
29784 mgl_os_candidates="dos32/dj2"
29785 ;;
29786 *)
29787 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29788 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29789 { (exit 1); exit 1; }; }
29790 esac
29791
29792 mgl_lib_type=""
29793 mgl_os=""
29794
29795 for mgl_os_i in $mgl_os_candidates ; do
29796 if test "x$mgl_os" = x ; then
29797 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29798 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29799 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29800 mgl_lib_type=debug
29801 mgl_os=$mgl_os_i
29802 fi
29803 fi
29804 if test "x$mgl_lib_type" = x ; then
29805 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29806 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29807 mgl_lib_type=release
29808 mgl_os=$mgl_os_i
29809 fi
29810 fi
29811 fi
29812 done
29813
29814 if test "x$mgl_os" = x ; then
29815 { echo "$as_me:$LINENO: result: not found" >&5
29816 echo "${ECHO_T}not found" >&6; }
29817 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29818 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29819 { (exit 1); exit 1; }; }
29820 fi
29821 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29822 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29823
29824 wxUSE_UNIVERSAL="yes"
29825
29826 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29827 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29828
29829 AFMINSTALL=afminstall
29830 TOOLKIT=MGL
29831 GUIDIST=MGL_DIST
29832 fi
29833
29834 if test "$wxUSE_DFB" = 1; then
29835
29836
29837 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29838 if test -n "$ac_tool_prefix"; then
29839 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29840 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29843 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29845 else
29846 case $PKG_CONFIG in
29847 [\\/]* | ?:[\\/]*)
29848 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29849 ;;
29850 *)
29851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29852 for as_dir in $PATH
29853 do
29854 IFS=$as_save_IFS
29855 test -z "$as_dir" && as_dir=.
29856 for ac_exec_ext in '' $ac_executable_extensions; do
29857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29858 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29860 break 2
29861 fi
29862 done
29863 done
29864 IFS=$as_save_IFS
29865
29866 ;;
29867 esac
29868 fi
29869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29870 if test -n "$PKG_CONFIG"; then
29871 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29872 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29873 else
29874 { echo "$as_me:$LINENO: result: no" >&5
29875 echo "${ECHO_T}no" >&6; }
29876 fi
29877
29878
29879 fi
29880 if test -z "$ac_cv_path_PKG_CONFIG"; then
29881 ac_pt_PKG_CONFIG=$PKG_CONFIG
29882 # Extract the first word of "pkg-config", so it can be a program name with args.
29883 set dummy pkg-config; ac_word=$2
29884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29886 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29887 echo $ECHO_N "(cached) $ECHO_C" >&6
29888 else
29889 case $ac_pt_PKG_CONFIG in
29890 [\\/]* | ?:[\\/]*)
29891 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29892 ;;
29893 *)
29894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29895 for as_dir in $PATH
29896 do
29897 IFS=$as_save_IFS
29898 test -z "$as_dir" && as_dir=.
29899 for ac_exec_ext in '' $ac_executable_extensions; do
29900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29901 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29903 break 2
29904 fi
29905 done
29906 done
29907 IFS=$as_save_IFS
29908
29909 ;;
29910 esac
29911 fi
29912 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29913 if test -n "$ac_pt_PKG_CONFIG"; then
29914 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29915 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29916 else
29917 { echo "$as_me:$LINENO: result: no" >&5
29918 echo "${ECHO_T}no" >&6; }
29919 fi
29920
29921 if test "x$ac_pt_PKG_CONFIG" = x; then
29922 PKG_CONFIG=""
29923 else
29924 case $cross_compiling:$ac_tool_warned in
29925 yes:)
29926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29927 whose name does not start with the host triplet. If you think this
29928 configuration is useful to you, please write to autoconf@gnu.org." >&5
29929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29930 whose name does not start with the host triplet. If you think this
29931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29932 ac_tool_warned=yes ;;
29933 esac
29934 PKG_CONFIG=$ac_pt_PKG_CONFIG
29935 fi
29936 else
29937 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29938 fi
29939
29940 fi
29941 if test -n "$PKG_CONFIG"; then
29942 _pkg_min_version=0.9.0
29943 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29944 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29945 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29946 { echo "$as_me:$LINENO: result: yes" >&5
29947 echo "${ECHO_T}yes" >&6; }
29948 else
29949 { echo "$as_me:$LINENO: result: no" >&5
29950 echo "${ECHO_T}no" >&6; }
29951 PKG_CONFIG=""
29952 fi
29953
29954 fi
29955
29956
29957 pkg_failed=no
29958 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29959 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29960
29961 if test -n "$PKG_CONFIG"; then
29962 if test -n "$DIRECTFB_CFLAGS"; then
29963 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29964 else
29965 if test -n "$PKG_CONFIG" && \
29966 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29967 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29968 ac_status=$?
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; then
29971 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29972 else
29973 pkg_failed=yes
29974 fi
29975 fi
29976 else
29977 pkg_failed=untried
29978 fi
29979 if test -n "$PKG_CONFIG"; then
29980 if test -n "$DIRECTFB_LIBS"; then
29981 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29982 else
29983 if test -n "$PKG_CONFIG" && \
29984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29985 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29986 ac_status=$?
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; then
29989 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29990 else
29991 pkg_failed=yes
29992 fi
29993 fi
29994 else
29995 pkg_failed=untried
29996 fi
29997
29998
29999
30000 if test $pkg_failed = yes; then
30001
30002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30003 _pkg_short_errors_supported=yes
30004 else
30005 _pkg_short_errors_supported=no
30006 fi
30007 if test $_pkg_short_errors_supported = yes; then
30008 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30009 else
30010 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30011 fi
30012 # Put the nasty error message in config.log where it belongs
30013 echo "$DIRECTFB_PKG_ERRORS" >&5
30014
30015
30016 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30017 echo "$as_me: error: DirectFB not found." >&2;}
30018 { (exit 1); exit 1; }; }
30019
30020
30021 elif test $pkg_failed = untried; then
30022
30023 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30024 echo "$as_me: error: DirectFB not found." >&2;}
30025 { (exit 1); exit 1; }; }
30026
30027
30028 else
30029 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30030 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30031 { echo "$as_me:$LINENO: result: yes" >&5
30032 echo "${ECHO_T}yes" >&6; }
30033
30034 wxUSE_UNIVERSAL="yes"
30035 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30036 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30037 TOOLKIT=DFB
30038 GUIDIST=DFB_DIST
30039
30040 fi
30041 fi
30042
30043 if test "$wxUSE_MICROWIN" = 1; then
30044 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30045 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30046 if test "x$MICROWINDOWS" = x ; then
30047 { echo "$as_me:$LINENO: result: not found" >&5
30048 echo "${ECHO_T}not found" >&6; }
30049 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30050 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30051 { (exit 1); exit 1; }; }
30052 else
30053 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30054 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30055 fi
30056
30057 if test -f $MICROWINDOWS/lib/libmwin.a; then
30058 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30059 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30060 else
30061 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30062 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30063 { (exit 1); exit 1; }; }
30064 fi
30065
30066 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30067 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30068
30069 wxUSE_UNIVERSAL="yes"
30070
30071 AFMINSTALL=afminstall
30072 TOOLKIT=MICROWIN
30073 GUIDIST=MICROWIN_DIST
30074
30075 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30076 fi
30077
30078 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30079 { echo "$as_me:$LINENO: checking for X" >&5
30080 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30081
30082
30083 # Check whether --with-x was given.
30084 if test "${with_x+set}" = set; then
30085 withval=$with_x;
30086 fi
30087
30088 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30089 if test "x$with_x" = xno; then
30090 # The user explicitly disabled X.
30091 have_x=disabled
30092 else
30093 case $x_includes,$x_libraries in #(
30094 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30095 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30096 { (exit 1); exit 1; }; };; #(
30097 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30098 echo $ECHO_N "(cached) $ECHO_C" >&6
30099 else
30100 # One or both of the vars are not set, and there is no cached value.
30101 ac_x_includes=no ac_x_libraries=no
30102 rm -f -r conftest.dir
30103 if mkdir conftest.dir; then
30104 cd conftest.dir
30105 cat >Imakefile <<'_ACEOF'
30106 incroot:
30107 @echo incroot='${INCROOT}'
30108 usrlibdir:
30109 @echo usrlibdir='${USRLIBDIR}'
30110 libdir:
30111 @echo libdir='${LIBDIR}'
30112 _ACEOF
30113 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30114 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30115 for ac_var in incroot usrlibdir libdir; do
30116 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30117 done
30118 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30119 for ac_extension in a so sl; do
30120 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30121 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30122 ac_im_usrlibdir=$ac_im_libdir; break
30123 fi
30124 done
30125 # Screen out bogus values from the imake configuration. They are
30126 # bogus both because they are the default anyway, and because
30127 # using them would break gcc on systems where it needs fixed includes.
30128 case $ac_im_incroot in
30129 /usr/include) ac_x_includes= ;;
30130 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30131 esac
30132 case $ac_im_usrlibdir in
30133 /usr/lib | /lib) ;;
30134 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30135 esac
30136 fi
30137 cd ..
30138 rm -f -r conftest.dir
30139 fi
30140
30141 # Standard set of common directories for X headers.
30142 # Check X11 before X11Rn because it is often a symlink to the current release.
30143 ac_x_header_dirs='
30144 /usr/X11/include
30145 /usr/X11R6/include
30146 /usr/X11R5/include
30147 /usr/X11R4/include
30148
30149 /usr/include/X11
30150 /usr/include/X11R6
30151 /usr/include/X11R5
30152 /usr/include/X11R4
30153
30154 /usr/local/X11/include
30155 /usr/local/X11R6/include
30156 /usr/local/X11R5/include
30157 /usr/local/X11R4/include
30158
30159 /usr/local/include/X11
30160 /usr/local/include/X11R6
30161 /usr/local/include/X11R5
30162 /usr/local/include/X11R4
30163
30164 /usr/X386/include
30165 /usr/x386/include
30166 /usr/XFree86/include/X11
30167
30168 /usr/include
30169 /usr/local/include
30170 /usr/unsupported/include
30171 /usr/athena/include
30172 /usr/local/x11r5/include
30173 /usr/lpp/Xamples/include
30174
30175 /usr/openwin/include
30176 /usr/openwin/share/include'
30177
30178 if test "$ac_x_includes" = no; then
30179 # Guess where to find include files, by looking for Xlib.h.
30180 # First, try using that file with no special directory specified.
30181 cat >conftest.$ac_ext <<_ACEOF
30182 /* confdefs.h. */
30183 _ACEOF
30184 cat confdefs.h >>conftest.$ac_ext
30185 cat >>conftest.$ac_ext <<_ACEOF
30186 /* end confdefs.h. */
30187 #include <X11/Xlib.h>
30188 _ACEOF
30189 if { (ac_try="$ac_cpp conftest.$ac_ext"
30190 case "(($ac_try" in
30191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30192 *) ac_try_echo=$ac_try;;
30193 esac
30194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30196 ac_status=$?
30197 grep -v '^ *+' conftest.er1 >conftest.err
30198 rm -f conftest.er1
30199 cat conftest.err >&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); } >/dev/null && {
30202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30203 test ! -s conftest.err
30204 }; then
30205 # We can compile using X headers with no special include directory.
30206 ac_x_includes=
30207 else
30208 echo "$as_me: failed program was:" >&5
30209 sed 's/^/| /' conftest.$ac_ext >&5
30210
30211 for ac_dir in $ac_x_header_dirs; do
30212 if test -r "$ac_dir/X11/Xlib.h"; then
30213 ac_x_includes=$ac_dir
30214 break
30215 fi
30216 done
30217 fi
30218
30219 rm -f conftest.err conftest.$ac_ext
30220 fi # $ac_x_includes = no
30221
30222 if test "$ac_x_libraries" = no; then
30223 # Check for the libraries.
30224 # See if we find them without any special options.
30225 # Don't add to $LIBS permanently.
30226 ac_save_LIBS=$LIBS
30227 LIBS="-lX11 $LIBS"
30228 cat >conftest.$ac_ext <<_ACEOF
30229 /* confdefs.h. */
30230 _ACEOF
30231 cat confdefs.h >>conftest.$ac_ext
30232 cat >>conftest.$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234 #include <X11/Xlib.h>
30235 int
30236 main ()
30237 {
30238 XrmInitialize ()
30239 ;
30240 return 0;
30241 }
30242 _ACEOF
30243 rm -f conftest.$ac_objext conftest$ac_exeext
30244 if { (ac_try="$ac_link"
30245 case "(($ac_try" in
30246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30247 *) ac_try_echo=$ac_try;;
30248 esac
30249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30250 (eval "$ac_link") 2>conftest.er1
30251 ac_status=$?
30252 grep -v '^ *+' conftest.er1 >conftest.err
30253 rm -f conftest.er1
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } && {
30257 test -z "$ac_c_werror_flag" ||
30258 test ! -s conftest.err
30259 } && test -s conftest$ac_exeext &&
30260 $as_test_x conftest$ac_exeext; then
30261 LIBS=$ac_save_LIBS
30262 # We can link X programs with no special library path.
30263 ac_x_libraries=
30264 else
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.$ac_ext >&5
30267
30268 LIBS=$ac_save_LIBS
30269 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30270 do
30271 # Don't even attempt the hair of trying to link an X program!
30272 for ac_extension in a so sl; do
30273 if test -r "$ac_dir/libX11.$ac_extension"; then
30274 ac_x_libraries=$ac_dir
30275 break 2
30276 fi
30277 done
30278 done
30279 fi
30280
30281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30282 conftest$ac_exeext conftest.$ac_ext
30283 fi # $ac_x_libraries = no
30284
30285 case $ac_x_includes,$ac_x_libraries in #(
30286 no,* | *,no | *\'*)
30287 # Didn't find X, or a directory has "'" in its name.
30288 ac_cv_have_x="have_x=no";; #(
30289 *)
30290 # Record where we found X for the cache.
30291 ac_cv_have_x="have_x=yes\
30292 ac_x_includes='$ac_x_includes'\
30293 ac_x_libraries='$ac_x_libraries'"
30294 esac
30295 fi
30296 ;; #(
30297 *) have_x=yes;;
30298 esac
30299 eval "$ac_cv_have_x"
30300 fi # $with_x != no
30301
30302 if test "$have_x" != yes; then
30303 { echo "$as_me:$LINENO: result: $have_x" >&5
30304 echo "${ECHO_T}$have_x" >&6; }
30305 no_x=yes
30306 else
30307 # If each of the values was on the command line, it overrides each guess.
30308 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30309 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30310 # Update the cache value to reflect the command line values.
30311 ac_cv_have_x="have_x=yes\
30312 ac_x_includes='$x_includes'\
30313 ac_x_libraries='$x_libraries'"
30314 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30315 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30316 fi
30317
30318 if test "$no_x" = yes; then
30319 # Not all programs may use this symbol, but it does not hurt to define it.
30320
30321 cat >>confdefs.h <<\_ACEOF
30322 #define X_DISPLAY_MISSING 1
30323 _ACEOF
30324
30325 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30326 else
30327 if test -n "$x_includes"; then
30328 X_CFLAGS="$X_CFLAGS -I$x_includes"
30329 fi
30330
30331 # It would also be nice to do this for all -L options, not just this one.
30332 if test -n "$x_libraries"; then
30333 X_LIBS="$X_LIBS -L$x_libraries"
30334 # For Solaris; some versions of Sun CC require a space after -R and
30335 # others require no space. Words are not sufficient . . . .
30336 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30337 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30338 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30339 ac_xsave_c_werror_flag=$ac_c_werror_flag
30340 ac_c_werror_flag=yes
30341 cat >conftest.$ac_ext <<_ACEOF
30342 /* confdefs.h. */
30343 _ACEOF
30344 cat confdefs.h >>conftest.$ac_ext
30345 cat >>conftest.$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30347
30348 int
30349 main ()
30350 {
30351
30352 ;
30353 return 0;
30354 }
30355 _ACEOF
30356 rm -f conftest.$ac_objext conftest$ac_exeext
30357 if { (ac_try="$ac_link"
30358 case "(($ac_try" in
30359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30360 *) ac_try_echo=$ac_try;;
30361 esac
30362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30363 (eval "$ac_link") 2>conftest.er1
30364 ac_status=$?
30365 grep -v '^ *+' conftest.er1 >conftest.err
30366 rm -f conftest.er1
30367 cat conftest.err >&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } && {
30370 test -z "$ac_c_werror_flag" ||
30371 test ! -s conftest.err
30372 } && test -s conftest$ac_exeext &&
30373 $as_test_x conftest$ac_exeext; then
30374 { echo "$as_me:$LINENO: result: no" >&5
30375 echo "${ECHO_T}no" >&6; }
30376 X_LIBS="$X_LIBS -R$x_libraries"
30377 else
30378 echo "$as_me: failed program was:" >&5
30379 sed 's/^/| /' conftest.$ac_ext >&5
30380
30381 LIBS="$ac_xsave_LIBS -R $x_libraries"
30382 cat >conftest.$ac_ext <<_ACEOF
30383 /* confdefs.h. */
30384 _ACEOF
30385 cat confdefs.h >>conftest.$ac_ext
30386 cat >>conftest.$ac_ext <<_ACEOF
30387 /* end confdefs.h. */
30388
30389 int
30390 main ()
30391 {
30392
30393 ;
30394 return 0;
30395 }
30396 _ACEOF
30397 rm -f conftest.$ac_objext conftest$ac_exeext
30398 if { (ac_try="$ac_link"
30399 case "(($ac_try" in
30400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30401 *) ac_try_echo=$ac_try;;
30402 esac
30403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30404 (eval "$ac_link") 2>conftest.er1
30405 ac_status=$?
30406 grep -v '^ *+' conftest.er1 >conftest.err
30407 rm -f conftest.er1
30408 cat conftest.err >&5
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); } && {
30411 test -z "$ac_c_werror_flag" ||
30412 test ! -s conftest.err
30413 } && test -s conftest$ac_exeext &&
30414 $as_test_x conftest$ac_exeext; then
30415 { echo "$as_me:$LINENO: result: yes" >&5
30416 echo "${ECHO_T}yes" >&6; }
30417 X_LIBS="$X_LIBS -R $x_libraries"
30418 else
30419 echo "$as_me: failed program was:" >&5
30420 sed 's/^/| /' conftest.$ac_ext >&5
30421
30422 { echo "$as_me:$LINENO: result: neither works" >&5
30423 echo "${ECHO_T}neither works" >&6; }
30424 fi
30425
30426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30427 conftest$ac_exeext conftest.$ac_ext
30428 fi
30429
30430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30431 conftest$ac_exeext conftest.$ac_ext
30432 ac_c_werror_flag=$ac_xsave_c_werror_flag
30433 LIBS=$ac_xsave_LIBS
30434 fi
30435
30436 # Check for system-dependent libraries X programs must link with.
30437 # Do this before checking for the system-independent R6 libraries
30438 # (-lICE), since we may need -lsocket or whatever for X linking.
30439
30440 if test "$ISC" = yes; then
30441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30442 else
30443 # Martyn Johnson says this is needed for Ultrix, if the X
30444 # libraries were built with DECnet support. And Karl Berry says
30445 # the Alpha needs dnet_stub (dnet does not exist).
30446 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30447 cat >conftest.$ac_ext <<_ACEOF
30448 /* confdefs.h. */
30449 _ACEOF
30450 cat confdefs.h >>conftest.$ac_ext
30451 cat >>conftest.$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30453
30454 /* Override any GCC internal prototype to avoid an error.
30455 Use char because int might match the return type of a GCC
30456 builtin and then its argument prototype would still apply. */
30457 #ifdef __cplusplus
30458 extern "C"
30459 #endif
30460 char XOpenDisplay ();
30461 int
30462 main ()
30463 {
30464 return XOpenDisplay ();
30465 ;
30466 return 0;
30467 }
30468 _ACEOF
30469 rm -f conftest.$ac_objext conftest$ac_exeext
30470 if { (ac_try="$ac_link"
30471 case "(($ac_try" in
30472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30473 *) ac_try_echo=$ac_try;;
30474 esac
30475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30476 (eval "$ac_link") 2>conftest.er1
30477 ac_status=$?
30478 grep -v '^ *+' conftest.er1 >conftest.err
30479 rm -f conftest.er1
30480 cat conftest.err >&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); } && {
30483 test -z "$ac_c_werror_flag" ||
30484 test ! -s conftest.err
30485 } && test -s conftest$ac_exeext &&
30486 $as_test_x conftest$ac_exeext; then
30487 :
30488 else
30489 echo "$as_me: failed program was:" >&5
30490 sed 's/^/| /' conftest.$ac_ext >&5
30491
30492 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30493 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30494 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30495 echo $ECHO_N "(cached) $ECHO_C" >&6
30496 else
30497 ac_check_lib_save_LIBS=$LIBS
30498 LIBS="-ldnet $LIBS"
30499 cat >conftest.$ac_ext <<_ACEOF
30500 /* confdefs.h. */
30501 _ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30505
30506 /* Override any GCC internal prototype to avoid an error.
30507 Use char because int might match the return type of a GCC
30508 builtin and then its argument prototype would still apply. */
30509 #ifdef __cplusplus
30510 extern "C"
30511 #endif
30512 char dnet_ntoa ();
30513 int
30514 main ()
30515 {
30516 return dnet_ntoa ();
30517 ;
30518 return 0;
30519 }
30520 _ACEOF
30521 rm -f conftest.$ac_objext conftest$ac_exeext
30522 if { (ac_try="$ac_link"
30523 case "(($ac_try" in
30524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30525 *) ac_try_echo=$ac_try;;
30526 esac
30527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30528 (eval "$ac_link") 2>conftest.er1
30529 ac_status=$?
30530 grep -v '^ *+' conftest.er1 >conftest.err
30531 rm -f conftest.er1
30532 cat conftest.err >&5
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); } && {
30535 test -z "$ac_c_werror_flag" ||
30536 test ! -s conftest.err
30537 } && test -s conftest$ac_exeext &&
30538 $as_test_x conftest$ac_exeext; then
30539 ac_cv_lib_dnet_dnet_ntoa=yes
30540 else
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30543
30544 ac_cv_lib_dnet_dnet_ntoa=no
30545 fi
30546
30547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30548 conftest$ac_exeext conftest.$ac_ext
30549 LIBS=$ac_check_lib_save_LIBS
30550 fi
30551 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30552 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30553 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30554 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30555 fi
30556
30557 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30558 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30559 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30560 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30561 echo $ECHO_N "(cached) $ECHO_C" >&6
30562 else
30563 ac_check_lib_save_LIBS=$LIBS
30564 LIBS="-ldnet_stub $LIBS"
30565 cat >conftest.$ac_ext <<_ACEOF
30566 /* confdefs.h. */
30567 _ACEOF
30568 cat confdefs.h >>conftest.$ac_ext
30569 cat >>conftest.$ac_ext <<_ACEOF
30570 /* end confdefs.h. */
30571
30572 /* Override any GCC internal prototype to avoid an error.
30573 Use char because int might match the return type of a GCC
30574 builtin and then its argument prototype would still apply. */
30575 #ifdef __cplusplus
30576 extern "C"
30577 #endif
30578 char dnet_ntoa ();
30579 int
30580 main ()
30581 {
30582 return dnet_ntoa ();
30583 ;
30584 return 0;
30585 }
30586 _ACEOF
30587 rm -f conftest.$ac_objext conftest$ac_exeext
30588 if { (ac_try="$ac_link"
30589 case "(($ac_try" in
30590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30591 *) ac_try_echo=$ac_try;;
30592 esac
30593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30594 (eval "$ac_link") 2>conftest.er1
30595 ac_status=$?
30596 grep -v '^ *+' conftest.er1 >conftest.err
30597 rm -f conftest.er1
30598 cat conftest.err >&5
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); } && {
30601 test -z "$ac_c_werror_flag" ||
30602 test ! -s conftest.err
30603 } && test -s conftest$ac_exeext &&
30604 $as_test_x conftest$ac_exeext; then
30605 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30606 else
30607 echo "$as_me: failed program was:" >&5
30608 sed 's/^/| /' conftest.$ac_ext >&5
30609
30610 ac_cv_lib_dnet_stub_dnet_ntoa=no
30611 fi
30612
30613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30614 conftest$ac_exeext conftest.$ac_ext
30615 LIBS=$ac_check_lib_save_LIBS
30616 fi
30617 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30618 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30619 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30620 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30621 fi
30622
30623 fi
30624 fi
30625
30626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30627 conftest$ac_exeext conftest.$ac_ext
30628 LIBS="$ac_xsave_LIBS"
30629
30630 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30631 # to get the SysV transport functions.
30632 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30633 # needs -lnsl.
30634 # The nsl library prevents programs from opening the X display
30635 # on Irix 5.2, according to T.E. Dickey.
30636 # The functions gethostbyname, getservbyname, and inet_addr are
30637 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30638 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30639 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30640 if test "${ac_cv_func_gethostbyname+set}" = set; then
30641 echo $ECHO_N "(cached) $ECHO_C" >&6
30642 else
30643 cat >conftest.$ac_ext <<_ACEOF
30644 /* confdefs.h. */
30645 _ACEOF
30646 cat confdefs.h >>conftest.$ac_ext
30647 cat >>conftest.$ac_ext <<_ACEOF
30648 /* end confdefs.h. */
30649 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30651 #define gethostbyname innocuous_gethostbyname
30652
30653 /* System header to define __stub macros and hopefully few prototypes,
30654 which can conflict with char gethostbyname (); below.
30655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30656 <limits.h> exists even on freestanding compilers. */
30657
30658 #ifdef __STDC__
30659 # include <limits.h>
30660 #else
30661 # include <assert.h>
30662 #endif
30663
30664 #undef gethostbyname
30665
30666 /* Override any GCC internal prototype to avoid an error.
30667 Use char because int might match the return type of a GCC
30668 builtin and then its argument prototype would still apply. */
30669 #ifdef __cplusplus
30670 extern "C"
30671 #endif
30672 char gethostbyname ();
30673 /* The GNU C library defines this for functions which it implements
30674 to always fail with ENOSYS. Some functions are actually named
30675 something starting with __ and the normal name is an alias. */
30676 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30677 choke me
30678 #endif
30679
30680 int
30681 main ()
30682 {
30683 return gethostbyname ();
30684 ;
30685 return 0;
30686 }
30687 _ACEOF
30688 rm -f conftest.$ac_objext conftest$ac_exeext
30689 if { (ac_try="$ac_link"
30690 case "(($ac_try" in
30691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30692 *) ac_try_echo=$ac_try;;
30693 esac
30694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30695 (eval "$ac_link") 2>conftest.er1
30696 ac_status=$?
30697 grep -v '^ *+' conftest.er1 >conftest.err
30698 rm -f conftest.er1
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } && {
30702 test -z "$ac_c_werror_flag" ||
30703 test ! -s conftest.err
30704 } && test -s conftest$ac_exeext &&
30705 $as_test_x conftest$ac_exeext; then
30706 ac_cv_func_gethostbyname=yes
30707 else
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30710
30711 ac_cv_func_gethostbyname=no
30712 fi
30713
30714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30715 conftest$ac_exeext conftest.$ac_ext
30716 fi
30717 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30718 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30719
30720 if test $ac_cv_func_gethostbyname = no; then
30721 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30722 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30723 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 else
30726 ac_check_lib_save_LIBS=$LIBS
30727 LIBS="-lnsl $LIBS"
30728 cat >conftest.$ac_ext <<_ACEOF
30729 /* confdefs.h. */
30730 _ACEOF
30731 cat confdefs.h >>conftest.$ac_ext
30732 cat >>conftest.$ac_ext <<_ACEOF
30733 /* end confdefs.h. */
30734
30735 /* Override any GCC internal prototype to avoid an error.
30736 Use char because int might match the return type of a GCC
30737 builtin and then its argument prototype would still apply. */
30738 #ifdef __cplusplus
30739 extern "C"
30740 #endif
30741 char gethostbyname ();
30742 int
30743 main ()
30744 {
30745 return gethostbyname ();
30746 ;
30747 return 0;
30748 }
30749 _ACEOF
30750 rm -f conftest.$ac_objext conftest$ac_exeext
30751 if { (ac_try="$ac_link"
30752 case "(($ac_try" in
30753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30754 *) ac_try_echo=$ac_try;;
30755 esac
30756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30757 (eval "$ac_link") 2>conftest.er1
30758 ac_status=$?
30759 grep -v '^ *+' conftest.er1 >conftest.err
30760 rm -f conftest.er1
30761 cat conftest.err >&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); } && {
30764 test -z "$ac_c_werror_flag" ||
30765 test ! -s conftest.err
30766 } && test -s conftest$ac_exeext &&
30767 $as_test_x conftest$ac_exeext; then
30768 ac_cv_lib_nsl_gethostbyname=yes
30769 else
30770 echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.$ac_ext >&5
30772
30773 ac_cv_lib_nsl_gethostbyname=no
30774 fi
30775
30776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30777 conftest$ac_exeext conftest.$ac_ext
30778 LIBS=$ac_check_lib_save_LIBS
30779 fi
30780 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30781 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30782 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30783 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30784 fi
30785
30786 if test $ac_cv_lib_nsl_gethostbyname = no; then
30787 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30788 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30789 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30790 echo $ECHO_N "(cached) $ECHO_C" >&6
30791 else
30792 ac_check_lib_save_LIBS=$LIBS
30793 LIBS="-lbsd $LIBS"
30794 cat >conftest.$ac_ext <<_ACEOF
30795 /* confdefs.h. */
30796 _ACEOF
30797 cat confdefs.h >>conftest.$ac_ext
30798 cat >>conftest.$ac_ext <<_ACEOF
30799 /* end confdefs.h. */
30800
30801 /* Override any GCC internal prototype to avoid an error.
30802 Use char because int might match the return type of a GCC
30803 builtin and then its argument prototype would still apply. */
30804 #ifdef __cplusplus
30805 extern "C"
30806 #endif
30807 char gethostbyname ();
30808 int
30809 main ()
30810 {
30811 return gethostbyname ();
30812 ;
30813 return 0;
30814 }
30815 _ACEOF
30816 rm -f conftest.$ac_objext conftest$ac_exeext
30817 if { (ac_try="$ac_link"
30818 case "(($ac_try" in
30819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30820 *) ac_try_echo=$ac_try;;
30821 esac
30822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30823 (eval "$ac_link") 2>conftest.er1
30824 ac_status=$?
30825 grep -v '^ *+' conftest.er1 >conftest.err
30826 rm -f conftest.er1
30827 cat conftest.err >&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); } && {
30830 test -z "$ac_c_werror_flag" ||
30831 test ! -s conftest.err
30832 } && test -s conftest$ac_exeext &&
30833 $as_test_x conftest$ac_exeext; then
30834 ac_cv_lib_bsd_gethostbyname=yes
30835 else
30836 echo "$as_me: failed program was:" >&5
30837 sed 's/^/| /' conftest.$ac_ext >&5
30838
30839 ac_cv_lib_bsd_gethostbyname=no
30840 fi
30841
30842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30843 conftest$ac_exeext conftest.$ac_ext
30844 LIBS=$ac_check_lib_save_LIBS
30845 fi
30846 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30847 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30848 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30849 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30850 fi
30851
30852 fi
30853 fi
30854
30855 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30856 # socket/setsockopt and other routines are undefined under SCO ODT
30857 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30858 # on later versions), says Simon Leinen: it contains gethostby*
30859 # variants that don't use the name server (or something). -lsocket
30860 # must be given before -lnsl if both are needed. We assume that
30861 # if connect needs -lnsl, so does gethostbyname.
30862 { echo "$as_me:$LINENO: checking for connect" >&5
30863 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30864 if test "${ac_cv_func_connect+set}" = set; then
30865 echo $ECHO_N "(cached) $ECHO_C" >&6
30866 else
30867 cat >conftest.$ac_ext <<_ACEOF
30868 /* confdefs.h. */
30869 _ACEOF
30870 cat confdefs.h >>conftest.$ac_ext
30871 cat >>conftest.$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30873 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30875 #define connect innocuous_connect
30876
30877 /* System header to define __stub macros and hopefully few prototypes,
30878 which can conflict with char connect (); below.
30879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30880 <limits.h> exists even on freestanding compilers. */
30881
30882 #ifdef __STDC__
30883 # include <limits.h>
30884 #else
30885 # include <assert.h>
30886 #endif
30887
30888 #undef connect
30889
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30893 #ifdef __cplusplus
30894 extern "C"
30895 #endif
30896 char connect ();
30897 /* The GNU C library defines this for functions which it implements
30898 to always fail with ENOSYS. Some functions are actually named
30899 something starting with __ and the normal name is an alias. */
30900 #if defined __stub_connect || defined __stub___connect
30901 choke me
30902 #endif
30903
30904 int
30905 main ()
30906 {
30907 return connect ();
30908 ;
30909 return 0;
30910 }
30911 _ACEOF
30912 rm -f conftest.$ac_objext conftest$ac_exeext
30913 if { (ac_try="$ac_link"
30914 case "(($ac_try" in
30915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30916 *) ac_try_echo=$ac_try;;
30917 esac
30918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30919 (eval "$ac_link") 2>conftest.er1
30920 ac_status=$?
30921 grep -v '^ *+' conftest.er1 >conftest.err
30922 rm -f conftest.er1
30923 cat conftest.err >&5
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); } && {
30926 test -z "$ac_c_werror_flag" ||
30927 test ! -s conftest.err
30928 } && test -s conftest$ac_exeext &&
30929 $as_test_x conftest$ac_exeext; then
30930 ac_cv_func_connect=yes
30931 else
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30934
30935 ac_cv_func_connect=no
30936 fi
30937
30938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30939 conftest$ac_exeext conftest.$ac_ext
30940 fi
30941 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30942 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30943
30944 if test $ac_cv_func_connect = no; then
30945 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30946 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30947 if test "${ac_cv_lib_socket_connect+set}" = set; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30949 else
30950 ac_check_lib_save_LIBS=$LIBS
30951 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30952 cat >conftest.$ac_ext <<_ACEOF
30953 /* confdefs.h. */
30954 _ACEOF
30955 cat confdefs.h >>conftest.$ac_ext
30956 cat >>conftest.$ac_ext <<_ACEOF
30957 /* end confdefs.h. */
30958
30959 /* Override any GCC internal prototype to avoid an error.
30960 Use char because int might match the return type of a GCC
30961 builtin and then its argument prototype would still apply. */
30962 #ifdef __cplusplus
30963 extern "C"
30964 #endif
30965 char connect ();
30966 int
30967 main ()
30968 {
30969 return connect ();
30970 ;
30971 return 0;
30972 }
30973 _ACEOF
30974 rm -f conftest.$ac_objext conftest$ac_exeext
30975 if { (ac_try="$ac_link"
30976 case "(($ac_try" in
30977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30978 *) ac_try_echo=$ac_try;;
30979 esac
30980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30981 (eval "$ac_link") 2>conftest.er1
30982 ac_status=$?
30983 grep -v '^ *+' conftest.er1 >conftest.err
30984 rm -f conftest.er1
30985 cat conftest.err >&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); } && {
30988 test -z "$ac_c_werror_flag" ||
30989 test ! -s conftest.err
30990 } && test -s conftest$ac_exeext &&
30991 $as_test_x conftest$ac_exeext; then
30992 ac_cv_lib_socket_connect=yes
30993 else
30994 echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.$ac_ext >&5
30996
30997 ac_cv_lib_socket_connect=no
30998 fi
30999
31000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31001 conftest$ac_exeext conftest.$ac_ext
31002 LIBS=$ac_check_lib_save_LIBS
31003 fi
31004 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31005 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31006 if test $ac_cv_lib_socket_connect = yes; then
31007 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31008 fi
31009
31010 fi
31011
31012 # Guillermo Gomez says -lposix is necessary on A/UX.
31013 { echo "$as_me:$LINENO: checking for remove" >&5
31014 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31015 if test "${ac_cv_func_remove+set}" = set; then
31016 echo $ECHO_N "(cached) $ECHO_C" >&6
31017 else
31018 cat >conftest.$ac_ext <<_ACEOF
31019 /* confdefs.h. */
31020 _ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31024 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31026 #define remove innocuous_remove
31027
31028 /* System header to define __stub macros and hopefully few prototypes,
31029 which can conflict with char remove (); below.
31030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31031 <limits.h> exists even on freestanding compilers. */
31032
31033 #ifdef __STDC__
31034 # include <limits.h>
31035 #else
31036 # include <assert.h>
31037 #endif
31038
31039 #undef remove
31040
31041 /* Override any GCC internal prototype to avoid an error.
31042 Use char because int might match the return type of a GCC
31043 builtin and then its argument prototype would still apply. */
31044 #ifdef __cplusplus
31045 extern "C"
31046 #endif
31047 char remove ();
31048 /* The GNU C library defines this for functions which it implements
31049 to always fail with ENOSYS. Some functions are actually named
31050 something starting with __ and the normal name is an alias. */
31051 #if defined __stub_remove || defined __stub___remove
31052 choke me
31053 #endif
31054
31055 int
31056 main ()
31057 {
31058 return remove ();
31059 ;
31060 return 0;
31061 }
31062 _ACEOF
31063 rm -f conftest.$ac_objext conftest$ac_exeext
31064 if { (ac_try="$ac_link"
31065 case "(($ac_try" in
31066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31067 *) ac_try_echo=$ac_try;;
31068 esac
31069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31070 (eval "$ac_link") 2>conftest.er1
31071 ac_status=$?
31072 grep -v '^ *+' conftest.er1 >conftest.err
31073 rm -f conftest.er1
31074 cat conftest.err >&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); } && {
31077 test -z "$ac_c_werror_flag" ||
31078 test ! -s conftest.err
31079 } && test -s conftest$ac_exeext &&
31080 $as_test_x conftest$ac_exeext; then
31081 ac_cv_func_remove=yes
31082 else
31083 echo "$as_me: failed program was:" >&5
31084 sed 's/^/| /' conftest.$ac_ext >&5
31085
31086 ac_cv_func_remove=no
31087 fi
31088
31089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31090 conftest$ac_exeext conftest.$ac_ext
31091 fi
31092 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31093 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31094
31095 if test $ac_cv_func_remove = no; then
31096 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31097 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31098 if test "${ac_cv_lib_posix_remove+set}" = set; then
31099 echo $ECHO_N "(cached) $ECHO_C" >&6
31100 else
31101 ac_check_lib_save_LIBS=$LIBS
31102 LIBS="-lposix $LIBS"
31103 cat >conftest.$ac_ext <<_ACEOF
31104 /* confdefs.h. */
31105 _ACEOF
31106 cat confdefs.h >>conftest.$ac_ext
31107 cat >>conftest.$ac_ext <<_ACEOF
31108 /* end confdefs.h. */
31109
31110 /* Override any GCC internal prototype to avoid an error.
31111 Use char because int might match the return type of a GCC
31112 builtin and then its argument prototype would still apply. */
31113 #ifdef __cplusplus
31114 extern "C"
31115 #endif
31116 char remove ();
31117 int
31118 main ()
31119 {
31120 return remove ();
31121 ;
31122 return 0;
31123 }
31124 _ACEOF
31125 rm -f conftest.$ac_objext conftest$ac_exeext
31126 if { (ac_try="$ac_link"
31127 case "(($ac_try" in
31128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31129 *) ac_try_echo=$ac_try;;
31130 esac
31131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31132 (eval "$ac_link") 2>conftest.er1
31133 ac_status=$?
31134 grep -v '^ *+' conftest.er1 >conftest.err
31135 rm -f conftest.er1
31136 cat conftest.err >&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); } && {
31139 test -z "$ac_c_werror_flag" ||
31140 test ! -s conftest.err
31141 } && test -s conftest$ac_exeext &&
31142 $as_test_x conftest$ac_exeext; then
31143 ac_cv_lib_posix_remove=yes
31144 else
31145 echo "$as_me: failed program was:" >&5
31146 sed 's/^/| /' conftest.$ac_ext >&5
31147
31148 ac_cv_lib_posix_remove=no
31149 fi
31150
31151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31152 conftest$ac_exeext conftest.$ac_ext
31153 LIBS=$ac_check_lib_save_LIBS
31154 fi
31155 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31156 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31157 if test $ac_cv_lib_posix_remove = yes; then
31158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31159 fi
31160
31161 fi
31162
31163 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31164 { echo "$as_me:$LINENO: checking for shmat" >&5
31165 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31166 if test "${ac_cv_func_shmat+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31168 else
31169 cat >conftest.$ac_ext <<_ACEOF
31170 /* confdefs.h. */
31171 _ACEOF
31172 cat confdefs.h >>conftest.$ac_ext
31173 cat >>conftest.$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31175 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31177 #define shmat innocuous_shmat
31178
31179 /* System header to define __stub macros and hopefully few prototypes,
31180 which can conflict with char shmat (); below.
31181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31182 <limits.h> exists even on freestanding compilers. */
31183
31184 #ifdef __STDC__
31185 # include <limits.h>
31186 #else
31187 # include <assert.h>
31188 #endif
31189
31190 #undef shmat
31191
31192 /* Override any GCC internal prototype to avoid an error.
31193 Use char because int might match the return type of a GCC
31194 builtin and then its argument prototype would still apply. */
31195 #ifdef __cplusplus
31196 extern "C"
31197 #endif
31198 char shmat ();
31199 /* The GNU C library defines this for functions which it implements
31200 to always fail with ENOSYS. Some functions are actually named
31201 something starting with __ and the normal name is an alias. */
31202 #if defined __stub_shmat || defined __stub___shmat
31203 choke me
31204 #endif
31205
31206 int
31207 main ()
31208 {
31209 return shmat ();
31210 ;
31211 return 0;
31212 }
31213 _ACEOF
31214 rm -f conftest.$ac_objext conftest$ac_exeext
31215 if { (ac_try="$ac_link"
31216 case "(($ac_try" in
31217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31218 *) ac_try_echo=$ac_try;;
31219 esac
31220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31221 (eval "$ac_link") 2>conftest.er1
31222 ac_status=$?
31223 grep -v '^ *+' conftest.er1 >conftest.err
31224 rm -f conftest.er1
31225 cat conftest.err >&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); } && {
31228 test -z "$ac_c_werror_flag" ||
31229 test ! -s conftest.err
31230 } && test -s conftest$ac_exeext &&
31231 $as_test_x conftest$ac_exeext; then
31232 ac_cv_func_shmat=yes
31233 else
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.$ac_ext >&5
31236
31237 ac_cv_func_shmat=no
31238 fi
31239
31240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31241 conftest$ac_exeext conftest.$ac_ext
31242 fi
31243 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31244 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31245
31246 if test $ac_cv_func_shmat = no; then
31247 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31248 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31249 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 else
31252 ac_check_lib_save_LIBS=$LIBS
31253 LIBS="-lipc $LIBS"
31254 cat >conftest.$ac_ext <<_ACEOF
31255 /* confdefs.h. */
31256 _ACEOF
31257 cat confdefs.h >>conftest.$ac_ext
31258 cat >>conftest.$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31260
31261 /* Override any GCC internal prototype to avoid an error.
31262 Use char because int might match the return type of a GCC
31263 builtin and then its argument prototype would still apply. */
31264 #ifdef __cplusplus
31265 extern "C"
31266 #endif
31267 char shmat ();
31268 int
31269 main ()
31270 {
31271 return shmat ();
31272 ;
31273 return 0;
31274 }
31275 _ACEOF
31276 rm -f conftest.$ac_objext conftest$ac_exeext
31277 if { (ac_try="$ac_link"
31278 case "(($ac_try" in
31279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31280 *) ac_try_echo=$ac_try;;
31281 esac
31282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31283 (eval "$ac_link") 2>conftest.er1
31284 ac_status=$?
31285 grep -v '^ *+' conftest.er1 >conftest.err
31286 rm -f conftest.er1
31287 cat conftest.err >&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } && {
31290 test -z "$ac_c_werror_flag" ||
31291 test ! -s conftest.err
31292 } && test -s conftest$ac_exeext &&
31293 $as_test_x conftest$ac_exeext; then
31294 ac_cv_lib_ipc_shmat=yes
31295 else
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.$ac_ext >&5
31298
31299 ac_cv_lib_ipc_shmat=no
31300 fi
31301
31302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31303 conftest$ac_exeext conftest.$ac_ext
31304 LIBS=$ac_check_lib_save_LIBS
31305 fi
31306 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31307 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31308 if test $ac_cv_lib_ipc_shmat = yes; then
31309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31310 fi
31311
31312 fi
31313 fi
31314
31315 # Check for libraries that X11R6 Xt/Xaw programs need.
31316 ac_save_LDFLAGS=$LDFLAGS
31317 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31318 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31319 # check for ICE first), but we must link in the order -lSM -lICE or
31320 # we get undefined symbols. So assume we have SM if we have ICE.
31321 # These have to be linked with before -lX11, unlike the other
31322 # libraries we check for below, so use a different variable.
31323 # John Interrante, Karl Berry
31324 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31325 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31326 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31327 echo $ECHO_N "(cached) $ECHO_C" >&6
31328 else
31329 ac_check_lib_save_LIBS=$LIBS
31330 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31331 cat >conftest.$ac_ext <<_ACEOF
31332 /* confdefs.h. */
31333 _ACEOF
31334 cat confdefs.h >>conftest.$ac_ext
31335 cat >>conftest.$ac_ext <<_ACEOF
31336 /* end confdefs.h. */
31337
31338 /* Override any GCC internal prototype to avoid an error.
31339 Use char because int might match the return type of a GCC
31340 builtin and then its argument prototype would still apply. */
31341 #ifdef __cplusplus
31342 extern "C"
31343 #endif
31344 char IceConnectionNumber ();
31345 int
31346 main ()
31347 {
31348 return IceConnectionNumber ();
31349 ;
31350 return 0;
31351 }
31352 _ACEOF
31353 rm -f conftest.$ac_objext conftest$ac_exeext
31354 if { (ac_try="$ac_link"
31355 case "(($ac_try" in
31356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31357 *) ac_try_echo=$ac_try;;
31358 esac
31359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31360 (eval "$ac_link") 2>conftest.er1
31361 ac_status=$?
31362 grep -v '^ *+' conftest.er1 >conftest.err
31363 rm -f conftest.er1
31364 cat conftest.err >&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } && {
31367 test -z "$ac_c_werror_flag" ||
31368 test ! -s conftest.err
31369 } && test -s conftest$ac_exeext &&
31370 $as_test_x conftest$ac_exeext; then
31371 ac_cv_lib_ICE_IceConnectionNumber=yes
31372 else
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31375
31376 ac_cv_lib_ICE_IceConnectionNumber=no
31377 fi
31378
31379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31380 conftest$ac_exeext conftest.$ac_ext
31381 LIBS=$ac_check_lib_save_LIBS
31382 fi
31383 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31384 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31385 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31386 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31387 fi
31388
31389 LDFLAGS=$ac_save_LDFLAGS
31390
31391 fi
31392
31393
31394 if test "$no_x" = "yes"; then
31395 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31396 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31397 { (exit 1); exit 1; }; }
31398 fi
31399
31400 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31401 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31402 AFMINSTALL=afminstall
31403 COMPILED_X_PROGRAM=0
31404
31405 fi
31406
31407 if test "$wxUSE_X11" = 1; then
31408 if test "$wxUSE_NANOX" = "yes"; then
31409 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31410 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31411 if test "x$MICROWIN" = x ; then
31412 { echo "$as_me:$LINENO: result: not found" >&5
31413 echo "${ECHO_T}not found" >&6; }
31414 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31415 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31416 { (exit 1); exit 1; }; }
31417 else
31418 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31419 echo "${ECHO_T}$MICROWIN" >&6; }
31420 cat >>confdefs.h <<\_ACEOF
31421 #define wxUSE_NANOX 1
31422 _ACEOF
31423
31424 fi
31425 fi
31426
31427 if test "$wxUSE_UNICODE" = "yes"; then
31428
31429
31430 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31431 if test -n "$ac_tool_prefix"; then
31432 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31433 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31436 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31437 echo $ECHO_N "(cached) $ECHO_C" >&6
31438 else
31439 case $PKG_CONFIG in
31440 [\\/]* | ?:[\\/]*)
31441 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31442 ;;
31443 *)
31444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31445 for as_dir in $PATH
31446 do
31447 IFS=$as_save_IFS
31448 test -z "$as_dir" && as_dir=.
31449 for ac_exec_ext in '' $ac_executable_extensions; do
31450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31451 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31453 break 2
31454 fi
31455 done
31456 done
31457 IFS=$as_save_IFS
31458
31459 ;;
31460 esac
31461 fi
31462 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31463 if test -n "$PKG_CONFIG"; then
31464 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31465 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31466 else
31467 { echo "$as_me:$LINENO: result: no" >&5
31468 echo "${ECHO_T}no" >&6; }
31469 fi
31470
31471
31472 fi
31473 if test -z "$ac_cv_path_PKG_CONFIG"; then
31474 ac_pt_PKG_CONFIG=$PKG_CONFIG
31475 # Extract the first word of "pkg-config", so it can be a program name with args.
31476 set dummy pkg-config; ac_word=$2
31477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31479 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31481 else
31482 case $ac_pt_PKG_CONFIG in
31483 [\\/]* | ?:[\\/]*)
31484 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31485 ;;
31486 *)
31487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31488 for as_dir in $PATH
31489 do
31490 IFS=$as_save_IFS
31491 test -z "$as_dir" && as_dir=.
31492 for ac_exec_ext in '' $ac_executable_extensions; do
31493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31494 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31496 break 2
31497 fi
31498 done
31499 done
31500 IFS=$as_save_IFS
31501
31502 ;;
31503 esac
31504 fi
31505 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31506 if test -n "$ac_pt_PKG_CONFIG"; then
31507 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31508 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31509 else
31510 { echo "$as_me:$LINENO: result: no" >&5
31511 echo "${ECHO_T}no" >&6; }
31512 fi
31513
31514 if test "x$ac_pt_PKG_CONFIG" = x; then
31515 PKG_CONFIG=""
31516 else
31517 case $cross_compiling:$ac_tool_warned in
31518 yes:)
31519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31520 whose name does not start with the host triplet. If you think this
31521 configuration is useful to you, please write to autoconf@gnu.org." >&5
31522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31523 whose name does not start with the host triplet. If you think this
31524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31525 ac_tool_warned=yes ;;
31526 esac
31527 PKG_CONFIG=$ac_pt_PKG_CONFIG
31528 fi
31529 else
31530 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31531 fi
31532
31533 fi
31534 if test -n "$PKG_CONFIG"; then
31535 _pkg_min_version=0.9.0
31536 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31537 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31538 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31539 { echo "$as_me:$LINENO: result: yes" >&5
31540 echo "${ECHO_T}yes" >&6; }
31541 else
31542 { echo "$as_me:$LINENO: result: no" >&5
31543 echo "${ECHO_T}no" >&6; }
31544 PKG_CONFIG=""
31545 fi
31546
31547 fi
31548
31549
31550 pkg_failed=no
31551 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31552 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31553
31554 if test -n "$PKG_CONFIG"; then
31555 if test -n "$PANGOX_CFLAGS"; then
31556 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31557 else
31558 if test -n "$PKG_CONFIG" && \
31559 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31560 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31561 ac_status=$?
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); }; then
31564 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31565 else
31566 pkg_failed=yes
31567 fi
31568 fi
31569 else
31570 pkg_failed=untried
31571 fi
31572 if test -n "$PKG_CONFIG"; then
31573 if test -n "$PANGOX_LIBS"; then
31574 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31575 else
31576 if test -n "$PKG_CONFIG" && \
31577 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31578 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31579 ac_status=$?
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; then
31582 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31583 else
31584 pkg_failed=yes
31585 fi
31586 fi
31587 else
31588 pkg_failed=untried
31589 fi
31590
31591
31592
31593 if test $pkg_failed = yes; then
31594
31595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31596 _pkg_short_errors_supported=yes
31597 else
31598 _pkg_short_errors_supported=no
31599 fi
31600 if test $_pkg_short_errors_supported = yes; then
31601 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31602 else
31603 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31604 fi
31605 # Put the nasty error message in config.log where it belongs
31606 echo "$PANGOX_PKG_ERRORS" >&5
31607
31608
31609 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31610 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31611 { (exit 1); exit 1; }; }
31612
31613
31614 elif test $pkg_failed = untried; then
31615
31616 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31617 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31618 { (exit 1); exit 1; }; }
31619
31620
31621 else
31622 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31623 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31624 { echo "$as_me:$LINENO: result: yes" >&5
31625 echo "${ECHO_T}yes" >&6; }
31626
31627 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31628 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31629 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31630
31631 fi
31632
31633 pkg_failed=no
31634 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31635 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31636
31637 if test -n "$PKG_CONFIG"; then
31638 if test -n "$PANGOFT2_CFLAGS"; then
31639 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31640 else
31641 if test -n "$PKG_CONFIG" && \
31642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31643 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; then
31647 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31648 else
31649 pkg_failed=yes
31650 fi
31651 fi
31652 else
31653 pkg_failed=untried
31654 fi
31655 if test -n "$PKG_CONFIG"; then
31656 if test -n "$PANGOFT2_LIBS"; then
31657 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31658 else
31659 if test -n "$PKG_CONFIG" && \
31660 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31661 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31662 ac_status=$?
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; then
31665 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31666 else
31667 pkg_failed=yes
31668 fi
31669 fi
31670 else
31671 pkg_failed=untried
31672 fi
31673
31674
31675
31676 if test $pkg_failed = yes; then
31677
31678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31679 _pkg_short_errors_supported=yes
31680 else
31681 _pkg_short_errors_supported=no
31682 fi
31683 if test $_pkg_short_errors_supported = yes; then
31684 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31685 else
31686 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31687 fi
31688 # Put the nasty error message in config.log where it belongs
31689 echo "$PANGOFT2_PKG_ERRORS" >&5
31690
31691
31692 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31693 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31694 wxUSE_PRINTING_ARCHITECTURE="no"
31695
31696
31697 elif test $pkg_failed = untried; then
31698
31699 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31700 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31701 wxUSE_PRINTING_ARCHITECTURE="no"
31702
31703
31704 else
31705 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31706 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31707 { echo "$as_me:$LINENO: result: yes" >&5
31708 echo "${ECHO_T}yes" >&6; }
31709
31710 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31711 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31712 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31713
31714 fi
31715
31716 pkg_failed=no
31717 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31718 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31719
31720 if test -n "$PKG_CONFIG"; then
31721 if test -n "$PANGOXFT_CFLAGS"; then
31722 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31723 else
31724 if test -n "$PKG_CONFIG" && \
31725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31726 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31727 ac_status=$?
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; then
31730 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31731 else
31732 pkg_failed=yes
31733 fi
31734 fi
31735 else
31736 pkg_failed=untried
31737 fi
31738 if test -n "$PKG_CONFIG"; then
31739 if test -n "$PANGOXFT_LIBS"; then
31740 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31741 else
31742 if test -n "$PKG_CONFIG" && \
31743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31744 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31745 ac_status=$?
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); }; then
31748 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31749 else
31750 pkg_failed=yes
31751 fi
31752 fi
31753 else
31754 pkg_failed=untried
31755 fi
31756
31757
31758
31759 if test $pkg_failed = yes; then
31760
31761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31762 _pkg_short_errors_supported=yes
31763 else
31764 _pkg_short_errors_supported=no
31765 fi
31766 if test $_pkg_short_errors_supported = yes; then
31767 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31768 else
31769 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31770 fi
31771 # Put the nasty error message in config.log where it belongs
31772 echo "$PANGOXFT_PKG_ERRORS" >&5
31773
31774
31775 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31776 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31777
31778
31779 elif test $pkg_failed = untried; then
31780
31781 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31782 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31783
31784
31785 else
31786 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31787 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31788 { echo "$as_me:$LINENO: result: yes" >&5
31789 echo "${ECHO_T}yes" >&6; }
31790
31791 cat >>confdefs.h <<\_ACEOF
31792 #define HAVE_PANGO_XFT 1
31793 _ACEOF
31794
31795 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31796 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31797 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31798
31799 fi
31800 save_LIBS="$LIBS"
31801 LIBS="$LIBS $PANGOX_LIBS"
31802
31803 for ac_func in pango_font_family_is_monospace
31804 do
31805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31810 else
31811 cat >conftest.$ac_ext <<_ACEOF
31812 /* confdefs.h. */
31813 _ACEOF
31814 cat confdefs.h >>conftest.$ac_ext
31815 cat >>conftest.$ac_ext <<_ACEOF
31816 /* end confdefs.h. */
31817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31819 #define $ac_func innocuous_$ac_func
31820
31821 /* System header to define __stub macros and hopefully few prototypes,
31822 which can conflict with char $ac_func (); below.
31823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31824 <limits.h> exists even on freestanding compilers. */
31825
31826 #ifdef __STDC__
31827 # include <limits.h>
31828 #else
31829 # include <assert.h>
31830 #endif
31831
31832 #undef $ac_func
31833
31834 /* Override any GCC internal prototype to avoid an error.
31835 Use char because int might match the return type of a GCC
31836 builtin and then its argument prototype would still apply. */
31837 #ifdef __cplusplus
31838 extern "C"
31839 #endif
31840 char $ac_func ();
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined __stub_$ac_func || defined __stub___$ac_func
31845 choke me
31846 #endif
31847
31848 int
31849 main ()
31850 {
31851 return $ac_func ();
31852 ;
31853 return 0;
31854 }
31855 _ACEOF
31856 rm -f conftest.$ac_objext conftest$ac_exeext
31857 if { (ac_try="$ac_link"
31858 case "(($ac_try" in
31859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31860 *) ac_try_echo=$ac_try;;
31861 esac
31862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31863 (eval "$ac_link") 2>conftest.er1
31864 ac_status=$?
31865 grep -v '^ *+' conftest.er1 >conftest.err
31866 rm -f conftest.er1
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } && {
31870 test -z "$ac_c_werror_flag" ||
31871 test ! -s conftest.err
31872 } && test -s conftest$ac_exeext &&
31873 $as_test_x conftest$ac_exeext; then
31874 eval "$as_ac_var=yes"
31875 else
31876 echo "$as_me: failed program was:" >&5
31877 sed 's/^/| /' conftest.$ac_ext >&5
31878
31879 eval "$as_ac_var=no"
31880 fi
31881
31882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31883 conftest$ac_exeext conftest.$ac_ext
31884 fi
31885 ac_res=`eval echo '${'$as_ac_var'}'`
31886 { echo "$as_me:$LINENO: result: $ac_res" >&5
31887 echo "${ECHO_T}$ac_res" >&6; }
31888 if test `eval echo '${'$as_ac_var'}'` = yes; then
31889 cat >>confdefs.h <<_ACEOF
31890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31891 _ACEOF
31892
31893 fi
31894 done
31895
31896 LIBS="$save_LIBS"
31897 fi
31898
31899 wxUSE_UNIVERSAL="yes"
31900
31901 if test "$wxUSE_NANOX" = "yes"; then
31902 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31903 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"
31904 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31905 else
31906 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31907 fi
31908
31909 TOOLKIT=X11
31910 GUIDIST=X11_DIST
31911 fi
31912
31913 if test "$wxUSE_MOTIF" = 1; then
31914 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31915 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31916
31917 ac_find_includes=
31918 for ac_dir in $SEARCH_INCLUDE /usr/include;
31919 do
31920 if test -f "$ac_dir/Xm/Xm.h"; then
31921 ac_find_includes=$ac_dir
31922 break
31923 fi
31924 done
31925
31926 if test "$ac_find_includes" != "" ; then
31927 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31928 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31929
31930 if test "x$ac_find_includes" = "x/usr/include"; then
31931 ac_path_to_include=""
31932 else
31933 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31934 result=$?
31935 if test $result = 0; then
31936 ac_path_to_include=""
31937 else
31938 ac_path_to_include=" -I$ac_find_includes"
31939 fi
31940 fi
31941
31942 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31943 else
31944 save_CFLAGS=$CFLAGS
31945 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31946
31947 cat >conftest.$ac_ext <<_ACEOF
31948 /* confdefs.h. */
31949 _ACEOF
31950 cat confdefs.h >>conftest.$ac_ext
31951 cat >>conftest.$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31953
31954 #include <Xm/Xm.h>
31955
31956 int
31957 main ()
31958 {
31959
31960 int version;
31961 version = xmUseVersion;
31962
31963 ;
31964 return 0;
31965 }
31966 _ACEOF
31967 rm -f conftest.$ac_objext
31968 if { (ac_try="$ac_compile"
31969 case "(($ac_try" in
31970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31971 *) ac_try_echo=$ac_try;;
31972 esac
31973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31974 (eval "$ac_compile") 2>conftest.er1
31975 ac_status=$?
31976 grep -v '^ *+' conftest.er1 >conftest.err
31977 rm -f conftest.er1
31978 cat conftest.err >&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); } && {
31981 test -z "$ac_c_werror_flag" ||
31982 test ! -s conftest.err
31983 } && test -s conftest.$ac_objext; then
31984
31985 { echo "$as_me:$LINENO: result: found in default search path" >&5
31986 echo "${ECHO_T}found in default search path" >&6; }
31987 COMPILED_X_PROGRAM=1
31988
31989 else
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.$ac_ext >&5
31992
31993
31994 { echo "$as_me:$LINENO: result: no" >&5
31995 echo "${ECHO_T}no" >&6; }
31996 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31997 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31998 { (exit 1); exit 1; }; }
31999
32000
32001 fi
32002
32003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32004
32005 CFLAGS=$save_CFLAGS
32006 fi
32007
32008
32009 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32010 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32011
32012 ac_find_libraries=
32013 for ac_dir in $SEARCH_LIB;
32014 do
32015 for ac_extension in a so sl dylib dll.a; do
32016 if test -f "$ac_dir/libXm.$ac_extension"; then
32017 ac_find_libraries=$ac_dir
32018 break 2
32019 fi
32020 done
32021 done
32022
32023
32024 if test "x$ac_find_libraries" != "x" ; then
32025 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32026 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32027
32028
32029 if test "$ac_find_libraries" = "default location"; then
32030 ac_path_to_link=""
32031 else
32032 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32033 result=$?
32034 if test $result = 0; then
32035 ac_path_to_link=""
32036 else
32037 ac_path_to_link=" -L$ac_find_libraries"
32038 fi
32039 fi
32040
32041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32042 else
32043 save_CFLAGS=$CFLAGS
32044 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32045 save_LIBS="$LIBS"
32046 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32047
32048 cat >conftest.$ac_ext <<_ACEOF
32049 /* confdefs.h. */
32050 _ACEOF
32051 cat confdefs.h >>conftest.$ac_ext
32052 cat >>conftest.$ac_ext <<_ACEOF
32053 /* end confdefs.h. */
32054
32055 #include <Xm/Xm.h>
32056
32057 int
32058 main ()
32059 {
32060
32061 int version;
32062 version = xmUseVersion;
32063
32064 ;
32065 return 0;
32066 }
32067 _ACEOF
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (ac_try="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32073 esac
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32076 ac_status=$?
32077 grep -v '^ *+' conftest.er1 >conftest.err
32078 rm -f conftest.er1
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest$ac_exeext &&
32085 $as_test_x conftest$ac_exeext; then
32086
32087 { echo "$as_me:$LINENO: result: found in default search path" >&5
32088 echo "${ECHO_T}found in default search path" >&6; }
32089 COMPILED_X_PROGRAM=1
32090
32091 else
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.$ac_ext >&5
32094
32095
32096 { echo "$as_me:$LINENO: result: no" >&5
32097 echo "${ECHO_T}no" >&6; }
32098 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32099 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32100 { (exit 1); exit 1; }; }
32101
32102
32103 fi
32104
32105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32106 conftest$ac_exeext conftest.$ac_ext
32107
32108 CFLAGS=$save_CFLAGS
32109 LIBS="$save_LIBS"
32110 fi
32111
32112 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32113 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32114 libp_link=""
32115 libsm_ice_link=""
32116 libs_found=0
32117 for libp in "" " -lXp"; do
32118 if test "$libs_found" = 0; then
32119 for libsm_ice in "" " -lSM -lICE"; do
32120 if test "$libs_found" = 0; then
32121 save_LIBS="$LIBS"
32122 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32123 save_CFLAGS=$CFLAGS
32124 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32125
32126 cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h. */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132
32133 #include <Xm/Xm.h>
32134 #include <Xm/List.h>
32135
32136 int
32137 main ()
32138 {
32139
32140 XmString string = NULL;
32141 Widget w = NULL;
32142 int position = 0;
32143 XmListAddItem(w, string, position);
32144
32145 ;
32146 return 0;
32147 }
32148 _ACEOF
32149 rm -f conftest.$ac_objext conftest$ac_exeext
32150 if { (ac_try="$ac_link"
32151 case "(($ac_try" in
32152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32153 *) ac_try_echo=$ac_try;;
32154 esac
32155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32156 (eval "$ac_link") 2>conftest.er1
32157 ac_status=$?
32158 grep -v '^ *+' conftest.er1 >conftest.err
32159 rm -f conftest.er1
32160 cat conftest.err >&5
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); } && {
32163 test -z "$ac_c_werror_flag" ||
32164 test ! -s conftest.err
32165 } && test -s conftest$ac_exeext &&
32166 $as_test_x conftest$ac_exeext; then
32167
32168 libp_link="$libp"
32169 libsm_ice_link="$libsm_ice"
32170 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32171 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32172 libs_found=1
32173
32174 else
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.$ac_ext >&5
32177
32178
32179
32180 fi
32181
32182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32183 conftest$ac_exeext conftest.$ac_ext
32184
32185 LIBS="$save_LIBS"
32186 CFLAGS=$save_CFLAGS
32187 fi
32188 done
32189 fi
32190 done
32191
32192 if test "$libs_found" = 0; then
32193 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32194 echo "${ECHO_T}can't find the right libraries" >&6; }
32195 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32196 echo "$as_me: error: can't link a simple motif program" >&2;}
32197 { (exit 1); exit 1; }; }
32198 fi
32199
32200 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32201 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32202 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32204 else
32205 ac_check_lib_save_LIBS=$LIBS
32206 LIBS="-lSgm $LIBS"
32207 cat >conftest.$ac_ext <<_ACEOF
32208 /* confdefs.h. */
32209 _ACEOF
32210 cat confdefs.h >>conftest.$ac_ext
32211 cat >>conftest.$ac_ext <<_ACEOF
32212 /* end confdefs.h. */
32213
32214 /* Override any GCC internal prototype to avoid an error.
32215 Use char because int might match the return type of a GCC
32216 builtin and then its argument prototype would still apply. */
32217 #ifdef __cplusplus
32218 extern "C"
32219 #endif
32220 char SgCreateList ();
32221 int
32222 main ()
32223 {
32224 return SgCreateList ();
32225 ;
32226 return 0;
32227 }
32228 _ACEOF
32229 rm -f conftest.$ac_objext conftest$ac_exeext
32230 if { (ac_try="$ac_link"
32231 case "(($ac_try" in
32232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32233 *) ac_try_echo=$ac_try;;
32234 esac
32235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32236 (eval "$ac_link") 2>conftest.er1
32237 ac_status=$?
32238 grep -v '^ *+' conftest.er1 >conftest.err
32239 rm -f conftest.er1
32240 cat conftest.err >&5
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); } && {
32243 test -z "$ac_c_werror_flag" ||
32244 test ! -s conftest.err
32245 } && test -s conftest$ac_exeext &&
32246 $as_test_x conftest$ac_exeext; then
32247 ac_cv_lib_Sgm_SgCreateList=yes
32248 else
32249 echo "$as_me: failed program was:" >&5
32250 sed 's/^/| /' conftest.$ac_ext >&5
32251
32252 ac_cv_lib_Sgm_SgCreateList=no
32253 fi
32254
32255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32256 conftest$ac_exeext conftest.$ac_ext
32257 LIBS=$ac_check_lib_save_LIBS
32258 fi
32259 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32260 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32261 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32262 libsgm_link=" -lSgm"
32263 fi
32264
32265
32266 save_CFLAGS=$CFLAGS
32267 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32268
32269 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32270 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32271 if test "${wx_cv_lib_motif2+set}" = set; then
32272 echo $ECHO_N "(cached) $ECHO_C" >&6
32273 else
32274 cat >conftest.$ac_ext <<_ACEOF
32275 /* confdefs.h. */
32276 _ACEOF
32277 cat confdefs.h >>conftest.$ac_ext
32278 cat >>conftest.$ac_ext <<_ACEOF
32279 /* end confdefs.h. */
32280
32281 #include <Xm/Xm.h>
32282
32283 int
32284 main ()
32285 {
32286
32287 #if XmVersion < 2000
32288 Not Motif 2
32289 #endif
32290
32291 ;
32292 return 0;
32293 }
32294 _ACEOF
32295 rm -f conftest.$ac_objext
32296 if { (ac_try="$ac_compile"
32297 case "(($ac_try" in
32298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32299 *) ac_try_echo=$ac_try;;
32300 esac
32301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32302 (eval "$ac_compile") 2>conftest.er1
32303 ac_status=$?
32304 grep -v '^ *+' conftest.er1 >conftest.err
32305 rm -f conftest.er1
32306 cat conftest.err >&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); } && {
32309 test -z "$ac_c_werror_flag" ||
32310 test ! -s conftest.err
32311 } && test -s conftest.$ac_objext; then
32312 wx_cv_lib_motif2="yes"
32313 else
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32316
32317 wx_cv_lib_motif2="no"
32318 fi
32319
32320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32321 fi
32322 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32323 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32324 if test "$wx_cv_lib_motif2" = "yes"; then
32325 cat >>confdefs.h <<\_ACEOF
32326 #define __WXMOTIF20__ 1
32327 _ACEOF
32328
32329 else
32330 cat >>confdefs.h <<\_ACEOF
32331 #define __WXMOTIF20__ 0
32332 _ACEOF
32333
32334 fi
32335
32336 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32337 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32338 if test "${wx_cv_lib_lesstif+set}" = set; then
32339 echo $ECHO_N "(cached) $ECHO_C" >&6
32340 else
32341 cat >conftest.$ac_ext <<_ACEOF
32342 /* confdefs.h. */
32343 _ACEOF
32344 cat confdefs.h >>conftest.$ac_ext
32345 cat >>conftest.$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32347
32348 #include <Xm/Xm.h>
32349
32350 int
32351 main ()
32352 {
32353
32354 #if !defined(LesstifVersion) || LesstifVersion <= 0
32355 Not Lesstif
32356 #endif
32357
32358 ;
32359 return 0;
32360 }
32361 _ACEOF
32362 rm -f conftest.$ac_objext
32363 if { (ac_try="$ac_compile"
32364 case "(($ac_try" in
32365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32366 *) ac_try_echo=$ac_try;;
32367 esac
32368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32369 (eval "$ac_compile") 2>conftest.er1
32370 ac_status=$?
32371 grep -v '^ *+' conftest.er1 >conftest.err
32372 rm -f conftest.er1
32373 cat conftest.err >&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } && {
32376 test -z "$ac_c_werror_flag" ||
32377 test ! -s conftest.err
32378 } && test -s conftest.$ac_objext; then
32379 wx_cv_lib_lesstif="yes"
32380 else
32381 echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.$ac_ext >&5
32383
32384 wx_cv_lib_lesstif="no"
32385 fi
32386
32387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32388
32389 fi
32390 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32391 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32392 if test "$wx_cv_lib_lesstif" = "yes"; then
32393 cat >>confdefs.h <<\_ACEOF
32394 #define __WXLESSTIF__ 1
32395 _ACEOF
32396
32397 else
32398 cat >>confdefs.h <<\_ACEOF
32399 #define __WXLESSTIF__ 0
32400 _ACEOF
32401
32402 fi
32403
32404 CFLAGS=$save_CFLAGS
32405
32406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32407 TOOLKIT=MOTIF
32408 GUIDIST=MOTIF_DIST
32409 fi
32410
32411 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32412 if test "$wxUSE_LIBXPM" = "sys"; then
32413 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32414 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32415
32416 ac_find_libraries=
32417 for ac_dir in $SEARCH_LIB;
32418 do
32419 for ac_extension in a so sl dylib dll.a; do
32420 if test -f "$ac_dir/libXpm.$ac_extension"; then
32421 ac_find_libraries=$ac_dir
32422 break 2
32423 fi
32424 done
32425 done
32426
32427 if test "$ac_find_libraries" != "" ; then
32428
32429 if test "$ac_find_libraries" = "default location"; then
32430 ac_path_to_link=""
32431 else
32432 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32433 result=$?
32434 if test $result = 0; then
32435 ac_path_to_link=""
32436 else
32437 ac_path_to_link=" -L$ac_find_libraries"
32438 fi
32439 fi
32440
32441 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32442 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32443 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32444
32445 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32446 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32447 if test "${wx_cv_x11_xpm_h+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 else
32450
32451 save_CFLAGS=$CFLAGS
32452 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32453
32454 cat >conftest.$ac_ext <<_ACEOF
32455 /* confdefs.h. */
32456 _ACEOF
32457 cat confdefs.h >>conftest.$ac_ext
32458 cat >>conftest.$ac_ext <<_ACEOF
32459 /* end confdefs.h. */
32460
32461 #include <X11/xpm.h>
32462
32463 int
32464 main ()
32465 {
32466
32467 int version;
32468 version = XpmLibraryVersion();
32469
32470 ;
32471 return 0;
32472 }
32473 _ACEOF
32474 rm -f conftest.$ac_objext
32475 if { (ac_try="$ac_compile"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32478 *) ac_try_echo=$ac_try;;
32479 esac
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_compile") 2>conftest.er1
32482 ac_status=$?
32483 grep -v '^ *+' conftest.er1 >conftest.err
32484 rm -f conftest.er1
32485 cat conftest.err >&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest.$ac_objext; then
32491 wx_cv_x11_xpm_h=yes
32492 else
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.$ac_ext >&5
32495
32496 wx_cv_x11_xpm_h=no
32497
32498 fi
32499
32500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32501
32502 CFLAGS=$save_CFLAGS
32503
32504
32505 fi
32506 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32507 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32508
32509 if test $wx_cv_x11_xpm_h = "yes"; then
32510 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32511 cat >>confdefs.h <<\_ACEOF
32512 #define wxHAVE_LIB_XPM 1
32513 _ACEOF
32514
32515 else
32516 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32517 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32518 fi
32519 fi
32520
32521 fi
32522
32523 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32524 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32525 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32526 echo $ECHO_N "(cached) $ECHO_C" >&6
32527 else
32528 ac_check_lib_save_LIBS=$LIBS
32529 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32530 cat >conftest.$ac_ext <<_ACEOF
32531 /* confdefs.h. */
32532 _ACEOF
32533 cat confdefs.h >>conftest.$ac_ext
32534 cat >>conftest.$ac_ext <<_ACEOF
32535 /* end confdefs.h. */
32536
32537 /* Override any GCC internal prototype to avoid an error.
32538 Use char because int might match the return type of a GCC
32539 builtin and then its argument prototype would still apply. */
32540 #ifdef __cplusplus
32541 extern "C"
32542 #endif
32543 char XShapeQueryExtension ();
32544 int
32545 main ()
32546 {
32547 return XShapeQueryExtension ();
32548 ;
32549 return 0;
32550 }
32551 _ACEOF
32552 rm -f conftest.$ac_objext conftest$ac_exeext
32553 if { (ac_try="$ac_link"
32554 case "(($ac_try" in
32555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32556 *) ac_try_echo=$ac_try;;
32557 esac
32558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32559 (eval "$ac_link") 2>conftest.er1
32560 ac_status=$?
32561 grep -v '^ *+' conftest.er1 >conftest.err
32562 rm -f conftest.er1
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } && {
32566 test -z "$ac_c_werror_flag" ||
32567 test ! -s conftest.err
32568 } && test -s conftest$ac_exeext &&
32569 $as_test_x conftest$ac_exeext; then
32570 ac_cv_lib_Xext_XShapeQueryExtension=yes
32571 else
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32574
32575 ac_cv_lib_Xext_XShapeQueryExtension=no
32576 fi
32577
32578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32579 conftest$ac_exeext conftest.$ac_ext
32580 LIBS=$ac_check_lib_save_LIBS
32581 fi
32582 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32583 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32584 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32585
32586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32587 wxHAVE_XEXT_LIB=1
32588
32589 fi
32590
32591
32592 if test "$wxHAVE_XEXT_LIB" = 1; then
32593 save_CFLAGS="$CFLAGS"
32594 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32595
32596 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32597 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32598 cat >conftest.$ac_ext <<_ACEOF
32599 /* confdefs.h. */
32600 _ACEOF
32601 cat confdefs.h >>conftest.$ac_ext
32602 cat >>conftest.$ac_ext <<_ACEOF
32603 /* end confdefs.h. */
32604
32605 #include <X11/Xlib.h>
32606 #include <X11/extensions/shape.h>
32607
32608 int
32609 main ()
32610 {
32611
32612 int dummy1, dummy2;
32613 XShapeQueryExtension((Display*)NULL,
32614 (int*)NULL, (int*)NULL);
32615
32616 ;
32617 return 0;
32618 }
32619 _ACEOF
32620 rm -f conftest.$ac_objext
32621 if { (ac_try="$ac_compile"
32622 case "(($ac_try" in
32623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32624 *) ac_try_echo=$ac_try;;
32625 esac
32626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32627 (eval "$ac_compile") 2>conftest.er1
32628 ac_status=$?
32629 grep -v '^ *+' conftest.er1 >conftest.err
32630 rm -f conftest.er1
32631 cat conftest.err >&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } && {
32634 test -z "$ac_c_werror_flag" ||
32635 test ! -s conftest.err
32636 } && test -s conftest.$ac_objext; then
32637
32638 cat >>confdefs.h <<\_ACEOF
32639 #define HAVE_XSHAPE 1
32640 _ACEOF
32641
32642 { echo "$as_me:$LINENO: result: found" >&5
32643 echo "${ECHO_T}found" >&6; }
32644
32645 else
32646 echo "$as_me: failed program was:" >&5
32647 sed 's/^/| /' conftest.$ac_ext >&5
32648
32649
32650 { echo "$as_me:$LINENO: result: not found" >&5
32651 echo "${ECHO_T}not found" >&6; }
32652
32653 fi
32654
32655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32656 CFLAGS="$save_CFLAGS"
32657
32658 fi
32659 fi
32660
32661 if test "$wxUSE_OSX_CARBON" = 1; then
32662 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32663 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32664 if test "$GCC" = yes; then
32665 { echo "$as_me:$LINENO: result: gcc" >&5
32666 echo "${ECHO_T}gcc" >&6; }
32667 CPPFLAGS_PASCAL="-fpascal-strings"
32668 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32669 { echo "$as_me:$LINENO: result: xlc" >&5
32670 echo "${ECHO_T}xlc" >&6; }
32671 CPPFLAGS_PASCAL="-qmacpstr"
32672 else
32673 { echo "$as_me:$LINENO: result: none" >&5
32674 echo "${ECHO_T}none" >&6; }
32675 fi
32676
32677 if test "x$wxUSE_UNIX" = "xyes"; then
32678 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32679 else
32680 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32681 fi
32682
32683 TOOLKIT=OSX_CARBON
32684 GUIDIST=OSX_CARBON_DIST
32685 WXBASEPORT="_carbon"
32686 fi
32687
32688 if test "$wxUSE_OSX_COCOA" = 1; then
32689 TOOLKIT=OSX_COCOA
32690 GUIDIST=OSX_COCOA_DIST
32691 fi
32692
32693 if test "$wxUSE_COCOA" = 1; then
32694 TOOLKIT=COCOA
32695 GUIDIST=COCOA_DIST
32696 fi
32697
32698 if test "$wxUSE_PM" = 1; then
32699 TOOLKIT=PM
32700 GUIDIST=PM_DIST
32701 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32702 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32703 if test "${wx_cv_spbcdata+set}" = set; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 else
32706
32707 cat >conftest.$ac_ext <<_ACEOF
32708 /* confdefs.h. */
32709 _ACEOF
32710 cat confdefs.h >>conftest.$ac_ext
32711 cat >>conftest.$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32713
32714 #define INCL_PM
32715 #include <os2.h>
32716
32717 int
32718 main ()
32719 {
32720
32721 SPBCDATA test;
32722
32723 ;
32724 return 0;
32725 }
32726 _ACEOF
32727 rm -f conftest.$ac_objext
32728 if { (ac_try="$ac_compile"
32729 case "(($ac_try" in
32730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32731 *) ac_try_echo=$ac_try;;
32732 esac
32733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32734 (eval "$ac_compile") 2>conftest.er1
32735 ac_status=$?
32736 grep -v '^ *+' conftest.er1 >conftest.err
32737 rm -f conftest.er1
32738 cat conftest.err >&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); } && {
32741 test -z "$ac_c_werror_flag" ||
32742 test ! -s conftest.err
32743 } && test -s conftest.$ac_objext; then
32744 wx_cv_spbcdata=yes
32745 else
32746 echo "$as_me: failed program was:" >&5
32747 sed 's/^/| /' conftest.$ac_ext >&5
32748
32749 wx_cv_spbcdata=no
32750
32751 fi
32752
32753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32754
32755
32756 fi
32757 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32758 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32759
32760 if test $wx_cv_spbcdata = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define HAVE_SPBCDATA 1
32763 _ACEOF
32764
32765 fi
32766 fi
32767
32768 if test "$TOOLKIT" = "PM" ; then
32769 TOOLKIT_DIR="os2"
32770 else
32771 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32772 fi
32773
32774 if test "$wxUSE_UNIVERSAL" = "yes"; then
32775 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32776 WIDGET_SET=univ
32777 fi
32778
32779 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32780 DISTDIR="wx\$(TOOLKIT)"
32781 else
32782 USE_GUI=0
32783
32784 TOOLKIT_DIR="base"
32785
32786 if test "$USE_WIN32" = 1 ; then
32787 TOOLKIT="MSW"
32788 fi
32789
32790 GUIDIST="BASE_DIST"
32791 DISTDIR="wxBase"
32792 fi
32793
32794
32795
32796 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32797 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32798 wxUSE_UNICODE_UTF8=yes
32799 elif test "$USE_OS2" = 1 ; then
32800 wxUSE_UNICODE_UTF8=yes
32801 else
32802 wxUSE_UNICODE_UTF8=no
32803 fi
32804 fi
32805
32806
32807 if test "$wxUSE_GUI" = "yes"; then
32808 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32809
32810 for ac_header in X11/Xlib.h
32811 do
32812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32816 echo $ECHO_N "(cached) $ECHO_C" >&6
32817 else
32818 cat >conftest.$ac_ext <<_ACEOF
32819 /* confdefs.h. */
32820 _ACEOF
32821 cat confdefs.h >>conftest.$ac_ext
32822 cat >>conftest.$ac_ext <<_ACEOF
32823 /* end confdefs.h. */
32824
32825
32826 #include <$ac_header>
32827 _ACEOF
32828 rm -f conftest.$ac_objext
32829 if { (ac_try="$ac_compile"
32830 case "(($ac_try" in
32831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32832 *) ac_try_echo=$ac_try;;
32833 esac
32834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32835 (eval "$ac_compile") 2>conftest.er1
32836 ac_status=$?
32837 grep -v '^ *+' conftest.er1 >conftest.err
32838 rm -f conftest.er1
32839 cat conftest.err >&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } && {
32842 test -z "$ac_c_werror_flag" ||
32843 test ! -s conftest.err
32844 } && test -s conftest.$ac_objext; then
32845 eval "$as_ac_Header=yes"
32846 else
32847 echo "$as_me: failed program was:" >&5
32848 sed 's/^/| /' conftest.$ac_ext >&5
32849
32850 eval "$as_ac_Header=no"
32851 fi
32852
32853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32854 fi
32855 ac_res=`eval echo '${'$as_ac_Header'}'`
32856 { echo "$as_me:$LINENO: result: $ac_res" >&5
32857 echo "${ECHO_T}$ac_res" >&6; }
32858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32859 cat >>confdefs.h <<_ACEOF
32860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32861 _ACEOF
32862
32863 fi
32864
32865 done
32866
32867
32868 for ac_header in X11/XKBlib.h
32869 do
32870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32871 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 else
32876 cat >conftest.$ac_ext <<_ACEOF
32877 /* confdefs.h. */
32878 _ACEOF
32879 cat confdefs.h >>conftest.$ac_ext
32880 cat >>conftest.$ac_ext <<_ACEOF
32881 /* end confdefs.h. */
32882
32883 #if HAVE_X11_XLIB_H
32884 #include <X11/Xlib.h>
32885 #endif
32886
32887
32888 #include <$ac_header>
32889 _ACEOF
32890 rm -f conftest.$ac_objext
32891 if { (ac_try="$ac_compile"
32892 case "(($ac_try" in
32893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32894 *) ac_try_echo=$ac_try;;
32895 esac
32896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32897 (eval "$ac_compile") 2>conftest.er1
32898 ac_status=$?
32899 grep -v '^ *+' conftest.er1 >conftest.err
32900 rm -f conftest.er1
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } && {
32904 test -z "$ac_c_werror_flag" ||
32905 test ! -s conftest.err
32906 } && test -s conftest.$ac_objext; then
32907 eval "$as_ac_Header=yes"
32908 else
32909 echo "$as_me: failed program was:" >&5
32910 sed 's/^/| /' conftest.$ac_ext >&5
32911
32912 eval "$as_ac_Header=no"
32913 fi
32914
32915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32916 fi
32917 ac_res=`eval echo '${'$as_ac_Header'}'`
32918 { echo "$as_me:$LINENO: result: $ac_res" >&5
32919 echo "${ECHO_T}$ac_res" >&6; }
32920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32921 cat >>confdefs.h <<_ACEOF
32922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32923 _ACEOF
32924
32925 fi
32926
32927 done
32928
32929 fi
32930 fi
32931
32932
32933
32934 if test "$wxUSE_DISPLAY" = "yes"; then
32935 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32936 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32937 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32938
32939 ac_find_libraries=
32940 for ac_dir in $SEARCH_LIB;
32941 do
32942 for ac_extension in a so sl dylib dll.a; do
32943 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32944 ac_find_libraries=$ac_dir
32945 break 2
32946 fi
32947 done
32948 done
32949
32950 if test "$ac_find_libraries" != "" ; then
32951
32952 if test "$ac_find_libraries" = "default location"; then
32953 ac_path_to_link=""
32954 else
32955 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32956 result=$?
32957 if test $result = 0; then
32958 ac_path_to_link=""
32959 else
32960 ac_path_to_link=" -L$ac_find_libraries"
32961 fi
32962 fi
32963
32964 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32965 LDFLAGS="$LDFLAGS $ac_path_to_link"
32966 fi
32967 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32968 { echo "$as_me:$LINENO: result: yes" >&5
32969 echo "${ECHO_T}yes" >&6; }
32970
32971 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32972 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32973
32974 ac_find_libraries=
32975 for ac_dir in $SEARCH_LIB;
32976 do
32977 for ac_extension in a so sl dylib dll.a; do
32978 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32979 ac_find_libraries=$ac_dir
32980 break 2
32981 fi
32982 done
32983 done
32984
32985 if test "$ac_find_libraries" != "" ; then
32986 { echo "$as_me:$LINENO: result: yes" >&5
32987 echo "${ECHO_T}yes" >&6; }
32988
32989 for ac_header in X11/extensions/xf86vmode.h
32990 do
32991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32995 echo $ECHO_N "(cached) $ECHO_C" >&6
32996 else
32997 cat >conftest.$ac_ext <<_ACEOF
32998 /* confdefs.h. */
32999 _ACEOF
33000 cat confdefs.h >>conftest.$ac_ext
33001 cat >>conftest.$ac_ext <<_ACEOF
33002 /* end confdefs.h. */
33003
33004 #if HAVE_X11_XLIB_H
33005 #include <X11/Xlib.h>
33006 #endif
33007
33008
33009 #include <$ac_header>
33010 _ACEOF
33011 rm -f conftest.$ac_objext
33012 if { (ac_try="$ac_compile"
33013 case "(($ac_try" in
33014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33015 *) ac_try_echo=$ac_try;;
33016 esac
33017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33018 (eval "$ac_compile") 2>conftest.er1
33019 ac_status=$?
33020 grep -v '^ *+' conftest.er1 >conftest.err
33021 rm -f conftest.er1
33022 cat conftest.err >&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); } && {
33025 test -z "$ac_c_werror_flag" ||
33026 test ! -s conftest.err
33027 } && test -s conftest.$ac_objext; then
33028 eval "$as_ac_Header=yes"
33029 else
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33032
33033 eval "$as_ac_Header=no"
33034 fi
33035
33036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33037 fi
33038 ac_res=`eval echo '${'$as_ac_Header'}'`
33039 { echo "$as_me:$LINENO: result: $ac_res" >&5
33040 echo "${ECHO_T}$ac_res" >&6; }
33041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33042 cat >>confdefs.h <<_ACEOF
33043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33044 _ACEOF
33045
33046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33047
33048 fi
33049
33050 done
33051
33052 else
33053 { echo "$as_me:$LINENO: result: no" >&5
33054 echo "${ECHO_T}no" >&6; }
33055 fi
33056
33057 else
33058 { echo "$as_me:$LINENO: result: no" >&5
33059 echo "${ECHO_T}no" >&6; }
33060 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33061 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33062 wxUSE_DISPLAY="no"
33063 fi
33064 elif test "$wxUSE_MSW" = 1; then
33065 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33066 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33067 if test "${ac_cv_header_ddraw_h+set}" = set; then
33068 echo $ECHO_N "(cached) $ECHO_C" >&6
33069 else
33070 cat >conftest.$ac_ext <<_ACEOF
33071 /* confdefs.h. */
33072 _ACEOF
33073 cat confdefs.h >>conftest.$ac_ext
33074 cat >>conftest.$ac_ext <<_ACEOF
33075 /* end confdefs.h. */
33076 #include <windows.h>
33077
33078 #include <ddraw.h>
33079 _ACEOF
33080 rm -f conftest.$ac_objext
33081 if { (ac_try="$ac_compile"
33082 case "(($ac_try" in
33083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33084 *) ac_try_echo=$ac_try;;
33085 esac
33086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33087 (eval "$ac_compile") 2>conftest.er1
33088 ac_status=$?
33089 grep -v '^ *+' conftest.er1 >conftest.err
33090 rm -f conftest.er1
33091 cat conftest.err >&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } && {
33094 test -z "$ac_c_werror_flag" ||
33095 test ! -s conftest.err
33096 } && test -s conftest.$ac_objext; then
33097 ac_cv_header_ddraw_h=yes
33098 else
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.$ac_ext >&5
33101
33102 ac_cv_header_ddraw_h=no
33103 fi
33104
33105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33106 fi
33107 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33108 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33109
33110
33111 fi
33112 fi
33113
33114 if test "$wxUSE_DETECT_SM" = "yes"; then
33115 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33116 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33117 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33118
33119 ac_find_libraries=
33120 for ac_dir in $SEARCH_LIB;
33121 do
33122 for ac_extension in a so sl dylib dll.a; do
33123 if test -f "$ac_dir/libSM.$ac_extension"; then
33124 ac_find_libraries=$ac_dir
33125 break 2
33126 fi
33127 done
33128 done
33129
33130 if test "$ac_find_libraries" != "" ; then
33131
33132 if test "$ac_find_libraries" = "default location"; then
33133 ac_path_to_link=""
33134 else
33135 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33136 result=$?
33137 if test $result = 0; then
33138 ac_path_to_link=""
33139 else
33140 ac_path_to_link=" -L$ac_find_libraries"
33141 fi
33142 fi
33143
33144 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33145 LDFLAGS="$LDFLAGS $ac_path_to_link"
33146 fi
33147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33148 { echo "$as_me:$LINENO: result: yes" >&5
33149 echo "${ECHO_T}yes" >&6; }
33150 else
33151 { echo "$as_me:$LINENO: result: no" >&5
33152 echo "${ECHO_T}no" >&6; }
33153 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33154 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33155 wxUSE_DETECT_SM="no"
33156 fi
33157 else
33158 wxUSE_DETECT_SM="no"
33159 fi
33160 fi
33161
33162
33163
33164 USE_OPENGL=0
33165 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33166
33167
33168 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33169 OPENGL_LIBS="-framework OpenGL -framework AGL"
33170 elif test "$wxUSE_MSW" = 1; then
33171 OPENGL_LIBS="-lopengl32 -lglu32"
33172 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33173
33174 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33175 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33176
33177 ac_find_includes=
33178 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33179 do
33180 if test -f "$ac_dir/GL/gl.h"; then
33181 ac_find_includes=$ac_dir
33182 break
33183 fi
33184 done
33185
33186 if test "$ac_find_includes" != "" ; then
33187 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33188 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33189
33190 if test "x$ac_find_includes" = "x/usr/include"; then
33191 ac_path_to_include=""
33192 else
33193 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33194 result=$?
33195 if test $result = 0; then
33196 ac_path_to_include=""
33197 else
33198 ac_path_to_include=" -I$ac_find_includes"
33199 fi
33200 fi
33201
33202 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33203 else
33204 { echo "$as_me:$LINENO: result: not found" >&5
33205 echo "${ECHO_T}not found" >&6; }
33206 fi
33207
33208 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33209 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33210 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33211 echo $ECHO_N "(cached) $ECHO_C" >&6
33212 else
33213 cat >conftest.$ac_ext <<_ACEOF
33214 /* confdefs.h. */
33215 _ACEOF
33216 cat confdefs.h >>conftest.$ac_ext
33217 cat >>conftest.$ac_ext <<_ACEOF
33218 /* end confdefs.h. */
33219
33220
33221 #include <GL/gl.h>
33222 _ACEOF
33223 rm -f conftest.$ac_objext
33224 if { (ac_try="$ac_compile"
33225 case "(($ac_try" in
33226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33227 *) ac_try_echo=$ac_try;;
33228 esac
33229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33230 (eval "$ac_compile") 2>conftest.er1
33231 ac_status=$?
33232 grep -v '^ *+' conftest.er1 >conftest.err
33233 rm -f conftest.er1
33234 cat conftest.err >&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } && {
33237 test -z "$ac_c_werror_flag" ||
33238 test ! -s conftest.err
33239 } && test -s conftest.$ac_objext; then
33240 ac_cv_header_GL_gl_h=yes
33241 else
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33244
33245 ac_cv_header_GL_gl_h=no
33246 fi
33247
33248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33249 fi
33250 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33251 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33252 if test $ac_cv_header_GL_gl_h = yes; then
33253
33254 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33255 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33256 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33258 else
33259 cat >conftest.$ac_ext <<_ACEOF
33260 /* confdefs.h. */
33261 _ACEOF
33262 cat confdefs.h >>conftest.$ac_ext
33263 cat >>conftest.$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33265
33266
33267 #include <GL/glu.h>
33268 _ACEOF
33269 rm -f conftest.$ac_objext
33270 if { (ac_try="$ac_compile"
33271 case "(($ac_try" in
33272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33273 *) ac_try_echo=$ac_try;;
33274 esac
33275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33276 (eval "$ac_compile") 2>conftest.er1
33277 ac_status=$?
33278 grep -v '^ *+' conftest.er1 >conftest.err
33279 rm -f conftest.er1
33280 cat conftest.err >&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); } && {
33283 test -z "$ac_c_werror_flag" ||
33284 test ! -s conftest.err
33285 } && test -s conftest.$ac_objext; then
33286 ac_cv_header_GL_glu_h=yes
33287 else
33288 echo "$as_me: failed program was:" >&5
33289 sed 's/^/| /' conftest.$ac_ext >&5
33290
33291 ac_cv_header_GL_glu_h=no
33292 fi
33293
33294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33295 fi
33296 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33297 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33298 if test $ac_cv_header_GL_glu_h = yes; then
33299
33300 found_gl=0
33301
33302 { echo "$as_me:$LINENO: checking for -lGL" >&5
33303 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33304
33305 ac_find_libraries=
33306 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33307 do
33308 for ac_extension in a so sl dylib dll.a; do
33309 if test -f "$ac_dir/libGL.$ac_extension"; then
33310 ac_find_libraries=$ac_dir
33311 break 2
33312 fi
33313 done
33314 done
33315
33316 if test "$ac_find_libraries" != "" ; then
33317 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33318 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33319
33320
33321 if test "$ac_find_libraries" = "default location"; then
33322 ac_path_to_link=""
33323 else
33324 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33325 result=$?
33326 if test $result = 0; then
33327 ac_path_to_link=""
33328 else
33329 ac_path_to_link=" -L$ac_find_libraries"
33330 fi
33331 fi
33332
33333 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33334 LDFLAGS_GL="$ac_path_to_link"
33335 fi
33336
33337 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33338 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33339
33340 ac_find_libraries=
33341 for ac_dir in $SEARCH_LIB;
33342 do
33343 for ac_extension in a so sl dylib dll.a; do
33344 if test -f "$ac_dir/libGLU.$ac_extension"; then
33345 ac_find_libraries=$ac_dir
33346 break 2
33347 fi
33348 done
33349 done
33350
33351 if test "$ac_find_libraries" != "" ; then
33352
33353 if test "$ac_find_libraries" = "default location"; then
33354 ac_path_to_link=""
33355 else
33356 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33357 result=$?
33358 if test $result = 0; then
33359 ac_path_to_link=""
33360 else
33361 ac_path_to_link=" -L$ac_find_libraries"
33362 fi
33363 fi
33364
33365 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33366 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33367 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33368 fi
33369
33370 found_gl=1
33371 OPENGL_LIBS="-lGL -lGLU"
33372 { echo "$as_me:$LINENO: result: yes" >&5
33373 echo "${ECHO_T}yes" >&6; }
33374 else
33375 { echo "$as_me:$LINENO: result: no" >&5
33376 echo "${ECHO_T}no" >&6; }
33377 fi
33378 else
33379 { echo "$as_me:$LINENO: result: no" >&5
33380 echo "${ECHO_T}no" >&6; }
33381 fi
33382
33383 if test "$found_gl" != 1; then
33384 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33385 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33386
33387 ac_find_libraries=
33388 for ac_dir in $SEARCH_LIB;
33389 do
33390 for ac_extension in a so sl dylib dll.a; do
33391 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33392 ac_find_libraries=$ac_dir
33393 break 2
33394 fi
33395 done
33396 done
33397
33398 if test "$ac_find_libraries" != "" ; then
33399
33400 if test "$ac_find_libraries" = "default location"; then
33401 ac_path_to_link=""
33402 else
33403 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33404 result=$?
33405 if test $result = 0; then
33406 ac_path_to_link=""
33407 else
33408 ac_path_to_link=" -L$ac_find_libraries"
33409 fi
33410 fi
33411
33412 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33413 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33414 { echo "$as_me:$LINENO: result: yes" >&5
33415 echo "${ECHO_T}yes" >&6; }
33416 else
33417 { echo "$as_me:$LINENO: result: no" >&5
33418 echo "${ECHO_T}no" >&6; }
33419 fi
33420 fi
33421
33422 fi
33423
33424
33425
33426 fi
33427
33428
33429
33430 if test "x$OPENGL_LIBS" = "x"; then
33431 if test "$wxUSE_OPENGL" = "yes"; then
33432 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33433 echo "$as_me: error: OpenGL libraries not available" >&2;}
33434 { (exit 1); exit 1; }; }
33435 else
33436 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33437 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33438 wxUSE_OPENGL=no
33439 USE_OPENGL=0
33440 fi
33441 fi
33442 else
33443 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33444 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33445 wxUSE_OPENGL="no"
33446 fi
33447
33448 if test "$wxUSE_OPENGL" = "auto"; then
33449 wxUSE_OPENGL=yes
33450 fi
33451
33452 if test "$wxUSE_OPENGL" = "yes"; then
33453 USE_OPENGL=1
33454 cat >>confdefs.h <<\_ACEOF
33455 #define wxUSE_OPENGL 1
33456 _ACEOF
33457
33458 cat >>confdefs.h <<\_ACEOF
33459 #define wxUSE_GLCANVAS 1
33460 _ACEOF
33461
33462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33463 fi
33464 fi
33465
33466
33467 if test -n "$TOOLKIT" ; then
33468 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33469 fi
33470
33471
33472
33473 if test "$wxUSE_SHARED" = "yes"; then
33474 case "${host}" in
33475 *-pc-msdosdjgpp )
33476 wxUSE_SHARED=no
33477 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33478 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33479 ;;
33480 esac
33481 fi
33482
33483 if test "$wxUSE_SHARED" = "yes"; then
33484
33485
33486 case "${host}" in
33487 *-*-cygwin* | *-*-mingw* )
33488 wx_cv_version_script=no
33489 ;;
33490
33491 *)
33492 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33493 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33494 if test "${wx_cv_version_script+set}" = set; then
33495 echo $ECHO_N "(cached) $ECHO_C" >&6
33496 else
33497
33498 echo "VER_1 { *; };" >conftest.sym
33499 echo "int main() { return 0; }" >conftest.cpp
33500
33501 if { ac_try='
33502 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33503 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33506 ac_status=$?
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; } ; then
33509 if test -s conftest.stderr ; then
33510 wx_cv_version_script=no
33511 else
33512 wx_cv_version_script=yes
33513 fi
33514 else
33515 wx_cv_version_script=no
33516 fi
33517
33518 if test $wx_cv_version_script = yes
33519 then
33520 echo "struct B { virtual ~B() { } }; \
33521 struct D : public B { }; \
33522 void F() { D d; }" > conftest.cpp
33523
33524 if { ac_try='
33525 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33526 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33528 (eval $ac_try) 2>&5
33529 ac_status=$?
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); }; } &&
33532 { ac_try='
33533 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33534 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }
33540 then
33541 if { ac_try='
33542 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33543 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33546 ac_status=$?
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; }
33549 then
33550 wx_cv_version_script=yes
33551 else
33552 wx_cv_version_script=no
33553 fi
33554 fi
33555 fi
33556
33557 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33558 rm -f conftest1.output conftest2.output conftest3.output
33559
33560 fi
33561 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33562 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33563
33564 if test $wx_cv_version_script = yes ; then
33565 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33566 fi
33567 ;;
33568 esac
33569
33570
33571 if test "$wxUSE_VISIBILITY" != "no"; then
33572
33573
33574 if test -n "$GCC"; then
33575 CFLAGS_VISIBILITY="-fvisibility=hidden"
33576 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33577 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33578 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33579 if test "${wx_cv_cc_visibility+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 else
33582
33583 wx_save_CXXFLAGS="$CXXFLAGS"
33584 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33585 ac_ext=cpp
33586 ac_cpp='$CXXCPP $CPPFLAGS'
33587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33590
33591 cat >conftest.$ac_ext <<_ACEOF
33592 /* confdefs.h. */
33593 _ACEOF
33594 cat confdefs.h >>conftest.$ac_ext
33595 cat >>conftest.$ac_ext <<_ACEOF
33596 /* end confdefs.h. */
33597
33598 /* we need gcc >= 4.0, older versions with visibility support
33599 didn't have class visibility: */
33600 #if defined(__GNUC__) && __GNUC__ < 4
33601 error this gcc is too old;
33602 #endif
33603
33604 /* visibility only makes sense for ELF shared libs: */
33605 #if !defined(__ELF__) && !defined(__APPLE__)
33606 error this platform has no visibility;
33607 #endif
33608
33609 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33610 extern __attribute__((__visibility__("default"))) int exportedvar;
33611 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33612 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33613 class __attribute__((__visibility__("default"))) Foo {
33614 Foo() {}
33615 };
33616
33617 int
33618 main ()
33619 {
33620
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext
33626 if { (ac_try="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33630 esac
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33633 ac_status=$?
33634 grep -v '^ *+' conftest.er1 >conftest.err
33635 rm -f conftest.er1
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_cxx_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.$ac_objext; then
33642 wx_cv_cc_visibility=yes
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 wx_cv_cc_visibility=no
33648 fi
33649
33650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33651 ac_ext=c
33652 ac_cpp='$CPP $CPPFLAGS'
33653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33656
33657 CXXFLAGS="$wx_save_CXXFLAGS"
33658 fi
33659
33660 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33661 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33662 if test $wx_cv_cc_visibility = yes; then
33663 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33664 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33665 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 else
33668
33669 wx_save_CXXFLAGS="$CXXFLAGS"
33670 wx_save_LDFLAGS="$LDFLAGS"
33671 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33672 LDFLAGS="$LDFLAGS -shared -fPIC"
33673 ac_ext=cpp
33674 ac_cpp='$CXXCPP $CPPFLAGS'
33675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33678
33679 cat >conftest.$ac_ext <<_ACEOF
33680 /* confdefs.h. */
33681 _ACEOF
33682 cat confdefs.h >>conftest.$ac_ext
33683 cat >>conftest.$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33685
33686 #include <string>
33687
33688 int
33689 main ()
33690 {
33691
33692 std::string s("hello");
33693 return s.length();
33694
33695 ;
33696 return 0;
33697 }
33698 _ACEOF
33699 rm -f conftest.$ac_objext conftest$ac_exeext
33700 if { (ac_try="$ac_link"
33701 case "(($ac_try" in
33702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33703 *) ac_try_echo=$ac_try;;
33704 esac
33705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33706 (eval "$ac_link") 2>conftest.er1
33707 ac_status=$?
33708 grep -v '^ *+' conftest.er1 >conftest.err
33709 rm -f conftest.er1
33710 cat conftest.err >&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } && {
33713 test -z "$ac_cxx_werror_flag" ||
33714 test ! -s conftest.err
33715 } && test -s conftest$ac_exeext &&
33716 $as_test_x conftest$ac_exeext; then
33717 wx_cv_cc_broken_libstdcxx_visibility=no
33718 else
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722 wx_cv_cc_broken_libstdcxx_visibility=yes
33723 fi
33724
33725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33726 conftest$ac_exeext conftest.$ac_ext
33727 ac_ext=c
33728 ac_cpp='$CPP $CPPFLAGS'
33729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33732
33733 CXXFLAGS="$wx_save_CXXFLAGS"
33734 LDFLAGS="$wx_save_LDFLAGS"
33735 fi
33736
33737 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33738 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33739
33740 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33741 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33742 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33743 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33745 else
33746
33747 ac_ext=cpp
33748 ac_cpp='$CXXCPP $CPPFLAGS'
33749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33752
33753 cat >conftest.$ac_ext <<_ACEOF
33754 /* confdefs.h. */
33755 _ACEOF
33756 cat confdefs.h >>conftest.$ac_ext
33757 cat >>conftest.$ac_ext <<_ACEOF
33758 /* end confdefs.h. */
33759
33760 #pragma GCC visibility push(default)
33761 #include <string>
33762 #pragma GCC visibility pop
33763
33764 int
33765 main ()
33766 {
33767
33768 std::string s("hello");
33769 return s.length();
33770
33771 ;
33772 return 0;
33773 }
33774 _ACEOF
33775 rm -f conftest.$ac_objext conftest$ac_exeext
33776 if { (ac_try="$ac_link"
33777 case "(($ac_try" in
33778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33779 *) ac_try_echo=$ac_try;;
33780 esac
33781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33782 (eval "$ac_link") 2>conftest.er1
33783 ac_status=$?
33784 grep -v '^ *+' conftest.er1 >conftest.err
33785 rm -f conftest.er1
33786 cat conftest.err >&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } && {
33789 test -z "$ac_cxx_werror_flag" ||
33790 test ! -s conftest.err
33791 } && test -s conftest$ac_exeext &&
33792 $as_test_x conftest$ac_exeext; then
33793 wx_cv_cc_visibility_workaround=no
33794 else
33795 echo "$as_me: failed program was:" >&5
33796 sed 's/^/| /' conftest.$ac_ext >&5
33797
33798 wx_cv_cc_visibility_workaround=yes
33799 fi
33800
33801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33802 conftest$ac_exeext conftest.$ac_ext
33803 ac_ext=c
33804 ac_cpp='$CPP $CPPFLAGS'
33805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33808
33809
33810 fi
33811
33812 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33813 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33814
33815 if test $wx_cv_cc_visibility_workaround = no; then
33816 wx_cv_cc_visibility=no
33817 fi
33818 fi
33819 fi
33820
33821 if test $wx_cv_cc_visibility = yes; then
33822 cat >>confdefs.h <<\_ACEOF
33823 #define HAVE_VISIBILITY 1
33824 _ACEOF
33825
33826 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33827 cat >>confdefs.h <<\_ACEOF
33828 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33829 _ACEOF
33830
33831 fi
33832 else
33833 CFLAGS_VISIBILITY=""
33834 CXXFLAGS_VISIBILITY=""
33835 fi
33836
33837
33838 fi
33839
33840 fi
33841
33842 if test "x$SUNCXX" = xyes; then
33843 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33844 WXCONFIG_RPATH="-R\$libdir"
33845 else
33846 case "${host}" in
33847 *-*-linux* | *-*-gnu* )
33848 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33849 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33850 ;;
33851
33852 *-*-solaris2* )
33853
33854 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33855
33856 saveLdflags="$LDFLAGS"
33857 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33858 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33859 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33860 cat >conftest.$ac_ext <<_ACEOF
33861 /* confdefs.h. */
33862 _ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33866
33867 int
33868 main ()
33869 {
33870
33871 ;
33872 return 0;
33873 }
33874 _ACEOF
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (ac_try="$ac_link"
33877 case "(($ac_try" in
33878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33879 *) ac_try_echo=$ac_try;;
33880 esac
33881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33882 (eval "$ac_link") 2>conftest.er1
33883 ac_status=$?
33884 grep -v '^ *+' conftest.er1 >conftest.err
33885 rm -f conftest.er1
33886 cat conftest.err >&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); } && {
33889 test -z "$ac_c_werror_flag" ||
33890 test ! -s conftest.err
33891 } && test -s conftest$ac_exeext &&
33892 $as_test_x conftest$ac_exeext; then
33893
33894 { echo "$as_me:$LINENO: result: yes" >&5
33895 echo "${ECHO_T}yes" >&6; }
33896 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33897 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33898
33899 else
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33902
33903
33904 { echo "$as_me:$LINENO: result: no" >&5
33905 echo "${ECHO_T}no" >&6; }
33906 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33907 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33908 LDFLAGS="$saveLdflags -Wl,-R,/"
33909 cat >conftest.$ac_ext <<_ACEOF
33910 /* confdefs.h. */
33911 _ACEOF
33912 cat confdefs.h >>conftest.$ac_ext
33913 cat >>conftest.$ac_ext <<_ACEOF
33914 /* end confdefs.h. */
33915
33916 int
33917 main ()
33918 {
33919
33920 ;
33921 return 0;
33922 }
33923 _ACEOF
33924 rm -f conftest.$ac_objext conftest$ac_exeext
33925 if { (ac_try="$ac_link"
33926 case "(($ac_try" in
33927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33928 *) ac_try_echo=$ac_try;;
33929 esac
33930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33931 (eval "$ac_link") 2>conftest.er1
33932 ac_status=$?
33933 grep -v '^ *+' conftest.er1 >conftest.err
33934 rm -f conftest.er1
33935 cat conftest.err >&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } && {
33938 test -z "$ac_c_werror_flag" ||
33939 test ! -s conftest.err
33940 } && test -s conftest$ac_exeext &&
33941 $as_test_x conftest$ac_exeext; then
33942
33943 { echo "$as_me:$LINENO: result: yes" >&5
33944 echo "${ECHO_T}yes" >&6; }
33945 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33946 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33947
33948 else
33949 echo "$as_me: failed program was:" >&5
33950 sed 's/^/| /' conftest.$ac_ext >&5
33951
33952
33953 { echo "$as_me:$LINENO: result: no" >&5
33954 echo "${ECHO_T}no" >&6; }
33955
33956 fi
33957
33958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33959 conftest$ac_exeext conftest.$ac_ext
33960
33961 fi
33962
33963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33964 conftest$ac_exeext conftest.$ac_ext
33965 LDFLAGS="$saveLdflags"
33966 ;;
33967
33968 *-*-darwin* )
33969 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
33970 if test "$install_name_tool" -a -x "$install_name_tool"; then
33971 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33972 cat <<EOF >change-install-names
33973 #!/bin/sh
33974 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33975 for i in \${libnames} ; do
33976 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33977 for dep in \${libnames} ; do
33978 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33979 done
33980 done
33981 EOF
33982 chmod +x change-install-names
33983 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33984 fi
33985
33986 HEADER_PAD_OPTION="-headerpad_max_install_names"
33987 ;;
33988
33989 *-*-cygwin* | *-*-mingw32* )
33990 ;;
33991
33992 *-*-hpux* )
33993 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33994 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33995 ;;
33996
33997 esac
33998 fi
33999
34000 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34001
34002 if test $wxUSE_RPATH = "no"; then
34003 SAMPLES_RPATH_FLAG=''
34004 DYLIB_PATH_POSTLINK=''
34005 WXCONFIG_RPATH=''
34006 fi
34007
34008 SHARED=1
34009
34010 else
34011
34012 config_linkage_component="-static"
34013 SHARED=0
34014
34015 fi
34016
34017
34018 UNICODE=0
34019 lib_unicode_suffix=
34020 WX_CHARTYPE="ansi"
34021 if test "$wxUSE_UNICODE" = "yes"; then
34022 lib_unicode_suffix=u
34023 WX_CHARTYPE="unicode"
34024 UNICODE=1
34025 fi
34026
34027 lib_debug_suffix=
34028 WX_DEBUGTYPE="release"
34029 DEBUG_FLAG=0
34030 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34031 lib_debug_suffix=d
34032 WX_DEBUGTYPE="debug"
34033 DEBUG_FLAG=1
34034 fi
34035
34036 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34037 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34038
34039 DEBUG_INFO=0
34040 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34041 DEBUG_INFO=1
34042 fi
34043
34044 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34045
34046 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34047
34048 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34049
34050
34051 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34052 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34053 else
34054 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34055 fi
34056 if test "${TOOLKIT_DIR}" = "os2"; then
34057 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34058 else
34059 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34060 fi
34061
34062
34063
34064 if test "$wxUSE_COCOA" = 1; then
34065
34066 ac_ext=c
34067 ac_cpp='$CPP $CPPFLAGS'
34068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34071
34072 ac_ext=m
34073
34074 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34075 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34076 cat >conftest.$ac_ext <<_ACEOF
34077 /* confdefs.h. */
34078 _ACEOF
34079 cat confdefs.h >>conftest.$ac_ext
34080 cat >>conftest.$ac_ext <<_ACEOF
34081 /* end confdefs.h. */
34082 #include <AppKit/NSEvent.h>
34083 #include <CoreFoundation/CoreFoundation.h>
34084
34085 int
34086 main ()
34087 {
34088
34089 ;
34090 return 0;
34091 }
34092 _ACEOF
34093 rm -f conftest.$ac_objext
34094 if { (ac_try="$ac_compile"
34095 case "(($ac_try" in
34096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34097 *) ac_try_echo=$ac_try;;
34098 esac
34099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34100 (eval "$ac_compile") 2>conftest.er1
34101 ac_status=$?
34102 grep -v '^ *+' conftest.er1 >conftest.err
34103 rm -f conftest.er1
34104 cat conftest.err >&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); } && {
34107 test -z "$ac_c_werror_flag" ||
34108 test ! -s conftest.err
34109 } && test -s conftest.$ac_objext; then
34110 { echo "$as_me:$LINENO: result: no" >&5
34111 echo "${ECHO_T}no" >&6; }
34112 else
34113 echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.$ac_ext >&5
34115
34116 { echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6; }
34118 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34119 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34120 cat >conftest.$ac_ext <<_ACEOF
34121 /* confdefs.h. */
34122 _ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h. */
34126 #define __Point__ 1
34127 #include <AppKit/NSEvent.h>
34128 #include <CoreFoundation/CoreFoundation.h>
34129
34130 int
34131 main ()
34132 {
34133
34134 ;
34135 return 0;
34136 }
34137 _ACEOF
34138 rm -f conftest.$ac_objext
34139 if { (ac_try="$ac_compile"
34140 case "(($ac_try" in
34141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34142 *) ac_try_echo=$ac_try;;
34143 esac
34144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34145 (eval "$ac_compile") 2>conftest.er1
34146 ac_status=$?
34147 grep -v '^ *+' conftest.er1 >conftest.err
34148 rm -f conftest.er1
34149 cat conftest.err >&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); } && {
34152 test -z "$ac_c_werror_flag" ||
34153 test ! -s conftest.err
34154 } && test -s conftest.$ac_objext; then
34155 { echo "$as_me:$LINENO: result: yes" >&5
34156 echo "${ECHO_T}yes" >&6; }
34157 cat >>confdefs.h <<\_ACEOF
34158 #define __Point__ 1
34159 _ACEOF
34160
34161
34162 else
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34165
34166 { { echo "$as_me:$LINENO: error: no
34167 See \`config.log' for more details." >&5
34168 echo "$as_me: error: no
34169 See \`config.log' for more details." >&2;}
34170 { (exit 1); exit 1; }; }
34171
34172 fi
34173
34174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34175
34176 fi
34177
34178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34179 ac_ext=c
34180 ac_cpp='$CPP $CPPFLAGS'
34181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34184
34185 fi
34186
34187
34188 { echo "$as_me:$LINENO: checking for mode_t" >&5
34189 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34190 if test "${ac_cv_type_mode_t+set}" = set; then
34191 echo $ECHO_N "(cached) $ECHO_C" >&6
34192 else
34193 cat >conftest.$ac_ext <<_ACEOF
34194 /* confdefs.h. */
34195 _ACEOF
34196 cat confdefs.h >>conftest.$ac_ext
34197 cat >>conftest.$ac_ext <<_ACEOF
34198 /* end confdefs.h. */
34199 $ac_includes_default
34200 typedef mode_t ac__type_new_;
34201 int
34202 main ()
34203 {
34204 if ((ac__type_new_ *) 0)
34205 return 0;
34206 if (sizeof (ac__type_new_))
34207 return 0;
34208 ;
34209 return 0;
34210 }
34211 _ACEOF
34212 rm -f conftest.$ac_objext
34213 if { (ac_try="$ac_compile"
34214 case "(($ac_try" in
34215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34216 *) ac_try_echo=$ac_try;;
34217 esac
34218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34219 (eval "$ac_compile") 2>conftest.er1
34220 ac_status=$?
34221 grep -v '^ *+' conftest.er1 >conftest.err
34222 rm -f conftest.er1
34223 cat conftest.err >&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); } && {
34226 test -z "$ac_c_werror_flag" ||
34227 test ! -s conftest.err
34228 } && test -s conftest.$ac_objext; then
34229 ac_cv_type_mode_t=yes
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34233
34234 ac_cv_type_mode_t=no
34235 fi
34236
34237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34238 fi
34239 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34240 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34241 if test $ac_cv_type_mode_t = yes; then
34242 :
34243 else
34244
34245 cat >>confdefs.h <<_ACEOF
34246 #define mode_t int
34247 _ACEOF
34248
34249 fi
34250
34251 { echo "$as_me:$LINENO: checking for off_t" >&5
34252 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34253 if test "${ac_cv_type_off_t+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256 cat >conftest.$ac_ext <<_ACEOF
34257 /* confdefs.h. */
34258 _ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262 $ac_includes_default
34263 typedef off_t ac__type_new_;
34264 int
34265 main ()
34266 {
34267 if ((ac__type_new_ *) 0)
34268 return 0;
34269 if (sizeof (ac__type_new_))
34270 return 0;
34271 ;
34272 return 0;
34273 }
34274 _ACEOF
34275 rm -f conftest.$ac_objext
34276 if { (ac_try="$ac_compile"
34277 case "(($ac_try" in
34278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34279 *) ac_try_echo=$ac_try;;
34280 esac
34281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34282 (eval "$ac_compile") 2>conftest.er1
34283 ac_status=$?
34284 grep -v '^ *+' conftest.er1 >conftest.err
34285 rm -f conftest.er1
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } && {
34289 test -z "$ac_c_werror_flag" ||
34290 test ! -s conftest.err
34291 } && test -s conftest.$ac_objext; then
34292 ac_cv_type_off_t=yes
34293 else
34294 echo "$as_me: failed program was:" >&5
34295 sed 's/^/| /' conftest.$ac_ext >&5
34296
34297 ac_cv_type_off_t=no
34298 fi
34299
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301 fi
34302 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34303 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34304 if test $ac_cv_type_off_t = yes; then
34305 :
34306 else
34307
34308 cat >>confdefs.h <<_ACEOF
34309 #define off_t long int
34310 _ACEOF
34311
34312 fi
34313
34314 { echo "$as_me:$LINENO: checking for pid_t" >&5
34315 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34316 if test "${ac_cv_type_pid_t+set}" = set; then
34317 echo $ECHO_N "(cached) $ECHO_C" >&6
34318 else
34319 cat >conftest.$ac_ext <<_ACEOF
34320 /* confdefs.h. */
34321 _ACEOF
34322 cat confdefs.h >>conftest.$ac_ext
34323 cat >>conftest.$ac_ext <<_ACEOF
34324 /* end confdefs.h. */
34325 $ac_includes_default
34326 typedef pid_t ac__type_new_;
34327 int
34328 main ()
34329 {
34330 if ((ac__type_new_ *) 0)
34331 return 0;
34332 if (sizeof (ac__type_new_))
34333 return 0;
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 rm -f conftest.$ac_objext
34339 if { (ac_try="$ac_compile"
34340 case "(($ac_try" in
34341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34342 *) ac_try_echo=$ac_try;;
34343 esac
34344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34345 (eval "$ac_compile") 2>conftest.er1
34346 ac_status=$?
34347 grep -v '^ *+' conftest.er1 >conftest.err
34348 rm -f conftest.er1
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } && {
34352 test -z "$ac_c_werror_flag" ||
34353 test ! -s conftest.err
34354 } && test -s conftest.$ac_objext; then
34355 ac_cv_type_pid_t=yes
34356 else
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34359
34360 ac_cv_type_pid_t=no
34361 fi
34362
34363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34364 fi
34365 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34366 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34367 if test $ac_cv_type_pid_t = yes; then
34368 :
34369 else
34370
34371 cat >>confdefs.h <<_ACEOF
34372 #define pid_t int
34373 _ACEOF
34374
34375 fi
34376
34377 { echo "$as_me:$LINENO: checking for size_t" >&5
34378 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34379 if test "${ac_cv_type_size_t+set}" = set; then
34380 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 else
34382 cat >conftest.$ac_ext <<_ACEOF
34383 /* confdefs.h. */
34384 _ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 $ac_includes_default
34389 typedef size_t ac__type_new_;
34390 int
34391 main ()
34392 {
34393 if ((ac__type_new_ *) 0)
34394 return 0;
34395 if (sizeof (ac__type_new_))
34396 return 0;
34397 ;
34398 return 0;
34399 }
34400 _ACEOF
34401 rm -f conftest.$ac_objext
34402 if { (ac_try="$ac_compile"
34403 case "(($ac_try" in
34404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34405 *) ac_try_echo=$ac_try;;
34406 esac
34407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34408 (eval "$ac_compile") 2>conftest.er1
34409 ac_status=$?
34410 grep -v '^ *+' conftest.er1 >conftest.err
34411 rm -f conftest.er1
34412 cat conftest.err >&5
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); } && {
34415 test -z "$ac_c_werror_flag" ||
34416 test ! -s conftest.err
34417 } && test -s conftest.$ac_objext; then
34418 ac_cv_type_size_t=yes
34419 else
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.$ac_ext >&5
34422
34423 ac_cv_type_size_t=no
34424 fi
34425
34426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34427 fi
34428 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34429 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34430 if test $ac_cv_type_size_t = yes; then
34431 :
34432 else
34433
34434 cat >>confdefs.h <<_ACEOF
34435 #define size_t unsigned int
34436 _ACEOF
34437
34438 fi
34439
34440
34441 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34442 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34443 if test "${ac_cv_type_ssize_t+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 else
34446 cat >conftest.$ac_ext <<_ACEOF
34447 /* confdefs.h. */
34448 _ACEOF
34449 cat confdefs.h >>conftest.$ac_ext
34450 cat >>conftest.$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452 $ac_includes_default
34453 typedef ssize_t ac__type_new_;
34454 int
34455 main ()
34456 {
34457 if ((ac__type_new_ *) 0)
34458 return 0;
34459 if (sizeof (ac__type_new_))
34460 return 0;
34461 ;
34462 return 0;
34463 }
34464 _ACEOF
34465 rm -f conftest.$ac_objext
34466 if { (ac_try="$ac_compile"
34467 case "(($ac_try" in
34468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34469 *) ac_try_echo=$ac_try;;
34470 esac
34471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34472 (eval "$ac_compile") 2>conftest.er1
34473 ac_status=$?
34474 grep -v '^ *+' conftest.er1 >conftest.err
34475 rm -f conftest.er1
34476 cat conftest.err >&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); } && {
34479 test -z "$ac_c_werror_flag" ||
34480 test ! -s conftest.err
34481 } && test -s conftest.$ac_objext; then
34482 ac_cv_type_ssize_t=yes
34483 else
34484 echo "$as_me: failed program was:" >&5
34485 sed 's/^/| /' conftest.$ac_ext >&5
34486
34487 ac_cv_type_ssize_t=no
34488 fi
34489
34490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34491 fi
34492 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34493 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34494 if test $ac_cv_type_ssize_t = yes; then
34495
34496 cat >>confdefs.h <<_ACEOF
34497 #define HAVE_SSIZE_T 1
34498 _ACEOF
34499
34500
34501 fi
34502
34503
34504 ac_ext=cpp
34505 ac_cpp='$CXXCPP $CPPFLAGS'
34506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34509 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34510 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34511 if test "${wx_cv_size_t_is_uint+set}" = set; then
34512 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 else
34514
34515 cat >conftest.$ac_ext <<_ACEOF
34516 /* confdefs.h. */
34517 _ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34521 #include <stddef.h>
34522 int
34523 main ()
34524 {
34525
34526 return 0; }
34527
34528 struct Foo { void foo(size_t); void foo(unsigned int); };
34529
34530 int bar() {
34531
34532 ;
34533 return 0;
34534 }
34535 _ACEOF
34536 rm -f conftest.$ac_objext
34537 if { (ac_try="$ac_compile"
34538 case "(($ac_try" in
34539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34540 *) ac_try_echo=$ac_try;;
34541 esac
34542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34543 (eval "$ac_compile") 2>conftest.er1
34544 ac_status=$?
34545 grep -v '^ *+' conftest.er1 >conftest.err
34546 rm -f conftest.er1
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } && {
34550 test -z "$ac_cxx_werror_flag" ||
34551 test ! -s conftest.err
34552 } && test -s conftest.$ac_objext; then
34553 wx_cv_size_t_is_uint=no
34554 else
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34557
34558 wx_cv_size_t_is_uint=yes
34559
34560 fi
34561
34562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34563
34564
34565 fi
34566 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34567 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34568
34569 if test "$wx_cv_size_t_is_uint" = "yes"; then
34570 cat >>confdefs.h <<\_ACEOF
34571 #define wxSIZE_T_IS_UINT 1
34572 _ACEOF
34573
34574 else
34575 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34576 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34577 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34578 echo $ECHO_N "(cached) $ECHO_C" >&6
34579 else
34580 cat >conftest.$ac_ext <<_ACEOF
34581 /* confdefs.h. */
34582 _ACEOF
34583 cat confdefs.h >>conftest.$ac_ext
34584 cat >>conftest.$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34586 #include <stddef.h>
34587 int
34588 main ()
34589 {
34590
34591 return 0; }
34592
34593 struct Foo { void foo(size_t); void foo(unsigned long); };
34594
34595 int bar() {
34596
34597 ;
34598 return 0;
34599 }
34600 _ACEOF
34601 rm -f conftest.$ac_objext
34602 if { (ac_try="$ac_compile"
34603 case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34606 esac
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_compile") 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_cxx_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest.$ac_objext; then
34618 wx_cv_size_t_is_ulong=no
34619 else
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34622
34623 wx_cv_size_t_is_ulong=yes
34624
34625 fi
34626
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628
34629 fi
34630 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34631 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34632
34633 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34634 cat >>confdefs.h <<\_ACEOF
34635 #define wxSIZE_T_IS_ULONG 1
34636 _ACEOF
34637
34638 fi
34639 fi
34640
34641 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34642 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34643 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34645 else
34646 cat >conftest.$ac_ext <<_ACEOF
34647 /* confdefs.h. */
34648 _ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652 #include <wchar.h>
34653 int
34654 main ()
34655 {
34656
34657 return 0; }
34658
34659 struct Foo { void foo(wchar_t);
34660 void foo(unsigned short);
34661 void foo(unsigned int);
34662 void foo(unsigned long); };
34663
34664 int bar() {
34665
34666 ;
34667 return 0;
34668 }
34669 _ACEOF
34670 rm -f conftest.$ac_objext
34671 if { (ac_try="$ac_compile"
34672 case "(($ac_try" in
34673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34674 *) ac_try_echo=$ac_try;;
34675 esac
34676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34677 (eval "$ac_compile") 2>conftest.er1
34678 ac_status=$?
34679 grep -v '^ *+' conftest.er1 >conftest.err
34680 rm -f conftest.er1
34681 cat conftest.err >&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } && {
34684 test -z "$ac_cxx_werror_flag" ||
34685 test ! -s conftest.err
34686 } && test -s conftest.$ac_objext; then
34687 wx_cv_wchar_t_is_separate_type=yes
34688 else
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.$ac_ext >&5
34691
34692 wx_cv_wchar_t_is_separate_type=no
34693
34694 fi
34695
34696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34697
34698 fi
34699 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34700 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34701
34702 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34703 cat >>confdefs.h <<\_ACEOF
34704 #define wxWCHAR_T_IS_REAL_TYPE 1
34705 _ACEOF
34706
34707 else
34708 cat >>confdefs.h <<\_ACEOF
34709 #define wxWCHAR_T_IS_REAL_TYPE 0
34710 _ACEOF
34711
34712 fi
34713
34714 ac_ext=c
34715 ac_cpp='$CPP $CPPFLAGS'
34716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34719
34720
34721 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34722 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34723 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34724 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 else
34726
34727 cat >conftest.$ac_ext <<_ACEOF
34728 /* confdefs.h. */
34729 _ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 #include <pwd.h>
34734 int
34735 main ()
34736 {
34737
34738 char *p;
34739 struct passwd *pw;
34740 p = pw->pw_gecos;
34741
34742 ;
34743 return 0;
34744 }
34745 _ACEOF
34746 rm -f conftest.$ac_objext
34747 if { (ac_try="$ac_compile"
34748 case "(($ac_try" in
34749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34750 *) ac_try_echo=$ac_try;;
34751 esac
34752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34753 (eval "$ac_compile") 2>conftest.er1
34754 ac_status=$?
34755 grep -v '^ *+' conftest.er1 >conftest.err
34756 rm -f conftest.er1
34757 cat conftest.err >&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } && {
34760 test -z "$ac_c_werror_flag" ||
34761 test ! -s conftest.err
34762 } && test -s conftest.$ac_objext; then
34763
34764 wx_cv_struct_pw_gecos=yes
34765
34766 else
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.$ac_ext >&5
34769
34770
34771 wx_cv_struct_pw_gecos=no
34772
34773
34774 fi
34775
34776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34777
34778
34779 fi
34780 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34781 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34782
34783 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34784 cat >>confdefs.h <<\_ACEOF
34785 #define HAVE_PW_GECOS 1
34786 _ACEOF
34787
34788 fi
34789
34790
34791 if test "$wxUSE_WCHAR_T" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define wxUSE_WCHAR_T 1
34794 _ACEOF
34795
34796
34797 WCSLEN_FOUND=0
34798 WCHAR_LINK=
34799
34800 for ac_func in wcslen
34801 do
34802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34803 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34805 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34806 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 else
34808 cat >conftest.$ac_ext <<_ACEOF
34809 /* confdefs.h. */
34810 _ACEOF
34811 cat confdefs.h >>conftest.$ac_ext
34812 cat >>conftest.$ac_ext <<_ACEOF
34813 /* end confdefs.h. */
34814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34816 #define $ac_func innocuous_$ac_func
34817
34818 /* System header to define __stub macros and hopefully few prototypes,
34819 which can conflict with char $ac_func (); below.
34820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34821 <limits.h> exists even on freestanding compilers. */
34822
34823 #ifdef __STDC__
34824 # include <limits.h>
34825 #else
34826 # include <assert.h>
34827 #endif
34828
34829 #undef $ac_func
34830
34831 /* Override any GCC internal prototype to avoid an error.
34832 Use char because int might match the return type of a GCC
34833 builtin and then its argument prototype would still apply. */
34834 #ifdef __cplusplus
34835 extern "C"
34836 #endif
34837 char $ac_func ();
34838 /* The GNU C library defines this for functions which it implements
34839 to always fail with ENOSYS. Some functions are actually named
34840 something starting with __ and the normal name is an alias. */
34841 #if defined __stub_$ac_func || defined __stub___$ac_func
34842 choke me
34843 #endif
34844
34845 int
34846 main ()
34847 {
34848 return $ac_func ();
34849 ;
34850 return 0;
34851 }
34852 _ACEOF
34853 rm -f conftest.$ac_objext conftest$ac_exeext
34854 if { (ac_try="$ac_link"
34855 case "(($ac_try" in
34856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34858 esac
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_link") 2>conftest.er1
34861 ac_status=$?
34862 grep -v '^ *+' conftest.er1 >conftest.err
34863 rm -f conftest.er1
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_c_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest$ac_exeext &&
34870 $as_test_x conftest$ac_exeext; then
34871 eval "$as_ac_var=yes"
34872 else
34873 echo "$as_me: failed program was:" >&5
34874 sed 's/^/| /' conftest.$ac_ext >&5
34875
34876 eval "$as_ac_var=no"
34877 fi
34878
34879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34880 conftest$ac_exeext conftest.$ac_ext
34881 fi
34882 ac_res=`eval echo '${'$as_ac_var'}'`
34883 { echo "$as_me:$LINENO: result: $ac_res" >&5
34884 echo "${ECHO_T}$ac_res" >&6; }
34885 if test `eval echo '${'$as_ac_var'}'` = yes; then
34886 cat >>confdefs.h <<_ACEOF
34887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34888 _ACEOF
34889 WCSLEN_FOUND=1
34890 fi
34891 done
34892
34893
34894 if test "$WCSLEN_FOUND" = 0; then
34895 if test "$TOOLKIT" = "MSW"; then
34896 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34897 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34898 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34900 else
34901 ac_check_lib_save_LIBS=$LIBS
34902 LIBS="-lmsvcrt $LIBS"
34903 cat >conftest.$ac_ext <<_ACEOF
34904 /* confdefs.h. */
34905 _ACEOF
34906 cat confdefs.h >>conftest.$ac_ext
34907 cat >>conftest.$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34909
34910 /* Override any GCC internal prototype to avoid an error.
34911 Use char because int might match the return type of a GCC
34912 builtin and then its argument prototype would still apply. */
34913 #ifdef __cplusplus
34914 extern "C"
34915 #endif
34916 char wcslen ();
34917 int
34918 main ()
34919 {
34920 return wcslen ();
34921 ;
34922 return 0;
34923 }
34924 _ACEOF
34925 rm -f conftest.$ac_objext conftest$ac_exeext
34926 if { (ac_try="$ac_link"
34927 case "(($ac_try" in
34928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34929 *) ac_try_echo=$ac_try;;
34930 esac
34931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34932 (eval "$ac_link") 2>conftest.er1
34933 ac_status=$?
34934 grep -v '^ *+' conftest.er1 >conftest.err
34935 rm -f conftest.er1
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } && {
34939 test -z "$ac_c_werror_flag" ||
34940 test ! -s conftest.err
34941 } && test -s conftest$ac_exeext &&
34942 $as_test_x conftest$ac_exeext; then
34943 ac_cv_lib_msvcrt_wcslen=yes
34944 else
34945 echo "$as_me: failed program was:" >&5
34946 sed 's/^/| /' conftest.$ac_ext >&5
34947
34948 ac_cv_lib_msvcrt_wcslen=no
34949 fi
34950
34951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34952 conftest$ac_exeext conftest.$ac_ext
34953 LIBS=$ac_check_lib_save_LIBS
34954 fi
34955 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34956 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34957 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34958 WCHAR_OK=1
34959 fi
34960
34961 else
34962 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34963 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34964 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967 ac_check_lib_save_LIBS=$LIBS
34968 LIBS="-lw $LIBS"
34969 cat >conftest.$ac_ext <<_ACEOF
34970 /* confdefs.h. */
34971 _ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34975
34976 /* Override any GCC internal prototype to avoid an error.
34977 Use char because int might match the return type of a GCC
34978 builtin and then its argument prototype would still apply. */
34979 #ifdef __cplusplus
34980 extern "C"
34981 #endif
34982 char wcslen ();
34983 int
34984 main ()
34985 {
34986 return wcslen ();
34987 ;
34988 return 0;
34989 }
34990 _ACEOF
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (ac_try="$ac_link"
34993 case "(($ac_try" in
34994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34995 *) ac_try_echo=$ac_try;;
34996 esac
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_link") 2>conftest.er1
34999 ac_status=$?
35000 grep -v '^ *+' conftest.er1 >conftest.err
35001 rm -f conftest.er1
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest$ac_exeext &&
35008 $as_test_x conftest$ac_exeext; then
35009 ac_cv_lib_w_wcslen=yes
35010 else
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35013
35014 ac_cv_lib_w_wcslen=no
35015 fi
35016
35017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35018 conftest$ac_exeext conftest.$ac_ext
35019 LIBS=$ac_check_lib_save_LIBS
35020 fi
35021 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35022 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35023 if test $ac_cv_lib_w_wcslen = yes; then
35024
35025 WCHAR_LINK=" -lw"
35026 WCSLEN_FOUND=1
35027
35028 fi
35029
35030 fi
35031 fi
35032
35033 if test "$WCSLEN_FOUND" = 1; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define HAVE_WCSLEN 1
35036 _ACEOF
35037
35038 fi
35039
35040
35041
35042
35043
35044
35045 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35046 do
35047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35051 echo $ECHO_N "(cached) $ECHO_C" >&6
35052 else
35053 cat >conftest.$ac_ext <<_ACEOF
35054 /* confdefs.h. */
35055 _ACEOF
35056 cat confdefs.h >>conftest.$ac_ext
35057 cat >>conftest.$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35061 #define $ac_func innocuous_$ac_func
35062
35063 /* System header to define __stub macros and hopefully few prototypes,
35064 which can conflict with char $ac_func (); below.
35065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35066 <limits.h> exists even on freestanding compilers. */
35067
35068 #ifdef __STDC__
35069 # include <limits.h>
35070 #else
35071 # include <assert.h>
35072 #endif
35073
35074 #undef $ac_func
35075
35076 /* Override any GCC internal prototype to avoid an error.
35077 Use char because int might match the return type of a GCC
35078 builtin and then its argument prototype would still apply. */
35079 #ifdef __cplusplus
35080 extern "C"
35081 #endif
35082 char $ac_func ();
35083 /* The GNU C library defines this for functions which it implements
35084 to always fail with ENOSYS. Some functions are actually named
35085 something starting with __ and the normal name is an alias. */
35086 #if defined __stub_$ac_func || defined __stub___$ac_func
35087 choke me
35088 #endif
35089
35090 int
35091 main ()
35092 {
35093 return $ac_func ();
35094 ;
35095 return 0;
35096 }
35097 _ACEOF
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (ac_try="$ac_link"
35100 case "(($ac_try" in
35101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35102 *) ac_try_echo=$ac_try;;
35103 esac
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_link") 2>conftest.er1
35106 ac_status=$?
35107 grep -v '^ *+' conftest.er1 >conftest.err
35108 rm -f conftest.er1
35109 cat conftest.err >&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); } && {
35112 test -z "$ac_c_werror_flag" ||
35113 test ! -s conftest.err
35114 } && test -s conftest$ac_exeext &&
35115 $as_test_x conftest$ac_exeext; then
35116 eval "$as_ac_var=yes"
35117 else
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.$ac_ext >&5
35120
35121 eval "$as_ac_var=no"
35122 fi
35123
35124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35125 conftest$ac_exeext conftest.$ac_ext
35126 fi
35127 ac_res=`eval echo '${'$as_ac_var'}'`
35128 { echo "$as_me:$LINENO: result: $ac_res" >&5
35129 echo "${ECHO_T}$ac_res" >&6; }
35130 if test `eval echo '${'$as_ac_var'}'` = yes; then
35131 cat >>confdefs.h <<_ACEOF
35132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 _ACEOF
35134
35135 fi
35136 done
35137
35138
35139 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35140 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35141 fi
35142
35143 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35144 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35145 if test "${ac_cv_type_mbstate_t+set}" = set; then
35146 echo $ECHO_N "(cached) $ECHO_C" >&6
35147 else
35148 cat >conftest.$ac_ext <<_ACEOF
35149 /* confdefs.h. */
35150 _ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35154 #include <wchar.h>
35155
35156 typedef mbstate_t ac__type_new_;
35157 int
35158 main ()
35159 {
35160 if ((ac__type_new_ *) 0)
35161 return 0;
35162 if (sizeof (ac__type_new_))
35163 return 0;
35164 ;
35165 return 0;
35166 }
35167 _ACEOF
35168 rm -f conftest.$ac_objext
35169 if { (ac_try="$ac_compile"
35170 case "(($ac_try" in
35171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35172 *) ac_try_echo=$ac_try;;
35173 esac
35174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35175 (eval "$ac_compile") 2>conftest.er1
35176 ac_status=$?
35177 grep -v '^ *+' conftest.er1 >conftest.err
35178 rm -f conftest.er1
35179 cat conftest.err >&5
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); } && {
35182 test -z "$ac_c_werror_flag" ||
35183 test ! -s conftest.err
35184 } && test -s conftest.$ac_objext; then
35185 ac_cv_type_mbstate_t=yes
35186 else
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.$ac_ext >&5
35189
35190 ac_cv_type_mbstate_t=no
35191 fi
35192
35193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35194 fi
35195 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35196 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35197 if test $ac_cv_type_mbstate_t = yes; then
35198
35199 cat >>confdefs.h <<_ACEOF
35200 #define HAVE_MBSTATE_T 1
35201 _ACEOF
35202
35203
35204 for ac_func in wcsrtombs
35205 do
35206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212 cat >conftest.$ac_ext <<_ACEOF
35213 /* confdefs.h. */
35214 _ACEOF
35215 cat confdefs.h >>conftest.$ac_ext
35216 cat >>conftest.$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35220 #define $ac_func innocuous_$ac_func
35221
35222 /* System header to define __stub macros and hopefully few prototypes,
35223 which can conflict with char $ac_func (); below.
35224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35225 <limits.h> exists even on freestanding compilers. */
35226
35227 #ifdef __STDC__
35228 # include <limits.h>
35229 #else
35230 # include <assert.h>
35231 #endif
35232
35233 #undef $ac_func
35234
35235 /* Override any GCC internal prototype to avoid an error.
35236 Use char because int might match the return type of a GCC
35237 builtin and then its argument prototype would still apply. */
35238 #ifdef __cplusplus
35239 extern "C"
35240 #endif
35241 char $ac_func ();
35242 /* The GNU C library defines this for functions which it implements
35243 to always fail with ENOSYS. Some functions are actually named
35244 something starting with __ and the normal name is an alias. */
35245 #if defined __stub_$ac_func || defined __stub___$ac_func
35246 choke me
35247 #endif
35248
35249 int
35250 main ()
35251 {
35252 return $ac_func ();
35253 ;
35254 return 0;
35255 }
35256 _ACEOF
35257 rm -f conftest.$ac_objext conftest$ac_exeext
35258 if { (ac_try="$ac_link"
35259 case "(($ac_try" in
35260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35261 *) ac_try_echo=$ac_try;;
35262 esac
35263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35264 (eval "$ac_link") 2>conftest.er1
35265 ac_status=$?
35266 grep -v '^ *+' conftest.er1 >conftest.err
35267 rm -f conftest.er1
35268 cat conftest.err >&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } && {
35271 test -z "$ac_c_werror_flag" ||
35272 test ! -s conftest.err
35273 } && test -s conftest$ac_exeext &&
35274 $as_test_x conftest$ac_exeext; then
35275 eval "$as_ac_var=yes"
35276 else
35277 echo "$as_me: failed program was:" >&5
35278 sed 's/^/| /' conftest.$ac_ext >&5
35279
35280 eval "$as_ac_var=no"
35281 fi
35282
35283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35284 conftest$ac_exeext conftest.$ac_ext
35285 fi
35286 ac_res=`eval echo '${'$as_ac_var'}'`
35287 { echo "$as_me:$LINENO: result: $ac_res" >&5
35288 echo "${ECHO_T}$ac_res" >&6; }
35289 if test `eval echo '${'$as_ac_var'}'` = yes; then
35290 cat >>confdefs.h <<_ACEOF
35291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35292 _ACEOF
35293
35294 fi
35295 done
35296
35297 fi
35298
35299 else
35300 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35301 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35302 fi
35303
35304
35305
35306
35307 for ac_func in snprintf vsnprintf vsscanf
35308 do
35309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35314 else
35315 cat >conftest.$ac_ext <<_ACEOF
35316 /* confdefs.h. */
35317 _ACEOF
35318 cat confdefs.h >>conftest.$ac_ext
35319 cat >>conftest.$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35323 #define $ac_func innocuous_$ac_func
35324
35325 /* System header to define __stub macros and hopefully few prototypes,
35326 which can conflict with char $ac_func (); below.
35327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35328 <limits.h> exists even on freestanding compilers. */
35329
35330 #ifdef __STDC__
35331 # include <limits.h>
35332 #else
35333 # include <assert.h>
35334 #endif
35335
35336 #undef $ac_func
35337
35338 /* Override any GCC internal prototype to avoid an error.
35339 Use char because int might match the return type of a GCC
35340 builtin and then its argument prototype would still apply. */
35341 #ifdef __cplusplus
35342 extern "C"
35343 #endif
35344 char $ac_func ();
35345 /* The GNU C library defines this for functions which it implements
35346 to always fail with ENOSYS. Some functions are actually named
35347 something starting with __ and the normal name is an alias. */
35348 #if defined __stub_$ac_func || defined __stub___$ac_func
35349 choke me
35350 #endif
35351
35352 int
35353 main ()
35354 {
35355 return $ac_func ();
35356 ;
35357 return 0;
35358 }
35359 _ACEOF
35360 rm -f conftest.$ac_objext conftest$ac_exeext
35361 if { (ac_try="$ac_link"
35362 case "(($ac_try" in
35363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35364 *) ac_try_echo=$ac_try;;
35365 esac
35366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35367 (eval "$ac_link") 2>conftest.er1
35368 ac_status=$?
35369 grep -v '^ *+' conftest.er1 >conftest.err
35370 rm -f conftest.er1
35371 cat conftest.err >&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); } && {
35374 test -z "$ac_c_werror_flag" ||
35375 test ! -s conftest.err
35376 } && test -s conftest$ac_exeext &&
35377 $as_test_x conftest$ac_exeext; then
35378 eval "$as_ac_var=yes"
35379 else
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.$ac_ext >&5
35382
35383 eval "$as_ac_var=no"
35384 fi
35385
35386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35387 conftest$ac_exeext conftest.$ac_ext
35388 fi
35389 ac_res=`eval echo '${'$as_ac_var'}'`
35390 { echo "$as_me:$LINENO: result: $ac_res" >&5
35391 echo "${ECHO_T}$ac_res" >&6; }
35392 if test `eval echo '${'$as_ac_var'}'` = yes; then
35393 cat >>confdefs.h <<_ACEOF
35394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35395 _ACEOF
35396
35397 fi
35398 done
35399
35400
35401 ac_ext=cpp
35402 ac_cpp='$CXXCPP $CPPFLAGS'
35403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35406
35407 if test "$ac_cv_func_vsnprintf" = "yes"; then
35408 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35409 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35410 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35412 else
35413
35414 cat >conftest.$ac_ext <<_ACEOF
35415 /* confdefs.h. */
35416 _ACEOF
35417 cat confdefs.h >>conftest.$ac_ext
35418 cat >>conftest.$ac_ext <<_ACEOF
35419 /* end confdefs.h. */
35420
35421 #include <stdio.h>
35422 #include <stdarg.h>
35423 #ifdef __MSL__
35424 #if __MSL__ >= 0x6000
35425 namespace std {}
35426 using namespace std;
35427 #endif
35428 #endif
35429
35430 int
35431 main ()
35432 {
35433
35434 char *buf;
35435 va_list ap;
35436 vsnprintf(buf, 10u, "%s", ap);
35437
35438 ;
35439 return 0;
35440 }
35441 _ACEOF
35442 rm -f conftest.$ac_objext
35443 if { (ac_try="$ac_compile"
35444 case "(($ac_try" in
35445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35446 *) ac_try_echo=$ac_try;;
35447 esac
35448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35449 (eval "$ac_compile") 2>conftest.er1
35450 ac_status=$?
35451 grep -v '^ *+' conftest.er1 >conftest.err
35452 rm -f conftest.er1
35453 cat conftest.err >&5
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); } && {
35456 test -z "$ac_cxx_werror_flag" ||
35457 test ! -s conftest.err
35458 } && test -s conftest.$ac_objext; then
35459 wx_cv_func_vsnprintf_decl=yes
35460 else
35461 echo "$as_me: failed program was:" >&5
35462 sed 's/^/| /' conftest.$ac_ext >&5
35463
35464 wx_cv_func_vsnprintf_decl=no
35465
35466 fi
35467
35468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35469
35470
35471 fi
35472 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35473 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35474
35475 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35476 cat >>confdefs.h <<\_ACEOF
35477 #define HAVE_VSNPRINTF_DECL 1
35478 _ACEOF
35479
35480
35481 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35482 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35483 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35484 echo $ECHO_N "(cached) $ECHO_C" >&6
35485 else
35486
35487 cat >conftest.$ac_ext <<_ACEOF
35488 /* confdefs.h. */
35489 _ACEOF
35490 cat confdefs.h >>conftest.$ac_ext
35491 cat >>conftest.$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35493
35494 #include <stdio.h>
35495 #include <stdarg.h>
35496 #ifdef __MSL__
35497 #if __MSL__ >= 0x6000
35498 namespace std {}
35499 using namespace std;
35500 #endif
35501 #endif
35502
35503 int
35504 main ()
35505 {
35506
35507 char *buf;
35508 va_list ap;
35509 const char *fmt = "%s";
35510 vsnprintf(buf, 10u, fmt, ap);
35511
35512 ;
35513 return 0;
35514 }
35515 _ACEOF
35516 rm -f conftest.$ac_objext
35517 if { (ac_try="$ac_compile"
35518 case "(($ac_try" in
35519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35520 *) ac_try_echo=$ac_try;;
35521 esac
35522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35523 (eval "$ac_compile") 2>conftest.er1
35524 ac_status=$?
35525 grep -v '^ *+' conftest.er1 >conftest.err
35526 rm -f conftest.er1
35527 cat conftest.err >&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } && {
35530 test -z "$ac_cxx_werror_flag" ||
35531 test ! -s conftest.err
35532 } && test -s conftest.$ac_objext; then
35533 wx_cv_func_broken_vsnprintf_decl=no
35534 else
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.$ac_ext >&5
35537
35538 wx_cv_func_broken_vsnprintf_decl=yes
35539
35540 fi
35541
35542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35543
35544
35545 fi
35546 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35547 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35548
35549 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35550 cat >>confdefs.h <<\_ACEOF
35551 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35552 _ACEOF
35553
35554 fi
35555 fi
35556 fi
35557
35558 if test "$ac_cv_func_snprintf" = "yes"; then
35559 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35560 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35561 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35562 echo $ECHO_N "(cached) $ECHO_C" >&6
35563 else
35564
35565 cat >conftest.$ac_ext <<_ACEOF
35566 /* confdefs.h. */
35567 _ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571
35572 #include <stdio.h>
35573 #include <stdarg.h>
35574 #ifdef __MSL__
35575 #if __MSL__ >= 0x6000
35576 namespace std {}
35577 using namespace std;
35578 #endif
35579 #endif
35580
35581 int
35582 main ()
35583 {
35584
35585 char *buf;
35586 snprintf(buf, 10u, "%s", "wx");
35587
35588 ;
35589 return 0;
35590 }
35591 _ACEOF
35592 rm -f conftest.$ac_objext
35593 if { (ac_try="$ac_compile"
35594 case "(($ac_try" in
35595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35596 *) ac_try_echo=$ac_try;;
35597 esac
35598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35599 (eval "$ac_compile") 2>conftest.er1
35600 ac_status=$?
35601 grep -v '^ *+' conftest.er1 >conftest.err
35602 rm -f conftest.er1
35603 cat conftest.err >&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); } && {
35606 test -z "$ac_cxx_werror_flag" ||
35607 test ! -s conftest.err
35608 } && test -s conftest.$ac_objext; then
35609 wx_cv_func_snprintf_decl=yes
35610 else
35611 echo "$as_me: failed program was:" >&5
35612 sed 's/^/| /' conftest.$ac_ext >&5
35613
35614 wx_cv_func_snprintf_decl=no
35615
35616 fi
35617
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35619
35620
35621 fi
35622 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35623 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35624
35625 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35626 cat >>confdefs.h <<\_ACEOF
35627 #define HAVE_SNPRINTF_DECL 1
35628 _ACEOF
35629
35630 fi
35631
35632 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35633
35634 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35635 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35636 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35638 else
35639
35640 if test "$cross_compiling" = yes; then
35641
35642 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35643 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35644 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35645 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35646 wx_cv_func_snprintf_pos_params=no
35647
35648
35649 else
35650 cat >conftest.$ac_ext <<_ACEOF
35651 /* confdefs.h. */
35652 _ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35656
35657 #include <stdio.h>
35658
35659 int main (void)
35660 {
35661 char buffer[128];
35662 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35663 if (strcmp ("2 3 1", buffer) == 0)
35664 exit (0);
35665 exit (1);
35666 }
35667
35668 _ACEOF
35669 rm -f conftest$ac_exeext
35670 if { (ac_try="$ac_link"
35671 case "(($ac_try" in
35672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35673 *) ac_try_echo=$ac_try;;
35674 esac
35675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35676 (eval "$ac_link") 2>&5
35677 ac_status=$?
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35680 { (case "(($ac_try" in
35681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35682 *) ac_try_echo=$ac_try;;
35683 esac
35684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35685 (eval "$ac_try") 2>&5
35686 ac_status=$?
35687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35688 (exit $ac_status); }; }; then
35689 wx_cv_func_snprintf_pos_params=no
35690 else
35691 echo "$as_me: program exited with status $ac_status" >&5
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35694
35695 ( exit $ac_status )
35696 wx_cv_func_snprintf_pos_params=yes
35697 fi
35698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35699 fi
35700
35701
35702
35703
35704 fi
35705 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35706 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35707
35708 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35709 cat >>confdefs.h <<\_ACEOF
35710 #define HAVE_UNIX98_PRINTF 1
35711 _ACEOF
35712
35713 fi
35714 fi
35715 fi
35716
35717 if test "$ac_cv_func_vsscanf" = "yes"; then
35718 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35719 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35720 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 else
35723
35724 cat >conftest.$ac_ext <<_ACEOF
35725 /* confdefs.h. */
35726 _ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35730
35731 #include <stdio.h>
35732 #include <stdarg.h>
35733 #ifdef __MSL__
35734 #if __MSL__ >= 0x6000
35735 namespace std {}
35736 using namespace std;
35737 #endif
35738 #endif
35739
35740 int
35741 main ()
35742 {
35743
35744 char *buf;
35745 va_list args;
35746 vsscanf(buf, "%s", args);
35747
35748 ;
35749 return 0;
35750 }
35751 _ACEOF
35752 rm -f conftest.$ac_objext
35753 if { (ac_try="$ac_compile"
35754 case "(($ac_try" in
35755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35756 *) ac_try_echo=$ac_try;;
35757 esac
35758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35759 (eval "$ac_compile") 2>conftest.er1
35760 ac_status=$?
35761 grep -v '^ *+' conftest.er1 >conftest.err
35762 rm -f conftest.er1
35763 cat conftest.err >&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); } && {
35766 test -z "$ac_cxx_werror_flag" ||
35767 test ! -s conftest.err
35768 } && test -s conftest.$ac_objext; then
35769 wx_cv_func_vsscanf_decl=yes
35770 else
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35773
35774 wx_cv_func_vsscanf_decl=no
35775
35776 fi
35777
35778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35779
35780
35781 fi
35782 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35783 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35784
35785 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35786 cat >>confdefs.h <<\_ACEOF
35787 #define HAVE_VSSCANF_DECL 1
35788 _ACEOF
35789
35790 fi
35791 fi
35792 ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797
35798
35799 if test "$wxUSE_UNICODE" = yes; then
35800
35801 wchar_headers="#include <stdio.h>
35802 #include <wchar.h>"
35803 case "${host}" in
35804 *-*-solaris2* )
35805
35806 for ac_header in widec.h
35807 do
35808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35814 cat >conftest.$ac_ext <<_ACEOF
35815 /* confdefs.h. */
35816 _ACEOF
35817 cat confdefs.h >>conftest.$ac_ext
35818 cat >>conftest.$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35820 $ac_includes_default
35821
35822 #include <$ac_header>
35823 _ACEOF
35824 rm -f conftest.$ac_objext
35825 if { (ac_try="$ac_compile"
35826 case "(($ac_try" in
35827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35828 *) ac_try_echo=$ac_try;;
35829 esac
35830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35831 (eval "$ac_compile") 2>conftest.er1
35832 ac_status=$?
35833 grep -v '^ *+' conftest.er1 >conftest.err
35834 rm -f conftest.er1
35835 cat conftest.err >&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } && {
35838 test -z "$ac_c_werror_flag" ||
35839 test ! -s conftest.err
35840 } && test -s conftest.$ac_objext; then
35841 eval "$as_ac_Header=yes"
35842 else
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.$ac_ext >&5
35845
35846 eval "$as_ac_Header=no"
35847 fi
35848
35849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35850 fi
35851 ac_res=`eval echo '${'$as_ac_Header'}'`
35852 { echo "$as_me:$LINENO: result: $ac_res" >&5
35853 echo "${ECHO_T}$ac_res" >&6; }
35854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35855 cat >>confdefs.h <<_ACEOF
35856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35857 _ACEOF
35858
35859 fi
35860
35861 done
35862
35863 if test "$ac_cv_header_widec_h" = "yes"; then
35864 wchar_headers="$wchar_headers
35865 #include <widec.h>"
35866 fi
35867 esac
35868
35869
35870 for wx_func in putws fputws wprintf vswprintf vswscanf
35871 do
35872 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35873 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35874 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35875 echo $ECHO_N "(cached) $ECHO_C" >&6
35876 else
35877
35878 cat >conftest.$ac_ext <<_ACEOF
35879
35880 /* confdefs.h. */
35881 _ACEOF
35882 cat confdefs.h >>conftest.$ac_ext
35883 cat >>conftest.$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35885
35886 $wchar_headers
35887 $ac_includes_default
35888
35889 int
35890 main ()
35891 {
35892
35893 #ifndef $wx_func
35894 &$wx_func;
35895 #endif
35896
35897
35898 ;
35899 return 0;
35900 }
35901
35902 _ACEOF
35903 rm -f conftest.$ac_objext conftest$ac_exeext
35904 if { (ac_try="$ac_link"
35905 case "(($ac_try" in
35906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35907 *) ac_try_echo=$ac_try;;
35908 esac
35909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35910 (eval "$ac_link") 2>conftest.er1
35911 ac_status=$?
35912 grep -v '^ *+' conftest.er1 >conftest.err
35913 rm -f conftest.er1
35914 cat conftest.err >&5
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); } && {
35917 test -z "$ac_c_werror_flag" ||
35918 test ! -s conftest.err
35919 } && test -s conftest$ac_exeext &&
35920 $as_test_x conftest$ac_exeext; then
35921 eval wx_cv_func_$wx_func=yes
35922 else
35923 echo "$as_me: failed program was:" >&5
35924 sed 's/^/| /' conftest.$ac_ext >&5
35925
35926 eval wx_cv_func_$wx_func=no
35927 fi
35928
35929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35930 conftest$ac_exeext conftest.$ac_ext
35931
35932 fi
35933 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35934 { echo "$as_me:$LINENO: result: $ac_res" >&5
35935 echo "${ECHO_T}$ac_res" >&6; }
35936
35937 if eval test \$wx_cv_func_$wx_func = yes
35938 then
35939 cat >>confdefs.h <<_ACEOF
35940 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35941 _ACEOF
35942
35943
35944 else
35945 :
35946
35947 fi
35948 done
35949
35950
35951 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35952 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35953 cat >conftest.$ac_ext <<_ACEOF
35954 /* confdefs.h. */
35955 _ACEOF
35956 cat confdefs.h >>conftest.$ac_ext
35957 cat >>conftest.$ac_ext <<_ACEOF
35958 /* end confdefs.h. */
35959 #include <wchar.h>
35960 int
35961 main ()
35962 {
35963 &_vsnwprintf;
35964 ;
35965 return 0;
35966 }
35967 _ACEOF
35968 rm -f conftest.$ac_objext
35969 if { (ac_try="$ac_compile"
35970 case "(($ac_try" in
35971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35972 *) ac_try_echo=$ac_try;;
35973 esac
35974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35975 (eval "$ac_compile") 2>conftest.er1
35976 ac_status=$?
35977 grep -v '^ *+' conftest.er1 >conftest.err
35978 rm -f conftest.er1
35979 cat conftest.err >&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); } && {
35982 test -z "$ac_c_werror_flag" ||
35983 test ! -s conftest.err
35984 } && test -s conftest.$ac_objext; then
35985 { echo "$as_me:$LINENO: result: yes" >&5
35986 echo "${ECHO_T}yes" >&6; }
35987 cat >>confdefs.h <<\_ACEOF
35988 #define HAVE__VSNWPRINTF 1
35989 _ACEOF
35990
35991 else
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35994
35995 { echo "$as_me:$LINENO: result: no" >&5
35996 echo "${ECHO_T}no" >&6; }
35997 fi
35998
35999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36000 fi
36001
36002 if test "$wxUSE_FILE" = "yes"; then
36003
36004 for wx_func in fsync
36005 do
36006 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36007 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36008 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36009 echo $ECHO_N "(cached) $ECHO_C" >&6
36010 else
36011
36012 cat >conftest.$ac_ext <<_ACEOF
36013
36014 /* confdefs.h. */
36015 _ACEOF
36016 cat confdefs.h >>conftest.$ac_ext
36017 cat >>conftest.$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36019
36020
36021 $ac_includes_default
36022
36023 int
36024 main ()
36025 {
36026
36027 #ifndef $wx_func
36028 &$wx_func;
36029 #endif
36030
36031
36032 ;
36033 return 0;
36034 }
36035
36036 _ACEOF
36037 rm -f conftest.$ac_objext conftest$ac_exeext
36038 if { (ac_try="$ac_link"
36039 case "(($ac_try" in
36040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36041 *) ac_try_echo=$ac_try;;
36042 esac
36043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36044 (eval "$ac_link") 2>conftest.er1
36045 ac_status=$?
36046 grep -v '^ *+' conftest.er1 >conftest.err
36047 rm -f conftest.er1
36048 cat conftest.err >&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } && {
36051 test -z "$ac_c_werror_flag" ||
36052 test ! -s conftest.err
36053 } && test -s conftest$ac_exeext &&
36054 $as_test_x conftest$ac_exeext; then
36055 eval wx_cv_func_$wx_func=yes
36056 else
36057 echo "$as_me: failed program was:" >&5
36058 sed 's/^/| /' conftest.$ac_ext >&5
36059
36060 eval wx_cv_func_$wx_func=no
36061 fi
36062
36063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36064 conftest$ac_exeext conftest.$ac_ext
36065
36066 fi
36067 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36068 { echo "$as_me:$LINENO: result: $ac_res" >&5
36069 echo "${ECHO_T}$ac_res" >&6; }
36070
36071 if eval test \$wx_cv_func_$wx_func = yes
36072 then
36073 cat >>confdefs.h <<_ACEOF
36074 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36075 _ACEOF
36076
36077
36078 else
36079 :
36080
36081 fi
36082 done
36083
36084 fi
36085
36086 ac_ext=cpp
36087 ac_cpp='$CXXCPP $CPPFLAGS'
36088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36091
36092
36093 for wx_func in round
36094 do
36095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36097 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 else
36100
36101 cat >conftest.$ac_ext <<_ACEOF
36102
36103 /* confdefs.h. */
36104 _ACEOF
36105 cat confdefs.h >>conftest.$ac_ext
36106 cat >>conftest.$ac_ext <<_ACEOF
36107 /* end confdefs.h. */
36108
36109 #include <math.h>
36110 $ac_includes_default
36111
36112 int
36113 main ()
36114 {
36115
36116 #ifndef $wx_func
36117 &$wx_func;
36118 #endif
36119
36120
36121 ;
36122 return 0;
36123 }
36124
36125 _ACEOF
36126 rm -f conftest.$ac_objext conftest$ac_exeext
36127 if { (ac_try="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36131 esac
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36134 ac_status=$?
36135 grep -v '^ *+' conftest.er1 >conftest.err
36136 rm -f conftest.er1
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } && {
36140 test -z "$ac_cxx_werror_flag" ||
36141 test ! -s conftest.err
36142 } && test -s conftest$ac_exeext &&
36143 $as_test_x conftest$ac_exeext; then
36144 eval wx_cv_func_$wx_func=yes
36145 else
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36148
36149 eval wx_cv_func_$wx_func=no
36150 fi
36151
36152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36153 conftest$ac_exeext conftest.$ac_ext
36154
36155 fi
36156 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36157 { echo "$as_me:$LINENO: result: $ac_res" >&5
36158 echo "${ECHO_T}$ac_res" >&6; }
36159
36160 if eval test \$wx_cv_func_$wx_func = yes
36161 then
36162 cat >>confdefs.h <<_ACEOF
36163 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36164 _ACEOF
36165
36166
36167 else
36168 :
36169
36170 fi
36171 done
36172
36173 ac_ext=c
36174 ac_cpp='$CPP $CPPFLAGS'
36175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36178
36179
36180 if test "$TOOLKIT" != "MSW"; then
36181
36182 if test "$wxUSE_LIBICONV" != "no" ; then
36183
36184
36185
36186 # Check whether --with-libiconv-prefix was given.
36187 if test "${with_libiconv_prefix+set}" = set; then
36188 withval=$with_libiconv_prefix;
36189 for dir in `echo "$withval" | tr : ' '`; do
36190 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36191 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36192 done
36193
36194 fi
36195
36196
36197 { echo "$as_me:$LINENO: checking for iconv" >&5
36198 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36199 if test "${am_cv_func_iconv+set}" = set; then
36200 echo $ECHO_N "(cached) $ECHO_C" >&6
36201 else
36202
36203 am_cv_func_iconv="no, consider installing GNU libiconv"
36204 am_cv_lib_iconv=no
36205 cat >conftest.$ac_ext <<_ACEOF
36206 /* confdefs.h. */
36207 _ACEOF
36208 cat confdefs.h >>conftest.$ac_ext
36209 cat >>conftest.$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36211 #include <stdlib.h>
36212 #include <iconv.h>
36213 int
36214 main ()
36215 {
36216 iconv_t cd = iconv_open("","");
36217 iconv(cd,NULL,NULL,NULL,NULL);
36218 iconv_close(cd);
36219 ;
36220 return 0;
36221 }
36222 _ACEOF
36223 rm -f conftest.$ac_objext conftest$ac_exeext
36224 if { (ac_try="$ac_link"
36225 case "(($ac_try" in
36226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36227 *) ac_try_echo=$ac_try;;
36228 esac
36229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36230 (eval "$ac_link") 2>conftest.er1
36231 ac_status=$?
36232 grep -v '^ *+' conftest.er1 >conftest.err
36233 rm -f conftest.er1
36234 cat conftest.err >&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } && {
36237 test -z "$ac_c_werror_flag" ||
36238 test ! -s conftest.err
36239 } && test -s conftest$ac_exeext &&
36240 $as_test_x conftest$ac_exeext; then
36241 am_cv_func_iconv=yes
36242 else
36243 echo "$as_me: failed program was:" >&5
36244 sed 's/^/| /' conftest.$ac_ext >&5
36245
36246
36247 fi
36248
36249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36250 conftest$ac_exeext conftest.$ac_ext
36251 if test "$am_cv_func_iconv" != yes; then
36252 am_save_LIBS="$LIBS"
36253 LIBS="$LIBS -liconv"
36254 cat >conftest.$ac_ext <<_ACEOF
36255 /* confdefs.h. */
36256 _ACEOF
36257 cat confdefs.h >>conftest.$ac_ext
36258 cat >>conftest.$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260 #include <stdlib.h>
36261 #include <iconv.h>
36262 int
36263 main ()
36264 {
36265 iconv_t cd = iconv_open("","");
36266 iconv(cd,NULL,NULL,NULL,NULL);
36267 iconv_close(cd);
36268 ;
36269 return 0;
36270 }
36271 _ACEOF
36272 rm -f conftest.$ac_objext conftest$ac_exeext
36273 if { (ac_try="$ac_link"
36274 case "(($ac_try" in
36275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36276 *) ac_try_echo=$ac_try;;
36277 esac
36278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36279 (eval "$ac_link") 2>conftest.er1
36280 ac_status=$?
36281 grep -v '^ *+' conftest.er1 >conftest.err
36282 rm -f conftest.er1
36283 cat conftest.err >&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); } && {
36286 test -z "$ac_c_werror_flag" ||
36287 test ! -s conftest.err
36288 } && test -s conftest$ac_exeext &&
36289 $as_test_x conftest$ac_exeext; then
36290 am_cv_lib_iconv=yes
36291 am_cv_func_iconv=yes
36292 else
36293 echo "$as_me: failed program was:" >&5
36294 sed 's/^/| /' conftest.$ac_ext >&5
36295
36296
36297 fi
36298
36299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36300 conftest$ac_exeext conftest.$ac_ext
36301 LIBS="$am_save_LIBS"
36302 fi
36303
36304 fi
36305 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36306 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36307 if test "$am_cv_func_iconv" = yes; then
36308
36309 cat >>confdefs.h <<\_ACEOF
36310 #define HAVE_ICONV 1
36311 _ACEOF
36312
36313 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36314 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36315 if test "${wx_cv_func_iconv_const+set}" = set; then
36316 echo $ECHO_N "(cached) $ECHO_C" >&6
36317 else
36318 cat >conftest.$ac_ext <<_ACEOF
36319 /* confdefs.h. */
36320 _ACEOF
36321 cat confdefs.h >>conftest.$ac_ext
36322 cat >>conftest.$ac_ext <<_ACEOF
36323 /* end confdefs.h. */
36324
36325 #include <stdlib.h>
36326 #include <iconv.h>
36327 extern
36328 #ifdef __cplusplus
36329 "C"
36330 #endif
36331 #if defined(__STDC__) || defined(__cplusplus)
36332 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36333 #else
36334 size_t iconv();
36335 #endif
36336
36337 int
36338 main ()
36339 {
36340
36341 ;
36342 return 0;
36343 }
36344 _ACEOF
36345 rm -f conftest.$ac_objext
36346 if { (ac_try="$ac_compile"
36347 case "(($ac_try" in
36348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36349 *) ac_try_echo=$ac_try;;
36350 esac
36351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36352 (eval "$ac_compile") 2>conftest.er1
36353 ac_status=$?
36354 grep -v '^ *+' conftest.er1 >conftest.err
36355 rm -f conftest.er1
36356 cat conftest.err >&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); } && {
36359 test -z "$ac_c_werror_flag" ||
36360 test ! -s conftest.err
36361 } && test -s conftest.$ac_objext; then
36362 wx_cv_func_iconv_const="no"
36363 else
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.$ac_ext >&5
36366
36367 wx_cv_func_iconv_const="yes"
36368
36369 fi
36370
36371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36372
36373 fi
36374 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36375 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36376
36377 iconv_const=
36378 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36379 iconv_const="const"
36380 fi
36381
36382
36383 cat >>confdefs.h <<_ACEOF
36384 #define ICONV_CONST $iconv_const
36385 _ACEOF
36386
36387 fi
36388 LIBICONV=
36389 if test "$am_cv_lib_iconv" = yes; then
36390 LIBICONV="-liconv"
36391 fi
36392
36393
36394 LIBS="$LIBICONV $LIBS"
36395 fi
36396
36397 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36398
36399 for ac_func in sigaction
36400 do
36401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36402 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36404 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36405 echo $ECHO_N "(cached) $ECHO_C" >&6
36406 else
36407 cat >conftest.$ac_ext <<_ACEOF
36408 /* confdefs.h. */
36409 _ACEOF
36410 cat confdefs.h >>conftest.$ac_ext
36411 cat >>conftest.$ac_ext <<_ACEOF
36412 /* end confdefs.h. */
36413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36415 #define $ac_func innocuous_$ac_func
36416
36417 /* System header to define __stub macros and hopefully few prototypes,
36418 which can conflict with char $ac_func (); below.
36419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36420 <limits.h> exists even on freestanding compilers. */
36421
36422 #ifdef __STDC__
36423 # include <limits.h>
36424 #else
36425 # include <assert.h>
36426 #endif
36427
36428 #undef $ac_func
36429
36430 /* Override any GCC internal prototype to avoid an error.
36431 Use char because int might match the return type of a GCC
36432 builtin and then its argument prototype would still apply. */
36433 #ifdef __cplusplus
36434 extern "C"
36435 #endif
36436 char $ac_func ();
36437 /* The GNU C library defines this for functions which it implements
36438 to always fail with ENOSYS. Some functions are actually named
36439 something starting with __ and the normal name is an alias. */
36440 #if defined __stub_$ac_func || defined __stub___$ac_func
36441 choke me
36442 #endif
36443
36444 int
36445 main ()
36446 {
36447 return $ac_func ();
36448 ;
36449 return 0;
36450 }
36451 _ACEOF
36452 rm -f conftest.$ac_objext conftest$ac_exeext
36453 if { (ac_try="$ac_link"
36454 case "(($ac_try" in
36455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36456 *) ac_try_echo=$ac_try;;
36457 esac
36458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36459 (eval "$ac_link") 2>conftest.er1
36460 ac_status=$?
36461 grep -v '^ *+' conftest.er1 >conftest.err
36462 rm -f conftest.er1
36463 cat conftest.err >&5
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); } && {
36466 test -z "$ac_c_werror_flag" ||
36467 test ! -s conftest.err
36468 } && test -s conftest$ac_exeext &&
36469 $as_test_x conftest$ac_exeext; then
36470 eval "$as_ac_var=yes"
36471 else
36472 echo "$as_me: failed program was:" >&5
36473 sed 's/^/| /' conftest.$ac_ext >&5
36474
36475 eval "$as_ac_var=no"
36476 fi
36477
36478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36479 conftest$ac_exeext conftest.$ac_ext
36480 fi
36481 ac_res=`eval echo '${'$as_ac_var'}'`
36482 { echo "$as_me:$LINENO: result: $ac_res" >&5
36483 echo "${ECHO_T}$ac_res" >&6; }
36484 if test `eval echo '${'$as_ac_var'}'` = yes; then
36485 cat >>confdefs.h <<_ACEOF
36486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36487 _ACEOF
36488
36489 fi
36490 done
36491
36492
36493 if test "$ac_cv_func_sigaction" = "no"; then
36494 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36495 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36496 wxUSE_ON_FATAL_EXCEPTION=no
36497 fi
36498
36499 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36500 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36501 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36502 if test "${wx_cv_type_sa_handler+set}" = set; then
36503 echo $ECHO_N "(cached) $ECHO_C" >&6
36504 else
36505
36506 ac_ext=cpp
36507 ac_cpp='$CXXCPP $CPPFLAGS'
36508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36511
36512 cat >conftest.$ac_ext <<_ACEOF
36513 /* confdefs.h. */
36514 _ACEOF
36515 cat confdefs.h >>conftest.$ac_ext
36516 cat >>conftest.$ac_ext <<_ACEOF
36517 /* end confdefs.h. */
36518 #include <signal.h>
36519 int
36520 main ()
36521 {
36522
36523 extern void testSigHandler(int);
36524
36525 struct sigaction sa;
36526 sa.sa_handler = testSigHandler;
36527
36528 ;
36529 return 0;
36530 }
36531 _ACEOF
36532 rm -f conftest.$ac_objext
36533 if { (ac_try="$ac_compile"
36534 case "(($ac_try" in
36535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36536 *) ac_try_echo=$ac_try;;
36537 esac
36538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36539 (eval "$ac_compile") 2>conftest.er1
36540 ac_status=$?
36541 grep -v '^ *+' conftest.er1 >conftest.err
36542 rm -f conftest.er1
36543 cat conftest.err >&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); } && {
36546 test -z "$ac_cxx_werror_flag" ||
36547 test ! -s conftest.err
36548 } && test -s conftest.$ac_objext; then
36549
36550 wx_cv_type_sa_handler=int
36551
36552 else
36553 echo "$as_me: failed program was:" >&5
36554 sed 's/^/| /' conftest.$ac_ext >&5
36555
36556
36557 wx_cv_type_sa_handler=void
36558
36559 fi
36560
36561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36562 ac_ext=c
36563 ac_cpp='$CPP $CPPFLAGS'
36564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36567
36568
36569 fi
36570 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36571 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36572
36573 cat >>confdefs.h <<_ACEOF
36574 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36575 _ACEOF
36576
36577 fi
36578 fi
36579
36580 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36581 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36582 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36583 if test "${wx_cv_func_backtrace+set}" = set; then
36584 echo $ECHO_N "(cached) $ECHO_C" >&6
36585 else
36586
36587 ac_ext=cpp
36588 ac_cpp='$CXXCPP $CPPFLAGS'
36589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36592
36593 cat >conftest.$ac_ext <<_ACEOF
36594 /* confdefs.h. */
36595 _ACEOF
36596 cat confdefs.h >>conftest.$ac_ext
36597 cat >>conftest.$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 #include <execinfo.h>
36600 int
36601 main ()
36602 {
36603
36604 void *trace[1];
36605 char **messages;
36606
36607 backtrace(trace, 1);
36608 messages = backtrace_symbols(trace, 1);
36609
36610 ;
36611 return 0;
36612 }
36613 _ACEOF
36614 rm -f conftest.$ac_objext
36615 if { (ac_try="$ac_compile"
36616 case "(($ac_try" in
36617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36618 *) ac_try_echo=$ac_try;;
36619 esac
36620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36621 (eval "$ac_compile") 2>conftest.er1
36622 ac_status=$?
36623 grep -v '^ *+' conftest.er1 >conftest.err
36624 rm -f conftest.er1
36625 cat conftest.err >&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); } && {
36628 test -z "$ac_cxx_werror_flag" ||
36629 test ! -s conftest.err
36630 } && test -s conftest.$ac_objext; then
36631 wx_cv_func_backtrace=yes
36632 else
36633 echo "$as_me: failed program was:" >&5
36634 sed 's/^/| /' conftest.$ac_ext >&5
36635
36636 wx_cv_func_backtrace=no
36637
36638 fi
36639
36640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36641 ac_ext=c
36642 ac_cpp='$CPP $CPPFLAGS'
36643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36646
36647
36648
36649 fi
36650 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36651 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36652
36653
36654 if test "$wx_cv_func_backtrace" = "no"; then
36655 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36656 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36657 wxUSE_STACKWALKER=no
36658 else
36659 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36660 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36661 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36662 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 else
36664
36665 ac_ext=cpp
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36670
36671 cat >conftest.$ac_ext <<_ACEOF
36672 /* confdefs.h. */
36673 _ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677 #include <cxxabi.h>
36678 int
36679 main ()
36680 {
36681
36682 int rc;
36683 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36684
36685 ;
36686 return 0;
36687 }
36688 _ACEOF
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (ac_try="$ac_link"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 *) ac_try_echo=$ac_try;;
36694 esac
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_link") 2>conftest.er1
36697 ac_status=$?
36698 grep -v '^ *+' conftest.er1 >conftest.err
36699 rm -f conftest.er1
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_cxx_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest$ac_exeext &&
36706 $as_test_x conftest$ac_exeext; then
36707 wx_cv_func_cxa_demangle=yes
36708 else
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.$ac_ext >&5
36711
36712 wx_cv_func_cxa_demangle=no
36713
36714 fi
36715
36716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36717 conftest$ac_exeext conftest.$ac_ext
36718 ac_ext=c
36719 ac_cpp='$CPP $CPPFLAGS'
36720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36723
36724
36725
36726 fi
36727 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36728 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36729
36730 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36731 cat >>confdefs.h <<\_ACEOF
36732 #define HAVE_CXA_DEMANGLE 1
36733 _ACEOF
36734
36735 fi
36736 fi
36737 fi
36738
36739 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36740 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36741 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36742 wxUSE_STACKWALKER=no
36743 fi
36744
36745
36746
36747
36748 for ac_func in mkstemp mktemp
36749 do
36750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36755 else
36756 cat >conftest.$ac_ext <<_ACEOF
36757 /* confdefs.h. */
36758 _ACEOF
36759 cat confdefs.h >>conftest.$ac_ext
36760 cat >>conftest.$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36764 #define $ac_func innocuous_$ac_func
36765
36766 /* System header to define __stub macros and hopefully few prototypes,
36767 which can conflict with char $ac_func (); below.
36768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36769 <limits.h> exists even on freestanding compilers. */
36770
36771 #ifdef __STDC__
36772 # include <limits.h>
36773 #else
36774 # include <assert.h>
36775 #endif
36776
36777 #undef $ac_func
36778
36779 /* Override any GCC internal prototype to avoid an error.
36780 Use char because int might match the return type of a GCC
36781 builtin and then its argument prototype would still apply. */
36782 #ifdef __cplusplus
36783 extern "C"
36784 #endif
36785 char $ac_func ();
36786 /* The GNU C library defines this for functions which it implements
36787 to always fail with ENOSYS. Some functions are actually named
36788 something starting with __ and the normal name is an alias. */
36789 #if defined __stub_$ac_func || defined __stub___$ac_func
36790 choke me
36791 #endif
36792
36793 int
36794 main ()
36795 {
36796 return $ac_func ();
36797 ;
36798 return 0;
36799 }
36800 _ACEOF
36801 rm -f conftest.$ac_objext conftest$ac_exeext
36802 if { (ac_try="$ac_link"
36803 case "(($ac_try" in
36804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36805 *) ac_try_echo=$ac_try;;
36806 esac
36807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36808 (eval "$ac_link") 2>conftest.er1
36809 ac_status=$?
36810 grep -v '^ *+' conftest.er1 >conftest.err
36811 rm -f conftest.er1
36812 cat conftest.err >&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } && {
36815 test -z "$ac_c_werror_flag" ||
36816 test ! -s conftest.err
36817 } && test -s conftest$ac_exeext &&
36818 $as_test_x conftest$ac_exeext; then
36819 eval "$as_ac_var=yes"
36820 else
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.$ac_ext >&5
36823
36824 eval "$as_ac_var=no"
36825 fi
36826
36827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36828 conftest$ac_exeext conftest.$ac_ext
36829 fi
36830 ac_res=`eval echo '${'$as_ac_var'}'`
36831 { echo "$as_me:$LINENO: result: $ac_res" >&5
36832 echo "${ECHO_T}$ac_res" >&6; }
36833 if test `eval echo '${'$as_ac_var'}'` = yes; then
36834 cat >>confdefs.h <<_ACEOF
36835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36836 _ACEOF
36837 break
36838 fi
36839 done
36840
36841
36842 { echo "$as_me:$LINENO: checking for statfs" >&5
36843 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36844 if test "${wx_cv_func_statfs+set}" = set; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36846 else
36847 cat >conftest.$ac_ext <<_ACEOF
36848 /* confdefs.h. */
36849 _ACEOF
36850 cat confdefs.h >>conftest.$ac_ext
36851 cat >>conftest.$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853
36854 #if defined(__BSD__)
36855 #include <sys/param.h>
36856 #include <sys/mount.h>
36857 #else
36858 #include <sys/vfs.h>
36859 #endif
36860
36861 int
36862 main ()
36863 {
36864
36865 long l;
36866 struct statfs fs;
36867 statfs("/", &fs);
36868 l = fs.f_bsize;
36869 l += fs.f_blocks;
36870 l += fs.f_bavail;
36871
36872 ;
36873 return 0;
36874 }
36875 _ACEOF
36876 rm -f conftest.$ac_objext
36877 if { (ac_try="$ac_compile"
36878 case "(($ac_try" in
36879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36880 *) ac_try_echo=$ac_try;;
36881 esac
36882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36883 (eval "$ac_compile") 2>conftest.er1
36884 ac_status=$?
36885 grep -v '^ *+' conftest.er1 >conftest.err
36886 rm -f conftest.er1
36887 cat conftest.err >&5
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); } && {
36890 test -z "$ac_c_werror_flag" ||
36891 test ! -s conftest.err
36892 } && test -s conftest.$ac_objext; then
36893 wx_cv_func_statfs=yes
36894 else
36895 echo "$as_me: failed program was:" >&5
36896 sed 's/^/| /' conftest.$ac_ext >&5
36897
36898 wx_cv_func_statfs=no
36899
36900 fi
36901
36902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36903
36904 fi
36905 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36906 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36907
36908 if test "$wx_cv_func_statfs" = "yes"; then
36909 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36910 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_statfs_decl+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914 ac_ext=cpp
36915 ac_cpp='$CXXCPP $CPPFLAGS'
36916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36919
36920 cat >conftest.$ac_ext <<_ACEOF
36921 /* confdefs.h. */
36922 _ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926
36927 #if defined(__BSD__)
36928 #include <sys/param.h>
36929 #include <sys/mount.h>
36930 #else
36931 #include <sys/vfs.h>
36932 #endif
36933
36934 int
36935 main ()
36936 {
36937
36938 struct statfs fs;
36939 statfs("", &fs);
36940
36941 ;
36942 return 0;
36943 }
36944 _ACEOF
36945 rm -f conftest.$ac_objext
36946 if { (ac_try="$ac_compile"
36947 case "(($ac_try" in
36948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36949 *) ac_try_echo=$ac_try;;
36950 esac
36951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36952 (eval "$ac_compile") 2>conftest.er1
36953 ac_status=$?
36954 grep -v '^ *+' conftest.er1 >conftest.err
36955 rm -f conftest.er1
36956 cat conftest.err >&5
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); } && {
36959 test -z "$ac_cxx_werror_flag" ||
36960 test ! -s conftest.err
36961 } && test -s conftest.$ac_objext; then
36962 wx_cv_func_statfs_decl=yes
36963 else
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.$ac_ext >&5
36966
36967 wx_cv_func_statfs_decl=no
36968
36969 fi
36970
36971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36972 ac_ext=c
36973 ac_cpp='$CPP $CPPFLAGS'
36974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36977
36978
36979 fi
36980 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36981 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36982
36983 if test "$wx_cv_func_statfs_decl" = "yes"; then
36984 cat >>confdefs.h <<\_ACEOF
36985 #define HAVE_STATFS_DECL 1
36986 _ACEOF
36987
36988 fi
36989
36990 wx_cv_type_statvfs_t="struct statfs"
36991 cat >>confdefs.h <<\_ACEOF
36992 #define HAVE_STATFS 1
36993 _ACEOF
36994
36995 else
36996 { echo "$as_me:$LINENO: checking for statvfs" >&5
36997 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36998 if test "${wx_cv_func_statvfs+set}" = set; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37000 else
37001 cat >conftest.$ac_ext <<_ACEOF
37002 /* confdefs.h. */
37003 _ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37007
37008 #include <stddef.h>
37009 #include <sys/statvfs.h>
37010
37011 int
37012 main ()
37013 {
37014
37015 statvfs("/", NULL);
37016
37017 ;
37018 return 0;
37019 }
37020 _ACEOF
37021 rm -f conftest.$ac_objext
37022 if { (ac_try="$ac_compile"
37023 case "(($ac_try" in
37024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37025 *) ac_try_echo=$ac_try;;
37026 esac
37027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37028 (eval "$ac_compile") 2>conftest.er1
37029 ac_status=$?
37030 grep -v '^ *+' conftest.er1 >conftest.err
37031 rm -f conftest.er1
37032 cat conftest.err >&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); } && {
37035 test -z "$ac_c_werror_flag" ||
37036 test ! -s conftest.err
37037 } && test -s conftest.$ac_objext; then
37038 wx_cv_func_statvfs=yes
37039 else
37040 echo "$as_me: failed program was:" >&5
37041 sed 's/^/| /' conftest.$ac_ext >&5
37042
37043 wx_cv_func_statvfs=no
37044
37045 fi
37046
37047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37048
37049 fi
37050 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37051 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37052
37053 if test "$wx_cv_func_statvfs" = "yes"; then
37054 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37055 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37056 if test "${wx_cv_type_statvfs_t+set}" = set; then
37057 echo $ECHO_N "(cached) $ECHO_C" >&6
37058 else
37059 ac_ext=cpp
37060 ac_cpp='$CXXCPP $CPPFLAGS'
37061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37064
37065 cat >conftest.$ac_ext <<_ACEOF
37066 /* confdefs.h. */
37067 _ACEOF
37068 cat confdefs.h >>conftest.$ac_ext
37069 cat >>conftest.$ac_ext <<_ACEOF
37070 /* end confdefs.h. */
37071
37072 #include <sys/statvfs.h>
37073
37074 int
37075 main ()
37076 {
37077
37078 long l;
37079 statvfs_t fs;
37080 statvfs("/", &fs);
37081 l = fs.f_bsize;
37082 l += fs.f_blocks;
37083 l += fs.f_bavail;
37084
37085 ;
37086 return 0;
37087 }
37088 _ACEOF
37089 rm -f conftest.$ac_objext
37090 if { (ac_try="$ac_compile"
37091 case "(($ac_try" in
37092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37093 *) ac_try_echo=$ac_try;;
37094 esac
37095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37096 (eval "$ac_compile") 2>conftest.er1
37097 ac_status=$?
37098 grep -v '^ *+' conftest.er1 >conftest.err
37099 rm -f conftest.er1
37100 cat conftest.err >&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); } && {
37103 test -z "$ac_cxx_werror_flag" ||
37104 test ! -s conftest.err
37105 } && test -s conftest.$ac_objext; then
37106 wx_cv_type_statvfs_t=statvfs_t
37107 else
37108 echo "$as_me: failed program was:" >&5
37109 sed 's/^/| /' conftest.$ac_ext >&5
37110
37111
37112 cat >conftest.$ac_ext <<_ACEOF
37113 /* confdefs.h. */
37114 _ACEOF
37115 cat confdefs.h >>conftest.$ac_ext
37116 cat >>conftest.$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37118
37119 #include <sys/statvfs.h>
37120
37121 int
37122 main ()
37123 {
37124
37125 long l;
37126 struct statvfs fs;
37127 statvfs("/", &fs);
37128 l = fs.f_bsize;
37129 l += fs.f_blocks;
37130 l += fs.f_bavail;
37131
37132 ;
37133 return 0;
37134 }
37135 _ACEOF
37136 rm -f conftest.$ac_objext
37137 if { (ac_try="$ac_compile"
37138 case "(($ac_try" in
37139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37140 *) ac_try_echo=$ac_try;;
37141 esac
37142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37143 (eval "$ac_compile") 2>conftest.er1
37144 ac_status=$?
37145 grep -v '^ *+' conftest.er1 >conftest.err
37146 rm -f conftest.er1
37147 cat conftest.err >&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } && {
37150 test -z "$ac_cxx_werror_flag" ||
37151 test ! -s conftest.err
37152 } && test -s conftest.$ac_objext; then
37153 wx_cv_type_statvfs_t="struct statvfs"
37154 else
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37157
37158 wx_cv_type_statvfs_t="unknown"
37159
37160 fi
37161
37162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37163
37164
37165 fi
37166
37167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37168 ac_ext=c
37169 ac_cpp='$CPP $CPPFLAGS'
37170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37173
37174
37175 fi
37176 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37177 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37178
37179 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37180 cat >>confdefs.h <<\_ACEOF
37181 #define HAVE_STATVFS 1
37182 _ACEOF
37183
37184 fi
37185 else
37186 wx_cv_type_statvfs_t="unknown"
37187 fi
37188 fi
37189
37190 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37191 cat >>confdefs.h <<_ACEOF
37192 #define WX_STATFS_T $wx_cv_type_statvfs_t
37193 _ACEOF
37194
37195 else
37196 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37197 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37198 fi
37199
37200 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37201
37202
37203 for ac_func in fcntl flock
37204 do
37205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37208 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37209 echo $ECHO_N "(cached) $ECHO_C" >&6
37210 else
37211 cat >conftest.$ac_ext <<_ACEOF
37212 /* confdefs.h. */
37213 _ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37219 #define $ac_func innocuous_$ac_func
37220
37221 /* System header to define __stub macros and hopefully few prototypes,
37222 which can conflict with char $ac_func (); below.
37223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37224 <limits.h> exists even on freestanding compilers. */
37225
37226 #ifdef __STDC__
37227 # include <limits.h>
37228 #else
37229 # include <assert.h>
37230 #endif
37231
37232 #undef $ac_func
37233
37234 /* Override any GCC internal prototype to avoid an error.
37235 Use char because int might match the return type of a GCC
37236 builtin and then its argument prototype would still apply. */
37237 #ifdef __cplusplus
37238 extern "C"
37239 #endif
37240 char $ac_func ();
37241 /* The GNU C library defines this for functions which it implements
37242 to always fail with ENOSYS. Some functions are actually named
37243 something starting with __ and the normal name is an alias. */
37244 #if defined __stub_$ac_func || defined __stub___$ac_func
37245 choke me
37246 #endif
37247
37248 int
37249 main ()
37250 {
37251 return $ac_func ();
37252 ;
37253 return 0;
37254 }
37255 _ACEOF
37256 rm -f conftest.$ac_objext conftest$ac_exeext
37257 if { (ac_try="$ac_link"
37258 case "(($ac_try" in
37259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37260 *) ac_try_echo=$ac_try;;
37261 esac
37262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37263 (eval "$ac_link") 2>conftest.er1
37264 ac_status=$?
37265 grep -v '^ *+' conftest.er1 >conftest.err
37266 rm -f conftest.er1
37267 cat conftest.err >&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); } && {
37270 test -z "$ac_c_werror_flag" ||
37271 test ! -s conftest.err
37272 } && test -s conftest$ac_exeext &&
37273 $as_test_x conftest$ac_exeext; then
37274 eval "$as_ac_var=yes"
37275 else
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37278
37279 eval "$as_ac_var=no"
37280 fi
37281
37282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37283 conftest$ac_exeext conftest.$ac_ext
37284 fi
37285 ac_res=`eval echo '${'$as_ac_var'}'`
37286 { echo "$as_me:$LINENO: result: $ac_res" >&5
37287 echo "${ECHO_T}$ac_res" >&6; }
37288 if test `eval echo '${'$as_ac_var'}'` = yes; then
37289 cat >>confdefs.h <<_ACEOF
37290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37291 _ACEOF
37292 break
37293 fi
37294 done
37295
37296
37297 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37298 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37299 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37300 wxUSE_SNGLINST_CHECKER=no
37301 fi
37302 fi
37303
37304
37305
37306 for ac_func in setenv putenv
37307 do
37308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37309 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37311 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37312 echo $ECHO_N "(cached) $ECHO_C" >&6
37313 else
37314 cat >conftest.$ac_ext <<_ACEOF
37315 /* confdefs.h. */
37316 _ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h. */
37320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37322 #define $ac_func innocuous_$ac_func
37323
37324 /* System header to define __stub macros and hopefully few prototypes,
37325 which can conflict with char $ac_func (); below.
37326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37327 <limits.h> exists even on freestanding compilers. */
37328
37329 #ifdef __STDC__
37330 # include <limits.h>
37331 #else
37332 # include <assert.h>
37333 #endif
37334
37335 #undef $ac_func
37336
37337 /* Override any GCC internal prototype to avoid an error.
37338 Use char because int might match the return type of a GCC
37339 builtin and then its argument prototype would still apply. */
37340 #ifdef __cplusplus
37341 extern "C"
37342 #endif
37343 char $ac_func ();
37344 /* The GNU C library defines this for functions which it implements
37345 to always fail with ENOSYS. Some functions are actually named
37346 something starting with __ and the normal name is an alias. */
37347 #if defined __stub_$ac_func || defined __stub___$ac_func
37348 choke me
37349 #endif
37350
37351 int
37352 main ()
37353 {
37354 return $ac_func ();
37355 ;
37356 return 0;
37357 }
37358 _ACEOF
37359 rm -f conftest.$ac_objext conftest$ac_exeext
37360 if { (ac_try="$ac_link"
37361 case "(($ac_try" in
37362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37363 *) ac_try_echo=$ac_try;;
37364 esac
37365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37366 (eval "$ac_link") 2>conftest.er1
37367 ac_status=$?
37368 grep -v '^ *+' conftest.er1 >conftest.err
37369 rm -f conftest.er1
37370 cat conftest.err >&5
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); } && {
37373 test -z "$ac_c_werror_flag" ||
37374 test ! -s conftest.err
37375 } && test -s conftest$ac_exeext &&
37376 $as_test_x conftest$ac_exeext; then
37377 eval "$as_ac_var=yes"
37378 else
37379 echo "$as_me: failed program was:" >&5
37380 sed 's/^/| /' conftest.$ac_ext >&5
37381
37382 eval "$as_ac_var=no"
37383 fi
37384
37385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37386 conftest$ac_exeext conftest.$ac_ext
37387 fi
37388 ac_res=`eval echo '${'$as_ac_var'}'`
37389 { echo "$as_me:$LINENO: result: $ac_res" >&5
37390 echo "${ECHO_T}$ac_res" >&6; }
37391 if test `eval echo '${'$as_ac_var'}'` = yes; then
37392 cat >>confdefs.h <<_ACEOF
37393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37394 _ACEOF
37395 break
37396 fi
37397 done
37398
37399 if test "$ac_cv_func_setenv" = "yes"; then
37400
37401 for ac_func in unsetenv
37402 do
37403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37404 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37406 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37407 echo $ECHO_N "(cached) $ECHO_C" >&6
37408 else
37409 cat >conftest.$ac_ext <<_ACEOF
37410 /* confdefs.h. */
37411 _ACEOF
37412 cat confdefs.h >>conftest.$ac_ext
37413 cat >>conftest.$ac_ext <<_ACEOF
37414 /* end confdefs.h. */
37415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37417 #define $ac_func innocuous_$ac_func
37418
37419 /* System header to define __stub macros and hopefully few prototypes,
37420 which can conflict with char $ac_func (); below.
37421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37422 <limits.h> exists even on freestanding compilers. */
37423
37424 #ifdef __STDC__
37425 # include <limits.h>
37426 #else
37427 # include <assert.h>
37428 #endif
37429
37430 #undef $ac_func
37431
37432 /* Override any GCC internal prototype to avoid an error.
37433 Use char because int might match the return type of a GCC
37434 builtin and then its argument prototype would still apply. */
37435 #ifdef __cplusplus
37436 extern "C"
37437 #endif
37438 char $ac_func ();
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined __stub_$ac_func || defined __stub___$ac_func
37443 choke me
37444 #endif
37445
37446 int
37447 main ()
37448 {
37449 return $ac_func ();
37450 ;
37451 return 0;
37452 }
37453 _ACEOF
37454 rm -f conftest.$ac_objext conftest$ac_exeext
37455 if { (ac_try="$ac_link"
37456 case "(($ac_try" in
37457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37458 *) ac_try_echo=$ac_try;;
37459 esac
37460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37461 (eval "$ac_link") 2>conftest.er1
37462 ac_status=$?
37463 grep -v '^ *+' conftest.er1 >conftest.err
37464 rm -f conftest.er1
37465 cat conftest.err >&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } && {
37468 test -z "$ac_c_werror_flag" ||
37469 test ! -s conftest.err
37470 } && test -s conftest$ac_exeext &&
37471 $as_test_x conftest$ac_exeext; then
37472 eval "$as_ac_var=yes"
37473 else
37474 echo "$as_me: failed program was:" >&5
37475 sed 's/^/| /' conftest.$ac_ext >&5
37476
37477 eval "$as_ac_var=no"
37478 fi
37479
37480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37481 conftest$ac_exeext conftest.$ac_ext
37482 fi
37483 ac_res=`eval echo '${'$as_ac_var'}'`
37484 { echo "$as_me:$LINENO: result: $ac_res" >&5
37485 echo "${ECHO_T}$ac_res" >&6; }
37486 if test `eval echo '${'$as_ac_var'}'` = yes; then
37487 cat >>confdefs.h <<_ACEOF
37488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37489 _ACEOF
37490
37491 fi
37492 done
37493
37494 fi
37495
37496 HAVE_SOME_SLEEP_FUNC=0
37497 if test "$USE_BEOS" = 1; then
37498 cat >>confdefs.h <<\_ACEOF
37499 #define HAVE_SLEEP 1
37500 _ACEOF
37501
37502 HAVE_SOME_SLEEP_FUNC=1
37503 fi
37504
37505 if test "$USE_DARWIN" = 1; then
37506 cat >>confdefs.h <<\_ACEOF
37507 #define HAVE_USLEEP 1
37508 _ACEOF
37509
37510 HAVE_SOME_SLEEP_FUNC=1
37511 fi
37512
37513 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37514 POSIX4_LINK=
37515
37516 for ac_func in nanosleep
37517 do
37518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37521 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37524 cat >conftest.$ac_ext <<_ACEOF
37525 /* confdefs.h. */
37526 _ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37532 #define $ac_func innocuous_$ac_func
37533
37534 /* System header to define __stub macros and hopefully few prototypes,
37535 which can conflict with char $ac_func (); below.
37536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37537 <limits.h> exists even on freestanding compilers. */
37538
37539 #ifdef __STDC__
37540 # include <limits.h>
37541 #else
37542 # include <assert.h>
37543 #endif
37544
37545 #undef $ac_func
37546
37547 /* Override any GCC internal prototype to avoid an error.
37548 Use char because int might match the return type of a GCC
37549 builtin and then its argument prototype would still apply. */
37550 #ifdef __cplusplus
37551 extern "C"
37552 #endif
37553 char $ac_func ();
37554 /* The GNU C library defines this for functions which it implements
37555 to always fail with ENOSYS. Some functions are actually named
37556 something starting with __ and the normal name is an alias. */
37557 #if defined __stub_$ac_func || defined __stub___$ac_func
37558 choke me
37559 #endif
37560
37561 int
37562 main ()
37563 {
37564 return $ac_func ();
37565 ;
37566 return 0;
37567 }
37568 _ACEOF
37569 rm -f conftest.$ac_objext conftest$ac_exeext
37570 if { (ac_try="$ac_link"
37571 case "(($ac_try" in
37572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37573 *) ac_try_echo=$ac_try;;
37574 esac
37575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37576 (eval "$ac_link") 2>conftest.er1
37577 ac_status=$?
37578 grep -v '^ *+' conftest.er1 >conftest.err
37579 rm -f conftest.er1
37580 cat conftest.err >&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } && {
37583 test -z "$ac_c_werror_flag" ||
37584 test ! -s conftest.err
37585 } && test -s conftest$ac_exeext &&
37586 $as_test_x conftest$ac_exeext; then
37587 eval "$as_ac_var=yes"
37588 else
37589 echo "$as_me: failed program was:" >&5
37590 sed 's/^/| /' conftest.$ac_ext >&5
37591
37592 eval "$as_ac_var=no"
37593 fi
37594
37595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37596 conftest$ac_exeext conftest.$ac_ext
37597 fi
37598 ac_res=`eval echo '${'$as_ac_var'}'`
37599 { echo "$as_me:$LINENO: result: $ac_res" >&5
37600 echo "${ECHO_T}$ac_res" >&6; }
37601 if test `eval echo '${'$as_ac_var'}'` = yes; then
37602 cat >>confdefs.h <<_ACEOF
37603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37604 _ACEOF
37605 cat >>confdefs.h <<\_ACEOF
37606 #define HAVE_NANOSLEEP 1
37607 _ACEOF
37608
37609 else
37610
37611 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37612 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37613 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37615 else
37616 ac_check_lib_save_LIBS=$LIBS
37617 LIBS="-lposix4 $LIBS"
37618 cat >conftest.$ac_ext <<_ACEOF
37619 /* confdefs.h. */
37620 _ACEOF
37621 cat confdefs.h >>conftest.$ac_ext
37622 cat >>conftest.$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37624
37625 /* Override any GCC internal prototype to avoid an error.
37626 Use char because int might match the return type of a GCC
37627 builtin and then its argument prototype would still apply. */
37628 #ifdef __cplusplus
37629 extern "C"
37630 #endif
37631 char nanosleep ();
37632 int
37633 main ()
37634 {
37635 return nanosleep ();
37636 ;
37637 return 0;
37638 }
37639 _ACEOF
37640 rm -f conftest.$ac_objext conftest$ac_exeext
37641 if { (ac_try="$ac_link"
37642 case "(($ac_try" in
37643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37644 *) ac_try_echo=$ac_try;;
37645 esac
37646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37647 (eval "$ac_link") 2>conftest.er1
37648 ac_status=$?
37649 grep -v '^ *+' conftest.er1 >conftest.err
37650 rm -f conftest.er1
37651 cat conftest.err >&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } && {
37654 test -z "$ac_c_werror_flag" ||
37655 test ! -s conftest.err
37656 } && test -s conftest$ac_exeext &&
37657 $as_test_x conftest$ac_exeext; then
37658 ac_cv_lib_posix4_nanosleep=yes
37659 else
37660 echo "$as_me: failed program was:" >&5
37661 sed 's/^/| /' conftest.$ac_ext >&5
37662
37663 ac_cv_lib_posix4_nanosleep=no
37664 fi
37665
37666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37667 conftest$ac_exeext conftest.$ac_ext
37668 LIBS=$ac_check_lib_save_LIBS
37669 fi
37670 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37671 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37672 if test $ac_cv_lib_posix4_nanosleep = yes; then
37673
37674 cat >>confdefs.h <<\_ACEOF
37675 #define HAVE_NANOSLEEP 1
37676 _ACEOF
37677
37678 POSIX4_LINK=" -lposix4"
37679
37680 else
37681
37682
37683 for wx_func in usleep
37684 do
37685 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37686 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37687 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37688 echo $ECHO_N "(cached) $ECHO_C" >&6
37689 else
37690
37691 cat >conftest.$ac_ext <<_ACEOF
37692
37693 /* confdefs.h. */
37694 _ACEOF
37695 cat confdefs.h >>conftest.$ac_ext
37696 cat >>conftest.$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37698
37699
37700 $ac_includes_default
37701
37702 int
37703 main ()
37704 {
37705
37706 #ifndef $wx_func
37707 &$wx_func;
37708 #endif
37709
37710
37711 ;
37712 return 0;
37713 }
37714
37715 _ACEOF
37716 rm -f conftest.$ac_objext conftest$ac_exeext
37717 if { (ac_try="$ac_link"
37718 case "(($ac_try" in
37719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37720 *) ac_try_echo=$ac_try;;
37721 esac
37722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37723 (eval "$ac_link") 2>conftest.er1
37724 ac_status=$?
37725 grep -v '^ *+' conftest.er1 >conftest.err
37726 rm -f conftest.er1
37727 cat conftest.err >&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); } && {
37730 test -z "$ac_c_werror_flag" ||
37731 test ! -s conftest.err
37732 } && test -s conftest$ac_exeext &&
37733 $as_test_x conftest$ac_exeext; then
37734 eval wx_cv_func_$wx_func=yes
37735 else
37736 echo "$as_me: failed program was:" >&5
37737 sed 's/^/| /' conftest.$ac_ext >&5
37738
37739 eval wx_cv_func_$wx_func=no
37740 fi
37741
37742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37743 conftest$ac_exeext conftest.$ac_ext
37744
37745 fi
37746 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37747 { echo "$as_me:$LINENO: result: $ac_res" >&5
37748 echo "${ECHO_T}$ac_res" >&6; }
37749
37750 if eval test \$wx_cv_func_$wx_func = yes
37751 then
37752 cat >>confdefs.h <<_ACEOF
37753 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37754 _ACEOF
37755
37756
37757 else
37758 :
37759 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37760 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37761
37762 fi
37763 done
37764
37765
37766
37767 fi
37768
37769
37770
37771 fi
37772 done
37773
37774 fi
37775
37776
37777 for wx_func in uname
37778 do
37779 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37780 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37781 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 else
37784
37785 cat >conftest.$ac_ext <<_ACEOF
37786
37787 /* confdefs.h. */
37788 _ACEOF
37789 cat confdefs.h >>conftest.$ac_ext
37790 cat >>conftest.$ac_ext <<_ACEOF
37791 /* end confdefs.h. */
37792
37793 #include <sys/utsname.h>
37794 $ac_includes_default
37795
37796 int
37797 main ()
37798 {
37799
37800 #ifndef $wx_func
37801 &$wx_func;
37802 #endif
37803
37804
37805 ;
37806 return 0;
37807 }
37808
37809 _ACEOF
37810 rm -f conftest.$ac_objext conftest$ac_exeext
37811 if { (ac_try="$ac_link"
37812 case "(($ac_try" in
37813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37814 *) ac_try_echo=$ac_try;;
37815 esac
37816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37817 (eval "$ac_link") 2>conftest.er1
37818 ac_status=$?
37819 grep -v '^ *+' conftest.er1 >conftest.err
37820 rm -f conftest.er1
37821 cat conftest.err >&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } && {
37824 test -z "$ac_c_werror_flag" ||
37825 test ! -s conftest.err
37826 } && test -s conftest$ac_exeext &&
37827 $as_test_x conftest$ac_exeext; then
37828 eval wx_cv_func_$wx_func=yes
37829 else
37830 echo "$as_me: failed program was:" >&5
37831 sed 's/^/| /' conftest.$ac_ext >&5
37832
37833 eval wx_cv_func_$wx_func=no
37834 fi
37835
37836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37837 conftest$ac_exeext conftest.$ac_ext
37838
37839 fi
37840 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37841 { echo "$as_me:$LINENO: result: $ac_res" >&5
37842 echo "${ECHO_T}$ac_res" >&6; }
37843
37844 if eval test \$wx_cv_func_$wx_func = yes
37845 then
37846 cat >>confdefs.h <<_ACEOF
37847 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37848 _ACEOF
37849
37850
37851 else
37852 :
37853
37854 fi
37855 done
37856
37857 if test "$wx_cv_func_uname" != yes; then
37858
37859 for wx_func in gethostname
37860 do
37861 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37862 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37863 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37865 else
37866
37867 cat >conftest.$ac_ext <<_ACEOF
37868
37869 /* confdefs.h. */
37870 _ACEOF
37871 cat confdefs.h >>conftest.$ac_ext
37872 cat >>conftest.$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37874
37875
37876 $ac_includes_default
37877
37878 int
37879 main ()
37880 {
37881
37882 #ifndef $wx_func
37883 &$wx_func;
37884 #endif
37885
37886
37887 ;
37888 return 0;
37889 }
37890
37891 _ACEOF
37892 rm -f conftest.$ac_objext conftest$ac_exeext
37893 if { (ac_try="$ac_link"
37894 case "(($ac_try" in
37895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37896 *) ac_try_echo=$ac_try;;
37897 esac
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_link") 2>conftest.er1
37900 ac_status=$?
37901 grep -v '^ *+' conftest.er1 >conftest.err
37902 rm -f conftest.er1
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } && {
37906 test -z "$ac_c_werror_flag" ||
37907 test ! -s conftest.err
37908 } && test -s conftest$ac_exeext &&
37909 $as_test_x conftest$ac_exeext; then
37910 eval wx_cv_func_$wx_func=yes
37911 else
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.$ac_ext >&5
37914
37915 eval wx_cv_func_$wx_func=no
37916 fi
37917
37918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37919 conftest$ac_exeext conftest.$ac_ext
37920
37921 fi
37922 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37923 { echo "$as_me:$LINENO: result: $ac_res" >&5
37924 echo "${ECHO_T}$ac_res" >&6; }
37925
37926 if eval test \$wx_cv_func_$wx_func = yes
37927 then
37928 cat >>confdefs.h <<_ACEOF
37929 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37930 _ACEOF
37931
37932
37933 else
37934 :
37935
37936 fi
37937 done
37938
37939 fi
37940
37941
37942 for wx_func in strtok_r
37943 do
37944 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37945 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37946 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37947 echo $ECHO_N "(cached) $ECHO_C" >&6
37948 else
37949
37950 cat >conftest.$ac_ext <<_ACEOF
37951
37952 /* confdefs.h. */
37953 _ACEOF
37954 cat confdefs.h >>conftest.$ac_ext
37955 cat >>conftest.$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957
37958 #define _REENTRANT
37959 $ac_includes_default
37960
37961 int
37962 main ()
37963 {
37964
37965 #ifndef $wx_func
37966 &$wx_func;
37967 #endif
37968
37969
37970 ;
37971 return 0;
37972 }
37973
37974 _ACEOF
37975 rm -f conftest.$ac_objext conftest$ac_exeext
37976 if { (ac_try="$ac_link"
37977 case "(($ac_try" in
37978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37979 *) ac_try_echo=$ac_try;;
37980 esac
37981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37982 (eval "$ac_link") 2>conftest.er1
37983 ac_status=$?
37984 grep -v '^ *+' conftest.er1 >conftest.err
37985 rm -f conftest.er1
37986 cat conftest.err >&5
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); } && {
37989 test -z "$ac_c_werror_flag" ||
37990 test ! -s conftest.err
37991 } && test -s conftest$ac_exeext &&
37992 $as_test_x conftest$ac_exeext; then
37993 eval wx_cv_func_$wx_func=yes
37994 else
37995 echo "$as_me: failed program was:" >&5
37996 sed 's/^/| /' conftest.$ac_ext >&5
37997
37998 eval wx_cv_func_$wx_func=no
37999 fi
38000
38001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38002 conftest$ac_exeext conftest.$ac_ext
38003
38004 fi
38005 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38006 { echo "$as_me:$LINENO: result: $ac_res" >&5
38007 echo "${ECHO_T}$ac_res" >&6; }
38008
38009 if eval test \$wx_cv_func_$wx_func = yes
38010 then
38011 cat >>confdefs.h <<_ACEOF
38012 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38013 _ACEOF
38014
38015
38016 else
38017 :
38018
38019 fi
38020 done
38021
38022
38023 INET_LINK=
38024
38025 for ac_func in inet_addr
38026 do
38027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38041 #define $ac_func innocuous_$ac_func
38042
38043 /* System header to define __stub macros and hopefully few prototypes,
38044 which can conflict with char $ac_func (); below.
38045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38046 <limits.h> exists even on freestanding compilers. */
38047
38048 #ifdef __STDC__
38049 # include <limits.h>
38050 #else
38051 # include <assert.h>
38052 #endif
38053
38054 #undef $ac_func
38055
38056 /* Override any GCC internal prototype to avoid an error.
38057 Use char because int might match the return type of a GCC
38058 builtin and then its argument prototype would still apply. */
38059 #ifdef __cplusplus
38060 extern "C"
38061 #endif
38062 char $ac_func ();
38063 /* The GNU C library defines this for functions which it implements
38064 to always fail with ENOSYS. Some functions are actually named
38065 something starting with __ and the normal name is an alias. */
38066 #if defined __stub_$ac_func || defined __stub___$ac_func
38067 choke me
38068 #endif
38069
38070 int
38071 main ()
38072 {
38073 return $ac_func ();
38074 ;
38075 return 0;
38076 }
38077 _ACEOF
38078 rm -f conftest.$ac_objext conftest$ac_exeext
38079 if { (ac_try="$ac_link"
38080 case "(($ac_try" in
38081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38082 *) ac_try_echo=$ac_try;;
38083 esac
38084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38085 (eval "$ac_link") 2>conftest.er1
38086 ac_status=$?
38087 grep -v '^ *+' conftest.er1 >conftest.err
38088 rm -f conftest.er1
38089 cat conftest.err >&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } && {
38092 test -z "$ac_c_werror_flag" ||
38093 test ! -s conftest.err
38094 } && test -s conftest$ac_exeext &&
38095 $as_test_x conftest$ac_exeext; then
38096 eval "$as_ac_var=yes"
38097 else
38098 echo "$as_me: failed program was:" >&5
38099 sed 's/^/| /' conftest.$ac_ext >&5
38100
38101 eval "$as_ac_var=no"
38102 fi
38103
38104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38105 conftest$ac_exeext conftest.$ac_ext
38106 fi
38107 ac_res=`eval echo '${'$as_ac_var'}'`
38108 { echo "$as_me:$LINENO: result: $ac_res" >&5
38109 echo "${ECHO_T}$ac_res" >&6; }
38110 if test `eval echo '${'$as_ac_var'}'` = yes; then
38111 cat >>confdefs.h <<_ACEOF
38112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38113 _ACEOF
38114 cat >>confdefs.h <<\_ACEOF
38115 #define HAVE_INET_ADDR 1
38116 _ACEOF
38117
38118 else
38119
38120 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38121 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38122 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38123 echo $ECHO_N "(cached) $ECHO_C" >&6
38124 else
38125 ac_check_lib_save_LIBS=$LIBS
38126 LIBS="-lnsl $LIBS"
38127 cat >conftest.$ac_ext <<_ACEOF
38128 /* confdefs.h. */
38129 _ACEOF
38130 cat confdefs.h >>conftest.$ac_ext
38131 cat >>conftest.$ac_ext <<_ACEOF
38132 /* end confdefs.h. */
38133
38134 /* Override any GCC internal prototype to avoid an error.
38135 Use char because int might match the return type of a GCC
38136 builtin and then its argument prototype would still apply. */
38137 #ifdef __cplusplus
38138 extern "C"
38139 #endif
38140 char inet_addr ();
38141 int
38142 main ()
38143 {
38144 return inet_addr ();
38145 ;
38146 return 0;
38147 }
38148 _ACEOF
38149 rm -f conftest.$ac_objext conftest$ac_exeext
38150 if { (ac_try="$ac_link"
38151 case "(($ac_try" in
38152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38153 *) ac_try_echo=$ac_try;;
38154 esac
38155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38156 (eval "$ac_link") 2>conftest.er1
38157 ac_status=$?
38158 grep -v '^ *+' conftest.er1 >conftest.err
38159 rm -f conftest.er1
38160 cat conftest.err >&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); } && {
38163 test -z "$ac_c_werror_flag" ||
38164 test ! -s conftest.err
38165 } && test -s conftest$ac_exeext &&
38166 $as_test_x conftest$ac_exeext; then
38167 ac_cv_lib_nsl_inet_addr=yes
38168 else
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.$ac_ext >&5
38171
38172 ac_cv_lib_nsl_inet_addr=no
38173 fi
38174
38175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38176 conftest$ac_exeext conftest.$ac_ext
38177 LIBS=$ac_check_lib_save_LIBS
38178 fi
38179 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38180 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38181 if test $ac_cv_lib_nsl_inet_addr = yes; then
38182 INET_LINK="nsl"
38183 else
38184
38185 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38186 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38187 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38188 echo $ECHO_N "(cached) $ECHO_C" >&6
38189 else
38190 ac_check_lib_save_LIBS=$LIBS
38191 LIBS="-lresolv $LIBS"
38192 cat >conftest.$ac_ext <<_ACEOF
38193 /* confdefs.h. */
38194 _ACEOF
38195 cat confdefs.h >>conftest.$ac_ext
38196 cat >>conftest.$ac_ext <<_ACEOF
38197 /* end confdefs.h. */
38198
38199 /* Override any GCC internal prototype to avoid an error.
38200 Use char because int might match the return type of a GCC
38201 builtin and then its argument prototype would still apply. */
38202 #ifdef __cplusplus
38203 extern "C"
38204 #endif
38205 char inet_addr ();
38206 int
38207 main ()
38208 {
38209 return inet_addr ();
38210 ;
38211 return 0;
38212 }
38213 _ACEOF
38214 rm -f conftest.$ac_objext conftest$ac_exeext
38215 if { (ac_try="$ac_link"
38216 case "(($ac_try" in
38217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38218 *) ac_try_echo=$ac_try;;
38219 esac
38220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38221 (eval "$ac_link") 2>conftest.er1
38222 ac_status=$?
38223 grep -v '^ *+' conftest.er1 >conftest.err
38224 rm -f conftest.er1
38225 cat conftest.err >&5
38226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38227 (exit $ac_status); } && {
38228 test -z "$ac_c_werror_flag" ||
38229 test ! -s conftest.err
38230 } && test -s conftest$ac_exeext &&
38231 $as_test_x conftest$ac_exeext; then
38232 ac_cv_lib_resolv_inet_addr=yes
38233 else
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 ac_cv_lib_resolv_inet_addr=no
38238 fi
38239
38240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38241 conftest$ac_exeext conftest.$ac_ext
38242 LIBS=$ac_check_lib_save_LIBS
38243 fi
38244 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38245 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38246 if test $ac_cv_lib_resolv_inet_addr = yes; then
38247 INET_LINK="resolv"
38248 else
38249
38250 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38251 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38252 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38253 echo $ECHO_N "(cached) $ECHO_C" >&6
38254 else
38255 ac_check_lib_save_LIBS=$LIBS
38256 LIBS="-lsocket $LIBS"
38257 cat >conftest.$ac_ext <<_ACEOF
38258 /* confdefs.h. */
38259 _ACEOF
38260 cat confdefs.h >>conftest.$ac_ext
38261 cat >>conftest.$ac_ext <<_ACEOF
38262 /* end confdefs.h. */
38263
38264 /* Override any GCC internal prototype to avoid an error.
38265 Use char because int might match the return type of a GCC
38266 builtin and then its argument prototype would still apply. */
38267 #ifdef __cplusplus
38268 extern "C"
38269 #endif
38270 char inet_addr ();
38271 int
38272 main ()
38273 {
38274 return inet_addr ();
38275 ;
38276 return 0;
38277 }
38278 _ACEOF
38279 rm -f conftest.$ac_objext conftest$ac_exeext
38280 if { (ac_try="$ac_link"
38281 case "(($ac_try" in
38282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38283 *) ac_try_echo=$ac_try;;
38284 esac
38285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38286 (eval "$ac_link") 2>conftest.er1
38287 ac_status=$?
38288 grep -v '^ *+' conftest.er1 >conftest.err
38289 rm -f conftest.er1
38290 cat conftest.err >&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } && {
38293 test -z "$ac_c_werror_flag" ||
38294 test ! -s conftest.err
38295 } && test -s conftest$ac_exeext &&
38296 $as_test_x conftest$ac_exeext; then
38297 ac_cv_lib_socket_inet_addr=yes
38298 else
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38301
38302 ac_cv_lib_socket_inet_addr=no
38303 fi
38304
38305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38306 conftest$ac_exeext conftest.$ac_ext
38307 LIBS=$ac_check_lib_save_LIBS
38308 fi
38309 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38310 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38311 if test $ac_cv_lib_socket_inet_addr = yes; then
38312 INET_LINK="socket"
38313
38314 fi
38315
38316
38317
38318 fi
38319
38320
38321
38322 fi
38323
38324
38325
38326 fi
38327 done
38328
38329
38330
38331 for ac_func in inet_aton
38332 do
38333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 else
38339 cat >conftest.$ac_ext <<_ACEOF
38340 /* confdefs.h. */
38341 _ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38347 #define $ac_func innocuous_$ac_func
38348
38349 /* System header to define __stub macros and hopefully few prototypes,
38350 which can conflict with char $ac_func (); below.
38351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38352 <limits.h> exists even on freestanding compilers. */
38353
38354 #ifdef __STDC__
38355 # include <limits.h>
38356 #else
38357 # include <assert.h>
38358 #endif
38359
38360 #undef $ac_func
38361
38362 /* Override any GCC internal prototype to avoid an error.
38363 Use char because int might match the return type of a GCC
38364 builtin and then its argument prototype would still apply. */
38365 #ifdef __cplusplus
38366 extern "C"
38367 #endif
38368 char $ac_func ();
38369 /* The GNU C library defines this for functions which it implements
38370 to always fail with ENOSYS. Some functions are actually named
38371 something starting with __ and the normal name is an alias. */
38372 #if defined __stub_$ac_func || defined __stub___$ac_func
38373 choke me
38374 #endif
38375
38376 int
38377 main ()
38378 {
38379 return $ac_func ();
38380 ;
38381 return 0;
38382 }
38383 _ACEOF
38384 rm -f conftest.$ac_objext conftest$ac_exeext
38385 if { (ac_try="$ac_link"
38386 case "(($ac_try" in
38387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38388 *) ac_try_echo=$ac_try;;
38389 esac
38390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38391 (eval "$ac_link") 2>conftest.er1
38392 ac_status=$?
38393 grep -v '^ *+' conftest.er1 >conftest.err
38394 rm -f conftest.er1
38395 cat conftest.err >&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } && {
38398 test -z "$ac_c_werror_flag" ||
38399 test ! -s conftest.err
38400 } && test -s conftest$ac_exeext &&
38401 $as_test_x conftest$ac_exeext; then
38402 eval "$as_ac_var=yes"
38403 else
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.$ac_ext >&5
38406
38407 eval "$as_ac_var=no"
38408 fi
38409
38410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38411 conftest$ac_exeext conftest.$ac_ext
38412 fi
38413 ac_res=`eval echo '${'$as_ac_var'}'`
38414 { echo "$as_me:$LINENO: result: $ac_res" >&5
38415 echo "${ECHO_T}$ac_res" >&6; }
38416 if test `eval echo '${'$as_ac_var'}'` = yes; then
38417 cat >>confdefs.h <<_ACEOF
38418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38419 _ACEOF
38420 cat >>confdefs.h <<\_ACEOF
38421 #define HAVE_INET_ATON 1
38422 _ACEOF
38423
38424 else
38425
38426 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38427 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38428 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38429 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38430 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 else
38432 ac_check_lib_save_LIBS=$LIBS
38433 LIBS="-l$INET_LINK $LIBS"
38434 cat >conftest.$ac_ext <<_ACEOF
38435 /* confdefs.h. */
38436 _ACEOF
38437 cat confdefs.h >>conftest.$ac_ext
38438 cat >>conftest.$ac_ext <<_ACEOF
38439 /* end confdefs.h. */
38440
38441 /* Override any GCC internal prototype to avoid an error.
38442 Use char because int might match the return type of a GCC
38443 builtin and then its argument prototype would still apply. */
38444 #ifdef __cplusplus
38445 extern "C"
38446 #endif
38447 char inet_aton ();
38448 int
38449 main ()
38450 {
38451 return inet_aton ();
38452 ;
38453 return 0;
38454 }
38455 _ACEOF
38456 rm -f conftest.$ac_objext conftest$ac_exeext
38457 if { (ac_try="$ac_link"
38458 case "(($ac_try" in
38459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38460 *) ac_try_echo=$ac_try;;
38461 esac
38462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38463 (eval "$ac_link") 2>conftest.er1
38464 ac_status=$?
38465 grep -v '^ *+' conftest.er1 >conftest.err
38466 rm -f conftest.er1
38467 cat conftest.err >&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } && {
38470 test -z "$ac_c_werror_flag" ||
38471 test ! -s conftest.err
38472 } && test -s conftest$ac_exeext &&
38473 $as_test_x conftest$ac_exeext; then
38474 eval "$as_ac_Lib=yes"
38475 else
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38478
38479 eval "$as_ac_Lib=no"
38480 fi
38481
38482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38483 conftest$ac_exeext conftest.$ac_ext
38484 LIBS=$ac_check_lib_save_LIBS
38485 fi
38486 ac_res=`eval echo '${'$as_ac_Lib'}'`
38487 { echo "$as_me:$LINENO: result: $ac_res" >&5
38488 echo "${ECHO_T}$ac_res" >&6; }
38489 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38490 cat >>confdefs.h <<\_ACEOF
38491 #define HAVE_INET_ATON 1
38492 _ACEOF
38493
38494 fi
38495
38496
38497 fi
38498 done
38499
38500
38501 if test "x$INET_LINK" != "x"; then
38502 cat >>confdefs.h <<\_ACEOF
38503 #define HAVE_INET_ADDR 1
38504 _ACEOF
38505
38506 INET_LINK=" -l$INET_LINK"
38507 fi
38508
38509
38510 for wx_func in fdopen
38511 do
38512 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38513 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38514 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38515 echo $ECHO_N "(cached) $ECHO_C" >&6
38516 else
38517
38518 cat >conftest.$ac_ext <<_ACEOF
38519
38520 /* confdefs.h. */
38521 _ACEOF
38522 cat confdefs.h >>conftest.$ac_ext
38523 cat >>conftest.$ac_ext <<_ACEOF
38524 /* end confdefs.h. */
38525
38526
38527 $ac_includes_default
38528
38529 int
38530 main ()
38531 {
38532
38533 #ifndef $wx_func
38534 &$wx_func;
38535 #endif
38536
38537
38538 ;
38539 return 0;
38540 }
38541
38542 _ACEOF
38543 rm -f conftest.$ac_objext conftest$ac_exeext
38544 if { (ac_try="$ac_link"
38545 case "(($ac_try" in
38546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38547 *) ac_try_echo=$ac_try;;
38548 esac
38549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38550 (eval "$ac_link") 2>conftest.er1
38551 ac_status=$?
38552 grep -v '^ *+' conftest.er1 >conftest.err
38553 rm -f conftest.er1
38554 cat conftest.err >&5
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); } && {
38557 test -z "$ac_c_werror_flag" ||
38558 test ! -s conftest.err
38559 } && test -s conftest$ac_exeext &&
38560 $as_test_x conftest$ac_exeext; then
38561 eval wx_cv_func_$wx_func=yes
38562 else
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.$ac_ext >&5
38565
38566 eval wx_cv_func_$wx_func=no
38567 fi
38568
38569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38570 conftest$ac_exeext conftest.$ac_ext
38571
38572 fi
38573 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38574 { echo "$as_me:$LINENO: result: $ac_res" >&5
38575 echo "${ECHO_T}$ac_res" >&6; }
38576
38577 if eval test \$wx_cv_func_$wx_func = yes
38578 then
38579 cat >>confdefs.h <<_ACEOF
38580 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38581 _ACEOF
38582
38583
38584 else
38585 :
38586
38587 fi
38588 done
38589
38590
38591 if test "$wxUSE_TARSTREAM" = "yes"; then
38592
38593 for wx_func in sysconf
38594 do
38595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38597 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 else
38600
38601 cat >conftest.$ac_ext <<_ACEOF
38602
38603 /* confdefs.h. */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38608
38609
38610 $ac_includes_default
38611
38612 int
38613 main ()
38614 {
38615
38616 #ifndef $wx_func
38617 &$wx_func;
38618 #endif
38619
38620
38621 ;
38622 return 0;
38623 }
38624
38625 _ACEOF
38626 rm -f conftest.$ac_objext conftest$ac_exeext
38627 if { (ac_try="$ac_link"
38628 case "(($ac_try" in
38629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38630 *) ac_try_echo=$ac_try;;
38631 esac
38632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38633 (eval "$ac_link") 2>conftest.er1
38634 ac_status=$?
38635 grep -v '^ *+' conftest.er1 >conftest.err
38636 rm -f conftest.er1
38637 cat conftest.err >&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); } && {
38640 test -z "$ac_c_werror_flag" ||
38641 test ! -s conftest.err
38642 } && test -s conftest$ac_exeext &&
38643 $as_test_x conftest$ac_exeext; then
38644 eval wx_cv_func_$wx_func=yes
38645 else
38646 echo "$as_me: failed program was:" >&5
38647 sed 's/^/| /' conftest.$ac_ext >&5
38648
38649 eval wx_cv_func_$wx_func=no
38650 fi
38651
38652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38653 conftest$ac_exeext conftest.$ac_ext
38654
38655 fi
38656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38657 { echo "$as_me:$LINENO: result: $ac_res" >&5
38658 echo "${ECHO_T}$ac_res" >&6; }
38659
38660 if eval test \$wx_cv_func_$wx_func = yes
38661 then
38662 cat >>confdefs.h <<_ACEOF
38663 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38664 _ACEOF
38665
38666
38667 else
38668 :
38669
38670 fi
38671 done
38672
38673
38674
38675 for wx_func in getpwuid_r
38676 do
38677 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38678 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38679 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38681 else
38682
38683 cat >conftest.$ac_ext <<_ACEOF
38684
38685 /* confdefs.h. */
38686 _ACEOF
38687 cat confdefs.h >>conftest.$ac_ext
38688 cat >>conftest.$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38690
38691
38692 #define _REENTRANT
38693 #include <pwd.h>
38694
38695 $ac_includes_default
38696
38697 int
38698 main ()
38699 {
38700
38701 #ifndef $wx_func
38702 &$wx_func;
38703 #endif
38704
38705 struct passwd pw, *ppw;
38706 char buf[1024];
38707 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38708
38709
38710 ;
38711 return 0;
38712 }
38713
38714 _ACEOF
38715 rm -f conftest.$ac_objext conftest$ac_exeext
38716 if { (ac_try="$ac_link"
38717 case "(($ac_try" in
38718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38719 *) ac_try_echo=$ac_try;;
38720 esac
38721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38722 (eval "$ac_link") 2>conftest.er1
38723 ac_status=$?
38724 grep -v '^ *+' conftest.er1 >conftest.err
38725 rm -f conftest.er1
38726 cat conftest.err >&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); } && {
38729 test -z "$ac_c_werror_flag" ||
38730 test ! -s conftest.err
38731 } && test -s conftest$ac_exeext &&
38732 $as_test_x conftest$ac_exeext; then
38733 eval wx_cv_func_$wx_func=yes
38734 else
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.$ac_ext >&5
38737
38738 eval wx_cv_func_$wx_func=no
38739 fi
38740
38741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38742 conftest$ac_exeext conftest.$ac_ext
38743
38744 fi
38745 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38746 { echo "$as_me:$LINENO: result: $ac_res" >&5
38747 echo "${ECHO_T}$ac_res" >&6; }
38748
38749 if eval test \$wx_cv_func_$wx_func = yes
38750 then
38751 cat >>confdefs.h <<_ACEOF
38752 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38753 _ACEOF
38754
38755
38756 else
38757 :
38758
38759 fi
38760 done
38761
38762
38763
38764 for wx_func in getgrgid_r
38765 do
38766 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38767 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38768 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38769 echo $ECHO_N "(cached) $ECHO_C" >&6
38770 else
38771
38772 cat >conftest.$ac_ext <<_ACEOF
38773
38774 /* confdefs.h. */
38775 _ACEOF
38776 cat confdefs.h >>conftest.$ac_ext
38777 cat >>conftest.$ac_ext <<_ACEOF
38778 /* end confdefs.h. */
38779
38780
38781 #define _REENTRANT
38782 #include <grp.h>
38783
38784 $ac_includes_default
38785
38786 int
38787 main ()
38788 {
38789
38790 #ifndef $wx_func
38791 &$wx_func;
38792 #endif
38793
38794 struct group grp, *pgrp;
38795 char buf[1024];
38796 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38797
38798
38799 ;
38800 return 0;
38801 }
38802
38803 _ACEOF
38804 rm -f conftest.$ac_objext conftest$ac_exeext
38805 if { (ac_try="$ac_link"
38806 case "(($ac_try" in
38807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38808 *) ac_try_echo=$ac_try;;
38809 esac
38810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38811 (eval "$ac_link") 2>conftest.er1
38812 ac_status=$?
38813 grep -v '^ *+' conftest.er1 >conftest.err
38814 rm -f conftest.er1
38815 cat conftest.err >&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); } && {
38818 test -z "$ac_c_werror_flag" ||
38819 test ! -s conftest.err
38820 } && test -s conftest$ac_exeext &&
38821 $as_test_x conftest$ac_exeext; then
38822 eval wx_cv_func_$wx_func=yes
38823 else
38824 echo "$as_me: failed program was:" >&5
38825 sed 's/^/| /' conftest.$ac_ext >&5
38826
38827 eval wx_cv_func_$wx_func=no
38828 fi
38829
38830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38831 conftest$ac_exeext conftest.$ac_ext
38832
38833 fi
38834 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38835 { echo "$as_me:$LINENO: result: $ac_res" >&5
38836 echo "${ECHO_T}$ac_res" >&6; }
38837
38838 if eval test \$wx_cv_func_$wx_func = yes
38839 then
38840 cat >>confdefs.h <<_ACEOF
38841 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38842 _ACEOF
38843
38844
38845 else
38846 :
38847
38848 fi
38849 done
38850
38851 fi
38852
38853 fi
38854
38855
38856
38857 cat >confcache <<\_ACEOF
38858 # This file is a shell script that caches the results of configure
38859 # tests run on this system so they can be shared between configure
38860 # scripts and configure runs, see configure's option --config-cache.
38861 # It is not useful on other systems. If it contains results you don't
38862 # want to keep, you may remove or edit it.
38863 #
38864 # config.status only pays attention to the cache file if you give it
38865 # the --recheck option to rerun configure.
38866 #
38867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38869 # following values.
38870
38871 _ACEOF
38872
38873 # The following way of writing the cache mishandles newlines in values,
38874 # but we know of no workaround that is simple, portable, and efficient.
38875 # So, we kill variables containing newlines.
38876 # Ultrix sh set writes to stderr and can't be redirected directly,
38877 # and sets the high bit in the cache file unless we assign to the vars.
38878 (
38879 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38880 eval ac_val=\$$ac_var
38881 case $ac_val in #(
38882 *${as_nl}*)
38883 case $ac_var in #(
38884 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38885 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38886 esac
38887 case $ac_var in #(
38888 _ | IFS | as_nl) ;; #(
38889 *) $as_unset $ac_var ;;
38890 esac ;;
38891 esac
38892 done
38893
38894 (set) 2>&1 |
38895 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38896 *${as_nl}ac_space=\ *)
38897 # `set' does not quote correctly, so add quotes (double-quote
38898 # substitution turns \\\\ into \\, and sed turns \\ into \).
38899 sed -n \
38900 "s/'/'\\\\''/g;
38901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38902 ;; #(
38903 *)
38904 # `set' quotes correctly as required by POSIX, so do not add quotes.
38905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38906 ;;
38907 esac |
38908 sort
38909 ) |
38910 sed '
38911 /^ac_cv_env_/b end
38912 t clear
38913 :clear
38914 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38915 t end
38916 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38917 :end' >>confcache
38918 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38919 if test -w "$cache_file"; then
38920 test "x$cache_file" != "x/dev/null" &&
38921 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38922 echo "$as_me: updating cache $cache_file" >&6;}
38923 cat confcache >$cache_file
38924 else
38925 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38926 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38927 fi
38928 fi
38929 rm -f confcache
38930
38931
38932 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38933
38934
38935 THREADS_LINK=
38936 THREADS_CFLAGS=
38937
38938 if test "$wxUSE_THREADS" = "yes" ; then
38939 if test "$USE_BEOS" = 1; then
38940 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38941 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38942 wxUSE_THREADS="no"
38943 fi
38944 fi
38945
38946 if test "$wxUSE_THREADS" = "yes" ; then
38947
38948
38949 THREAD_OPTS="-pthread"
38950 if test "x$SUNCXX" = xyes; then
38951 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38952 fi
38953
38954 case "${host}" in
38955 *-*-solaris2* | *-*-sunos4* )
38956 if test "x$GCC" = "xyes"; then
38957 THREAD_OPTS="-pthreads $THREAD_OPTS"
38958 fi
38959 ;;
38960 *-*-freebsd*)
38961 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38962 ;;
38963 *-*-darwin* | *-*-cygwin* )
38964 THREAD_OPTS=""
38965 ;;
38966 *-*-aix*)
38967 THREAD_OPTS="pthreads"
38968 ;;
38969 *-hp-hpux* )
38970 if test "x$GCC" = "xyes"; then
38971 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38972 THREAD_OPTS=""
38973 else
38974 THREAD_OPTS="-mt"
38975 fi
38976 ;;
38977
38978 *-*-irix* )
38979 if test "x$GCC" = "xyes"; then
38980 THREAD_OPTS=""
38981 fi
38982 ;;
38983
38984 *-*-*UnixWare*)
38985 if test "x$GCC" != "xyes"; then
38986 THREAD_OPTS="-Ethread"
38987 fi
38988 ;;
38989 esac
38990
38991 THREAD_OPTS="$THREAD_OPTS pthread none"
38992
38993 THREADS_OK=no
38994 for flag in $THREAD_OPTS; do
38995 case $flag in
38996 none)
38997 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38998 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38999 ;;
39000
39001 -*)
39002 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39003 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39004 THREADS_CFLAGS="$flag"
39005 ;;
39006
39007 *)
39008 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39009 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39010 THREADS_LINK="-l$flag"
39011 ;;
39012 esac
39013
39014 save_LIBS="$LIBS"
39015 save_CFLAGS="$CFLAGS"
39016 LIBS="$THREADS_LINK $LIBS"
39017 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39018
39019 cat >conftest.$ac_ext <<_ACEOF
39020 /* confdefs.h. */
39021 _ACEOF
39022 cat confdefs.h >>conftest.$ac_ext
39023 cat >>conftest.$ac_ext <<_ACEOF
39024 /* end confdefs.h. */
39025 #include <pthread.h>
39026 int
39027 main ()
39028 {
39029 pthread_create(0,0,0,0);
39030 ;
39031 return 0;
39032 }
39033 _ACEOF
39034 rm -f conftest.$ac_objext conftest$ac_exeext
39035 if { (ac_try="$ac_link"
39036 case "(($ac_try" in
39037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39038 *) ac_try_echo=$ac_try;;
39039 esac
39040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39041 (eval "$ac_link") 2>conftest.er1
39042 ac_status=$?
39043 grep -v '^ *+' conftest.er1 >conftest.err
39044 rm -f conftest.er1
39045 cat conftest.err >&5
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); } && {
39048 test -z "$ac_c_werror_flag" ||
39049 test ! -s conftest.err
39050 } && test -s conftest$ac_exeext &&
39051 $as_test_x conftest$ac_exeext; then
39052 THREADS_OK=yes
39053 else
39054 echo "$as_me: failed program was:" >&5
39055 sed 's/^/| /' conftest.$ac_ext >&5
39056
39057
39058 fi
39059
39060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39061 conftest$ac_exeext conftest.$ac_ext
39062
39063 LIBS="$save_LIBS"
39064 CFLAGS="$save_CFLAGS"
39065
39066 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39067 echo "${ECHO_T}$THREADS_OK" >&6; }
39068 if test "x$THREADS_OK" = "xyes"; then
39069 break;
39070 fi
39071
39072 THREADS_LINK=""
39073 THREADS_CFLAGS=""
39074 done
39075
39076 if test "x$THREADS_OK" != "xyes"; then
39077 wxUSE_THREADS=no
39078 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39079 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39080 else
39081 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39082 LIBS="$THREADS_LINK $LIBS"
39083
39084 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39085 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39086 flag=no
39087 case "${host}" in
39088 *-aix*)
39089 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39090 flag="-D_THREAD_SAFE"
39091 ;;
39092 *-freebsd*)
39093 flag="-D_THREAD_SAFE"
39094 ;;
39095 *-hp-hpux* )
39096 flag="-D_REENTRANT"
39097 if test "x$GCC" != "xyes"; then
39098 flag="$flag -D_RWSTD_MULTI_THREAD"
39099 fi
39100 ;;
39101 *solaris* | alpha*-osf*)
39102 flag="-D_REENTRANT"
39103 ;;
39104 esac
39105 { echo "$as_me:$LINENO: result: ${flag}" >&5
39106 echo "${ECHO_T}${flag}" >&6; }
39107 if test "x$flag" != xno; then
39108 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39109 fi
39110
39111 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39112 fi
39113 fi
39114
39115 if test "$wxUSE_THREADS" = "yes" ; then
39116
39117 for ac_func in thr_setconcurrency
39118 do
39119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39123 echo $ECHO_N "(cached) $ECHO_C" >&6
39124 else
39125 cat >conftest.$ac_ext <<_ACEOF
39126 /* confdefs.h. */
39127 _ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39133 #define $ac_func innocuous_$ac_func
39134
39135 /* System header to define __stub macros and hopefully few prototypes,
39136 which can conflict with char $ac_func (); below.
39137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39138 <limits.h> exists even on freestanding compilers. */
39139
39140 #ifdef __STDC__
39141 # include <limits.h>
39142 #else
39143 # include <assert.h>
39144 #endif
39145
39146 #undef $ac_func
39147
39148 /* Override any GCC internal prototype to avoid an error.
39149 Use char because int might match the return type of a GCC
39150 builtin and then its argument prototype would still apply. */
39151 #ifdef __cplusplus
39152 extern "C"
39153 #endif
39154 char $ac_func ();
39155 /* The GNU C library defines this for functions which it implements
39156 to always fail with ENOSYS. Some functions are actually named
39157 something starting with __ and the normal name is an alias. */
39158 #if defined __stub_$ac_func || defined __stub___$ac_func
39159 choke me
39160 #endif
39161
39162 int
39163 main ()
39164 {
39165 return $ac_func ();
39166 ;
39167 return 0;
39168 }
39169 _ACEOF
39170 rm -f conftest.$ac_objext conftest$ac_exeext
39171 if { (ac_try="$ac_link"
39172 case "(($ac_try" in
39173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39174 *) ac_try_echo=$ac_try;;
39175 esac
39176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39177 (eval "$ac_link") 2>conftest.er1
39178 ac_status=$?
39179 grep -v '^ *+' conftest.er1 >conftest.err
39180 rm -f conftest.er1
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } && {
39184 test -z "$ac_c_werror_flag" ||
39185 test ! -s conftest.err
39186 } && test -s conftest$ac_exeext &&
39187 $as_test_x conftest$ac_exeext; then
39188 eval "$as_ac_var=yes"
39189 else
39190 echo "$as_me: failed program was:" >&5
39191 sed 's/^/| /' conftest.$ac_ext >&5
39192
39193 eval "$as_ac_var=no"
39194 fi
39195
39196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39197 conftest$ac_exeext conftest.$ac_ext
39198 fi
39199 ac_res=`eval echo '${'$as_ac_var'}'`
39200 { echo "$as_me:$LINENO: result: $ac_res" >&5
39201 echo "${ECHO_T}$ac_res" >&6; }
39202 if test `eval echo '${'$as_ac_var'}'` = yes; then
39203 cat >>confdefs.h <<_ACEOF
39204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39205 _ACEOF
39206
39207 fi
39208 done
39209
39210
39211 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39212 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39213 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39214 echo $ECHO_N "(cached) $ECHO_C" >&6
39215 else
39216
39217 ac_ext=cpp
39218 ac_cpp='$CXXCPP $CPPFLAGS'
39219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39222
39223 cat >conftest.$ac_ext <<_ACEOF
39224 /* confdefs.h. */
39225 _ACEOF
39226 cat confdefs.h >>conftest.$ac_ext
39227 cat >>conftest.$ac_ext <<_ACEOF
39228 /* end confdefs.h. */
39229 #include <pthread.h>
39230 void ThreadCleanupFunc(void *p);
39231
39232 int
39233 main ()
39234 {
39235
39236 void *p;
39237 pthread_cleanup_push(ThreadCleanupFunc, p);
39238 pthread_cleanup_pop(0);
39239
39240 ;
39241 return 0;
39242 }
39243 _ACEOF
39244 rm -f conftest.$ac_objext
39245 if { (ac_try="$ac_compile"
39246 case "(($ac_try" in
39247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39248 *) ac_try_echo=$ac_try;;
39249 esac
39250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39251 (eval "$ac_compile") 2>conftest.er1
39252 ac_status=$?
39253 grep -v '^ *+' conftest.er1 >conftest.err
39254 rm -f conftest.er1
39255 cat conftest.err >&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); } && {
39258 test -z "$ac_cxx_werror_flag" ||
39259 test ! -s conftest.err
39260 } && test -s conftest.$ac_objext; then
39261
39262 wx_cv_func_pthread_cleanup=yes
39263
39264 else
39265 echo "$as_me: failed program was:" >&5
39266 sed 's/^/| /' conftest.$ac_ext >&5
39267
39268
39269 wx_cv_func_pthread_cleanup=no
39270
39271
39272 fi
39273
39274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39275 ac_ext=c
39276 ac_cpp='$CPP $CPPFLAGS'
39277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39280
39281
39282 fi
39283 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39284 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39285 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39286 cat >>confdefs.h <<\_ACEOF
39287 #define wxHAVE_PTHREAD_CLEANUP 1
39288 _ACEOF
39289
39290 fi
39291
39292
39293 for ac_header in sched.h
39294 do
39295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39299 echo $ECHO_N "(cached) $ECHO_C" >&6
39300 else
39301 cat >conftest.$ac_ext <<_ACEOF
39302 /* confdefs.h. */
39303 _ACEOF
39304 cat confdefs.h >>conftest.$ac_ext
39305 cat >>conftest.$ac_ext <<_ACEOF
39306 /* end confdefs.h. */
39307 $ac_includes_default
39308
39309 #include <$ac_header>
39310 _ACEOF
39311 rm -f conftest.$ac_objext
39312 if { (ac_try="$ac_compile"
39313 case "(($ac_try" in
39314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39315 *) ac_try_echo=$ac_try;;
39316 esac
39317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39318 (eval "$ac_compile") 2>conftest.er1
39319 ac_status=$?
39320 grep -v '^ *+' conftest.er1 >conftest.err
39321 rm -f conftest.er1
39322 cat conftest.err >&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); } && {
39325 test -z "$ac_c_werror_flag" ||
39326 test ! -s conftest.err
39327 } && test -s conftest.$ac_objext; then
39328 eval "$as_ac_Header=yes"
39329 else
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.$ac_ext >&5
39332
39333 eval "$as_ac_Header=no"
39334 fi
39335
39336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39337 fi
39338 ac_res=`eval echo '${'$as_ac_Header'}'`
39339 { echo "$as_me:$LINENO: result: $ac_res" >&5
39340 echo "${ECHO_T}$ac_res" >&6; }
39341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39342 cat >>confdefs.h <<_ACEOF
39343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39344 _ACEOF
39345
39346 fi
39347
39348 done
39349
39350 if test "$ac_cv_header_sched_h" = "yes"; then
39351 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39352 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39353 if test "${ac_cv_func_sched_yield+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39355 else
39356 cat >conftest.$ac_ext <<_ACEOF
39357 /* confdefs.h. */
39358 _ACEOF
39359 cat confdefs.h >>conftest.$ac_ext
39360 cat >>conftest.$ac_ext <<_ACEOF
39361 /* end confdefs.h. */
39362 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39364 #define sched_yield innocuous_sched_yield
39365
39366 /* System header to define __stub macros and hopefully few prototypes,
39367 which can conflict with char sched_yield (); below.
39368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39369 <limits.h> exists even on freestanding compilers. */
39370
39371 #ifdef __STDC__
39372 # include <limits.h>
39373 #else
39374 # include <assert.h>
39375 #endif
39376
39377 #undef sched_yield
39378
39379 /* Override any GCC internal prototype to avoid an error.
39380 Use char because int might match the return type of a GCC
39381 builtin and then its argument prototype would still apply. */
39382 #ifdef __cplusplus
39383 extern "C"
39384 #endif
39385 char sched_yield ();
39386 /* The GNU C library defines this for functions which it implements
39387 to always fail with ENOSYS. Some functions are actually named
39388 something starting with __ and the normal name is an alias. */
39389 #if defined __stub_sched_yield || defined __stub___sched_yield
39390 choke me
39391 #endif
39392
39393 int
39394 main ()
39395 {
39396 return sched_yield ();
39397 ;
39398 return 0;
39399 }
39400 _ACEOF
39401 rm -f conftest.$ac_objext conftest$ac_exeext
39402 if { (ac_try="$ac_link"
39403 case "(($ac_try" in
39404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39405 *) ac_try_echo=$ac_try;;
39406 esac
39407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39408 (eval "$ac_link") 2>conftest.er1
39409 ac_status=$?
39410 grep -v '^ *+' conftest.er1 >conftest.err
39411 rm -f conftest.er1
39412 cat conftest.err >&5
39413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414 (exit $ac_status); } && {
39415 test -z "$ac_c_werror_flag" ||
39416 test ! -s conftest.err
39417 } && test -s conftest$ac_exeext &&
39418 $as_test_x conftest$ac_exeext; then
39419 ac_cv_func_sched_yield=yes
39420 else
39421 echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.$ac_ext >&5
39423
39424 ac_cv_func_sched_yield=no
39425 fi
39426
39427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39428 conftest$ac_exeext conftest.$ac_ext
39429 fi
39430 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39431 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39432 if test $ac_cv_func_sched_yield = yes; then
39433 cat >>confdefs.h <<\_ACEOF
39434 #define HAVE_SCHED_YIELD 1
39435 _ACEOF
39436
39437 else
39438
39439 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39440 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39441 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39442 echo $ECHO_N "(cached) $ECHO_C" >&6
39443 else
39444 ac_check_lib_save_LIBS=$LIBS
39445 LIBS="-lposix4 $LIBS"
39446 cat >conftest.$ac_ext <<_ACEOF
39447 /* confdefs.h. */
39448 _ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39452
39453 /* Override any GCC internal prototype to avoid an error.
39454 Use char because int might match the return type of a GCC
39455 builtin and then its argument prototype would still apply. */
39456 #ifdef __cplusplus
39457 extern "C"
39458 #endif
39459 char sched_yield ();
39460 int
39461 main ()
39462 {
39463 return sched_yield ();
39464 ;
39465 return 0;
39466 }
39467 _ACEOF
39468 rm -f conftest.$ac_objext conftest$ac_exeext
39469 if { (ac_try="$ac_link"
39470 case "(($ac_try" in
39471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39472 *) ac_try_echo=$ac_try;;
39473 esac
39474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39475 (eval "$ac_link") 2>conftest.er1
39476 ac_status=$?
39477 grep -v '^ *+' conftest.er1 >conftest.err
39478 rm -f conftest.er1
39479 cat conftest.err >&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } && {
39482 test -z "$ac_c_werror_flag" ||
39483 test ! -s conftest.err
39484 } && test -s conftest$ac_exeext &&
39485 $as_test_x conftest$ac_exeext; then
39486 ac_cv_lib_posix4_sched_yield=yes
39487 else
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39490
39491 ac_cv_lib_posix4_sched_yield=no
39492 fi
39493
39494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39495 conftest$ac_exeext conftest.$ac_ext
39496 LIBS=$ac_check_lib_save_LIBS
39497 fi
39498 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39499 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39500 if test $ac_cv_lib_posix4_sched_yield = yes; then
39501 cat >>confdefs.h <<\_ACEOF
39502 #define HAVE_SCHED_YIELD 1
39503 _ACEOF
39504 POSIX4_LINK=" -lposix4"
39505 else
39506 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39507 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39508
39509 fi
39510
39511
39512
39513 fi
39514
39515 fi
39516
39517 HAVE_PRIOR_FUNCS=0
39518 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39519 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39520 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39522 else
39523 cat >conftest.$ac_ext <<_ACEOF
39524 /* confdefs.h. */
39525 _ACEOF
39526 cat confdefs.h >>conftest.$ac_ext
39527 cat >>conftest.$ac_ext <<_ACEOF
39528 /* end confdefs.h. */
39529 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39531 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39532
39533 /* System header to define __stub macros and hopefully few prototypes,
39534 which can conflict with char pthread_attr_getschedpolicy (); below.
39535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39536 <limits.h> exists even on freestanding compilers. */
39537
39538 #ifdef __STDC__
39539 # include <limits.h>
39540 #else
39541 # include <assert.h>
39542 #endif
39543
39544 #undef pthread_attr_getschedpolicy
39545
39546 /* Override any GCC internal prototype to avoid an error.
39547 Use char because int might match the return type of a GCC
39548 builtin and then its argument prototype would still apply. */
39549 #ifdef __cplusplus
39550 extern "C"
39551 #endif
39552 char pthread_attr_getschedpolicy ();
39553 /* The GNU C library defines this for functions which it implements
39554 to always fail with ENOSYS. Some functions are actually named
39555 something starting with __ and the normal name is an alias. */
39556 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39557 choke me
39558 #endif
39559
39560 int
39561 main ()
39562 {
39563 return pthread_attr_getschedpolicy ();
39564 ;
39565 return 0;
39566 }
39567 _ACEOF
39568 rm -f conftest.$ac_objext conftest$ac_exeext
39569 if { (ac_try="$ac_link"
39570 case "(($ac_try" in
39571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39572 *) ac_try_echo=$ac_try;;
39573 esac
39574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39575 (eval "$ac_link") 2>conftest.er1
39576 ac_status=$?
39577 grep -v '^ *+' conftest.er1 >conftest.err
39578 rm -f conftest.er1
39579 cat conftest.err >&5
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); } && {
39582 test -z "$ac_c_werror_flag" ||
39583 test ! -s conftest.err
39584 } && test -s conftest$ac_exeext &&
39585 $as_test_x conftest$ac_exeext; then
39586 ac_cv_func_pthread_attr_getschedpolicy=yes
39587 else
39588 echo "$as_me: failed program was:" >&5
39589 sed 's/^/| /' conftest.$ac_ext >&5
39590
39591 ac_cv_func_pthread_attr_getschedpolicy=no
39592 fi
39593
39594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39595 conftest$ac_exeext conftest.$ac_ext
39596 fi
39597 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39598 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39599 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39600 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39601 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39602 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39604 else
39605 cat >conftest.$ac_ext <<_ACEOF
39606 /* confdefs.h. */
39607 _ACEOF
39608 cat confdefs.h >>conftest.$ac_ext
39609 cat >>conftest.$ac_ext <<_ACEOF
39610 /* end confdefs.h. */
39611 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39613 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39614
39615 /* System header to define __stub macros and hopefully few prototypes,
39616 which can conflict with char pthread_attr_setschedparam (); below.
39617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39618 <limits.h> exists even on freestanding compilers. */
39619
39620 #ifdef __STDC__
39621 # include <limits.h>
39622 #else
39623 # include <assert.h>
39624 #endif
39625
39626 #undef pthread_attr_setschedparam
39627
39628 /* Override any GCC internal prototype to avoid an error.
39629 Use char because int might match the return type of a GCC
39630 builtin and then its argument prototype would still apply. */
39631 #ifdef __cplusplus
39632 extern "C"
39633 #endif
39634 char pthread_attr_setschedparam ();
39635 /* The GNU C library defines this for functions which it implements
39636 to always fail with ENOSYS. Some functions are actually named
39637 something starting with __ and the normal name is an alias. */
39638 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39639 choke me
39640 #endif
39641
39642 int
39643 main ()
39644 {
39645 return pthread_attr_setschedparam ();
39646 ;
39647 return 0;
39648 }
39649 _ACEOF
39650 rm -f conftest.$ac_objext conftest$ac_exeext
39651 if { (ac_try="$ac_link"
39652 case "(($ac_try" in
39653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39654 *) ac_try_echo=$ac_try;;
39655 esac
39656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39657 (eval "$ac_link") 2>conftest.er1
39658 ac_status=$?
39659 grep -v '^ *+' conftest.er1 >conftest.err
39660 rm -f conftest.er1
39661 cat conftest.err >&5
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); } && {
39664 test -z "$ac_c_werror_flag" ||
39665 test ! -s conftest.err
39666 } && test -s conftest$ac_exeext &&
39667 $as_test_x conftest$ac_exeext; then
39668 ac_cv_func_pthread_attr_setschedparam=yes
39669 else
39670 echo "$as_me: failed program was:" >&5
39671 sed 's/^/| /' conftest.$ac_ext >&5
39672
39673 ac_cv_func_pthread_attr_setschedparam=no
39674 fi
39675
39676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39677 conftest$ac_exeext conftest.$ac_ext
39678 fi
39679 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39680 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39681 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39682 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39683 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39684 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39685 echo $ECHO_N "(cached) $ECHO_C" >&6
39686 else
39687 cat >conftest.$ac_ext <<_ACEOF
39688 /* confdefs.h. */
39689 _ACEOF
39690 cat confdefs.h >>conftest.$ac_ext
39691 cat >>conftest.$ac_ext <<_ACEOF
39692 /* end confdefs.h. */
39693 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39695 #define sched_get_priority_max innocuous_sched_get_priority_max
39696
39697 /* System header to define __stub macros and hopefully few prototypes,
39698 which can conflict with char sched_get_priority_max (); below.
39699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39700 <limits.h> exists even on freestanding compilers. */
39701
39702 #ifdef __STDC__
39703 # include <limits.h>
39704 #else
39705 # include <assert.h>
39706 #endif
39707
39708 #undef sched_get_priority_max
39709
39710 /* Override any GCC internal prototype to avoid an error.
39711 Use char because int might match the return type of a GCC
39712 builtin and then its argument prototype would still apply. */
39713 #ifdef __cplusplus
39714 extern "C"
39715 #endif
39716 char sched_get_priority_max ();
39717 /* The GNU C library defines this for functions which it implements
39718 to always fail with ENOSYS. Some functions are actually named
39719 something starting with __ and the normal name is an alias. */
39720 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39721 choke me
39722 #endif
39723
39724 int
39725 main ()
39726 {
39727 return sched_get_priority_max ();
39728 ;
39729 return 0;
39730 }
39731 _ACEOF
39732 rm -f conftest.$ac_objext conftest$ac_exeext
39733 if { (ac_try="$ac_link"
39734 case "(($ac_try" in
39735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39736 *) ac_try_echo=$ac_try;;
39737 esac
39738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39739 (eval "$ac_link") 2>conftest.er1
39740 ac_status=$?
39741 grep -v '^ *+' conftest.er1 >conftest.err
39742 rm -f conftest.er1
39743 cat conftest.err >&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); } && {
39746 test -z "$ac_c_werror_flag" ||
39747 test ! -s conftest.err
39748 } && test -s conftest$ac_exeext &&
39749 $as_test_x conftest$ac_exeext; then
39750 ac_cv_func_sched_get_priority_max=yes
39751 else
39752 echo "$as_me: failed program was:" >&5
39753 sed 's/^/| /' conftest.$ac_ext >&5
39754
39755 ac_cv_func_sched_get_priority_max=no
39756 fi
39757
39758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39759 conftest$ac_exeext conftest.$ac_ext
39760 fi
39761 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39762 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39763 if test $ac_cv_func_sched_get_priority_max = yes; then
39764 HAVE_PRIOR_FUNCS=1
39765 else
39766 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39767 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39768 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 else
39771 ac_check_lib_save_LIBS=$LIBS
39772 LIBS="-lposix4 $LIBS"
39773 cat >conftest.$ac_ext <<_ACEOF
39774 /* confdefs.h. */
39775 _ACEOF
39776 cat confdefs.h >>conftest.$ac_ext
39777 cat >>conftest.$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39779
39780 /* Override any GCC internal prototype to avoid an error.
39781 Use char because int might match the return type of a GCC
39782 builtin and then its argument prototype would still apply. */
39783 #ifdef __cplusplus
39784 extern "C"
39785 #endif
39786 char sched_get_priority_max ();
39787 int
39788 main ()
39789 {
39790 return sched_get_priority_max ();
39791 ;
39792 return 0;
39793 }
39794 _ACEOF
39795 rm -f conftest.$ac_objext conftest$ac_exeext
39796 if { (ac_try="$ac_link"
39797 case "(($ac_try" in
39798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39799 *) ac_try_echo=$ac_try;;
39800 esac
39801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39802 (eval "$ac_link") 2>conftest.er1
39803 ac_status=$?
39804 grep -v '^ *+' conftest.er1 >conftest.err
39805 rm -f conftest.er1
39806 cat conftest.err >&5
39807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39808 (exit $ac_status); } && {
39809 test -z "$ac_c_werror_flag" ||
39810 test ! -s conftest.err
39811 } && test -s conftest$ac_exeext &&
39812 $as_test_x conftest$ac_exeext; then
39813 ac_cv_lib_posix4_sched_get_priority_max=yes
39814 else
39815 echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.$ac_ext >&5
39817
39818 ac_cv_lib_posix4_sched_get_priority_max=no
39819 fi
39820
39821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39822 conftest$ac_exeext conftest.$ac_ext
39823 LIBS=$ac_check_lib_save_LIBS
39824 fi
39825 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39826 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39827 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39828
39829 HAVE_PRIOR_FUNCS=1
39830 POSIX4_LINK=" -lposix4"
39831
39832 fi
39833
39834
39835 fi
39836
39837
39838 fi
39839
39840
39841 fi
39842
39843
39844 if test "$HAVE_PRIOR_FUNCS" = 1; then
39845 cat >>confdefs.h <<\_ACEOF
39846 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39847 _ACEOF
39848
39849 else
39850 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39851 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39852 fi
39853
39854 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39855 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39856 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39858 else
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h. */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define pthread_cancel innocuous_pthread_cancel
39868
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char pthread_cancel (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39873
39874 #ifdef __STDC__
39875 # include <limits.h>
39876 #else
39877 # include <assert.h>
39878 #endif
39879
39880 #undef pthread_cancel
39881
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39885 #ifdef __cplusplus
39886 extern "C"
39887 #endif
39888 char pthread_cancel ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39893 choke me
39894 #endif
39895
39896 int
39897 main ()
39898 {
39899 return pthread_cancel ();
39900 ;
39901 return 0;
39902 }
39903 _ACEOF
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (ac_try="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39909 esac
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39912 ac_status=$?
39913 grep -v '^ *+' conftest.er1 >conftest.err
39914 rm -f conftest.er1
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 ac_cv_func_pthread_cancel=yes
39923 else
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39926
39927 ac_cv_func_pthread_cancel=no
39928 fi
39929
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39932 fi
39933 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39934 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39935 if test $ac_cv_func_pthread_cancel = yes; then
39936 cat >>confdefs.h <<\_ACEOF
39937 #define HAVE_PTHREAD_CANCEL 1
39938 _ACEOF
39939
39940 else
39941 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39942 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39943 fi
39944
39945
39946 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39947 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39948 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39949 echo $ECHO_N "(cached) $ECHO_C" >&6
39950 else
39951 cat >conftest.$ac_ext <<_ACEOF
39952 /* confdefs.h. */
39953 _ACEOF
39954 cat confdefs.h >>conftest.$ac_ext
39955 cat >>conftest.$ac_ext <<_ACEOF
39956 /* end confdefs.h. */
39957 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39959 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39960
39961 /* System header to define __stub macros and hopefully few prototypes,
39962 which can conflict with char pthread_mutex_timedlock (); below.
39963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39964 <limits.h> exists even on freestanding compilers. */
39965
39966 #ifdef __STDC__
39967 # include <limits.h>
39968 #else
39969 # include <assert.h>
39970 #endif
39971
39972 #undef pthread_mutex_timedlock
39973
39974 /* Override any GCC internal prototype to avoid an error.
39975 Use char because int might match the return type of a GCC
39976 builtin and then its argument prototype would still apply. */
39977 #ifdef __cplusplus
39978 extern "C"
39979 #endif
39980 char pthread_mutex_timedlock ();
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39985 choke me
39986 #endif
39987
39988 int
39989 main ()
39990 {
39991 return pthread_mutex_timedlock ();
39992 ;
39993 return 0;
39994 }
39995 _ACEOF
39996 rm -f conftest.$ac_objext conftest$ac_exeext
39997 if { (ac_try="$ac_link"
39998 case "(($ac_try" in
39999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40000 *) ac_try_echo=$ac_try;;
40001 esac
40002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40003 (eval "$ac_link") 2>conftest.er1
40004 ac_status=$?
40005 grep -v '^ *+' conftest.er1 >conftest.err
40006 rm -f conftest.er1
40007 cat conftest.err >&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } && {
40010 test -z "$ac_c_werror_flag" ||
40011 test ! -s conftest.err
40012 } && test -s conftest$ac_exeext &&
40013 $as_test_x conftest$ac_exeext; then
40014 ac_cv_func_pthread_mutex_timedlock=yes
40015 else
40016 echo "$as_me: failed program was:" >&5
40017 sed 's/^/| /' conftest.$ac_ext >&5
40018
40019 ac_cv_func_pthread_mutex_timedlock=no
40020 fi
40021
40022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40023 conftest$ac_exeext conftest.$ac_ext
40024 fi
40025 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40026 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40027 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40028 cat >>confdefs.h <<\_ACEOF
40029 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40030 _ACEOF
40031
40032 else
40033 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40034 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40035 fi
40036
40037
40038 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40039 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40040 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40041 echo $ECHO_N "(cached) $ECHO_C" >&6
40042 else
40043 cat >conftest.$ac_ext <<_ACEOF
40044 /* confdefs.h. */
40045 _ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40051 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40052
40053 /* System header to define __stub macros and hopefully few prototypes,
40054 which can conflict with char pthread_attr_setstacksize (); below.
40055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40056 <limits.h> exists even on freestanding compilers. */
40057
40058 #ifdef __STDC__
40059 # include <limits.h>
40060 #else
40061 # include <assert.h>
40062 #endif
40063
40064 #undef pthread_attr_setstacksize
40065
40066 /* Override any GCC internal prototype to avoid an error.
40067 Use char because int might match the return type of a GCC
40068 builtin and then its argument prototype would still apply. */
40069 #ifdef __cplusplus
40070 extern "C"
40071 #endif
40072 char pthread_attr_setstacksize ();
40073 /* The GNU C library defines this for functions which it implements
40074 to always fail with ENOSYS. Some functions are actually named
40075 something starting with __ and the normal name is an alias. */
40076 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40077 choke me
40078 #endif
40079
40080 int
40081 main ()
40082 {
40083 return pthread_attr_setstacksize ();
40084 ;
40085 return 0;
40086 }
40087 _ACEOF
40088 rm -f conftest.$ac_objext conftest$ac_exeext
40089 if { (ac_try="$ac_link"
40090 case "(($ac_try" in
40091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40092 *) ac_try_echo=$ac_try;;
40093 esac
40094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40095 (eval "$ac_link") 2>conftest.er1
40096 ac_status=$?
40097 grep -v '^ *+' conftest.er1 >conftest.err
40098 rm -f conftest.er1
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } && {
40102 test -z "$ac_c_werror_flag" ||
40103 test ! -s conftest.err
40104 } && test -s conftest$ac_exeext &&
40105 $as_test_x conftest$ac_exeext; then
40106 ac_cv_func_pthread_attr_setstacksize=yes
40107 else
40108 echo "$as_me: failed program was:" >&5
40109 sed 's/^/| /' conftest.$ac_ext >&5
40110
40111 ac_cv_func_pthread_attr_setstacksize=no
40112 fi
40113
40114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40115 conftest$ac_exeext conftest.$ac_ext
40116 fi
40117 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40118 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40119 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40120 cat >>confdefs.h <<\_ACEOF
40121 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40122 _ACEOF
40123
40124 fi
40125
40126
40127
40128 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40129 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40130 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40132 else
40133
40134 cat >conftest.$ac_ext <<_ACEOF
40135 /* confdefs.h. */
40136 _ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 #include <pthread.h>
40141 int
40142 main ()
40143 {
40144
40145 pthread_mutexattr_t attr;
40146 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40147
40148 ;
40149 return 0;
40150 }
40151 _ACEOF
40152 rm -f conftest.$ac_objext
40153 if { (ac_try="$ac_compile"
40154 case "(($ac_try" in
40155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40156 *) ac_try_echo=$ac_try;;
40157 esac
40158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40159 (eval "$ac_compile") 2>conftest.er1
40160 ac_status=$?
40161 grep -v '^ *+' conftest.er1 >conftest.err
40162 rm -f conftest.er1
40163 cat conftest.err >&5
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); } && {
40166 test -z "$ac_c_werror_flag" ||
40167 test ! -s conftest.err
40168 } && test -s conftest.$ac_objext; then
40169 wx_cv_type_pthread_mutexattr_t=yes
40170 else
40171 echo "$as_me: failed program was:" >&5
40172 sed 's/^/| /' conftest.$ac_ext >&5
40173
40174 wx_cv_type_pthread_mutexattr_t=no
40175
40176 fi
40177
40178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40179
40180 fi
40181 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40182 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40183
40184 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40185 cat >>confdefs.h <<\_ACEOF
40186 #define HAVE_PTHREAD_MUTEXATTR_T 1
40187 _ACEOF
40188
40189
40190 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40191 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40192 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40193 echo $ECHO_N "(cached) $ECHO_C" >&6
40194 else
40195
40196 cat >conftest.$ac_ext <<_ACEOF
40197 /* confdefs.h. */
40198 _ACEOF
40199 cat confdefs.h >>conftest.$ac_ext
40200 cat >>conftest.$ac_ext <<_ACEOF
40201 /* end confdefs.h. */
40202 #include <pthread.h>
40203 int
40204 main ()
40205 {
40206
40207 pthread_mutexattr_t attr;
40208 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40209
40210 ;
40211 return 0;
40212 }
40213 _ACEOF
40214 rm -f conftest.$ac_objext
40215 if { (ac_try="$ac_compile"
40216 case "(($ac_try" in
40217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40218 *) ac_try_echo=$ac_try;;
40219 esac
40220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40221 (eval "$ac_compile") 2>conftest.er1
40222 ac_status=$?
40223 grep -v '^ *+' conftest.er1 >conftest.err
40224 rm -f conftest.er1
40225 cat conftest.err >&5
40226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40227 (exit $ac_status); } && {
40228 test -z "$ac_c_werror_flag" ||
40229 test ! -s conftest.err
40230 } && test -s conftest.$ac_objext; then
40231 wx_cv_func_pthread_mutexattr_settype_decl=yes
40232 else
40233 echo "$as_me: failed program was:" >&5
40234 sed 's/^/| /' conftest.$ac_ext >&5
40235
40236 wx_cv_func_pthread_mutexattr_settype_decl=no
40237
40238 fi
40239
40240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40241
40242 fi
40243 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40244 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40245 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40246 cat >>confdefs.h <<\_ACEOF
40247 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40248 _ACEOF
40249
40250 fi
40251 else
40252 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40253 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40254 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40255 echo $ECHO_N "(cached) $ECHO_C" >&6
40256 else
40257
40258 cat >conftest.$ac_ext <<_ACEOF
40259 /* confdefs.h. */
40260 _ACEOF
40261 cat confdefs.h >>conftest.$ac_ext
40262 cat >>conftest.$ac_ext <<_ACEOF
40263 /* end confdefs.h. */
40264 #include <pthread.h>
40265 int
40266 main ()
40267 {
40268
40269 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40270
40271 ;
40272 return 0;
40273 }
40274 _ACEOF
40275 rm -f conftest.$ac_objext
40276 if { (ac_try="$ac_compile"
40277 case "(($ac_try" in
40278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40279 *) ac_try_echo=$ac_try;;
40280 esac
40281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40282 (eval "$ac_compile") 2>conftest.er1
40283 ac_status=$?
40284 grep -v '^ *+' conftest.er1 >conftest.err
40285 rm -f conftest.er1
40286 cat conftest.err >&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } && {
40289 test -z "$ac_c_werror_flag" ||
40290 test ! -s conftest.err
40291 } && test -s conftest.$ac_objext; then
40292
40293 wx_cv_type_pthread_rec_mutex_init=yes
40294
40295 else
40296 echo "$as_me: failed program was:" >&5
40297 sed 's/^/| /' conftest.$ac_ext >&5
40298
40299
40300 wx_cv_type_pthread_rec_mutex_init=no
40301
40302
40303 fi
40304
40305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40306
40307 fi
40308 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40309 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40310 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40311 cat >>confdefs.h <<\_ACEOF
40312 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40313 _ACEOF
40314
40315 else
40316 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40317 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40318 fi
40319 fi
40320
40321 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40322 if test "$USE_NETBSD" = 1; then
40323 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40324 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40325 wxUSE_COMPILER_TLS=no
40326 else
40327 wxUSE_COMPILER_TLS=yes
40328 fi
40329 fi
40330
40331 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40332 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40333 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40334 if test "${wx_cv_cc___thread+set}" = set; then
40335 echo $ECHO_N "(cached) $ECHO_C" >&6
40336 else
40337
40338 cat >conftest.$ac_ext <<_ACEOF
40339 /* confdefs.h. */
40340 _ACEOF
40341 cat confdefs.h >>conftest.$ac_ext
40342 cat >>conftest.$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 #include <pthread.h>
40345 int
40346 main ()
40347 {
40348
40349 static __thread int n = 0;
40350 static __thread int *p = 0;
40351
40352 ;
40353 return 0;
40354 }
40355 _ACEOF
40356 rm -f conftest.$ac_objext
40357 if { (ac_try="$ac_compile"
40358 case "(($ac_try" in
40359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40360 *) ac_try_echo=$ac_try;;
40361 esac
40362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40363 (eval "$ac_compile") 2>conftest.er1
40364 ac_status=$?
40365 grep -v '^ *+' conftest.er1 >conftest.err
40366 rm -f conftest.er1
40367 cat conftest.err >&5
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); } && {
40370 test -z "$ac_c_werror_flag" ||
40371 test ! -s conftest.err
40372 } && test -s conftest.$ac_objext; then
40373 wx_cv_cc___thread=yes
40374 else
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40377
40378 wx_cv_cc___thread=no
40379
40380 fi
40381
40382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40383
40384
40385 fi
40386 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40387 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40388
40389 if test "$wx_cv_cc___thread" = "yes"; then
40390
40391 GXX_VERSION=""
40392
40393
40394
40395 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40396 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40397
40398 if test "x$GCC" = "xyes" ; then
40399
40400 if test -z "" ; then
40401
40402 ax_gcc_option_test="int main()
40403 {
40404 return 0;
40405 }"
40406
40407 else
40408
40409 ax_gcc_option_test=""
40410
40411 fi
40412
40413
40414 # Dump the test program to file
40415 cat <<EOF > conftest.c
40416 $ax_gcc_option_test
40417 EOF
40418
40419 # Dump back the file to the log, useful for debugging purposes
40420 { ac_try='cat conftest.c 1>&5'
40421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40422 (eval $ac_try) 2>&5
40423 ac_status=$?
40424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40425 (exit $ac_status); }; }
40426
40427 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40429 (eval $ac_try) 2>&5
40430 ac_status=$?
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); }; } ; then
40433
40434 { echo "$as_me:$LINENO: result: yes" >&5
40435 echo "${ECHO_T}yes" >&6; }
40436
40437 ax_gcc_version_option=yes
40438
40439
40440 else
40441
40442 { echo "$as_me:$LINENO: result: no" >&5
40443 echo "${ECHO_T}no" >&6; }
40444
40445 ax_gcc_version_option=no
40446
40447
40448 fi
40449
40450
40451 else
40452
40453 { echo "$as_me:$LINENO: result: no gcc available" >&5
40454 echo "${ECHO_T}no gcc available" >&6; }
40455
40456 fi
40457
40458
40459 if test "x$GXX" = "xyes"; then
40460
40461 if test "x$ax_gxx_version_option" != "no"; then
40462
40463 { echo "$as_me:$LINENO: checking gxx version" >&5
40464 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40465 if test "${ax_cv_gxx_version+set}" = set; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40467 else
40468
40469 ax_cv_gxx_version="`$CXX -dumpversion`"
40470 if test "x$ax_cv_gxx_version" = "x"; then
40471
40472 ax_cv_gxx_version=""
40473
40474 fi
40475
40476
40477 fi
40478 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40479 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40480 GXX_VERSION=$ax_cv_gxx_version
40481
40482 fi
40483
40484
40485 fi
40486
40487
40488
40489 if test -n "$ax_cv_gxx_version"; then
40490 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40491 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40492 case "$ax_cv_gxx_version" in
40493 1.* | 2.* | 3.* )
40494 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40495 echo "${ECHO_T}no, it's broken" >&6; }
40496 wx_cv_cc___thread=no
40497 ;;
40498 *)
40499 { echo "$as_me:$LINENO: result: yes, it works" >&5
40500 echo "${ECHO_T}yes, it works" >&6; }
40501 ;;
40502 esac
40503 fi
40504 fi
40505
40506 if test "$wx_cv_cc___thread" = "yes"; then
40507 cat >>confdefs.h <<\_ACEOF
40508 #define HAVE___THREAD_KEYWORD 1
40509 _ACEOF
40510
40511 fi
40512 fi
40513 fi
40514
40515 else
40516 if test "$wxUSE_THREADS" = "yes" ; then
40517 case "${host}" in
40518 x86_64-*-mingw32* )
40519 ;;
40520 *-*-mingw32* )
40521 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40522 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40523 if test "${wx_cv_cflags_mthread+set}" = set; then
40524 echo $ECHO_N "(cached) $ECHO_C" >&6
40525 else
40526
40527 CFLAGS_OLD="$CFLAGS"
40528 CFLAGS="-mthreads $CFLAGS"
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h. */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535
40536 int
40537 main ()
40538 {
40539
40540 ;
40541 return 0;
40542 }
40543 _ACEOF
40544 rm -f conftest.$ac_objext
40545 if { (ac_try="$ac_compile"
40546 case "(($ac_try" in
40547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40548 *) ac_try_echo=$ac_try;;
40549 esac
40550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40551 (eval "$ac_compile") 2>conftest.er1
40552 ac_status=$?
40553 grep -v '^ *+' conftest.er1 >conftest.err
40554 rm -f conftest.er1
40555 cat conftest.err >&5
40556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557 (exit $ac_status); } && {
40558 test -z "$ac_c_werror_flag" ||
40559 test ! -s conftest.err
40560 } && test -s conftest.$ac_objext; then
40561 wx_cv_cflags_mthread=yes
40562 else
40563 echo "$as_me: failed program was:" >&5
40564 sed 's/^/| /' conftest.$ac_ext >&5
40565
40566 wx_cv_cflags_mthread=no
40567
40568 fi
40569
40570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40571
40572
40573 fi
40574 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40575 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40576
40577 if test "$wx_cv_cflags_mthread" = "yes"; then
40578 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40579 LDFLAGS="$LDFLAGS -mthreads"
40580 else
40581 CFLAGS="$CFLAGS_OLD"
40582 fi
40583 ;;
40584 *-pc-os2*emx )
40585 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40586 LDFLAGS="$LDFLAGS -Zmt"
40587 ;;
40588 esac
40589 fi
40590 fi
40591
40592 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40593 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40594 if test "${ac_cv_func_localtime_r+set}" = set; then
40595 echo $ECHO_N "(cached) $ECHO_C" >&6
40596 else
40597 cat >conftest.$ac_ext <<_ACEOF
40598 /* confdefs.h. */
40599 _ACEOF
40600 cat confdefs.h >>conftest.$ac_ext
40601 cat >>conftest.$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40603 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40605 #define localtime_r innocuous_localtime_r
40606
40607 /* System header to define __stub macros and hopefully few prototypes,
40608 which can conflict with char localtime_r (); below.
40609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40610 <limits.h> exists even on freestanding compilers. */
40611
40612 #ifdef __STDC__
40613 # include <limits.h>
40614 #else
40615 # include <assert.h>
40616 #endif
40617
40618 #undef localtime_r
40619
40620 /* Override any GCC internal prototype to avoid an error.
40621 Use char because int might match the return type of a GCC
40622 builtin and then its argument prototype would still apply. */
40623 #ifdef __cplusplus
40624 extern "C"
40625 #endif
40626 char localtime_r ();
40627 /* The GNU C library defines this for functions which it implements
40628 to always fail with ENOSYS. Some functions are actually named
40629 something starting with __ and the normal name is an alias. */
40630 #if defined __stub_localtime_r || defined __stub___localtime_r
40631 choke me
40632 #endif
40633
40634 int
40635 main ()
40636 {
40637 return localtime_r ();
40638 ;
40639 return 0;
40640 }
40641 _ACEOF
40642 rm -f conftest.$ac_objext conftest$ac_exeext
40643 if { (ac_try="$ac_link"
40644 case "(($ac_try" in
40645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40646 *) ac_try_echo=$ac_try;;
40647 esac
40648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40649 (eval "$ac_link") 2>conftest.er1
40650 ac_status=$?
40651 grep -v '^ *+' conftest.er1 >conftest.err
40652 rm -f conftest.er1
40653 cat conftest.err >&5
40654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655 (exit $ac_status); } && {
40656 test -z "$ac_c_werror_flag" ||
40657 test ! -s conftest.err
40658 } && test -s conftest$ac_exeext &&
40659 $as_test_x conftest$ac_exeext; then
40660 ac_cv_func_localtime_r=yes
40661 else
40662 echo "$as_me: failed program was:" >&5
40663 sed 's/^/| /' conftest.$ac_ext >&5
40664
40665 ac_cv_func_localtime_r=no
40666 fi
40667
40668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40669 conftest$ac_exeext conftest.$ac_ext
40670 fi
40671 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40672 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40673 if test $ac_cv_func_localtime_r = yes; then
40674 cat >>confdefs.h <<\_ACEOF
40675 #define HAVE_LOCALTIME_R 1
40676 _ACEOF
40677
40678 fi
40679
40680 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40681 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40682 if test "${ac_cv_func_gmtime_r+set}" = set; then
40683 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 else
40685 cat >conftest.$ac_ext <<_ACEOF
40686 /* confdefs.h. */
40687 _ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40693 #define gmtime_r innocuous_gmtime_r
40694
40695 /* System header to define __stub macros and hopefully few prototypes,
40696 which can conflict with char gmtime_r (); below.
40697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40698 <limits.h> exists even on freestanding compilers. */
40699
40700 #ifdef __STDC__
40701 # include <limits.h>
40702 #else
40703 # include <assert.h>
40704 #endif
40705
40706 #undef gmtime_r
40707
40708 /* Override any GCC internal prototype to avoid an error.
40709 Use char because int might match the return type of a GCC
40710 builtin and then its argument prototype would still apply. */
40711 #ifdef __cplusplus
40712 extern "C"
40713 #endif
40714 char gmtime_r ();
40715 /* The GNU C library defines this for functions which it implements
40716 to always fail with ENOSYS. Some functions are actually named
40717 something starting with __ and the normal name is an alias. */
40718 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40719 choke me
40720 #endif
40721
40722 int
40723 main ()
40724 {
40725 return gmtime_r ();
40726 ;
40727 return 0;
40728 }
40729 _ACEOF
40730 rm -f conftest.$ac_objext conftest$ac_exeext
40731 if { (ac_try="$ac_link"
40732 case "(($ac_try" in
40733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40734 *) ac_try_echo=$ac_try;;
40735 esac
40736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40737 (eval "$ac_link") 2>conftest.er1
40738 ac_status=$?
40739 grep -v '^ *+' conftest.er1 >conftest.err
40740 rm -f conftest.er1
40741 cat conftest.err >&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } && {
40744 test -z "$ac_c_werror_flag" ||
40745 test ! -s conftest.err
40746 } && test -s conftest$ac_exeext &&
40747 $as_test_x conftest$ac_exeext; then
40748 ac_cv_func_gmtime_r=yes
40749 else
40750 echo "$as_me: failed program was:" >&5
40751 sed 's/^/| /' conftest.$ac_ext >&5
40752
40753 ac_cv_func_gmtime_r=no
40754 fi
40755
40756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40757 conftest$ac_exeext conftest.$ac_ext
40758 fi
40759 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40760 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40761 if test $ac_cv_func_gmtime_r = yes; then
40762 cat >>confdefs.h <<\_ACEOF
40763 #define HAVE_GMTIME_R 1
40764 _ACEOF
40765
40766 fi
40767
40768
40769
40770
40771 ac_ext=c
40772 ac_cpp='$CPP $CPPFLAGS'
40773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40776
40777 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40778 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40779
40780 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40781 echo $ECHO_N "(cached) $ECHO_C" >&6
40782 else
40783
40784
40785 ################################################################
40786
40787 ac_cv_func_which_gethostbyname_r=unknown
40788
40789 #
40790 # ONE ARGUMENT (sanity check)
40791 #
40792
40793 # This should fail, as there is no variant of gethostbyname_r() that takes
40794 # a single argument. If it actually compiles, then we can assume that
40795 # netdb.h is not declaring the function, and the compiler is thereby
40796 # assuming an implicit prototype. In which case, we're out of luck.
40797 #
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 #include <netdb.h>
40805 int
40806 main ()
40807 {
40808
40809 char *name = "www.gnu.org";
40810 (void)gethostbyname_r(name) /* ; */
40811
40812 ;
40813 return 0;
40814 }
40815 _ACEOF
40816 rm -f conftest.$ac_objext
40817 if { (ac_try="$ac_compile"
40818 case "(($ac_try" in
40819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40820 *) ac_try_echo=$ac_try;;
40821 esac
40822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40823 (eval "$ac_compile") 2>conftest.er1
40824 ac_status=$?
40825 grep -v '^ *+' conftest.er1 >conftest.err
40826 rm -f conftest.er1
40827 cat conftest.err >&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); } && {
40830 test -z "$ac_c_werror_flag" ||
40831 test ! -s conftest.err
40832 } && test -s conftest.$ac_objext; then
40833 ac_cv_func_which_gethostbyname_r=no
40834 else
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.$ac_ext >&5
40837
40838
40839 fi
40840
40841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40842
40843 #
40844 # SIX ARGUMENTS
40845 # (e.g. Linux)
40846 #
40847
40848 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40849
40850 cat >conftest.$ac_ext <<_ACEOF
40851 /* confdefs.h. */
40852 _ACEOF
40853 cat confdefs.h >>conftest.$ac_ext
40854 cat >>conftest.$ac_ext <<_ACEOF
40855 /* end confdefs.h. */
40856 #include <netdb.h>
40857 int
40858 main ()
40859 {
40860
40861 char *name = "www.gnu.org";
40862 struct hostent ret, *retp;
40863 char buf[1024];
40864 int buflen = 1024;
40865 int my_h_errno;
40866 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40867
40868 ;
40869 return 0;
40870 }
40871 _ACEOF
40872 rm -f conftest.$ac_objext
40873 if { (ac_try="$ac_compile"
40874 case "(($ac_try" in
40875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40876 *) ac_try_echo=$ac_try;;
40877 esac
40878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40879 (eval "$ac_compile") 2>conftest.er1
40880 ac_status=$?
40881 grep -v '^ *+' conftest.er1 >conftest.err
40882 rm -f conftest.er1
40883 cat conftest.err >&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); } && {
40886 test -z "$ac_c_werror_flag" ||
40887 test ! -s conftest.err
40888 } && test -s conftest.$ac_objext; then
40889 ac_cv_func_which_gethostbyname_r=six
40890 else
40891 echo "$as_me: failed program was:" >&5
40892 sed 's/^/| /' conftest.$ac_ext >&5
40893
40894
40895 fi
40896
40897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40898
40899 fi
40900
40901 #
40902 # FIVE ARGUMENTS
40903 # (e.g. Solaris)
40904 #
40905
40906 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40907
40908 cat >conftest.$ac_ext <<_ACEOF
40909 /* confdefs.h. */
40910 _ACEOF
40911 cat confdefs.h >>conftest.$ac_ext
40912 cat >>conftest.$ac_ext <<_ACEOF
40913 /* end confdefs.h. */
40914 #include <netdb.h>
40915 int
40916 main ()
40917 {
40918
40919 char *name = "www.gnu.org";
40920 struct hostent ret;
40921 char buf[1024];
40922 int buflen = 1024;
40923 int my_h_errno;
40924 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40925
40926 ;
40927 return 0;
40928 }
40929 _ACEOF
40930 rm -f conftest.$ac_objext
40931 if { (ac_try="$ac_compile"
40932 case "(($ac_try" in
40933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40934 *) ac_try_echo=$ac_try;;
40935 esac
40936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40937 (eval "$ac_compile") 2>conftest.er1
40938 ac_status=$?
40939 grep -v '^ *+' conftest.er1 >conftest.err
40940 rm -f conftest.er1
40941 cat conftest.err >&5
40942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943 (exit $ac_status); } && {
40944 test -z "$ac_c_werror_flag" ||
40945 test ! -s conftest.err
40946 } && test -s conftest.$ac_objext; then
40947 ac_cv_func_which_gethostbyname_r=five
40948 else
40949 echo "$as_me: failed program was:" >&5
40950 sed 's/^/| /' conftest.$ac_ext >&5
40951
40952
40953 fi
40954
40955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40956
40957 fi
40958
40959 #
40960 # THREE ARGUMENTS
40961 # (e.g. AIX, HP-UX, Tru64)
40962 #
40963
40964 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40965
40966 cat >conftest.$ac_ext <<_ACEOF
40967 /* confdefs.h. */
40968 _ACEOF
40969 cat confdefs.h >>conftest.$ac_ext
40970 cat >>conftest.$ac_ext <<_ACEOF
40971 /* end confdefs.h. */
40972 #include <netdb.h>
40973 int
40974 main ()
40975 {
40976
40977 char *name = "www.gnu.org";
40978 struct hostent ret;
40979 struct hostent_data data;
40980 (void)gethostbyname_r(name, &ret, &data) /* ; */
40981
40982 ;
40983 return 0;
40984 }
40985 _ACEOF
40986 rm -f conftest.$ac_objext
40987 if { (ac_try="$ac_compile"
40988 case "(($ac_try" in
40989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40990 *) ac_try_echo=$ac_try;;
40991 esac
40992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40993 (eval "$ac_compile") 2>conftest.er1
40994 ac_status=$?
40995 grep -v '^ *+' conftest.er1 >conftest.err
40996 rm -f conftest.er1
40997 cat conftest.err >&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); } && {
41000 test -z "$ac_c_werror_flag" ||
41001 test ! -s conftest.err
41002 } && test -s conftest.$ac_objext; then
41003 ac_cv_func_which_gethostbyname_r=three
41004 else
41005 echo "$as_me: failed program was:" >&5
41006 sed 's/^/| /' conftest.$ac_ext >&5
41007
41008
41009 fi
41010
41011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41012
41013 fi
41014
41015 ################################################################
41016
41017
41018 fi
41019
41020 case "$ac_cv_func_which_gethostbyname_r" in
41021 three)
41022 { echo "$as_me:$LINENO: result: three" >&5
41023 echo "${ECHO_T}three" >&6; }
41024 cat >>confdefs.h <<\_ACEOF
41025 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41026 _ACEOF
41027
41028 ;;
41029
41030 five)
41031 { echo "$as_me:$LINENO: result: five" >&5
41032 echo "${ECHO_T}five" >&6; }
41033 cat >>confdefs.h <<\_ACEOF
41034 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41035 _ACEOF
41036
41037 ;;
41038
41039 six)
41040 { echo "$as_me:$LINENO: result: six" >&5
41041 echo "${ECHO_T}six" >&6; }
41042 cat >>confdefs.h <<\_ACEOF
41043 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41044 _ACEOF
41045
41046 ;;
41047
41048 no)
41049 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41050 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41051 ;;
41052
41053 unknown)
41054 { echo "$as_me:$LINENO: result: can't tell" >&5
41055 echo "${ECHO_T}can't tell" >&6; }
41056 ;;
41057
41058 *)
41059 { { echo "$as_me:$LINENO: error: internal error" >&5
41060 echo "$as_me: error: internal error" >&2;}
41061 { (exit 1); exit 1; }; }
41062 ;;
41063 esac
41064
41065 ac_ext=c
41066 ac_cpp='$CPP $CPPFLAGS'
41067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41070
41071
41072
41073 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41074 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41075 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41076 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41077 if test "${ac_cv_func_gethostbyname+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41079 else
41080 cat >conftest.$ac_ext <<_ACEOF
41081 /* confdefs.h. */
41082 _ACEOF
41083 cat confdefs.h >>conftest.$ac_ext
41084 cat >>conftest.$ac_ext <<_ACEOF
41085 /* end confdefs.h. */
41086 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41088 #define gethostbyname innocuous_gethostbyname
41089
41090 /* System header to define __stub macros and hopefully few prototypes,
41091 which can conflict with char gethostbyname (); below.
41092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41093 <limits.h> exists even on freestanding compilers. */
41094
41095 #ifdef __STDC__
41096 # include <limits.h>
41097 #else
41098 # include <assert.h>
41099 #endif
41100
41101 #undef gethostbyname
41102
41103 /* Override any GCC internal prototype to avoid an error.
41104 Use char because int might match the return type of a GCC
41105 builtin and then its argument prototype would still apply. */
41106 #ifdef __cplusplus
41107 extern "C"
41108 #endif
41109 char gethostbyname ();
41110 /* The GNU C library defines this for functions which it implements
41111 to always fail with ENOSYS. Some functions are actually named
41112 something starting with __ and the normal name is an alias. */
41113 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41114 choke me
41115 #endif
41116
41117 int
41118 main ()
41119 {
41120 return gethostbyname ();
41121 ;
41122 return 0;
41123 }
41124 _ACEOF
41125 rm -f conftest.$ac_objext conftest$ac_exeext
41126 if { (ac_try="$ac_link"
41127 case "(($ac_try" in
41128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41129 *) ac_try_echo=$ac_try;;
41130 esac
41131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41132 (eval "$ac_link") 2>conftest.er1
41133 ac_status=$?
41134 grep -v '^ *+' conftest.er1 >conftest.err
41135 rm -f conftest.er1
41136 cat conftest.err >&5
41137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41138 (exit $ac_status); } && {
41139 test -z "$ac_c_werror_flag" ||
41140 test ! -s conftest.err
41141 } && test -s conftest$ac_exeext &&
41142 $as_test_x conftest$ac_exeext; then
41143 ac_cv_func_gethostbyname=yes
41144 else
41145 echo "$as_me: failed program was:" >&5
41146 sed 's/^/| /' conftest.$ac_ext >&5
41147
41148 ac_cv_func_gethostbyname=no
41149 fi
41150
41151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41152 conftest$ac_exeext conftest.$ac_ext
41153 fi
41154 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41155 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41156 if test $ac_cv_func_gethostbyname = yes; then
41157 cat >>confdefs.h <<\_ACEOF
41158 #define HAVE_GETHOSTBYNAME 1
41159 _ACEOF
41160
41161 fi
41162
41163 fi
41164
41165 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41166 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41167 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41168 echo $ECHO_N "(cached) $ECHO_C" >&6
41169 else
41170
41171 ac_ext=cpp
41172 ac_cpp='$CXXCPP $CPPFLAGS'
41173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41176
41177
41178 cat >conftest.$ac_ext <<_ACEOF
41179 /* confdefs.h. */
41180 _ACEOF
41181 cat confdefs.h >>conftest.$ac_ext
41182 cat >>conftest.$ac_ext <<_ACEOF
41183 /* end confdefs.h. */
41184 #include <netdb.h>
41185 int
41186 main ()
41187 {
41188
41189 char *name;
41190 char *proto;
41191 struct servent *se, *res;
41192 char buffer[2048];
41193 int buflen = 2048;
41194 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41195
41196 ;
41197 return 0;
41198 }
41199 _ACEOF
41200 rm -f conftest.$ac_objext
41201 if { (ac_try="$ac_compile"
41202 case "(($ac_try" in
41203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41204 *) ac_try_echo=$ac_try;;
41205 esac
41206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41207 (eval "$ac_compile") 2>conftest.er1
41208 ac_status=$?
41209 grep -v '^ *+' conftest.er1 >conftest.err
41210 rm -f conftest.er1
41211 cat conftest.err >&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } && {
41214 test -z "$ac_cxx_werror_flag" ||
41215 test ! -s conftest.err
41216 } && test -s conftest.$ac_objext; then
41217 ac_cv_func_which_getservbyname_r=six
41218 else
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41221
41222
41223 cat >conftest.$ac_ext <<_ACEOF
41224 /* confdefs.h. */
41225 _ACEOF
41226 cat confdefs.h >>conftest.$ac_ext
41227 cat >>conftest.$ac_ext <<_ACEOF
41228 /* end confdefs.h. */
41229 #include <netdb.h>
41230 int
41231 main ()
41232 {
41233
41234 char *name;
41235 char *proto;
41236 struct servent *se;
41237 char buffer[2048];
41238 int buflen = 2048;
41239 (void) getservbyname_r(name, proto, se, buffer, buflen)
41240
41241 ;
41242 return 0;
41243 }
41244 _ACEOF
41245 rm -f conftest.$ac_objext
41246 if { (ac_try="$ac_compile"
41247 case "(($ac_try" in
41248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41249 *) ac_try_echo=$ac_try;;
41250 esac
41251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41252 (eval "$ac_compile") 2>conftest.er1
41253 ac_status=$?
41254 grep -v '^ *+' conftest.er1 >conftest.err
41255 rm -f conftest.er1
41256 cat conftest.err >&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); } && {
41259 test -z "$ac_cxx_werror_flag" ||
41260 test ! -s conftest.err
41261 } && test -s conftest.$ac_objext; then
41262 ac_cv_func_which_getservbyname_r=five
41263 else
41264 echo "$as_me: failed program was:" >&5
41265 sed 's/^/| /' conftest.$ac_ext >&5
41266
41267
41268 cat >conftest.$ac_ext <<_ACEOF
41269 /* confdefs.h. */
41270 _ACEOF
41271 cat confdefs.h >>conftest.$ac_ext
41272 cat >>conftest.$ac_ext <<_ACEOF
41273 /* end confdefs.h. */
41274 #include <netdb.h>
41275 int
41276 main ()
41277 {
41278
41279 char *name;
41280 char *proto;
41281 struct servent *se;
41282 struct servent_data data;
41283 (void) getservbyname_r(name, proto, se, &data);
41284
41285 ;
41286 return 0;
41287 }
41288 _ACEOF
41289 rm -f conftest.$ac_objext
41290 if { (ac_try="$ac_compile"
41291 case "(($ac_try" in
41292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41293 *) ac_try_echo=$ac_try;;
41294 esac
41295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41296 (eval "$ac_compile") 2>conftest.er1
41297 ac_status=$?
41298 grep -v '^ *+' conftest.er1 >conftest.err
41299 rm -f conftest.er1
41300 cat conftest.err >&5
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); } && {
41303 test -z "$ac_cxx_werror_flag" ||
41304 test ! -s conftest.err
41305 } && test -s conftest.$ac_objext; then
41306 ac_cv_func_which_getservbyname_r=four
41307 else
41308 echo "$as_me: failed program was:" >&5
41309 sed 's/^/| /' conftest.$ac_ext >&5
41310
41311 ac_cv_func_which_getservbyname_r=no
41312
41313 fi
41314
41315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41316
41317
41318 fi
41319
41320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41321
41322
41323 fi
41324
41325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41326 ac_ext=c
41327 ac_cpp='$CPP $CPPFLAGS'
41328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41331
41332
41333
41334 fi
41335 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41336 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41337
41338 if test $ac_cv_func_which_getservbyname_r = six; then
41339 cat >>confdefs.h <<\_ACEOF
41340 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41341 _ACEOF
41342
41343 elif test $ac_cv_func_which_getservbyname_r = five; then
41344 cat >>confdefs.h <<\_ACEOF
41345 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41346 _ACEOF
41347
41348 elif test $ac_cv_func_which_getservbyname_r = four; then
41349 cat >>confdefs.h <<\_ACEOF
41350 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41351 _ACEOF
41352
41353 fi
41354
41355
41356 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41357 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41358
41359 for ac_func in getservbyname
41360 do
41361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41364 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41365 echo $ECHO_N "(cached) $ECHO_C" >&6
41366 else
41367 cat >conftest.$ac_ext <<_ACEOF
41368 /* confdefs.h. */
41369 _ACEOF
41370 cat confdefs.h >>conftest.$ac_ext
41371 cat >>conftest.$ac_ext <<_ACEOF
41372 /* end confdefs.h. */
41373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41375 #define $ac_func innocuous_$ac_func
41376
41377 /* System header to define __stub macros and hopefully few prototypes,
41378 which can conflict with char $ac_func (); below.
41379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41380 <limits.h> exists even on freestanding compilers. */
41381
41382 #ifdef __STDC__
41383 # include <limits.h>
41384 #else
41385 # include <assert.h>
41386 #endif
41387
41388 #undef $ac_func
41389
41390 /* Override any GCC internal prototype to avoid an error.
41391 Use char because int might match the return type of a GCC
41392 builtin and then its argument prototype would still apply. */
41393 #ifdef __cplusplus
41394 extern "C"
41395 #endif
41396 char $ac_func ();
41397 /* The GNU C library defines this for functions which it implements
41398 to always fail with ENOSYS. Some functions are actually named
41399 something starting with __ and the normal name is an alias. */
41400 #if defined __stub_$ac_func || defined __stub___$ac_func
41401 choke me
41402 #endif
41403
41404 int
41405 main ()
41406 {
41407 return $ac_func ();
41408 ;
41409 return 0;
41410 }
41411 _ACEOF
41412 rm -f conftest.$ac_objext conftest$ac_exeext
41413 if { (ac_try="$ac_link"
41414 case "(($ac_try" in
41415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41416 *) ac_try_echo=$ac_try;;
41417 esac
41418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41419 (eval "$ac_link") 2>conftest.er1
41420 ac_status=$?
41421 grep -v '^ *+' conftest.er1 >conftest.err
41422 rm -f conftest.er1
41423 cat conftest.err >&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); } && {
41426 test -z "$ac_c_werror_flag" ||
41427 test ! -s conftest.err
41428 } && test -s conftest$ac_exeext &&
41429 $as_test_x conftest$ac_exeext; then
41430 eval "$as_ac_var=yes"
41431 else
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41434
41435 eval "$as_ac_var=no"
41436 fi
41437
41438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41439 conftest$ac_exeext conftest.$ac_ext
41440 fi
41441 ac_res=`eval echo '${'$as_ac_var'}'`
41442 { echo "$as_me:$LINENO: result: $ac_res" >&5
41443 echo "${ECHO_T}$ac_res" >&6; }
41444 if test `eval echo '${'$as_ac_var'}'` = yes; then
41445 cat >>confdefs.h <<_ACEOF
41446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41447 _ACEOF
41448 cat >>confdefs.h <<\_ACEOF
41449 #define HAVE_GETSERVBYNAME 1
41450 _ACEOF
41451
41452 fi
41453 done
41454
41455 fi
41456
41457 if test "$wxUSE_THREADS" = "yes"; then
41458 cat >>confdefs.h <<\_ACEOF
41459 #define wxUSE_THREADS 1
41460 _ACEOF
41461
41462
41463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41464 else
41465 if test "$wx_cv_func_strtok_r" = "yes"; then
41466 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41467 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41468 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41469 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41470 { echo "$as_me:$LINENO: result: yes" >&5
41471 echo "${ECHO_T}yes" >&6; }
41472 else
41473 { echo "$as_me:$LINENO: result: no" >&5
41474 echo "${ECHO_T}no" >&6; }
41475 fi
41476 fi
41477 fi
41478
41479 if test "$WXGTK2" = 1 ; then
41480 cat >>confdefs.h <<_ACEOF
41481 #define __WXGTK20__ $WXGTK2
41482 _ACEOF
41483
41484 WXGTK12=1
41485 fi
41486
41487 if test "$WXGTK12" = 1 ; then
41488 cat >>confdefs.h <<_ACEOF
41489 #define __WXGTK12__ $WXGTK12
41490 _ACEOF
41491
41492 fi
41493
41494 if test "$WXGTK127" = 1 ; then
41495 cat >>confdefs.h <<_ACEOF
41496 #define __WXGTK127__ $WXGTK127
41497 _ACEOF
41498
41499 fi
41500
41501 if test "$WXGPE" = 1 ; then
41502 cat >>confdefs.h <<_ACEOF
41503 #define __WXGPE__ $WXGPE
41504 _ACEOF
41505
41506 fi
41507
41508 DEBUG_CFLAGS=
41509 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41510 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41511 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41512 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41513 DEBUG_CFLAGS="-g"
41514 fi
41515
41516 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41517 wxUSE_DEBUG_INFO=yes
41518 if test "$GCC" = yes; then
41519 DEBUG_CFLAGS="-ggdb"
41520 fi
41521 fi
41522
41523 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41524 cat >>confdefs.h <<\_ACEOF
41525 #define WXDEBUG 1
41526 _ACEOF
41527
41528 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41529 else
41530 if test "$wxUSE_GTK" = 1 ; then
41531 if test "x$wxGTK_VERSION" = "x1" ; then
41532 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41533 fi
41534 fi
41535 fi
41536
41537 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41538 cat >>confdefs.h <<\_ACEOF
41539 #define wxUSE_MEMORY_TRACING 1
41540 _ACEOF
41541
41542 cat >>confdefs.h <<\_ACEOF
41543 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41544 _ACEOF
41545
41546 cat >>confdefs.h <<\_ACEOF
41547 #define wxUSE_DEBUG_NEW_ALWAYS 1
41548 _ACEOF
41549
41550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41551 fi
41552
41553 if test "$wxUSE_DMALLOC" = "yes" ; then
41554 DMALLOC_LIBS="-ldmallocthcxx"
41555 fi
41556
41557 PROFILE_FLAGS=
41558 if test "$wxUSE_PROFILE" = "yes" ; then
41559 PROFILE_FLAGS=" -pg"
41560 fi
41561
41562 if test "$GCC" = "yes" ; then
41563 if test "$wxUSE_NO_RTTI" = "yes" ; then
41564 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41565 fi
41566 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41567 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41568 fi
41569 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41570 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41571 fi
41572
41573 case "${host}" in
41574 powerpc*-*-aix* )
41575 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41576 ;;
41577 *-hppa* )
41578 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41579 ;;
41580 esac
41581 fi
41582
41583 OPTIMISE_CFLAGS=
41584 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41585 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41586 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41587 else
41588 if test "$wxUSE_OPTIMISE" = "no" ; then
41589 if test "$GCC" = yes ; then
41590 OPTIMISE_CFLAGS="-O0"
41591 fi
41592 else
41593 if test "$GCC" = yes ; then
41594 case "${host}" in
41595 *-pc-os2_emx | *-pc-os2-emx )
41596 OPTIMISE_CFLAGS="-O2"
41597 ;;
41598 *)
41599 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41600 ;;
41601 esac
41602 else
41603 OPTIMISE_CFLAGS="-O"
41604 fi
41605 fi
41606 fi
41607
41608
41609 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41610 cat >>confdefs.h <<\_ACEOF
41611 #define WXWIN_COMPATIBILITY_2_6 1
41612 _ACEOF
41613
41614
41615 WXWIN_COMPATIBILITY_2_8="yes"
41616 fi
41617
41618 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41619 cat >>confdefs.h <<\_ACEOF
41620 #define WXWIN_COMPATIBILITY_2_8 1
41621 _ACEOF
41622
41623 fi
41624
41625
41626 if test "$wxUSE_GUI" = "yes"; then
41627 cat >>confdefs.h <<\_ACEOF
41628 #define wxUSE_GUI 1
41629 _ACEOF
41630
41631
41632 fi
41633
41634
41635 if test "$wxUSE_UNIX" = "yes"; then
41636 cat >>confdefs.h <<\_ACEOF
41637 #define wxUSE_UNIX 1
41638 _ACEOF
41639
41640 fi
41641
41642
41643 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41644
41645 HAVE_DL_FUNCS=0
41646 HAVE_SHL_FUNCS=0
41647 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41648 if test "$USE_DOS" = 1; then
41649 HAVE_DL_FUNCS=0
41650 else
41651
41652 for ac_func in dlopen
41653 do
41654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41655 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41658 echo $ECHO_N "(cached) $ECHO_C" >&6
41659 else
41660 cat >conftest.$ac_ext <<_ACEOF
41661 /* confdefs.h. */
41662 _ACEOF
41663 cat confdefs.h >>conftest.$ac_ext
41664 cat >>conftest.$ac_ext <<_ACEOF
41665 /* end confdefs.h. */
41666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41668 #define $ac_func innocuous_$ac_func
41669
41670 /* System header to define __stub macros and hopefully few prototypes,
41671 which can conflict with char $ac_func (); below.
41672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41673 <limits.h> exists even on freestanding compilers. */
41674
41675 #ifdef __STDC__
41676 # include <limits.h>
41677 #else
41678 # include <assert.h>
41679 #endif
41680
41681 #undef $ac_func
41682
41683 /* Override any GCC internal prototype to avoid an error.
41684 Use char because int might match the return type of a GCC
41685 builtin and then its argument prototype would still apply. */
41686 #ifdef __cplusplus
41687 extern "C"
41688 #endif
41689 char $ac_func ();
41690 /* The GNU C library defines this for functions which it implements
41691 to always fail with ENOSYS. Some functions are actually named
41692 something starting with __ and the normal name is an alias. */
41693 #if defined __stub_$ac_func || defined __stub___$ac_func
41694 choke me
41695 #endif
41696
41697 int
41698 main ()
41699 {
41700 return $ac_func ();
41701 ;
41702 return 0;
41703 }
41704 _ACEOF
41705 rm -f conftest.$ac_objext conftest$ac_exeext
41706 if { (ac_try="$ac_link"
41707 case "(($ac_try" in
41708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41709 *) ac_try_echo=$ac_try;;
41710 esac
41711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41712 (eval "$ac_link") 2>conftest.er1
41713 ac_status=$?
41714 grep -v '^ *+' conftest.er1 >conftest.err
41715 rm -f conftest.er1
41716 cat conftest.err >&5
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); } && {
41719 test -z "$ac_c_werror_flag" ||
41720 test ! -s conftest.err
41721 } && test -s conftest$ac_exeext &&
41722 $as_test_x conftest$ac_exeext; then
41723 eval "$as_ac_var=yes"
41724 else
41725 echo "$as_me: failed program was:" >&5
41726 sed 's/^/| /' conftest.$ac_ext >&5
41727
41728 eval "$as_ac_var=no"
41729 fi
41730
41731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41732 conftest$ac_exeext conftest.$ac_ext
41733 fi
41734 ac_res=`eval echo '${'$as_ac_var'}'`
41735 { echo "$as_me:$LINENO: result: $ac_res" >&5
41736 echo "${ECHO_T}$ac_res" >&6; }
41737 if test `eval echo '${'$as_ac_var'}'` = yes; then
41738 cat >>confdefs.h <<_ACEOF
41739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41740 _ACEOF
41741
41742 cat >>confdefs.h <<\_ACEOF
41743 #define HAVE_DLOPEN 1
41744 _ACEOF
41745
41746 HAVE_DL_FUNCS=1
41747
41748 else
41749
41750 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41751 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41752 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41754 else
41755 ac_check_lib_save_LIBS=$LIBS
41756 LIBS="-ldl $LIBS"
41757 cat >conftest.$ac_ext <<_ACEOF
41758 /* confdefs.h. */
41759 _ACEOF
41760 cat confdefs.h >>conftest.$ac_ext
41761 cat >>conftest.$ac_ext <<_ACEOF
41762 /* end confdefs.h. */
41763
41764 /* Override any GCC internal prototype to avoid an error.
41765 Use char because int might match the return type of a GCC
41766 builtin and then its argument prototype would still apply. */
41767 #ifdef __cplusplus
41768 extern "C"
41769 #endif
41770 char dlopen ();
41771 int
41772 main ()
41773 {
41774 return dlopen ();
41775 ;
41776 return 0;
41777 }
41778 _ACEOF
41779 rm -f conftest.$ac_objext conftest$ac_exeext
41780 if { (ac_try="$ac_link"
41781 case "(($ac_try" in
41782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41783 *) ac_try_echo=$ac_try;;
41784 esac
41785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41786 (eval "$ac_link") 2>conftest.er1
41787 ac_status=$?
41788 grep -v '^ *+' conftest.er1 >conftest.err
41789 rm -f conftest.er1
41790 cat conftest.err >&5
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); } && {
41793 test -z "$ac_c_werror_flag" ||
41794 test ! -s conftest.err
41795 } && test -s conftest$ac_exeext &&
41796 $as_test_x conftest$ac_exeext; then
41797 ac_cv_lib_dl_dlopen=yes
41798 else
41799 echo "$as_me: failed program was:" >&5
41800 sed 's/^/| /' conftest.$ac_ext >&5
41801
41802 ac_cv_lib_dl_dlopen=no
41803 fi
41804
41805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41806 conftest$ac_exeext conftest.$ac_ext
41807 LIBS=$ac_check_lib_save_LIBS
41808 fi
41809 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41810 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41811 if test $ac_cv_lib_dl_dlopen = yes; then
41812
41813 cat >>confdefs.h <<\_ACEOF
41814 #define HAVE_DLOPEN 1
41815 _ACEOF
41816
41817 HAVE_DL_FUNCS=1
41818 DL_LINK=" -ldl$DL_LINK"
41819
41820 else
41821
41822
41823 for ac_func in shl_load
41824 do
41825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41829 echo $ECHO_N "(cached) $ECHO_C" >&6
41830 else
41831 cat >conftest.$ac_ext <<_ACEOF
41832 /* confdefs.h. */
41833 _ACEOF
41834 cat confdefs.h >>conftest.$ac_ext
41835 cat >>conftest.$ac_ext <<_ACEOF
41836 /* end confdefs.h. */
41837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41839 #define $ac_func innocuous_$ac_func
41840
41841 /* System header to define __stub macros and hopefully few prototypes,
41842 which can conflict with char $ac_func (); below.
41843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41844 <limits.h> exists even on freestanding compilers. */
41845
41846 #ifdef __STDC__
41847 # include <limits.h>
41848 #else
41849 # include <assert.h>
41850 #endif
41851
41852 #undef $ac_func
41853
41854 /* Override any GCC internal prototype to avoid an error.
41855 Use char because int might match the return type of a GCC
41856 builtin and then its argument prototype would still apply. */
41857 #ifdef __cplusplus
41858 extern "C"
41859 #endif
41860 char $ac_func ();
41861 /* The GNU C library defines this for functions which it implements
41862 to always fail with ENOSYS. Some functions are actually named
41863 something starting with __ and the normal name is an alias. */
41864 #if defined __stub_$ac_func || defined __stub___$ac_func
41865 choke me
41866 #endif
41867
41868 int
41869 main ()
41870 {
41871 return $ac_func ();
41872 ;
41873 return 0;
41874 }
41875 _ACEOF
41876 rm -f conftest.$ac_objext conftest$ac_exeext
41877 if { (ac_try="$ac_link"
41878 case "(($ac_try" in
41879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41880 *) ac_try_echo=$ac_try;;
41881 esac
41882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41883 (eval "$ac_link") 2>conftest.er1
41884 ac_status=$?
41885 grep -v '^ *+' conftest.er1 >conftest.err
41886 rm -f conftest.er1
41887 cat conftest.err >&5
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); } && {
41890 test -z "$ac_c_werror_flag" ||
41891 test ! -s conftest.err
41892 } && test -s conftest$ac_exeext &&
41893 $as_test_x conftest$ac_exeext; then
41894 eval "$as_ac_var=yes"
41895 else
41896 echo "$as_me: failed program was:" >&5
41897 sed 's/^/| /' conftest.$ac_ext >&5
41898
41899 eval "$as_ac_var=no"
41900 fi
41901
41902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41903 conftest$ac_exeext conftest.$ac_ext
41904 fi
41905 ac_res=`eval echo '${'$as_ac_var'}'`
41906 { echo "$as_me:$LINENO: result: $ac_res" >&5
41907 echo "${ECHO_T}$ac_res" >&6; }
41908 if test `eval echo '${'$as_ac_var'}'` = yes; then
41909 cat >>confdefs.h <<_ACEOF
41910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41911 _ACEOF
41912
41913 cat >>confdefs.h <<\_ACEOF
41914 #define HAVE_SHL_LOAD 1
41915 _ACEOF
41916
41917 HAVE_SHL_FUNCS=1
41918
41919 else
41920
41921 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41922 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41923 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 else
41926 ac_check_lib_save_LIBS=$LIBS
41927 LIBS="-lshl_load $LIBS"
41928 cat >conftest.$ac_ext <<_ACEOF
41929 /* confdefs.h. */
41930 _ACEOF
41931 cat confdefs.h >>conftest.$ac_ext
41932 cat >>conftest.$ac_ext <<_ACEOF
41933 /* end confdefs.h. */
41934
41935 /* Override any GCC internal prototype to avoid an error.
41936 Use char because int might match the return type of a GCC
41937 builtin and then its argument prototype would still apply. */
41938 #ifdef __cplusplus
41939 extern "C"
41940 #endif
41941 char dld ();
41942 int
41943 main ()
41944 {
41945 return dld ();
41946 ;
41947 return 0;
41948 }
41949 _ACEOF
41950 rm -f conftest.$ac_objext conftest$ac_exeext
41951 if { (ac_try="$ac_link"
41952 case "(($ac_try" in
41953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41954 *) ac_try_echo=$ac_try;;
41955 esac
41956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41957 (eval "$ac_link") 2>conftest.er1
41958 ac_status=$?
41959 grep -v '^ *+' conftest.er1 >conftest.err
41960 rm -f conftest.er1
41961 cat conftest.err >&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); } && {
41964 test -z "$ac_c_werror_flag" ||
41965 test ! -s conftest.err
41966 } && test -s conftest$ac_exeext &&
41967 $as_test_x conftest$ac_exeext; then
41968 ac_cv_lib_shl_load_dld=yes
41969 else
41970 echo "$as_me: failed program was:" >&5
41971 sed 's/^/| /' conftest.$ac_ext >&5
41972
41973 ac_cv_lib_shl_load_dld=no
41974 fi
41975
41976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41977 conftest$ac_exeext conftest.$ac_ext
41978 LIBS=$ac_check_lib_save_LIBS
41979 fi
41980 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41981 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41982 if test $ac_cv_lib_shl_load_dld = yes; then
41983
41984 HAVE_SHL_FUNCS=1
41985 DL_LINK=" -ldld$DL_LINK"
41986
41987 fi
41988
41989
41990 fi
41991 done
41992
41993
41994 fi
41995
41996
41997 fi
41998 done
41999
42000
42001 if test "$HAVE_DL_FUNCS" = 1; then
42002
42003 for ac_func in dlerror
42004 do
42005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42009 echo $ECHO_N "(cached) $ECHO_C" >&6
42010 else
42011 cat >conftest.$ac_ext <<_ACEOF
42012 /* confdefs.h. */
42013 _ACEOF
42014 cat confdefs.h >>conftest.$ac_ext
42015 cat >>conftest.$ac_ext <<_ACEOF
42016 /* end confdefs.h. */
42017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42019 #define $ac_func innocuous_$ac_func
42020
42021 /* System header to define __stub macros and hopefully few prototypes,
42022 which can conflict with char $ac_func (); below.
42023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42024 <limits.h> exists even on freestanding compilers. */
42025
42026 #ifdef __STDC__
42027 # include <limits.h>
42028 #else
42029 # include <assert.h>
42030 #endif
42031
42032 #undef $ac_func
42033
42034 /* Override any GCC internal prototype to avoid an error.
42035 Use char because int might match the return type of a GCC
42036 builtin and then its argument prototype would still apply. */
42037 #ifdef __cplusplus
42038 extern "C"
42039 #endif
42040 char $ac_func ();
42041 /* The GNU C library defines this for functions which it implements
42042 to always fail with ENOSYS. Some functions are actually named
42043 something starting with __ and the normal name is an alias. */
42044 #if defined __stub_$ac_func || defined __stub___$ac_func
42045 choke me
42046 #endif
42047
42048 int
42049 main ()
42050 {
42051 return $ac_func ();
42052 ;
42053 return 0;
42054 }
42055 _ACEOF
42056 rm -f conftest.$ac_objext conftest$ac_exeext
42057 if { (ac_try="$ac_link"
42058 case "(($ac_try" in
42059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42060 *) ac_try_echo=$ac_try;;
42061 esac
42062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42063 (eval "$ac_link") 2>conftest.er1
42064 ac_status=$?
42065 grep -v '^ *+' conftest.er1 >conftest.err
42066 rm -f conftest.er1
42067 cat conftest.err >&5
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); } && {
42070 test -z "$ac_c_werror_flag" ||
42071 test ! -s conftest.err
42072 } && test -s conftest$ac_exeext &&
42073 $as_test_x conftest$ac_exeext; then
42074 eval "$as_ac_var=yes"
42075 else
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.$ac_ext >&5
42078
42079 eval "$as_ac_var=no"
42080 fi
42081
42082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42083 conftest$ac_exeext conftest.$ac_ext
42084 fi
42085 ac_res=`eval echo '${'$as_ac_var'}'`
42086 { echo "$as_me:$LINENO: result: $ac_res" >&5
42087 echo "${ECHO_T}$ac_res" >&6; }
42088 if test `eval echo '${'$as_ac_var'}'` = yes; then
42089 cat >>confdefs.h <<_ACEOF
42090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42091 _ACEOF
42092 cat >>confdefs.h <<\_ACEOF
42093 #define HAVE_DLERROR 1
42094 _ACEOF
42095
42096 else
42097
42098 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42099 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42100 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42101 echo $ECHO_N "(cached) $ECHO_C" >&6
42102 else
42103 ac_check_lib_save_LIBS=$LIBS
42104 LIBS="-ldl $LIBS"
42105 cat >conftest.$ac_ext <<_ACEOF
42106 /* confdefs.h. */
42107 _ACEOF
42108 cat confdefs.h >>conftest.$ac_ext
42109 cat >>conftest.$ac_ext <<_ACEOF
42110 /* end confdefs.h. */
42111
42112 /* Override any GCC internal prototype to avoid an error.
42113 Use char because int might match the return type of a GCC
42114 builtin and then its argument prototype would still apply. */
42115 #ifdef __cplusplus
42116 extern "C"
42117 #endif
42118 char dlerror ();
42119 int
42120 main ()
42121 {
42122 return dlerror ();
42123 ;
42124 return 0;
42125 }
42126 _ACEOF
42127 rm -f conftest.$ac_objext conftest$ac_exeext
42128 if { (ac_try="$ac_link"
42129 case "(($ac_try" in
42130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42131 *) ac_try_echo=$ac_try;;
42132 esac
42133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42134 (eval "$ac_link") 2>conftest.er1
42135 ac_status=$?
42136 grep -v '^ *+' conftest.er1 >conftest.err
42137 rm -f conftest.er1
42138 cat conftest.err >&5
42139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42140 (exit $ac_status); } && {
42141 test -z "$ac_c_werror_flag" ||
42142 test ! -s conftest.err
42143 } && test -s conftest$ac_exeext &&
42144 $as_test_x conftest$ac_exeext; then
42145 ac_cv_lib_dl_dlerror=yes
42146 else
42147 echo "$as_me: failed program was:" >&5
42148 sed 's/^/| /' conftest.$ac_ext >&5
42149
42150 ac_cv_lib_dl_dlerror=no
42151 fi
42152
42153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42154 conftest$ac_exeext conftest.$ac_ext
42155 LIBS=$ac_check_lib_save_LIBS
42156 fi
42157 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42158 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42159 if test $ac_cv_lib_dl_dlerror = yes; then
42160 cat >>confdefs.h <<\_ACEOF
42161 #define HAVE_DLERROR 1
42162 _ACEOF
42163
42164 fi
42165
42166
42167
42168 fi
42169 done
42170
42171 fi
42172 fi
42173
42174 if test "$USE_DARWIN" = 1; then
42175 HAVE_DL_FUNCS=1
42176 fi
42177
42178 if test "$HAVE_DL_FUNCS" = 0; then
42179 if test "$HAVE_SHL_FUNCS" = 0; then
42180 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42181 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42182 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42183 wxUSE_DYNAMIC_LOADER=no
42184 wxUSE_DYNLIB_CLASS=no
42185 else
42186 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42187 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42188 fi
42189 fi
42190 fi
42191 fi
42192 fi
42193
42194 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42195 cat >>confdefs.h <<\_ACEOF
42196 #define wxUSE_DYNAMIC_LOADER 1
42197 _ACEOF
42198
42199 fi
42200 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42201 cat >>confdefs.h <<\_ACEOF
42202 #define wxUSE_DYNLIB_CLASS 1
42203 _ACEOF
42204
42205 fi
42206
42207
42208
42209 if test "$wxUSE_PLUGINS" = "yes" ; then
42210 if test "$wxUSE_SHARED" = "no" ; then
42211 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42212 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42213 wxUSE_PLUGINS=no
42214 fi
42215 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42216 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42217 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42218 wxUSE_PLUGINS=no
42219 fi
42220 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42221 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42222 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42223 wxUSE_PLUGINS=no
42224 fi
42225 if test "$wxUSE_PLUGINS" = "yes" ; then
42226 cat >>confdefs.h <<\_ACEOF
42227 #define wxUSE_PLUGINS 1
42228 _ACEOF
42229
42230 fi
42231 fi
42232
42233
42234 if test "$wxUSE_STL" = "yes"; then
42235 cat >>confdefs.h <<\_ACEOF
42236 #define wxUSE_STL 1
42237 _ACEOF
42238
42239 fi
42240
42241 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define wxUSE_EXTENDED_RTTI 1
42244 _ACEOF
42245
42246 fi
42247
42248 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42249 cat >>confdefs.h <<\_ACEOF
42250 #define wxUSE_APPLE_IEEE 1
42251 _ACEOF
42252
42253 fi
42254
42255 if test "$wxUSE_TIMER" = "yes"; then
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_TIMER 1
42258 _ACEOF
42259
42260 fi
42261
42262 if test "$USE_UNIX" = 1 ; then
42263 if test "$wxUSE_MGL" != 1; then
42264 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42265 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42266 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42268 else
42269
42270 cat >conftest.$ac_ext <<_ACEOF
42271 /* confdefs.h. */
42272 _ACEOF
42273 cat confdefs.h >>conftest.$ac_ext
42274 cat >>conftest.$ac_ext <<_ACEOF
42275 /* end confdefs.h. */
42276
42277 #include <sys/ioctl.h>
42278 #include <sys/soundcard.h>
42279
42280 int
42281 main ()
42282 {
42283
42284 ioctl(0, SNDCTL_DSP_SPEED, 0);
42285
42286 ;
42287 return 0;
42288 }
42289 _ACEOF
42290 rm -f conftest.$ac_objext conftest$ac_exeext
42291 if { (ac_try="$ac_link"
42292 case "(($ac_try" in
42293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42294 *) ac_try_echo=$ac_try;;
42295 esac
42296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42297 (eval "$ac_link") 2>conftest.er1
42298 ac_status=$?
42299 grep -v '^ *+' conftest.er1 >conftest.err
42300 rm -f conftest.er1
42301 cat conftest.err >&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } && {
42304 test -z "$ac_c_werror_flag" ||
42305 test ! -s conftest.err
42306 } && test -s conftest$ac_exeext &&
42307 $as_test_x conftest$ac_exeext; then
42308 ac_cv_header_sys_soundcard=yes
42309 else
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.$ac_ext >&5
42312
42313
42314 saveLibs="$LIBS"
42315 LIBS="$saveLibs -lossaudio"
42316 cat >conftest.$ac_ext <<_ACEOF
42317 /* confdefs.h. */
42318 _ACEOF
42319 cat confdefs.h >>conftest.$ac_ext
42320 cat >>conftest.$ac_ext <<_ACEOF
42321 /* end confdefs.h. */
42322
42323 #include <sys/ioctl.h>
42324 #include <sys/soundcard.h>
42325
42326 int
42327 main ()
42328 {
42329
42330 ioctl(0, SNDCTL_DSP_SPEED, 0);
42331
42332 ;
42333 return 0;
42334 }
42335 _ACEOF
42336 rm -f conftest.$ac_objext conftest$ac_exeext
42337 if { (ac_try="$ac_link"
42338 case "(($ac_try" in
42339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42340 *) ac_try_echo=$ac_try;;
42341 esac
42342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42343 (eval "$ac_link") 2>conftest.er1
42344 ac_status=$?
42345 grep -v '^ *+' conftest.er1 >conftest.err
42346 rm -f conftest.er1
42347 cat conftest.err >&5
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); } && {
42350 test -z "$ac_c_werror_flag" ||
42351 test ! -s conftest.err
42352 } && test -s conftest$ac_exeext &&
42353 $as_test_x conftest$ac_exeext; then
42354 ac_cv_header_sys_soundcard=yes
42355 else
42356 echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.$ac_ext >&5
42358
42359
42360 LIBS="$saveLibs"
42361 ac_cv_header_sys_soundcard=no
42362
42363
42364 fi
42365
42366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42367 conftest$ac_exeext conftest.$ac_ext
42368
42369
42370 fi
42371
42372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42373 conftest$ac_exeext conftest.$ac_ext
42374
42375 fi
42376 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42377 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42378 fi
42379
42380 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42381 cat >>confdefs.h <<\_ACEOF
42382 #define HAVE_SYS_SOUNDCARD_H 1
42383 _ACEOF
42384
42385 fi
42386 fi
42387
42388 WITH_PLUGIN_SDL=0
42389 if test "$wxUSE_SOUND" = "yes"; then
42390 if test "$USE_UNIX" = 1 ; then
42391 if test "$wxUSE_LIBSDL" != "no"; then
42392
42393 # Check whether --with-sdl-prefix was given.
42394 if test "${with_sdl_prefix+set}" = set; then
42395 withval=$with_sdl_prefix; sdl_prefix="$withval"
42396 else
42397 sdl_prefix=""
42398 fi
42399
42400
42401 # Check whether --with-sdl-exec-prefix was given.
42402 if test "${with_sdl_exec_prefix+set}" = set; then
42403 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42404 else
42405 sdl_exec_prefix=""
42406 fi
42407
42408 # Check whether --enable-sdltest was given.
42409 if test "${enable_sdltest+set}" = set; then
42410 enableval=$enable_sdltest;
42411 else
42412 enable_sdltest=yes
42413 fi
42414
42415
42416 if test x$sdl_exec_prefix != x ; then
42417 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42418 if test x${SDL_CONFIG+set} != xset ; then
42419 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42420 fi
42421 fi
42422 if test x$sdl_prefix != x ; then
42423 sdl_args="$sdl_args --prefix=$sdl_prefix"
42424 if test x${SDL_CONFIG+set} != xset ; then
42425 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42426 fi
42427 fi
42428
42429 if test "x$prefix" != xNONE; then
42430 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42431 fi
42432 # Extract the first word of "sdl-config", so it can be a program name with args.
42433 set dummy sdl-config; ac_word=$2
42434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42436 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42437 echo $ECHO_N "(cached) $ECHO_C" >&6
42438 else
42439 case $SDL_CONFIG in
42440 [\\/]* | ?:[\\/]*)
42441 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42442 ;;
42443 *)
42444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42445 for as_dir in $PATH
42446 do
42447 IFS=$as_save_IFS
42448 test -z "$as_dir" && as_dir=.
42449 for ac_exec_ext in '' $ac_executable_extensions; do
42450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42451 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42453 break 2
42454 fi
42455 done
42456 done
42457 IFS=$as_save_IFS
42458
42459 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42460 ;;
42461 esac
42462 fi
42463 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42464 if test -n "$SDL_CONFIG"; then
42465 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42466 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42467 else
42468 { echo "$as_me:$LINENO: result: no" >&5
42469 echo "${ECHO_T}no" >&6; }
42470 fi
42471
42472
42473 min_sdl_version=1.2.0
42474 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42475 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42476 no_sdl=""
42477 if test "$SDL_CONFIG" = "no" ; then
42478 no_sdl=yes
42479 else
42480 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42481 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42482
42483 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42485 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42487 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42489 if test "x$enable_sdltest" = "xyes" ; then
42490 ac_save_CFLAGS="$CFLAGS"
42491 ac_save_CXXFLAGS="$CXXFLAGS"
42492 ac_save_LIBS="$LIBS"
42493 CFLAGS="$CFLAGS $SDL_CFLAGS"
42494 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42495 LIBS="$LIBS $SDL_LIBS"
42496 rm -f conf.sdltest
42497 if test "$cross_compiling" = yes; then
42498 echo $ac_n "cross compiling; assumed OK... $ac_c"
42499 else
42500 cat >conftest.$ac_ext <<_ACEOF
42501 /* confdefs.h. */
42502 _ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42506
42507 #include <stdio.h>
42508 #include <stdlib.h>
42509 #include <string.h>
42510 #include "SDL.h"
42511
42512 char*
42513 my_strdup (char *str)
42514 {
42515 char *new_str;
42516
42517 if (str)
42518 {
42519 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42520 strcpy (new_str, str);
42521 }
42522 else
42523 new_str = NULL;
42524
42525 return new_str;
42526 }
42527
42528 int main (int argc, char *argv[])
42529 {
42530 int major, minor, micro;
42531 char *tmp_version;
42532
42533 /* This hangs on some systems (?)
42534 system ("touch conf.sdltest");
42535 */
42536 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42537
42538 /* HP/UX 9 (%@#!) writes to sscanf strings */
42539 tmp_version = my_strdup("$min_sdl_version");
42540 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42541 printf("%s, bad version string\n", "$min_sdl_version");
42542 exit(1);
42543 }
42544
42545 if (($sdl_major_version > major) ||
42546 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42547 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42548 {
42549 return 0;
42550 }
42551 else
42552 {
42553 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42554 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42555 printf("*** best to upgrade to the required version.\n");
42556 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42557 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42558 printf("*** config.cache before re-running configure\n");
42559 return 1;
42560 }
42561 }
42562
42563
42564 _ACEOF
42565 rm -f conftest$ac_exeext
42566 if { (ac_try="$ac_link"
42567 case "(($ac_try" in
42568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42569 *) ac_try_echo=$ac_try;;
42570 esac
42571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42572 (eval "$ac_link") 2>&5
42573 ac_status=$?
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42576 { (case "(($ac_try" in
42577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42578 *) ac_try_echo=$ac_try;;
42579 esac
42580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42581 (eval "$ac_try") 2>&5
42582 ac_status=$?
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); }; }; then
42585 :
42586 else
42587 echo "$as_me: program exited with status $ac_status" >&5
42588 echo "$as_me: failed program was:" >&5
42589 sed 's/^/| /' conftest.$ac_ext >&5
42590
42591 ( exit $ac_status )
42592 no_sdl=yes
42593 fi
42594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42595 fi
42596
42597
42598 CFLAGS="$ac_save_CFLAGS"
42599 CXXFLAGS="$ac_save_CXXFLAGS"
42600 LIBS="$ac_save_LIBS"
42601 fi
42602 fi
42603 if test "x$no_sdl" = x ; then
42604 { echo "$as_me:$LINENO: result: yes" >&5
42605 echo "${ECHO_T}yes" >&6; }
42606
42607 EXTRALIBS_SDL="$SDL_LIBS"
42608 CFLAGS="$SDL_CFLAGS $CFLAGS"
42609 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_LIBSDL 1
42612 _ACEOF
42613
42614
42615 else
42616 { echo "$as_me:$LINENO: result: no" >&5
42617 echo "${ECHO_T}no" >&6; }
42618 if test "$SDL_CONFIG" = "no" ; then
42619 echo "*** The sdl-config script installed by SDL could not be found"
42620 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42621 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42622 echo "*** full path to sdl-config."
42623 else
42624 if test -f conf.sdltest ; then
42625 :
42626 else
42627 echo "*** Could not run SDL test program, checking why..."
42628 CFLAGS="$CFLAGS $SDL_CFLAGS"
42629 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42630 LIBS="$LIBS $SDL_LIBS"
42631 cat >conftest.$ac_ext <<_ACEOF
42632 /* confdefs.h. */
42633 _ACEOF
42634 cat confdefs.h >>conftest.$ac_ext
42635 cat >>conftest.$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42637
42638 #include <stdio.h>
42639 #include "SDL.h"
42640
42641 int main(int argc, char *argv[])
42642 { return 0; }
42643 #undef main
42644 #define main K_and_R_C_main
42645
42646 int
42647 main ()
42648 {
42649 return 0;
42650 ;
42651 return 0;
42652 }
42653 _ACEOF
42654 rm -f conftest.$ac_objext conftest$ac_exeext
42655 if { (ac_try="$ac_link"
42656 case "(($ac_try" in
42657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42658 *) ac_try_echo=$ac_try;;
42659 esac
42660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42661 (eval "$ac_link") 2>conftest.er1
42662 ac_status=$?
42663 grep -v '^ *+' conftest.er1 >conftest.err
42664 rm -f conftest.er1
42665 cat conftest.err >&5
42666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42667 (exit $ac_status); } && {
42668 test -z "$ac_c_werror_flag" ||
42669 test ! -s conftest.err
42670 } && test -s conftest$ac_exeext &&
42671 $as_test_x conftest$ac_exeext; then
42672 echo "*** The test program compiled, but did not run. This usually means"
42673 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42674 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42675 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42676 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42677 echo "*** is required on your system"
42678 echo "***"
42679 echo "*** If you have an old version installed, it is best to remove it, although"
42680 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42681 else
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.$ac_ext >&5
42684
42685 echo "*** The test program failed to compile or link. See the file config.log for the"
42686 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42687 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42688 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42689 fi
42690
42691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42692 conftest$ac_exeext conftest.$ac_ext
42693 CFLAGS="$ac_save_CFLAGS"
42694 CXXFLAGS="$ac_save_CXXFLAGS"
42695 LIBS="$ac_save_LIBS"
42696 fi
42697 fi
42698 SDL_CFLAGS=""
42699 SDL_LIBS=""
42700 wxUSE_LIBSDL="no"
42701 fi
42702
42703
42704 rm -f conf.sdltest
42705
42706 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42707 WITH_PLUGIN_SDL=1
42708 fi
42709 fi
42710 else
42711 if test "$wxUSE_MGL" = 1; then
42712 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42713 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42714 wxUSE_SOUND="no"
42715 fi
42716 fi
42717 fi
42718
42719 if test "$wxUSE_SOUND" = "yes"; then
42720 cat >>confdefs.h <<\_ACEOF
42721 #define wxUSE_SOUND 1
42722 _ACEOF
42723
42724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42725 fi
42726
42727 if test "$WXGTK2" = 1; then
42728
42729
42730 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42731 if test -n "$ac_tool_prefix"; then
42732 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42733 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42736 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42737 echo $ECHO_N "(cached) $ECHO_C" >&6
42738 else
42739 case $PKG_CONFIG in
42740 [\\/]* | ?:[\\/]*)
42741 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42742 ;;
42743 *)
42744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42745 for as_dir in $PATH
42746 do
42747 IFS=$as_save_IFS
42748 test -z "$as_dir" && as_dir=.
42749 for ac_exec_ext in '' $ac_executable_extensions; do
42750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42751 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42753 break 2
42754 fi
42755 done
42756 done
42757 IFS=$as_save_IFS
42758
42759 ;;
42760 esac
42761 fi
42762 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42763 if test -n "$PKG_CONFIG"; then
42764 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42765 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42766 else
42767 { echo "$as_me:$LINENO: result: no" >&5
42768 echo "${ECHO_T}no" >&6; }
42769 fi
42770
42771
42772 fi
42773 if test -z "$ac_cv_path_PKG_CONFIG"; then
42774 ac_pt_PKG_CONFIG=$PKG_CONFIG
42775 # Extract the first word of "pkg-config", so it can be a program name with args.
42776 set dummy pkg-config; ac_word=$2
42777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42779 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42780 echo $ECHO_N "(cached) $ECHO_C" >&6
42781 else
42782 case $ac_pt_PKG_CONFIG in
42783 [\\/]* | ?:[\\/]*)
42784 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42785 ;;
42786 *)
42787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42788 for as_dir in $PATH
42789 do
42790 IFS=$as_save_IFS
42791 test -z "$as_dir" && as_dir=.
42792 for ac_exec_ext in '' $ac_executable_extensions; do
42793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42794 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42796 break 2
42797 fi
42798 done
42799 done
42800 IFS=$as_save_IFS
42801
42802 ;;
42803 esac
42804 fi
42805 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42806 if test -n "$ac_pt_PKG_CONFIG"; then
42807 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42808 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42809 else
42810 { echo "$as_me:$LINENO: result: no" >&5
42811 echo "${ECHO_T}no" >&6; }
42812 fi
42813
42814 if test "x$ac_pt_PKG_CONFIG" = x; then
42815 PKG_CONFIG=""
42816 else
42817 case $cross_compiling:$ac_tool_warned in
42818 yes:)
42819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42820 whose name does not start with the host triplet. If you think this
42821 configuration is useful to you, please write to autoconf@gnu.org." >&5
42822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42823 whose name does not start with the host triplet. If you think this
42824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42825 ac_tool_warned=yes ;;
42826 esac
42827 PKG_CONFIG=$ac_pt_PKG_CONFIG
42828 fi
42829 else
42830 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42831 fi
42832
42833 fi
42834 if test -n "$PKG_CONFIG"; then
42835 _pkg_min_version=0.9.0
42836 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42837 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42838 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42839 { echo "$as_me:$LINENO: result: yes" >&5
42840 echo "${ECHO_T}yes" >&6; }
42841 else
42842 { echo "$as_me:$LINENO: result: no" >&5
42843 echo "${ECHO_T}no" >&6; }
42844 PKG_CONFIG=""
42845 fi
42846
42847 fi
42848
42849 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42850
42851 if test "$wxUSE_GTKPRINT" = "yes" ; then
42852
42853
42854 pkg_failed=no
42855 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42856 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42857
42858 if test -n "$PKG_CONFIG"; then
42859 if test -n "$GTKPRINT_CFLAGS"; then
42860 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42861 else
42862 if test -n "$PKG_CONFIG" && \
42863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42864 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42865 ac_status=$?
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); }; then
42868 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42869 else
42870 pkg_failed=yes
42871 fi
42872 fi
42873 else
42874 pkg_failed=untried
42875 fi
42876 if test -n "$PKG_CONFIG"; then
42877 if test -n "$GTKPRINT_LIBS"; then
42878 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42879 else
42880 if test -n "$PKG_CONFIG" && \
42881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42882 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42883 ac_status=$?
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); }; then
42886 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42887 else
42888 pkg_failed=yes
42889 fi
42890 fi
42891 else
42892 pkg_failed=untried
42893 fi
42894
42895
42896
42897 if test $pkg_failed = yes; then
42898
42899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42900 _pkg_short_errors_supported=yes
42901 else
42902 _pkg_short_errors_supported=no
42903 fi
42904 if test $_pkg_short_errors_supported = yes; then
42905 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42906 else
42907 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42908 fi
42909 # Put the nasty error message in config.log where it belongs
42910 echo "$GTKPRINT_PKG_ERRORS" >&5
42911
42912
42913 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42914 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42915 wxUSE_GTKPRINT="no"
42916
42917
42918 elif test $pkg_failed = untried; then
42919
42920 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42921 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42922 wxUSE_GTKPRINT="no"
42923
42924
42925 else
42926 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42927 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42928 { echo "$as_me:$LINENO: result: yes" >&5
42929 echo "${ECHO_T}yes" >&6; }
42930
42931 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42932 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42933 cat >>confdefs.h <<\_ACEOF
42934 #define wxUSE_GTKPRINT 1
42935 _ACEOF
42936
42937
42938 fi
42939 fi
42940
42941 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42942
42943
42944 pkg_failed=no
42945 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42946 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42947
42948 if test -n "$PKG_CONFIG"; then
42949 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42950 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42951 else
42952 if test -n "$PKG_CONFIG" && \
42953 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42954 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42955 ac_status=$?
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); }; then
42958 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42959 else
42960 pkg_failed=yes
42961 fi
42962 fi
42963 else
42964 pkg_failed=untried
42965 fi
42966 if test -n "$PKG_CONFIG"; then
42967 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42968 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42969 else
42970 if test -n "$PKG_CONFIG" && \
42971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42972 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42973 ac_status=$?
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); }; then
42976 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42977 else
42978 pkg_failed=yes
42979 fi
42980 fi
42981 else
42982 pkg_failed=untried
42983 fi
42984
42985
42986
42987 if test $pkg_failed = yes; then
42988
42989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42990 _pkg_short_errors_supported=yes
42991 else
42992 _pkg_short_errors_supported=no
42993 fi
42994 if test $_pkg_short_errors_supported = yes; then
42995 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42996 else
42997 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42998 fi
42999 # Put the nasty error message in config.log where it belongs
43000 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43001
43002
43003 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43004 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43005 wxUSE_LIBGNOMEPRINT="no"
43006
43007
43008 elif test $pkg_failed = untried; then
43009
43010 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43011 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43012 wxUSE_LIBGNOMEPRINT="no"
43013
43014
43015 else
43016 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43017 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43018 { echo "$as_me:$LINENO: result: yes" >&5
43019 echo "${ECHO_T}yes" >&6; }
43020
43021 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43022 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43023 cat >>confdefs.h <<\_ACEOF
43024 #define wxUSE_LIBGNOMEPRINT 1
43025 _ACEOF
43026
43027
43028 fi
43029 fi
43030 fi
43031
43032 if test "$wxUSE_MIMETYPE" = "yes" ; then
43033 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43034
43035
43036 pkg_failed=no
43037 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43038 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43039
43040 if test -n "$PKG_CONFIG"; then
43041 if test -n "$GNOMEVFS_CFLAGS"; then
43042 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43043 else
43044 if test -n "$PKG_CONFIG" && \
43045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43046 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43047 ac_status=$?
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); }; then
43050 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43051 else
43052 pkg_failed=yes
43053 fi
43054 fi
43055 else
43056 pkg_failed=untried
43057 fi
43058 if test -n "$PKG_CONFIG"; then
43059 if test -n "$GNOMEVFS_LIBS"; then
43060 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43061 else
43062 if test -n "$PKG_CONFIG" && \
43063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43064 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43065 ac_status=$?
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); }; then
43068 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43069 else
43070 pkg_failed=yes
43071 fi
43072 fi
43073 else
43074 pkg_failed=untried
43075 fi
43076
43077
43078
43079 if test $pkg_failed = yes; then
43080
43081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43082 _pkg_short_errors_supported=yes
43083 else
43084 _pkg_short_errors_supported=no
43085 fi
43086 if test $_pkg_short_errors_supported = yes; then
43087 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43088 else
43089 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43090 fi
43091 # Put the nasty error message in config.log where it belongs
43092 echo "$GNOMEVFS_PKG_ERRORS" >&5
43093
43094
43095 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43096 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43097 wxUSE_LIBGNOMEVFS="no"
43098
43099
43100 elif test $pkg_failed = untried; then
43101
43102 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43103 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43104 wxUSE_LIBGNOMEVFS="no"
43105
43106
43107 else
43108 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43109 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43110 { echo "$as_me:$LINENO: result: yes" >&5
43111 echo "${ECHO_T}yes" >&6; }
43112
43113 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43114 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43115 cat >>confdefs.h <<\_ACEOF
43116 #define wxUSE_LIBGNOMEVFS 1
43117 _ACEOF
43118
43119
43120 fi
43121 fi
43122 fi
43123
43124 if test "$wxUSE_LIBHILDON" = "yes" ; then
43125
43126 pkg_failed=no
43127 { echo "$as_me:$LINENO: checking for HILDON" >&5
43128 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43129
43130 if test -n "$PKG_CONFIG"; then
43131 if test -n "$HILDON_CFLAGS"; then
43132 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43133 else
43134 if test -n "$PKG_CONFIG" && \
43135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43136 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43137 ac_status=$?
43138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139 (exit $ac_status); }; then
43140 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43141 else
43142 pkg_failed=yes
43143 fi
43144 fi
43145 else
43146 pkg_failed=untried
43147 fi
43148 if test -n "$PKG_CONFIG"; then
43149 if test -n "$HILDON_LIBS"; then
43150 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43151 else
43152 if test -n "$PKG_CONFIG" && \
43153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43154 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43155 ac_status=$?
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); }; then
43158 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43159 else
43160 pkg_failed=yes
43161 fi
43162 fi
43163 else
43164 pkg_failed=untried
43165 fi
43166
43167
43168
43169 if test $pkg_failed = yes; then
43170
43171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43172 _pkg_short_errors_supported=yes
43173 else
43174 _pkg_short_errors_supported=no
43175 fi
43176 if test $_pkg_short_errors_supported = yes; then
43177 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43178 else
43179 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43180 fi
43181 # Put the nasty error message in config.log where it belongs
43182 echo "$HILDON_PKG_ERRORS" >&5
43183
43184
43185 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43186 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43187 wxUSE_LIBHILDON="no"
43188
43189
43190 elif test $pkg_failed = untried; then
43191
43192 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43193 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43194 wxUSE_LIBHILDON="no"
43195
43196
43197 else
43198 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43199 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43200 { echo "$as_me:$LINENO: result: yes" >&5
43201 echo "${ECHO_T}yes" >&6; }
43202
43203 EXTRALIBS_HILDON="$HILDON_LIBS"
43204 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43205 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_LIBHILDON 1
43208 _ACEOF
43209
43210
43211 fi
43212 fi
43213 fi
43214
43215 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43216 cat >>confdefs.h <<\_ACEOF
43217 #define wxUSE_CMDLINE_PARSER 1
43218 _ACEOF
43219
43220 fi
43221
43222 if test "$wxUSE_STOPWATCH" = "yes"; then
43223 cat >>confdefs.h <<\_ACEOF
43224 #define wxUSE_STOPWATCH 1
43225 _ACEOF
43226
43227 fi
43228
43229 if test "$wxUSE_DATETIME" = "yes"; then
43230 cat >>confdefs.h <<\_ACEOF
43231 #define wxUSE_DATETIME 1
43232 _ACEOF
43233
43234 fi
43235
43236 if test "$wxUSE_FILE" = "yes"; then
43237 cat >>confdefs.h <<\_ACEOF
43238 #define wxUSE_FILE 1
43239 _ACEOF
43240
43241 fi
43242
43243 if test "$wxUSE_FFILE" = "yes"; then
43244 cat >>confdefs.h <<\_ACEOF
43245 #define wxUSE_FFILE 1
43246 _ACEOF
43247
43248 fi
43249
43250 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43251 if test "$wxUSE_STREAMS" != yes; then
43252 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43253 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43254 wxUSE_ARCHIVE_STREAMS=no
43255 else
43256 cat >>confdefs.h <<\_ACEOF
43257 #define wxUSE_ARCHIVE_STREAMS 1
43258 _ACEOF
43259
43260 fi
43261 fi
43262
43263 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43264 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43265 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43266 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43267 elif test "$wxUSE_ZLIB" = "no"; then
43268 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43269 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43270 else
43271 cat >>confdefs.h <<\_ACEOF
43272 #define wxUSE_ZIPSTREAM 1
43273 _ACEOF
43274
43275 fi
43276 fi
43277
43278 if test "$wxUSE_TARSTREAM" = "yes"; then
43279 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43280 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43281 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43282 else
43283 cat >>confdefs.h <<\_ACEOF
43284 #define wxUSE_TARSTREAM 1
43285 _ACEOF
43286
43287 fi
43288 fi
43289
43290 if test "$wxUSE_FILESYSTEM" = "yes"; then
43291 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43292 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43293 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43294 wxUSE_FILESYSTEM=no
43295 else
43296 cat >>confdefs.h <<\_ACEOF
43297 #define wxUSE_FILESYSTEM 1
43298 _ACEOF
43299
43300 fi
43301 fi
43302
43303 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43304 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43305 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43306 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43307 else
43308 cat >>confdefs.h <<\_ACEOF
43309 #define wxUSE_FS_ARCHIVE 1
43310 _ACEOF
43311
43312 fi
43313 fi
43314
43315 if test "$wxUSE_FS_ZIP" = "yes"; then
43316 if test "$wxUSE_FS_ARCHIVE" != yes; then
43317 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43318 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43319 else
43320 cat >>confdefs.h <<\_ACEOF
43321 #define wxUSE_FS_ZIP 1
43322 _ACEOF
43323
43324 fi
43325 fi
43326
43327 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43328 if test "$USE_UNIX" != 1; then
43329 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43330 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43331 wxUSE_ON_FATAL_EXCEPTION=no
43332 else
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_ON_FATAL_EXCEPTION 1
43335 _ACEOF
43336
43337 fi
43338 fi
43339
43340 if test "$wxUSE_STACKWALKER" = "yes"; then
43341 cat >>confdefs.h <<\_ACEOF
43342 #define wxUSE_STACKWALKER 1
43343 _ACEOF
43344
43345 fi
43346
43347 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43348 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43349 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43350 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43351 wxUSE_DEBUGREPORT=no
43352 else
43353 cat >>confdefs.h <<\_ACEOF
43354 #define wxUSE_DEBUGREPORT 1
43355 _ACEOF
43356
43357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43359 fi
43360 fi
43361 fi
43362
43363 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43364 cat >>confdefs.h <<\_ACEOF
43365 #define wxUSE_SNGLINST_CHECKER 1
43366 _ACEOF
43367
43368 fi
43369
43370 if test "$wxUSE_BUSYINFO" = "yes"; then
43371 cat >>confdefs.h <<\_ACEOF
43372 #define wxUSE_BUSYINFO 1
43373 _ACEOF
43374
43375 fi
43376
43377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43378 cat >>confdefs.h <<\_ACEOF
43379 #define wxUSE_STD_IOSTREAM 1
43380 _ACEOF
43381
43382 fi
43383
43384 if test "$wxUSE_STD_STRING" = "yes"; then
43385 cat >>confdefs.h <<\_ACEOF
43386 #define wxUSE_STD_STRING 1
43387 _ACEOF
43388
43389 fi
43390
43391 if test "$wxUSE_STDPATHS" = "yes"; then
43392 cat >>confdefs.h <<\_ACEOF
43393 #define wxUSE_STDPATHS 1
43394 _ACEOF
43395
43396 fi
43397
43398 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43399 cat >>confdefs.h <<\_ACEOF
43400 #define wxUSE_TEXTBUFFER 1
43401 _ACEOF
43402
43403 fi
43404
43405 if test "$wxUSE_TEXTFILE" = "yes"; then
43406 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43407 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43408 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43409 else
43410 cat >>confdefs.h <<\_ACEOF
43411 #define wxUSE_TEXTFILE 1
43412 _ACEOF
43413
43414 fi
43415 fi
43416
43417 if test "$wxUSE_CONFIG" = "yes" ; then
43418 if test "$wxUSE_TEXTFILE" != "yes"; then
43419 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43420 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43421 else
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_CONFIG 1
43424 _ACEOF
43425
43426 cat >>confdefs.h <<\_ACEOF
43427 #define wxUSE_CONFIG_NATIVE 1
43428 _ACEOF
43429
43430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43431 fi
43432 fi
43433
43434 if test "$wxUSE_INTL" = "yes" ; then
43435 if test "$wxUSE_FILE" != "yes"; then
43436 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43437 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43438 else
43439 cat >>confdefs.h <<\_ACEOF
43440 #define wxUSE_INTL 1
43441 _ACEOF
43442
43443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43444 GUIDIST="$GUIDIST INTL_DIST"
43445 fi
43446 fi
43447
43448 if test "$wxUSE_XLOCALE" = "yes" ; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_XLOCALE 1
43451 _ACEOF
43452
43453 { echo "$as_me:$LINENO: checking for locale_t" >&5
43454 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43455 if test "${ac_cv_type_locale_t+set}" = set; then
43456 echo $ECHO_N "(cached) $ECHO_C" >&6
43457 else
43458 cat >conftest.$ac_ext <<_ACEOF
43459 /* confdefs.h. */
43460 _ACEOF
43461 cat confdefs.h >>conftest.$ac_ext
43462 cat >>conftest.$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43464 #include <xlocale.h>
43465 #include <locale.h>
43466
43467 typedef locale_t ac__type_new_;
43468 int
43469 main ()
43470 {
43471 if ((ac__type_new_ *) 0)
43472 return 0;
43473 if (sizeof (ac__type_new_))
43474 return 0;
43475 ;
43476 return 0;
43477 }
43478 _ACEOF
43479 rm -f conftest.$ac_objext
43480 if { (ac_try="$ac_compile"
43481 case "(($ac_try" in
43482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43483 *) ac_try_echo=$ac_try;;
43484 esac
43485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43486 (eval "$ac_compile") 2>conftest.er1
43487 ac_status=$?
43488 grep -v '^ *+' conftest.er1 >conftest.err
43489 rm -f conftest.er1
43490 cat conftest.err >&5
43491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43492 (exit $ac_status); } && {
43493 test -z "$ac_c_werror_flag" ||
43494 test ! -s conftest.err
43495 } && test -s conftest.$ac_objext; then
43496 ac_cv_type_locale_t=yes
43497 else
43498 echo "$as_me: failed program was:" >&5
43499 sed 's/^/| /' conftest.$ac_ext >&5
43500
43501 ac_cv_type_locale_t=no
43502 fi
43503
43504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43505 fi
43506 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43507 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43508 if test $ac_cv_type_locale_t = yes; then
43509
43510 cat >>confdefs.h <<_ACEOF
43511 #define HAVE_LOCALE_T 1
43512 _ACEOF
43513
43514
43515 fi
43516
43517 fi
43518
43519 if test "$wxUSE_LOG" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_LOG 1
43522 _ACEOF
43523
43524
43525 if test "$wxUSE_LOGGUI" = "yes"; then
43526 cat >>confdefs.h <<\_ACEOF
43527 #define wxUSE_LOGGUI 1
43528 _ACEOF
43529
43530 fi
43531
43532 if test "$wxUSE_LOGWINDOW" = "yes"; then
43533 cat >>confdefs.h <<\_ACEOF
43534 #define wxUSE_LOGWINDOW 1
43535 _ACEOF
43536
43537 fi
43538
43539 if test "$wxUSE_LOGDIALOG" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_LOG_DIALOG 1
43542 _ACEOF
43543
43544 fi
43545
43546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43547 fi
43548
43549 if test "$wxUSE_LONGLONG" = "yes"; then
43550 cat >>confdefs.h <<\_ACEOF
43551 #define wxUSE_LONGLONG 1
43552 _ACEOF
43553
43554 fi
43555
43556 if test "$wxUSE_GEOMETRY" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_GEOMETRY 1
43559 _ACEOF
43560
43561 fi
43562
43563 if test "$wxUSE_BASE64" = "yes"; then
43564 cat >>confdefs.h <<\_ACEOF
43565 #define wxUSE_BASE64 1
43566 _ACEOF
43567
43568 fi
43569
43570 if test "$wxUSE_STREAMS" = "yes" ; then
43571 cat >>confdefs.h <<\_ACEOF
43572 #define wxUSE_STREAMS 1
43573 _ACEOF
43574
43575 fi
43576
43577 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43578 cat >>confdefs.h <<\_ACEOF
43579 #define wxUSE_PRINTF_POS_PARAMS 1
43580 _ACEOF
43581
43582 fi
43583
43584 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43585 cat >>confdefs.h <<\_ACEOF
43586 #define wxUSE_OBJC_UNIQUIFYING 1
43587 _ACEOF
43588
43589 fi
43590
43591
43592 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_CONSOLE_EVENTLOOP 1
43595 _ACEOF
43596
43597
43598 if test "$wxUSE_UNIX" = "yes"; then
43599 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_SELECT_DISPATCHER 1
43602 _ACEOF
43603
43604 fi
43605
43606 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43607
43608 for ac_header in sys/epoll.h
43609 do
43610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43614 echo $ECHO_N "(cached) $ECHO_C" >&6
43615 else
43616 cat >conftest.$ac_ext <<_ACEOF
43617 /* confdefs.h. */
43618 _ACEOF
43619 cat confdefs.h >>conftest.$ac_ext
43620 cat >>conftest.$ac_ext <<_ACEOF
43621 /* end confdefs.h. */
43622 $ac_includes_default
43623
43624 #include <$ac_header>
43625 _ACEOF
43626 rm -f conftest.$ac_objext
43627 if { (ac_try="$ac_compile"
43628 case "(($ac_try" in
43629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43630 *) ac_try_echo=$ac_try;;
43631 esac
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_compile") 2>conftest.er1
43634 ac_status=$?
43635 grep -v '^ *+' conftest.er1 >conftest.err
43636 rm -f conftest.er1
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest.$ac_objext; then
43643 eval "$as_ac_Header=yes"
43644 else
43645 echo "$as_me: failed program was:" >&5
43646 sed 's/^/| /' conftest.$ac_ext >&5
43647
43648 eval "$as_ac_Header=no"
43649 fi
43650
43651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43652 fi
43653 ac_res=`eval echo '${'$as_ac_Header'}'`
43654 { echo "$as_me:$LINENO: result: $ac_res" >&5
43655 echo "${ECHO_T}$ac_res" >&6; }
43656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43657 cat >>confdefs.h <<_ACEOF
43658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43659 _ACEOF
43660
43661 fi
43662
43663 done
43664
43665 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43666 cat >>confdefs.h <<\_ACEOF
43667 #define wxUSE_EPOLL_DISPATCHER 1
43668 _ACEOF
43669
43670 else
43671 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43672 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43673 fi
43674 fi
43675 fi
43676 fi
43677
43678
43679
43680
43681 for ac_func in gettimeofday ftime
43682 do
43683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43688 else
43689 cat >conftest.$ac_ext <<_ACEOF
43690 /* confdefs.h. */
43691 _ACEOF
43692 cat confdefs.h >>conftest.$ac_ext
43693 cat >>conftest.$ac_ext <<_ACEOF
43694 /* end confdefs.h. */
43695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43697 #define $ac_func innocuous_$ac_func
43698
43699 /* System header to define __stub macros and hopefully few prototypes,
43700 which can conflict with char $ac_func (); below.
43701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43702 <limits.h> exists even on freestanding compilers. */
43703
43704 #ifdef __STDC__
43705 # include <limits.h>
43706 #else
43707 # include <assert.h>
43708 #endif
43709
43710 #undef $ac_func
43711
43712 /* Override any GCC internal prototype to avoid an error.
43713 Use char because int might match the return type of a GCC
43714 builtin and then its argument prototype would still apply. */
43715 #ifdef __cplusplus
43716 extern "C"
43717 #endif
43718 char $ac_func ();
43719 /* The GNU C library defines this for functions which it implements
43720 to always fail with ENOSYS. Some functions are actually named
43721 something starting with __ and the normal name is an alias. */
43722 #if defined __stub_$ac_func || defined __stub___$ac_func
43723 choke me
43724 #endif
43725
43726 int
43727 main ()
43728 {
43729 return $ac_func ();
43730 ;
43731 return 0;
43732 }
43733 _ACEOF
43734 rm -f conftest.$ac_objext conftest$ac_exeext
43735 if { (ac_try="$ac_link"
43736 case "(($ac_try" in
43737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43738 *) ac_try_echo=$ac_try;;
43739 esac
43740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43741 (eval "$ac_link") 2>conftest.er1
43742 ac_status=$?
43743 grep -v '^ *+' conftest.er1 >conftest.err
43744 rm -f conftest.er1
43745 cat conftest.err >&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } && {
43748 test -z "$ac_c_werror_flag" ||
43749 test ! -s conftest.err
43750 } && test -s conftest$ac_exeext &&
43751 $as_test_x conftest$ac_exeext; then
43752 eval "$as_ac_var=yes"
43753 else
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43756
43757 eval "$as_ac_var=no"
43758 fi
43759
43760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43761 conftest$ac_exeext conftest.$ac_ext
43762 fi
43763 ac_res=`eval echo '${'$as_ac_var'}'`
43764 { echo "$as_me:$LINENO: result: $ac_res" >&5
43765 echo "${ECHO_T}$ac_res" >&6; }
43766 if test `eval echo '${'$as_ac_var'}'` = yes; then
43767 cat >>confdefs.h <<_ACEOF
43768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43769 _ACEOF
43770 break
43771 fi
43772 done
43773
43774
43775 if test "$ac_cv_func_gettimeofday" = "yes"; then
43776 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43777 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43778 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43779 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 else
43781
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 <sys/time.h>
43790 #include <unistd.h>
43791
43792 int
43793 main ()
43794 {
43795
43796 struct timeval tv;
43797 gettimeofday(&tv, NULL);
43798
43799 ;
43800 return 0;
43801 }
43802 _ACEOF
43803 rm -f conftest.$ac_objext
43804 if { (ac_try="$ac_compile"
43805 case "(($ac_try" in
43806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43807 *) ac_try_echo=$ac_try;;
43808 esac
43809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43810 (eval "$ac_compile") 2>conftest.er1
43811 ac_status=$?
43812 grep -v '^ *+' conftest.er1 >conftest.err
43813 rm -f conftest.er1
43814 cat conftest.err >&5
43815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816 (exit $ac_status); } && {
43817 test -z "$ac_c_werror_flag" ||
43818 test ! -s conftest.err
43819 } && test -s conftest.$ac_objext; then
43820 wx_cv_func_gettimeofday_has_2_args=yes
43821 else
43822 echo "$as_me: failed program was:" >&5
43823 sed 's/^/| /' conftest.$ac_ext >&5
43824
43825 cat >conftest.$ac_ext <<_ACEOF
43826 /* confdefs.h. */
43827 _ACEOF
43828 cat confdefs.h >>conftest.$ac_ext
43829 cat >>conftest.$ac_ext <<_ACEOF
43830 /* end confdefs.h. */
43831
43832 #include <sys/time.h>
43833 #include <unistd.h>
43834
43835 int
43836 main ()
43837 {
43838
43839 struct timeval tv;
43840 gettimeofday(&tv);
43841
43842 ;
43843 return 0;
43844 }
43845 _ACEOF
43846 rm -f conftest.$ac_objext
43847 if { (ac_try="$ac_compile"
43848 case "(($ac_try" in
43849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43850 *) ac_try_echo=$ac_try;;
43851 esac
43852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43853 (eval "$ac_compile") 2>conftest.er1
43854 ac_status=$?
43855 grep -v '^ *+' conftest.er1 >conftest.err
43856 rm -f conftest.er1
43857 cat conftest.err >&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } && {
43860 test -z "$ac_c_werror_flag" ||
43861 test ! -s conftest.err
43862 } && test -s conftest.$ac_objext; then
43863 wx_cv_func_gettimeofday_has_2_args=no
43864 else
43865 echo "$as_me: failed program was:" >&5
43866 sed 's/^/| /' conftest.$ac_ext >&5
43867
43868
43869 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43870 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43871 wx_cv_func_gettimeofday_has_2_args=unknown
43872
43873
43874 fi
43875
43876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43877
43878 fi
43879
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881
43882 fi
43883 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43884 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43885
43886 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43887 cat >>confdefs.h <<\_ACEOF
43888 #define WX_GETTIMEOFDAY_NO_TZ 1
43889 _ACEOF
43890
43891 fi
43892 fi
43893
43894 if test "$wxUSE_DATETIME" = "yes"; then
43895 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43896 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43897 if test "${wx_cv_var_timezone+set}" = set; then
43898 echo $ECHO_N "(cached) $ECHO_C" >&6
43899 else
43900
43901 ac_ext=cpp
43902 ac_cpp='$CXXCPP $CPPFLAGS'
43903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43906
43907 cat >conftest.$ac_ext <<_ACEOF
43908 /* confdefs.h. */
43909 _ACEOF
43910 cat confdefs.h >>conftest.$ac_ext
43911 cat >>conftest.$ac_ext <<_ACEOF
43912 /* end confdefs.h. */
43913
43914 #include <time.h>
43915
43916 int
43917 main ()
43918 {
43919
43920 int tz;
43921 tz = timezone;
43922
43923 ;
43924 return 0;
43925 }
43926 _ACEOF
43927 rm -f conftest.$ac_objext
43928 if { (ac_try="$ac_compile"
43929 case "(($ac_try" in
43930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43931 *) ac_try_echo=$ac_try;;
43932 esac
43933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43934 (eval "$ac_compile") 2>conftest.er1
43935 ac_status=$?
43936 grep -v '^ *+' conftest.er1 >conftest.err
43937 rm -f conftest.er1
43938 cat conftest.err >&5
43939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43940 (exit $ac_status); } && {
43941 test -z "$ac_cxx_werror_flag" ||
43942 test ! -s conftest.err
43943 } && test -s conftest.$ac_objext; then
43944
43945 wx_cv_var_timezone=timezone
43946
43947 else
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43950
43951
43952 cat >conftest.$ac_ext <<_ACEOF
43953 /* confdefs.h. */
43954 _ACEOF
43955 cat confdefs.h >>conftest.$ac_ext
43956 cat >>conftest.$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43958
43959 #include <time.h>
43960
43961 int
43962 main ()
43963 {
43964
43965 int tz;
43966 tz = _timezone;
43967
43968 ;
43969 return 0;
43970 }
43971 _ACEOF
43972 rm -f conftest.$ac_objext
43973 if { (ac_try="$ac_compile"
43974 case "(($ac_try" in
43975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43976 *) ac_try_echo=$ac_try;;
43977 esac
43978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43979 (eval "$ac_compile") 2>conftest.er1
43980 ac_status=$?
43981 grep -v '^ *+' conftest.er1 >conftest.err
43982 rm -f conftest.er1
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } && {
43986 test -z "$ac_cxx_werror_flag" ||
43987 test ! -s conftest.err
43988 } && test -s conftest.$ac_objext; then
43989
43990 wx_cv_var_timezone=_timezone
43991
43992 else
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43995
43996
43997 cat >conftest.$ac_ext <<_ACEOF
43998 /* confdefs.h. */
43999 _ACEOF
44000 cat confdefs.h >>conftest.$ac_ext
44001 cat >>conftest.$ac_ext <<_ACEOF
44002 /* end confdefs.h. */
44003
44004 #include <time.h>
44005
44006 int
44007 main ()
44008 {
44009
44010 int tz;
44011 tz = __timezone;
44012
44013 ;
44014 return 0;
44015 }
44016 _ACEOF
44017 rm -f conftest.$ac_objext
44018 if { (ac_try="$ac_compile"
44019 case "(($ac_try" in
44020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44021 *) ac_try_echo=$ac_try;;
44022 esac
44023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44024 (eval "$ac_compile") 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } && {
44031 test -z "$ac_cxx_werror_flag" ||
44032 test ! -s conftest.err
44033 } && test -s conftest.$ac_objext; then
44034
44035 wx_cv_var_timezone=__timezone
44036
44037 else
44038 echo "$as_me: failed program was:" >&5
44039 sed 's/^/| /' conftest.$ac_ext >&5
44040
44041
44042 if test "$USE_DOS" = 0 ; then
44043 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44044 echo "$as_me: WARNING: no timezone variable" >&2;}
44045 fi
44046
44047
44048 fi
44049
44050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44051
44052
44053 fi
44054
44055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44056
44057
44058 fi
44059
44060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44061 ac_ext=c
44062 ac_cpp='$CPP $CPPFLAGS'
44063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44066
44067
44068
44069 fi
44070 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44071 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44072
44073 if test "x$wx_cv_var_timezone" != x ; then
44074 cat >>confdefs.h <<_ACEOF
44075 #define WX_TIMEZONE $wx_cv_var_timezone
44076 _ACEOF
44077
44078 fi
44079
44080
44081 for ac_func in localtime
44082 do
44083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44087 echo $ECHO_N "(cached) $ECHO_C" >&6
44088 else
44089 cat >conftest.$ac_ext <<_ACEOF
44090 /* confdefs.h. */
44091 _ACEOF
44092 cat confdefs.h >>conftest.$ac_ext
44093 cat >>conftest.$ac_ext <<_ACEOF
44094 /* end confdefs.h. */
44095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44097 #define $ac_func innocuous_$ac_func
44098
44099 /* System header to define __stub macros and hopefully few prototypes,
44100 which can conflict with char $ac_func (); below.
44101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44102 <limits.h> exists even on freestanding compilers. */
44103
44104 #ifdef __STDC__
44105 # include <limits.h>
44106 #else
44107 # include <assert.h>
44108 #endif
44109
44110 #undef $ac_func
44111
44112 /* Override any GCC internal prototype to avoid an error.
44113 Use char because int might match the return type of a GCC
44114 builtin and then its argument prototype would still apply. */
44115 #ifdef __cplusplus
44116 extern "C"
44117 #endif
44118 char $ac_func ();
44119 /* The GNU C library defines this for functions which it implements
44120 to always fail with ENOSYS. Some functions are actually named
44121 something starting with __ and the normal name is an alias. */
44122 #if defined __stub_$ac_func || defined __stub___$ac_func
44123 choke me
44124 #endif
44125
44126 int
44127 main ()
44128 {
44129 return $ac_func ();
44130 ;
44131 return 0;
44132 }
44133 _ACEOF
44134 rm -f conftest.$ac_objext conftest$ac_exeext
44135 if { (ac_try="$ac_link"
44136 case "(($ac_try" in
44137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44138 *) ac_try_echo=$ac_try;;
44139 esac
44140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44141 (eval "$ac_link") 2>conftest.er1
44142 ac_status=$?
44143 grep -v '^ *+' conftest.er1 >conftest.err
44144 rm -f conftest.er1
44145 cat conftest.err >&5
44146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44147 (exit $ac_status); } && {
44148 test -z "$ac_c_werror_flag" ||
44149 test ! -s conftest.err
44150 } && test -s conftest$ac_exeext &&
44151 $as_test_x conftest$ac_exeext; then
44152 eval "$as_ac_var=yes"
44153 else
44154 echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44156
44157 eval "$as_ac_var=no"
44158 fi
44159
44160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44161 conftest$ac_exeext conftest.$ac_ext
44162 fi
44163 ac_res=`eval echo '${'$as_ac_var'}'`
44164 { echo "$as_me:$LINENO: result: $ac_res" >&5
44165 echo "${ECHO_T}$ac_res" >&6; }
44166 if test `eval echo '${'$as_ac_var'}'` = yes; then
44167 cat >>confdefs.h <<_ACEOF
44168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44169 _ACEOF
44170
44171 fi
44172 done
44173
44174
44175 if test "$ac_cv_func_localtime" = "yes"; then
44176 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44177 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44178 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44179 echo $ECHO_N "(cached) $ECHO_C" >&6
44180 else
44181
44182 cat >conftest.$ac_ext <<_ACEOF
44183 /* confdefs.h. */
44184 _ACEOF
44185 cat confdefs.h >>conftest.$ac_ext
44186 cat >>conftest.$ac_ext <<_ACEOF
44187 /* end confdefs.h. */
44188
44189 #include <time.h>
44190
44191 int
44192 main ()
44193 {
44194
44195 struct tm tm;
44196 tm.tm_gmtoff++;
44197
44198 ;
44199 return 0;
44200 }
44201 _ACEOF
44202 rm -f conftest.$ac_objext
44203 if { (ac_try="$ac_compile"
44204 case "(($ac_try" in
44205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44206 *) ac_try_echo=$ac_try;;
44207 esac
44208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44209 (eval "$ac_compile") 2>conftest.er1
44210 ac_status=$?
44211 grep -v '^ *+' conftest.er1 >conftest.err
44212 rm -f conftest.er1
44213 cat conftest.err >&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } && {
44216 test -z "$ac_c_werror_flag" ||
44217 test ! -s conftest.err
44218 } && test -s conftest.$ac_objext; then
44219
44220 wx_cv_struct_tm_has_gmtoff=yes
44221
44222 else
44223 echo "$as_me: failed program was:" >&5
44224 sed 's/^/| /' conftest.$ac_ext >&5
44225
44226 wx_cv_struct_tm_has_gmtoff=no
44227
44228 fi
44229
44230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44231
44232 fi
44233 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44234 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44235 fi
44236
44237 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44238 cat >>confdefs.h <<\_ACEOF
44239 #define WX_GMTOFF_IN_TM 1
44240 _ACEOF
44241
44242 fi
44243
44244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44245 fi
44246
44247
44248 if test "$wxUSE_SOCKETS" = "yes"; then
44249 if test "$wxUSE_MGL" = 1; then
44250 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44251 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44252 wxUSE_SOCKETS="no"
44253 fi
44254 fi
44255
44256 if test "$wxUSE_SOCKETS" = "yes"; then
44257 if test "$TOOLKIT" != "MSW"; then
44258 { echo "$as_me:$LINENO: checking for socket" >&5
44259 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44260 if test "${ac_cv_func_socket+set}" = set; then
44261 echo $ECHO_N "(cached) $ECHO_C" >&6
44262 else
44263 cat >conftest.$ac_ext <<_ACEOF
44264 /* confdefs.h. */
44265 _ACEOF
44266 cat confdefs.h >>conftest.$ac_ext
44267 cat >>conftest.$ac_ext <<_ACEOF
44268 /* end confdefs.h. */
44269 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44271 #define socket innocuous_socket
44272
44273 /* System header to define __stub macros and hopefully few prototypes,
44274 which can conflict with char socket (); below.
44275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44276 <limits.h> exists even on freestanding compilers. */
44277
44278 #ifdef __STDC__
44279 # include <limits.h>
44280 #else
44281 # include <assert.h>
44282 #endif
44283
44284 #undef socket
44285
44286 /* Override any GCC internal prototype to avoid an error.
44287 Use char because int might match the return type of a GCC
44288 builtin and then its argument prototype would still apply. */
44289 #ifdef __cplusplus
44290 extern "C"
44291 #endif
44292 char socket ();
44293 /* The GNU C library defines this for functions which it implements
44294 to always fail with ENOSYS. Some functions are actually named
44295 something starting with __ and the normal name is an alias. */
44296 #if defined __stub_socket || defined __stub___socket
44297 choke me
44298 #endif
44299
44300 int
44301 main ()
44302 {
44303 return socket ();
44304 ;
44305 return 0;
44306 }
44307 _ACEOF
44308 rm -f conftest.$ac_objext conftest$ac_exeext
44309 if { (ac_try="$ac_link"
44310 case "(($ac_try" in
44311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44312 *) ac_try_echo=$ac_try;;
44313 esac
44314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44315 (eval "$ac_link") 2>conftest.er1
44316 ac_status=$?
44317 grep -v '^ *+' conftest.er1 >conftest.err
44318 rm -f conftest.er1
44319 cat conftest.err >&5
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); } && {
44322 test -z "$ac_c_werror_flag" ||
44323 test ! -s conftest.err
44324 } && test -s conftest$ac_exeext &&
44325 $as_test_x conftest$ac_exeext; then
44326 ac_cv_func_socket=yes
44327 else
44328 echo "$as_me: failed program was:" >&5
44329 sed 's/^/| /' conftest.$ac_ext >&5
44330
44331 ac_cv_func_socket=no
44332 fi
44333
44334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44335 conftest$ac_exeext conftest.$ac_ext
44336 fi
44337 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44338 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44339 if test $ac_cv_func_socket = yes; then
44340 :
44341 else
44342
44343 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44344 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44345 if test "${ac_cv_lib_socket_socket+set}" = set; then
44346 echo $ECHO_N "(cached) $ECHO_C" >&6
44347 else
44348 ac_check_lib_save_LIBS=$LIBS
44349 LIBS="-lsocket $LIBS"
44350 cat >conftest.$ac_ext <<_ACEOF
44351 /* confdefs.h. */
44352 _ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44356
44357 /* Override any GCC internal prototype to avoid an error.
44358 Use char because int might match the return type of a GCC
44359 builtin and then its argument prototype would still apply. */
44360 #ifdef __cplusplus
44361 extern "C"
44362 #endif
44363 char socket ();
44364 int
44365 main ()
44366 {
44367 return socket ();
44368 ;
44369 return 0;
44370 }
44371 _ACEOF
44372 rm -f conftest.$ac_objext conftest$ac_exeext
44373 if { (ac_try="$ac_link"
44374 case "(($ac_try" in
44375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44376 *) ac_try_echo=$ac_try;;
44377 esac
44378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44379 (eval "$ac_link") 2>conftest.er1
44380 ac_status=$?
44381 grep -v '^ *+' conftest.er1 >conftest.err
44382 rm -f conftest.er1
44383 cat conftest.err >&5
44384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385 (exit $ac_status); } && {
44386 test -z "$ac_c_werror_flag" ||
44387 test ! -s conftest.err
44388 } && test -s conftest$ac_exeext &&
44389 $as_test_x conftest$ac_exeext; then
44390 ac_cv_lib_socket_socket=yes
44391 else
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44394
44395 ac_cv_lib_socket_socket=no
44396 fi
44397
44398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44399 conftest$ac_exeext conftest.$ac_ext
44400 LIBS=$ac_check_lib_save_LIBS
44401 fi
44402 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44403 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44404 if test $ac_cv_lib_socket_socket = yes; then
44405 if test "$INET_LINK" != " -lsocket"; then
44406 INET_LINK="$INET_LINK -lsocket"
44407 fi
44408 else
44409
44410 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44411 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44412 wxUSE_SOCKETS=no
44413
44414
44415 fi
44416
44417
44418
44419 fi
44420
44421 fi
44422 fi
44423
44424 if test "$wxUSE_SOCKETS" = "yes" ; then
44425 if test "$TOOLKIT" != "MSW"; then
44426 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44427 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44428 if test "${wx_cv_type_getsockname3+set}" = set; then
44429 echo $ECHO_N "(cached) $ECHO_C" >&6
44430 else
44431
44432 ac_ext=cpp
44433 ac_cpp='$CXXCPP $CPPFLAGS'
44434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44437
44438 cat >conftest.$ac_ext <<_ACEOF
44439 /* confdefs.h. */
44440 _ACEOF
44441 cat confdefs.h >>conftest.$ac_ext
44442 cat >>conftest.$ac_ext <<_ACEOF
44443 /* end confdefs.h. */
44444
44445 #include <sys/types.h>
44446 #include <sys/socket.h>
44447
44448 int
44449 main ()
44450 {
44451
44452 socklen_t len;
44453 getsockname(0, 0, &len);
44454
44455 ;
44456 return 0;
44457 }
44458 _ACEOF
44459 rm -f conftest.$ac_objext
44460 if { (ac_try="$ac_compile"
44461 case "(($ac_try" in
44462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44463 *) ac_try_echo=$ac_try;;
44464 esac
44465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44466 (eval "$ac_compile") 2>conftest.er1
44467 ac_status=$?
44468 grep -v '^ *+' conftest.er1 >conftest.err
44469 rm -f conftest.er1
44470 cat conftest.err >&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } && {
44473 test -z "$ac_cxx_werror_flag" ||
44474 test ! -s conftest.err
44475 } && test -s conftest.$ac_objext; then
44476 wx_cv_type_getsockname3=socklen_t
44477 else
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44480
44481
44482 CFLAGS_OLD="$CFLAGS"
44483 if test "$GCC" = yes ; then
44484 CFLAGS="-Werror $CFLAGS"
44485 fi
44486
44487 cat >conftest.$ac_ext <<_ACEOF
44488 /* confdefs.h. */
44489 _ACEOF
44490 cat confdefs.h >>conftest.$ac_ext
44491 cat >>conftest.$ac_ext <<_ACEOF
44492 /* end confdefs.h. */
44493
44494 #include <sys/types.h>
44495 #include <sys/socket.h>
44496
44497 int
44498 main ()
44499 {
44500
44501 size_t len;
44502 getsockname(0, 0, &len);
44503
44504 ;
44505 return 0;
44506 }
44507 _ACEOF
44508 rm -f conftest.$ac_objext
44509 if { (ac_try="$ac_compile"
44510 case "(($ac_try" in
44511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44512 *) ac_try_echo=$ac_try;;
44513 esac
44514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44515 (eval "$ac_compile") 2>conftest.er1
44516 ac_status=$?
44517 grep -v '^ *+' conftest.er1 >conftest.err
44518 rm -f conftest.er1
44519 cat conftest.err >&5
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); } && {
44522 test -z "$ac_cxx_werror_flag" ||
44523 test ! -s conftest.err
44524 } && test -s conftest.$ac_objext; then
44525 wx_cv_type_getsockname3=size_t
44526 else
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.$ac_ext >&5
44529
44530 cat >conftest.$ac_ext <<_ACEOF
44531 /* confdefs.h. */
44532 _ACEOF
44533 cat confdefs.h >>conftest.$ac_ext
44534 cat >>conftest.$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44536
44537 #include <sys/types.h>
44538 #include <sys/socket.h>
44539
44540 int
44541 main ()
44542 {
44543
44544 int len;
44545 getsockname(0, 0, &len);
44546
44547 ;
44548 return 0;
44549 }
44550 _ACEOF
44551 rm -f conftest.$ac_objext
44552 if { (ac_try="$ac_compile"
44553 case "(($ac_try" in
44554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44555 *) ac_try_echo=$ac_try;;
44556 esac
44557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44558 (eval "$ac_compile") 2>conftest.er1
44559 ac_status=$?
44560 grep -v '^ *+' conftest.er1 >conftest.err
44561 rm -f conftest.er1
44562 cat conftest.err >&5
44563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44564 (exit $ac_status); } && {
44565 test -z "$ac_cxx_werror_flag" ||
44566 test ! -s conftest.err
44567 } && test -s conftest.$ac_objext; then
44568 wx_cv_type_getsockname3=int
44569 else
44570 echo "$as_me: failed program was:" >&5
44571 sed 's/^/| /' conftest.$ac_ext >&5
44572
44573 wx_cv_type_getsockname3=unknown
44574
44575 fi
44576
44577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44578
44579 fi
44580
44581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44582
44583 CFLAGS="$CFLAGS_OLD"
44584
44585
44586 fi
44587
44588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44589 ac_ext=c
44590 ac_cpp='$CPP $CPPFLAGS'
44591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44594
44595
44596 fi
44597 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44598 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44599
44600 if test "$wx_cv_type_getsockname3" = "unknown"; then
44601 wxUSE_SOCKETS=no
44602 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44603 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44604 else
44605 cat >>confdefs.h <<_ACEOF
44606 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44607 _ACEOF
44608
44609 fi
44610 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44611 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44612 if test "${wx_cv_type_getsockopt5+set}" = set; then
44613 echo $ECHO_N "(cached) $ECHO_C" >&6
44614 else
44615
44616 ac_ext=cpp
44617 ac_cpp='$CXXCPP $CPPFLAGS'
44618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44621
44622 cat >conftest.$ac_ext <<_ACEOF
44623 /* confdefs.h. */
44624 _ACEOF
44625 cat confdefs.h >>conftest.$ac_ext
44626 cat >>conftest.$ac_ext <<_ACEOF
44627 /* end confdefs.h. */
44628
44629 #include <sys/types.h>
44630 #include <sys/socket.h>
44631
44632 int
44633 main ()
44634 {
44635
44636 socklen_t len;
44637 getsockopt(0, 0, 0, 0, &len);
44638
44639 ;
44640 return 0;
44641 }
44642 _ACEOF
44643 rm -f conftest.$ac_objext
44644 if { (ac_try="$ac_compile"
44645 case "(($ac_try" in
44646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44647 *) ac_try_echo=$ac_try;;
44648 esac
44649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44650 (eval "$ac_compile") 2>conftest.er1
44651 ac_status=$?
44652 grep -v '^ *+' conftest.er1 >conftest.err
44653 rm -f conftest.er1
44654 cat conftest.err >&5
44655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656 (exit $ac_status); } && {
44657 test -z "$ac_cxx_werror_flag" ||
44658 test ! -s conftest.err
44659 } && test -s conftest.$ac_objext; then
44660 wx_cv_type_getsockopt5=socklen_t
44661 else
44662 echo "$as_me: failed program was:" >&5
44663 sed 's/^/| /' conftest.$ac_ext >&5
44664
44665
44666 cat >conftest.$ac_ext <<_ACEOF
44667 /* confdefs.h. */
44668 _ACEOF
44669 cat confdefs.h >>conftest.$ac_ext
44670 cat >>conftest.$ac_ext <<_ACEOF
44671 /* end confdefs.h. */
44672
44673 #include <sys/types.h>
44674 #include <sys/socket.h>
44675
44676 int
44677 main ()
44678 {
44679
44680 size_t len;
44681 getsockopt(0, 0, 0, 0, &len);
44682
44683 ;
44684 return 0;
44685 }
44686 _ACEOF
44687 rm -f conftest.$ac_objext
44688 if { (ac_try="$ac_compile"
44689 case "(($ac_try" in
44690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44691 *) ac_try_echo=$ac_try;;
44692 esac
44693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44694 (eval "$ac_compile") 2>conftest.er1
44695 ac_status=$?
44696 grep -v '^ *+' conftest.er1 >conftest.err
44697 rm -f conftest.er1
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } && {
44701 test -z "$ac_cxx_werror_flag" ||
44702 test ! -s conftest.err
44703 } && test -s conftest.$ac_objext; then
44704 wx_cv_type_getsockopt5=size_t
44705 else
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.$ac_ext >&5
44708
44709 cat >conftest.$ac_ext <<_ACEOF
44710 /* confdefs.h. */
44711 _ACEOF
44712 cat confdefs.h >>conftest.$ac_ext
44713 cat >>conftest.$ac_ext <<_ACEOF
44714 /* end confdefs.h. */
44715
44716 #include <sys/types.h>
44717 #include <sys/socket.h>
44718
44719 int
44720 main ()
44721 {
44722
44723 int len;
44724 getsockopt(0, 0, 0, 0, &len);
44725
44726 ;
44727 return 0;
44728 }
44729 _ACEOF
44730 rm -f conftest.$ac_objext
44731 if { (ac_try="$ac_compile"
44732 case "(($ac_try" in
44733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44734 *) ac_try_echo=$ac_try;;
44735 esac
44736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44737 (eval "$ac_compile") 2>conftest.er1
44738 ac_status=$?
44739 grep -v '^ *+' conftest.er1 >conftest.err
44740 rm -f conftest.er1
44741 cat conftest.err >&5
44742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44743 (exit $ac_status); } && {
44744 test -z "$ac_cxx_werror_flag" ||
44745 test ! -s conftest.err
44746 } && test -s conftest.$ac_objext; then
44747 wx_cv_type_getsockopt5=int
44748 else
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44751
44752 wx_cv_type_getsockopt5=unknown
44753
44754 fi
44755
44756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44757
44758 fi
44759
44760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44761
44762
44763 fi
44764
44765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44766 ac_ext=c
44767 ac_cpp='$CPP $CPPFLAGS'
44768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44771
44772
44773 fi
44774 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44775 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44776
44777 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44778 wxUSE_SOCKETS=no
44779 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44780 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44781 else
44782 cat >>confdefs.h <<_ACEOF
44783 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44784 _ACEOF
44785
44786 fi
44787 fi
44788 fi
44789
44790 if test "$wxUSE_SOCKETS" = "yes" ; then
44791 if test "$wxUSE_IPV6" = "yes"; then
44792 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44793 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44794 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44795 echo $ECHO_N "(cached) $ECHO_C" >&6
44796 else
44797
44798 cat >conftest.$ac_ext <<_ACEOF
44799 /* confdefs.h. */
44800 _ACEOF
44801 cat confdefs.h >>conftest.$ac_ext
44802 cat >>conftest.$ac_ext <<_ACEOF
44803 /* end confdefs.h. */
44804
44805 #include <sys/types.h>
44806 #include <sys/socket.h>
44807 #include <netinet/in.h>
44808
44809 int
44810 main ()
44811 {
44812
44813 struct sockaddr_in6 sa6;
44814
44815 ;
44816 return 0;
44817 }
44818 _ACEOF
44819 rm -f conftest.$ac_objext
44820 if { (ac_try="$ac_compile"
44821 case "(($ac_try" in
44822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44823 *) ac_try_echo=$ac_try;;
44824 esac
44825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44826 (eval "$ac_compile") 2>conftest.er1
44827 ac_status=$?
44828 grep -v '^ *+' conftest.er1 >conftest.err
44829 rm -f conftest.er1
44830 cat conftest.err >&5
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); } && {
44833 test -z "$ac_c_werror_flag" ||
44834 test ! -s conftest.err
44835 } && test -s conftest.$ac_objext; then
44836 wx_cv_type_sockaddr_in6=yes
44837 else
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44840
44841 wx_cv_type_sockaddr_in6=no
44842
44843 fi
44844
44845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44846
44847
44848 fi
44849 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44850 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44851
44852 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_IPV6 1
44855 _ACEOF
44856
44857 else
44858 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44859 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44860 fi
44861 fi
44862
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_SOCKETS 1
44865 _ACEOF
44866
44867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44868 fi
44869
44870 if test "$wxUSE_PROTOCOL" = "yes"; then
44871 if test "$wxUSE_SOCKETS" != "yes"; then
44872 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44873 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44874 wxUSE_PROTOCOL=no
44875 fi
44876 fi
44877
44878 if test "$wxUSE_PROTOCOL" = "yes"; then
44879 cat >>confdefs.h <<\_ACEOF
44880 #define wxUSE_PROTOCOL 1
44881 _ACEOF
44882
44883
44884 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_PROTOCOL_HTTP 1
44887 _ACEOF
44888
44889 fi
44890 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_PROTOCOL_FTP 1
44893 _ACEOF
44894
44895 fi
44896 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_PROTOCOL_FILE 1
44899 _ACEOF
44900
44901 fi
44902 else
44903 if test "$wxUSE_FS_INET" = "yes"; then
44904 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44905 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44906 wxUSE_FS_INET="no"
44907 fi
44908 fi
44909
44910 if test "$wxUSE_URL" = "yes"; then
44911 if test "$wxUSE_PROTOCOL" != "yes"; then
44912 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44913 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44914 wxUSE_URL=no
44915 fi
44916 if test "$wxUSE_URL" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_URL 1
44919 _ACEOF
44920
44921 fi
44922 fi
44923
44924 if test "$wxUSE_VARIANT" = "yes"; then
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_VARIANT 1
44927 _ACEOF
44928
44929 fi
44930
44931 if test "$wxUSE_FS_INET" = "yes"; then
44932 cat >>confdefs.h <<\_ACEOF
44933 #define wxUSE_FS_INET 1
44934 _ACEOF
44935
44936 fi
44937
44938
44939 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44940 wxUSE_JOYSTICK=no
44941
44942 if test "$TOOLKIT" = "MSW"; then
44943 wxUSE_JOYSTICK=yes
44944
44945 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44946 if test "$USE_DARWIN" = 1; then
44947 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44948 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44949 ac_ext=cpp
44950 ac_cpp='$CXXCPP $CPPFLAGS'
44951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44954
44955 cat >conftest.$ac_ext <<_ACEOF
44956 /* confdefs.h. */
44957 _ACEOF
44958 cat confdefs.h >>conftest.$ac_ext
44959 cat >>conftest.$ac_ext <<_ACEOF
44960 /* end confdefs.h. */
44961 #include <IOKit/hid/IOHIDLib.h>
44962 int
44963 main ()
44964 {
44965 IOHIDQueueInterface *qi = NULL;
44966 IOHIDCallbackFunction cb = NULL;
44967 qi->setEventCallout(NULL, cb, NULL, NULL);
44968 ;
44969 return 0;
44970 }
44971 _ACEOF
44972 rm -f conftest.$ac_objext
44973 if { (ac_try="$ac_compile"
44974 case "(($ac_try" in
44975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44976 *) ac_try_echo=$ac_try;;
44977 esac
44978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44979 (eval "$ac_compile") 2>conftest.er1
44980 ac_status=$?
44981 grep -v '^ *+' conftest.er1 >conftest.err
44982 rm -f conftest.er1
44983 cat conftest.err >&5
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); } && {
44986 test -z "$ac_cxx_werror_flag" ||
44987 test ! -s conftest.err
44988 } && test -s conftest.$ac_objext; then
44989 wxUSE_JOYSTICK=yes
44990
44991 else
44992 echo "$as_me: failed program was:" >&5
44993 sed 's/^/| /' conftest.$ac_ext >&5
44994
44995
44996 fi
44997
44998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44999 ac_ext=c
45000 ac_cpp='$CPP $CPPFLAGS'
45001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45004
45005 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45006 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45007 fi
45008
45009 else
45010 if test "$wxUSE_MGL" != 1; then
45011
45012 for ac_header in linux/joystick.h
45013 do
45014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45018 echo $ECHO_N "(cached) $ECHO_C" >&6
45019 else
45020 cat >conftest.$ac_ext <<_ACEOF
45021 /* confdefs.h. */
45022 _ACEOF
45023 cat confdefs.h >>conftest.$ac_ext
45024 cat >>conftest.$ac_ext <<_ACEOF
45025 /* end confdefs.h. */
45026 $ac_includes_default
45027
45028 #include <$ac_header>
45029 _ACEOF
45030 rm -f conftest.$ac_objext
45031 if { (ac_try="$ac_compile"
45032 case "(($ac_try" in
45033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45034 *) ac_try_echo=$ac_try;;
45035 esac
45036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45037 (eval "$ac_compile") 2>conftest.er1
45038 ac_status=$?
45039 grep -v '^ *+' conftest.er1 >conftest.err
45040 rm -f conftest.er1
45041 cat conftest.err >&5
45042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45043 (exit $ac_status); } && {
45044 test -z "$ac_c_werror_flag" ||
45045 test ! -s conftest.err
45046 } && test -s conftest.$ac_objext; then
45047 eval "$as_ac_Header=yes"
45048 else
45049 echo "$as_me: failed program was:" >&5
45050 sed 's/^/| /' conftest.$ac_ext >&5
45051
45052 eval "$as_ac_Header=no"
45053 fi
45054
45055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45056 fi
45057 ac_res=`eval echo '${'$as_ac_Header'}'`
45058 { echo "$as_me:$LINENO: result: $ac_res" >&5
45059 echo "${ECHO_T}$ac_res" >&6; }
45060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45061 cat >>confdefs.h <<_ACEOF
45062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45063 _ACEOF
45064 wxUSE_JOYSTICK=yes
45065 fi
45066
45067 done
45068
45069 fi
45070 fi
45071
45072 if test "$wxUSE_JOYSTICK" = "yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_JOYSTICK 1
45075 _ACEOF
45076
45077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45078 else
45079 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45080 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45081 fi
45082 fi
45083
45084
45085
45086 if test "$wxUSE_FONTENUM" = "yes" ; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_FONTENUM 1
45089 _ACEOF
45090
45091 fi
45092
45093 if test "$wxUSE_FONTMAP" = "yes" ; then
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_FONTMAP 1
45096 _ACEOF
45097
45098 fi
45099
45100 if test "$wxUSE_UNICODE" = "yes" ; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_UNICODE 1
45103 _ACEOF
45104
45105
45106 if test "$USE_WIN32" != 1; then
45107 wxUSE_UNICODE_MSLU=no
45108 fi
45109
45110 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45111 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45112 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45113 if test "${ac_cv_lib_unicows_main+set}" = set; then
45114 echo $ECHO_N "(cached) $ECHO_C" >&6
45115 else
45116 ac_check_lib_save_LIBS=$LIBS
45117 LIBS="-lunicows $LIBS"
45118 cat >conftest.$ac_ext <<_ACEOF
45119 /* confdefs.h. */
45120 _ACEOF
45121 cat confdefs.h >>conftest.$ac_ext
45122 cat >>conftest.$ac_ext <<_ACEOF
45123 /* end confdefs.h. */
45124
45125
45126 int
45127 main ()
45128 {
45129 return main ();
45130 ;
45131 return 0;
45132 }
45133 _ACEOF
45134 rm -f conftest.$ac_objext conftest$ac_exeext
45135 if { (ac_try="$ac_link"
45136 case "(($ac_try" in
45137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45138 *) ac_try_echo=$ac_try;;
45139 esac
45140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45141 (eval "$ac_link") 2>conftest.er1
45142 ac_status=$?
45143 grep -v '^ *+' conftest.er1 >conftest.err
45144 rm -f conftest.er1
45145 cat conftest.err >&5
45146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45147 (exit $ac_status); } && {
45148 test -z "$ac_c_werror_flag" ||
45149 test ! -s conftest.err
45150 } && test -s conftest$ac_exeext &&
45151 $as_test_x conftest$ac_exeext; then
45152 ac_cv_lib_unicows_main=yes
45153 else
45154 echo "$as_me: failed program was:" >&5
45155 sed 's/^/| /' conftest.$ac_ext >&5
45156
45157 ac_cv_lib_unicows_main=no
45158 fi
45159
45160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45161 conftest$ac_exeext conftest.$ac_ext
45162 LIBS=$ac_check_lib_save_LIBS
45163 fi
45164 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45165 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45166 if test $ac_cv_lib_unicows_main = yes; then
45167
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_UNICODE_MSLU 1
45170 _ACEOF
45171
45172
45173 else
45174
45175 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45176 Applications will only run on Windows NT/2000/XP!" >&5
45177 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45178 Applications will only run on Windows NT/2000/XP!" >&2;}
45179 wxUSE_UNICODE_MSLU=no
45180
45181 fi
45182
45183 fi
45184 fi
45185
45186 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_UNICODE_UTF8 1
45189 _ACEOF
45190
45191
45192 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_UTF8_LOCALE_ONLY 1
45195 _ACEOF
45196
45197 fi
45198 fi
45199
45200
45201 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_CONSTRAINTS 1
45204 _ACEOF
45205
45206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45207 fi
45208
45209 if test "$wxUSE_MDI" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_MDI 1
45212 _ACEOF
45213
45214
45215 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_MDI_ARCHITECTURE 1
45218 _ACEOF
45219
45220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45221 fi
45222 fi
45223
45224 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45227 _ACEOF
45228
45229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45230 fi
45231
45232 if test "$wxUSE_HELP" = "yes"; then
45233 cat >>confdefs.h <<\_ACEOF
45234 #define wxUSE_HELP 1
45235 _ACEOF
45236
45237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45238
45239 if test "$wxUSE_MSW" = 1; then
45240 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_MS_HTML_HELP 1
45243 _ACEOF
45244
45245 fi
45246 fi
45247
45248 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45249 if test "$wxUSE_HTML" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_WXHTML_HELP 1
45252 _ACEOF
45253
45254 else
45255 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45256 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45257 wxUSE_WXHTML_HELP=no
45258 fi
45259 fi
45260 fi
45261
45262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_PRINTING_ARCHITECTURE 1
45265 _ACEOF
45266
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45268 fi
45269
45270 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_POSTSCRIPT 1
45273 _ACEOF
45274
45275 fi
45276
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45279 _ACEOF
45280
45281
45282 if test "$wxUSE_SVG" = "yes"; then
45283 cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_SVG 1
45285 _ACEOF
45286
45287 fi
45288
45289
45290 if test "$wxUSE_METAFILE" = "yes"; then
45291 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45292 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45293 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45294 wxUSE_METAFILE=no
45295 fi
45296 fi
45297
45298
45299 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45300 -o "$wxUSE_CLIPBOARD" = "yes" \
45301 -o "$wxUSE_OLE" = "yes" \
45302 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45303 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45304 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45305 if test "${ac_cv_header_ole2_h+set}" = set; then
45306 echo $ECHO_N "(cached) $ECHO_C" >&6
45307 else
45308 cat >conftest.$ac_ext <<_ACEOF
45309 /* confdefs.h. */
45310 _ACEOF
45311 cat confdefs.h >>conftest.$ac_ext
45312 cat >>conftest.$ac_ext <<_ACEOF
45313 /* end confdefs.h. */
45314
45315
45316 #include <ole2.h>
45317 _ACEOF
45318 rm -f conftest.$ac_objext
45319 if { (ac_try="$ac_compile"
45320 case "(($ac_try" in
45321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45322 *) ac_try_echo=$ac_try;;
45323 esac
45324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45325 (eval "$ac_compile") 2>conftest.er1
45326 ac_status=$?
45327 grep -v '^ *+' conftest.er1 >conftest.err
45328 rm -f conftest.er1
45329 cat conftest.err >&5
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); } && {
45332 test -z "$ac_c_werror_flag" ||
45333 test ! -s conftest.err
45334 } && test -s conftest.$ac_objext; then
45335 ac_cv_header_ole2_h=yes
45336 else
45337 echo "$as_me: failed program was:" >&5
45338 sed 's/^/| /' conftest.$ac_ext >&5
45339
45340 ac_cv_header_ole2_h=no
45341 fi
45342
45343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45344 fi
45345 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45346 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45347
45348
45349
45350 if test "$ac_cv_header_ole2_h" = "yes" ; then
45351 if test "$GCC" = yes ; then
45352 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45353 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45354 cat >conftest.$ac_ext <<_ACEOF
45355 /* confdefs.h. */
45356 _ACEOF
45357 cat confdefs.h >>conftest.$ac_ext
45358 cat >>conftest.$ac_ext <<_ACEOF
45359 /* end confdefs.h. */
45360 #include <windows.h>
45361 #include <ole2.h>
45362 int
45363 main ()
45364 {
45365
45366 ;
45367 return 0;
45368 }
45369 _ACEOF
45370 rm -f conftest.$ac_objext
45371 if { (ac_try="$ac_compile"
45372 case "(($ac_try" in
45373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45374 *) ac_try_echo=$ac_try;;
45375 esac
45376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45377 (eval "$ac_compile") 2>conftest.er1
45378 ac_status=$?
45379 grep -v '^ *+' conftest.er1 >conftest.err
45380 rm -f conftest.er1
45381 cat conftest.err >&5
45382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45383 (exit $ac_status); } && {
45384 test -z "$ac_c_werror_flag" ||
45385 test ! -s conftest.err
45386 } && test -s conftest.$ac_objext; then
45387 { echo "$as_me:$LINENO: result: no" >&5
45388 echo "${ECHO_T}no" >&6; }
45389 else
45390 echo "$as_me: failed program was:" >&5
45391 sed 's/^/| /' conftest.$ac_ext >&5
45392
45393 { echo "$as_me:$LINENO: result: yes" >&5
45394 echo "${ECHO_T}yes" >&6; }
45395 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45396 fi
45397
45398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45399 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45400 if test "$wxUSE_OLE" = "yes" ; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_OLE 1
45403 _ACEOF
45404
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_OLE_AUTOMATION 1
45407 _ACEOF
45408
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_ACTIVEX 1
45411 _ACEOF
45412
45413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45414 fi
45415 fi
45416
45417 if test "$wxUSE_DATAOBJ" = "yes" ; then
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_DATAOBJ 1
45420 _ACEOF
45421
45422 fi
45423 else
45424 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45425 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45426
45427 wxUSE_CLIPBOARD=no
45428 wxUSE_DRAG_AND_DROP=no
45429 wxUSE_DATAOBJ=no
45430 wxUSE_OLE=no
45431 fi
45432
45433 if test "$wxUSE_METAFILE" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_METAFILE 1
45436 _ACEOF
45437
45438
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_ENH_METAFILE 1
45441 _ACEOF
45442
45443 fi
45444 fi
45445
45446 if test "$wxUSE_IPC" = "yes"; then
45447 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45448 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45449 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45450 wxUSE_IPC=no
45451 fi
45452
45453 if test "$wxUSE_IPC" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_IPC 1
45456 _ACEOF
45457
45458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45459 fi
45460 fi
45461
45462 if test "$wxUSE_DATAOBJ" = "yes"; then
45463 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45464 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45465 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45466 wxUSE_DATAOBJ=no
45467 else
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_DATAOBJ 1
45470 _ACEOF
45471
45472 fi
45473 else
45474 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45475 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45476 wxUSE_CLIPBOARD=no
45477 wxUSE_DRAG_AND_DROP=no
45478 fi
45479
45480 if test "$wxUSE_CLIPBOARD" = "yes"; then
45481 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45482 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45483 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45484 wxUSE_CLIPBOARD=no
45485 fi
45486
45487 if test "$wxUSE_CLIPBOARD" = "yes"; then
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_CLIPBOARD 1
45490 _ACEOF
45491
45492 fi
45493 fi
45494
45495 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45496 if test "$wxUSE_GTK" = 1; then
45497 if test "$WXGTK12" != 1; then
45498 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45499 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45500 wxUSE_DRAG_AND_DROP=no
45501 fi
45502 fi
45503
45504 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45505 "$wxUSE_DFB" = 1; then
45506 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45507 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45508 wxUSE_DRAG_AND_DROP=no
45509 fi
45510
45511 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_DRAG_AND_DROP 1
45514 _ACEOF
45515
45516 fi
45517
45518 fi
45519
45520 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45522 fi
45523
45524 if test "$wxUSE_CLIPBOARD" = "yes"; then
45525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45526 fi
45527
45528 if test "$wxUSE_SPLINES" = "yes" ; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_SPLINES 1
45531 _ACEOF
45532
45533 fi
45534
45535 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_MOUSEWHEEL 1
45538 _ACEOF
45539
45540 fi
45541
45542
45543 USES_CONTROLS=0
45544 if test "$wxUSE_CONTROLS" = "yes"; then
45545 USES_CONTROLS=1
45546 fi
45547
45548 if test "$wxUSE_ACCEL" = "yes"; then
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_ACCEL 1
45551 _ACEOF
45552
45553 USES_CONTROLS=1
45554 fi
45555
45556 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_ANIMATIONCTRL 1
45559 _ACEOF
45560
45561 USES_CONTROLS=1
45562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45563 fi
45564
45565 if test "$wxUSE_BUTTON" = "yes"; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_BUTTON 1
45568 _ACEOF
45569
45570 USES_CONTROLS=1
45571 fi
45572
45573 if test "$wxUSE_BMPBUTTON" = "yes"; then
45574 cat >>confdefs.h <<\_ACEOF
45575 #define wxUSE_BMPBUTTON 1
45576 _ACEOF
45577
45578 USES_CONTROLS=1
45579 fi
45580
45581 if test "$wxUSE_CALCTRL" = "yes"; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_CALENDARCTRL 1
45584 _ACEOF
45585
45586 USES_CONTROLS=1
45587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45588 fi
45589
45590 if test "$wxUSE_CARET" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_CARET 1
45593 _ACEOF
45594
45595 USES_CONTROLS=1
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45597 fi
45598
45599 if test "$wxUSE_COLLPANE" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_COLLPANE 1
45602 _ACEOF
45603
45604 USES_CONTROLS=1
45605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45606 fi
45607
45608 if test "$wxUSE_COMBOBOX" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_COMBOBOX 1
45611 _ACEOF
45612
45613 USES_CONTROLS=1
45614 fi
45615
45616 if test "$wxUSE_COMBOCTRL" = "yes"; then
45617 cat >>confdefs.h <<\_ACEOF
45618 #define wxUSE_COMBOCTRL 1
45619 _ACEOF
45620
45621 USES_CONTROLS=1
45622 fi
45623
45624 if test "$wxUSE_CHOICE" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_CHOICE 1
45627 _ACEOF
45628
45629 USES_CONTROLS=1
45630 fi
45631
45632 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_CHOICEBOOK 1
45635 _ACEOF
45636
45637 USES_CONTROLS=1
45638 fi
45639
45640 if test "$wxUSE_CHECKBOX" = "yes"; then
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_CHECKBOX 1
45643 _ACEOF
45644
45645 USES_CONTROLS=1
45646 fi
45647
45648 if test "$wxUSE_CHECKLST" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_CHECKLISTBOX 1
45651 _ACEOF
45652
45653 USES_CONTROLS=1
45654 fi
45655
45656 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_COLOURPICKERCTRL 1
45659 _ACEOF
45660
45661 USES_CONTROLS=1
45662 fi
45663
45664 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_DATEPICKCTRL 1
45667 _ACEOF
45668
45669 USES_CONTROLS=1
45670 fi
45671
45672 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_DIRPICKERCTRL 1
45675 _ACEOF
45676
45677 USES_CONTROLS=1
45678 fi
45679
45680 if test "$wxUSE_FILECTRL" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_FILECTRL 1
45683 _ACEOF
45684
45685 USES_CONTROLS=1
45686 fi
45687
45688 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_FILEPICKERCTRL 1
45691 _ACEOF
45692
45693 USES_CONTROLS=1
45694 fi
45695
45696 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_FONTPICKERCTRL 1
45699 _ACEOF
45700
45701 USES_CONTROLS=1
45702 fi
45703
45704 if test "$wxUSE_DISPLAY" = "yes"; then
45705 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45706 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45707 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45708 wxUSE_DISPLAY=no
45709 else
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_DISPLAY 1
45712 _ACEOF
45713
45714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45715 fi
45716 fi
45717
45718 if test "$wxUSE_DETECT_SM" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_DETECT_SM 1
45721 _ACEOF
45722
45723 fi
45724
45725 if test "$wxUSE_GAUGE" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_GAUGE 1
45728 _ACEOF
45729
45730 USES_CONTROLS=1
45731 fi
45732
45733 if test "$wxUSE_GRID" = "yes"; then
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_GRID 1
45736 _ACEOF
45737
45738 USES_CONTROLS=1
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45740 fi
45741
45742 if test "$wxUSE_HEADERCTRL" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_HEADERCTRL 1
45745 _ACEOF
45746
45747 USES_CONTROLS=1
45748 fi
45749
45750 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_HYPERLINKCTRL 1
45753 _ACEOF
45754
45755 USES_CONTROLS=1
45756 fi
45757
45758 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45759 cat >>confdefs.h <<\_ACEOF
45760 #define wxUSE_BITMAPCOMBOBOX 1
45761 _ACEOF
45762
45763 USES_CONTROLS=1
45764 fi
45765
45766 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_DATAVIEWCTRL 1
45769 _ACEOF
45770
45771 USES_CONTROLS=1
45772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45773 fi
45774
45775 if test "$wxUSE_IMAGLIST" = "yes"; then
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_IMAGLIST 1
45778 _ACEOF
45779
45780 fi
45781
45782 if test "$wxUSE_LISTBOOK" = "yes"; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_LISTBOOK 1
45785 _ACEOF
45786
45787 USES_CONTROLS=1
45788 fi
45789
45790 if test "$wxUSE_LISTBOX" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_LISTBOX 1
45793 _ACEOF
45794
45795 USES_CONTROLS=1
45796 fi
45797
45798 if test "$wxUSE_LISTCTRL" = "yes"; then
45799 if test "$wxUSE_IMAGLIST" = "yes"; then
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_LISTCTRL 1
45802 _ACEOF
45803
45804 USES_CONTROLS=1
45805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45806 else
45807 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45808 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45809 fi
45810 fi
45811
45812 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45813 cat >>confdefs.h <<\_ACEOF
45814 #define wxUSE_EDITABLELISTBOX 1
45815 _ACEOF
45816
45817 USES_CONTROLS=1
45818 fi
45819
45820 if test "$wxUSE_NOTEBOOK" = "yes"; then
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_NOTEBOOK 1
45823 _ACEOF
45824
45825 USES_CONTROLS=1
45826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45827 fi
45828
45829 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45830 cat >>confdefs.h <<\_ACEOF
45831 #define wxUSE_NOTIFICATION_MESSAGE 1
45832 _ACEOF
45833
45834 fi
45835
45836 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45837 cat >>confdefs.h <<\_ACEOF
45838 #define wxUSE_ODCOMBOBOX 1
45839 _ACEOF
45840
45841 USES_CONTROLS=1
45842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45843 fi
45844
45845 if test "$wxUSE_RADIOBOX" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_RADIOBOX 1
45848 _ACEOF
45849
45850 USES_CONTROLS=1
45851 fi
45852
45853 if test "$wxUSE_RADIOBTN" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_RADIOBTN 1
45856 _ACEOF
45857
45858 USES_CONTROLS=1
45859 fi
45860
45861 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_REARRANGECTRL 1
45864 _ACEOF
45865
45866 fi
45867
45868 if test "$wxUSE_SASH" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_SASH 1
45871 _ACEOF
45872
45873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45874 fi
45875
45876 if test "$wxUSE_SCROLLBAR" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_SCROLLBAR 1
45879 _ACEOF
45880
45881 USES_CONTROLS=1
45882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45883 fi
45884
45885 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_SEARCHCTRL 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 fi
45892
45893 if test "$wxUSE_SLIDER" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_SLIDER 1
45896 _ACEOF
45897
45898 USES_CONTROLS=1
45899 fi
45900
45901 if test "$wxUSE_SPINBTN" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_SPINBTN 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 fi
45908
45909 if test "$wxUSE_SPINCTRL" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_SPINCTRL 1
45912 _ACEOF
45913
45914 USES_CONTROLS=1
45915 fi
45916
45917 if test "$wxUSE_SPLITTER" = "yes"; then
45918 cat >>confdefs.h <<\_ACEOF
45919 #define wxUSE_SPLITTER 1
45920 _ACEOF
45921
45922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45923 fi
45924
45925 if test "$wxUSE_STATBMP" = "yes"; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define wxUSE_STATBMP 1
45928 _ACEOF
45929
45930 USES_CONTROLS=1
45931 fi
45932
45933 if test "$wxUSE_STATBOX" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_STATBOX 1
45936 _ACEOF
45937
45938 USES_CONTROLS=1
45939 fi
45940
45941 if test "$wxUSE_STATTEXT" = "yes"; then
45942 cat >>confdefs.h <<\_ACEOF
45943 #define wxUSE_STATTEXT 1
45944 _ACEOF
45945
45946 USES_CONTROLS=1
45947 fi
45948
45949 if test "$wxUSE_STATLINE" = "yes"; then
45950 cat >>confdefs.h <<\_ACEOF
45951 #define wxUSE_STATLINE 1
45952 _ACEOF
45953
45954 USES_CONTROLS=1
45955 fi
45956
45957 if test "$wxUSE_STATUSBAR" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_NATIVE_STATUSBAR 1
45960 _ACEOF
45961
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_STATUSBAR 1
45964 _ACEOF
45965
45966 USES_CONTROLS=1
45967
45968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45969 fi
45970
45971 if test "$wxUSE_TEXTCTRL" = "yes"; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_TEXTCTRL 1
45974 _ACEOF
45975
45976 USES_CONTROLS=1
45977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45978
45979 cat >>confdefs.h <<\_ACEOF
45980 #define wxUSE_RICHEDIT 1
45981 _ACEOF
45982
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_RICHEDIT2 1
45985 _ACEOF
45986
45987 fi
45988
45989 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45990 if test "$wxUSE_COCOA" = 1 ; then
45991 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45992 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45993 wxUSE_TOGGLEBTN=no
45994 fi
45995
45996 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_TOGGLEBTN 1
45999 _ACEOF
46000
46001 USES_CONTROLS=1
46002 fi
46003 fi
46004
46005 if test "$wxUSE_TOOLBAR" = "yes"; then
46006 cat >>confdefs.h <<\_ACEOF
46007 #define wxUSE_TOOLBAR 1
46008 _ACEOF
46009
46010 USES_CONTROLS=1
46011
46012 if test "$wxUSE_UNIVERSAL" = "yes"; then
46013 wxUSE_TOOLBAR_NATIVE="no"
46014 else
46015 wxUSE_TOOLBAR_NATIVE="yes"
46016 cat >>confdefs.h <<\_ACEOF
46017 #define wxUSE_TOOLBAR_NATIVE 1
46018 _ACEOF
46019
46020 fi
46021
46022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46023 fi
46024
46025 if test "$wxUSE_TOOLTIPS" = "yes"; then
46026 if test "$wxUSE_MOTIF" = 1; then
46027 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46028 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46029 else
46030 if test "$wxUSE_UNIVERSAL" = "yes"; then
46031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46032 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46033 else
46034 cat >>confdefs.h <<\_ACEOF
46035 #define wxUSE_TOOLTIPS 1
46036 _ACEOF
46037
46038 fi
46039 fi
46040 fi
46041
46042 if test "$wxUSE_TREEBOOK" = "yes"; then
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_TREEBOOK 1
46045 _ACEOF
46046
46047 USES_CONTROLS=1
46048 fi
46049
46050 if test "$wxUSE_TOOLBOOK" = "yes"; then
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_TOOLBOOK 1
46053 _ACEOF
46054
46055 USES_CONTROLS=1
46056 fi
46057
46058 if test "$wxUSE_TREECTRL" = "yes"; then
46059 if test "$wxUSE_IMAGLIST" = "yes"; then
46060 cat >>confdefs.h <<\_ACEOF
46061 #define wxUSE_TREECTRL 1
46062 _ACEOF
46063
46064 USES_CONTROLS=1
46065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46066 else
46067 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46068 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46069 fi
46070 fi
46071
46072 if test "$wxUSE_POPUPWIN" = "yes"; then
46073 if test "$wxUSE_COCOA" = 1 ; then
46074 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46075 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46076 else
46077 if test "$wxUSE_PM" = 1; then
46078 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46079 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46080 else
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_POPUPWIN 1
46083 _ACEOF
46084
46085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46086
46087 USES_CONTROLS=1
46088 fi
46089 fi
46090 fi
46091
46092 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46093 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46094 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46095 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46096 else
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_DIALUP_MANAGER 1
46099 _ACEOF
46100
46101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46102 fi
46103 fi
46104
46105 if test "$wxUSE_TIPWINDOW" = "yes"; then
46106 if test "$wxUSE_PM" = 1; then
46107 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46108 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46109 else
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_TIPWINDOW 1
46112 _ACEOF
46113
46114 fi
46115 fi
46116
46117 if test "$USES_CONTROLS" = 1; then
46118 cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_CONTROLS 1
46120 _ACEOF
46121
46122 fi
46123
46124
46125 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_ACCESSIBILITY 1
46128 _ACEOF
46129
46130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46131 fi
46132
46133 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_DRAGIMAGE 1
46136 _ACEOF
46137
46138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46139 fi
46140
46141 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46142 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46143 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46144 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46145 else
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_EXCEPTIONS 1
46148 _ACEOF
46149
46150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46151 fi
46152 fi
46153
46154 USE_HTML=0
46155 if test "$wxUSE_HTML" = "yes"; then
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_HTML 1
46158 _ACEOF
46159
46160 USE_HTML=1
46161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46162 fi
46163 if test "$wxUSE_WEBKIT" = "yes"; then
46164 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46165 old_CPPFLAGS="$CPPFLAGS"
46166 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46167 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46168 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46169 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46170 echo $ECHO_N "(cached) $ECHO_C" >&6
46171 else
46172 cat >conftest.$ac_ext <<_ACEOF
46173 /* confdefs.h. */
46174 _ACEOF
46175 cat confdefs.h >>conftest.$ac_ext
46176 cat >>conftest.$ac_ext <<_ACEOF
46177 /* end confdefs.h. */
46178
46179 #include <Carbon/Carbon.h>
46180 #include <WebKit/WebKit.h>
46181
46182
46183 #include <WebKit/HIWebView.h>
46184 _ACEOF
46185 rm -f conftest.$ac_objext
46186 if { (ac_try="$ac_compile"
46187 case "(($ac_try" in
46188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46189 *) ac_try_echo=$ac_try;;
46190 esac
46191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46192 (eval "$ac_compile") 2>conftest.er1
46193 ac_status=$?
46194 grep -v '^ *+' conftest.er1 >conftest.err
46195 rm -f conftest.er1
46196 cat conftest.err >&5
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); } && {
46199 test -z "$ac_c_werror_flag" ||
46200 test ! -s conftest.err
46201 } && test -s conftest.$ac_objext; then
46202 ac_cv_header_WebKit_HIWebView_h=yes
46203 else
46204 echo "$as_me: failed program was:" >&5
46205 sed 's/^/| /' conftest.$ac_ext >&5
46206
46207 ac_cv_header_WebKit_HIWebView_h=no
46208 fi
46209
46210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46211 fi
46212 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46213 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46214 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46215
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_WEBKIT 1
46218 _ACEOF
46219
46220 WEBKIT_LINK="-framework WebKit"
46221
46222 else
46223
46224 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46225 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46226 wxUSE_WEBKIT=no
46227
46228 fi
46229
46230
46231 CPPFLAGS="$old_CPPFLAGS"
46232 elif test "$wxUSE_COCOA" = 1; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_WEBKIT 1
46235 _ACEOF
46236
46237 else
46238 wxUSE_WEBKIT=no
46239 fi
46240 if test "$wxUSE_WEBKIT" = "yes"; then
46241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46242 fi
46243 fi
46244
46245 USE_XRC=0
46246 if test "$wxUSE_XRC" = "yes"; then
46247 if test "$wxUSE_XML" != "yes"; then
46248 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46249 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46250 wxUSE_XRC=no
46251 else
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_XRC 1
46254 _ACEOF
46255
46256 USE_XRC=1
46257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46258 fi
46259 fi
46260
46261 USE_AUI=0
46262 if test "$wxUSE_AUI" = "yes"; then
46263 cat >>confdefs.h <<\_ACEOF
46264 #define wxUSE_AUI 1
46265 _ACEOF
46266
46267 USE_AUI=1
46268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46269 fi
46270
46271 USE_PROPGRID=0
46272 if test "$wxUSE_PROPGRID" = "yes"; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_PROPGRID 1
46275 _ACEOF
46276
46277 USE_PROPGRID=1
46278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46279 fi
46280
46281 USE_STC=0
46282 if test "$wxUSE_STC" = "yes"; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_STC 1
46285 _ACEOF
46286
46287 USE_STC=1
46288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46289
46290 # Extract the first word of "python", so it can be a program name with args.
46291 set dummy python; ac_word=$2
46292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46294 if test "${ac_cv_path_PYTHON+set}" = set; then
46295 echo $ECHO_N "(cached) $ECHO_C" >&6
46296 else
46297 case $PYTHON in
46298 [\\/]* | ?:[\\/]*)
46299 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46300 ;;
46301 *)
46302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46303 for as_dir in $PATH
46304 do
46305 IFS=$as_save_IFS
46306 test -z "$as_dir" && as_dir=.
46307 for ac_exec_ext in '' $ac_executable_extensions; do
46308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46309 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46311 break 2
46312 fi
46313 done
46314 done
46315 IFS=$as_save_IFS
46316
46317 ;;
46318 esac
46319 fi
46320 PYTHON=$ac_cv_path_PYTHON
46321 if test -n "$PYTHON"; then
46322 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46323 echo "${ECHO_T}$PYTHON" >&6; }
46324 else
46325 { echo "$as_me:$LINENO: result: no" >&5
46326 echo "${ECHO_T}no" >&6; }
46327 fi
46328
46329
46330 if test "x$PYTHON" = "x"; then
46331 COND_PYTHON="#"
46332 fi
46333
46334 fi
46335
46336 if test "$wxUSE_MENUS" = "yes"; then
46337 cat >>confdefs.h <<\_ACEOF
46338 #define wxUSE_MENUS 1
46339 _ACEOF
46340
46341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46342 fi
46343
46344 if test "$wxUSE_METAFILE" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_METAFILE 1
46347 _ACEOF
46348
46349 fi
46350
46351 if test "$wxUSE_MIMETYPE" = "yes"; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_MIMETYPE 1
46354 _ACEOF
46355
46356 fi
46357
46358 if test "$wxUSE_MINIFRAME" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_MINIFRAME 1
46361 _ACEOF
46362
46363 fi
46364
46365 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46366 cat >>confdefs.h <<\_ACEOF
46367 #define wxUSE_SYSTEM_OPTIONS 1
46368 _ACEOF
46369
46370 fi
46371
46372 if test "$wxUSE_TASKBARICON" = "yes"; then
46373 cat >>confdefs.h <<\_ACEOF
46374 #define wxUSE_TASKBARICON 1
46375 _ACEOF
46376
46377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46378 fi
46379
46380
46381 if test "$wxUSE_VALIDATORS" = "yes"; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_VALIDATORS 1
46384 _ACEOF
46385
46386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46387 fi
46388
46389 if test "$wxUSE_PALETTE" = "yes" ; then
46390 if test "$wxUSE_DFB" = 1; then
46391 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46392 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46393 wxUSE_PALETTE=no
46394 else
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_PALETTE 1
46397 _ACEOF
46398
46399 fi
46400 fi
46401
46402 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46403 LIBS=" -lunicows $LIBS"
46404 fi
46405
46406 USE_RICHTEXT=0
46407 if test "$wxUSE_RICHTEXT" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_RICHTEXT 1
46410 _ACEOF
46411
46412 USE_RICHTEXT=1
46413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46414 fi
46415
46416
46417 if test "$wxUSE_IMAGE" = "yes" ; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_IMAGE 1
46420 _ACEOF
46421
46422
46423 if test "$wxUSE_GIF" = "yes" ; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_GIF 1
46426 _ACEOF
46427
46428 fi
46429
46430 if test "$wxUSE_PCX" = "yes" ; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_PCX 1
46433 _ACEOF
46434
46435 fi
46436
46437 if test "$wxUSE_TGA" = "yes" ; then
46438 cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_TGA 1
46440 _ACEOF
46441
46442 fi
46443
46444 if test "$wxUSE_IFF" = "yes" ; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_IFF 1
46447 _ACEOF
46448
46449 fi
46450
46451 if test "$wxUSE_PNM" = "yes" ; then
46452 cat >>confdefs.h <<\_ACEOF
46453 #define wxUSE_PNM 1
46454 _ACEOF
46455
46456 fi
46457
46458 if test "$wxUSE_XPM" = "yes" ; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_XPM 1
46461 _ACEOF
46462
46463 fi
46464
46465 if test "$wxUSE_ICO_CUR" = "yes" ; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_ICO_CUR 1
46468 _ACEOF
46469
46470 fi
46471 fi
46472
46473
46474 if test "$wxUSE_ABOUTDLG" = "yes"; then
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_ABOUTDLG 1
46477 _ACEOF
46478
46479 fi
46480
46481 if test "$wxUSE_CHOICEDLG" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_CHOICEDLG 1
46484 _ACEOF
46485
46486 fi
46487
46488 if test "$wxUSE_COLOURDLG" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_COLOURDLG 1
46491 _ACEOF
46492
46493 fi
46494
46495 if test "$wxUSE_FILEDLG" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_FILEDLG 1
46498 _ACEOF
46499
46500 fi
46501
46502 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_FINDREPLDLG 1
46505 _ACEOF
46506
46507 fi
46508
46509 if test "$wxUSE_FONTDLG" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_FONTDLG 1
46512 _ACEOF
46513
46514 fi
46515
46516 if test "$wxUSE_DIRDLG" = "yes"; then
46517 if test "$wxUSE_TREECTRL" != "yes"; then
46518 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46519 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46520 else
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_DIRDLG 1
46523 _ACEOF
46524
46525 fi
46526 fi
46527
46528 if test "$wxUSE_MSGDLG" = "yes"; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_MSGDLG 1
46531 _ACEOF
46532
46533 fi
46534
46535 if test "$wxUSE_NUMBERDLG" = "yes"; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_NUMBERDLG 1
46538 _ACEOF
46539
46540 fi
46541
46542 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_PROGRESSDLG 1
46545 _ACEOF
46546
46547 fi
46548
46549 if test "$wxUSE_SPLASH" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_SPLASH 1
46552 _ACEOF
46553
46554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46555 fi
46556
46557 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_STARTUP_TIPS 1
46560 _ACEOF
46561
46562 fi
46563
46564 if test "$wxUSE_TEXTDLG" = "yes"; then
46565 cat >>confdefs.h <<\_ACEOF
46566 #define wxUSE_TEXTDLG 1
46567 _ACEOF
46568
46569 fi
46570
46571 if test "$wxUSE_WIZARDDLG" = "yes"; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_WIZARDDLG 1
46574 _ACEOF
46575
46576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46577 fi
46578
46579
46580 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46581 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_OWNER_DRAWN 1
46584 _ACEOF
46585
46586 fi
46587 fi
46588
46589
46590 if test "$wxUSE_MSW" = 1 ; then
46591
46592 if test "$wxUSE_DC_CACHEING" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_DC_CACHEING 1
46595 _ACEOF
46596
46597 fi
46598
46599 if test "$wxUSE_DIB" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_WXDIB 1
46602 _ACEOF
46603
46604 fi
46605
46606 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46609 _ACEOF
46610
46611 fi
46612
46613 if test "$wxUSE_UXTHEME" = "yes"; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_UXTHEME 1
46616 _ACEOF
46617
46618 fi
46619
46620 fi
46621
46622 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_AUTOID_MANAGEMENT 1
46625 _ACEOF
46626
46627 fi
46628
46629 if test "$USE_WIN32" = 1 ; then
46630 if test "$wxUSE_INICONF" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_INICONF 1
46633 _ACEOF
46634
46635 fi
46636
46637 if test "$wxUSE_REGKEY" = "yes"; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_REGKEY 1
46640 _ACEOF
46641
46642 fi
46643 fi
46644
46645
46646 if test "$wxUSE_MAC" = 1; then
46647 wxUSE_GRAPHICS_CONTEXT="yes"
46648 fi
46649
46650 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46651 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define wxUSE_GRAPHICS_CONTEXT 1
46654 _ACEOF
46655
46656 elif test "$wxUSE_GTK" != 1; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_GRAPHICS_CONTEXT 1
46659 _ACEOF
46660
46661 else
46662
46663 pkg_failed=no
46664 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46665 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46666
46667 if test -n "$PKG_CONFIG"; then
46668 if test -n "$CAIRO_CFLAGS"; then
46669 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46670 else
46671 if test -n "$PKG_CONFIG" && \
46672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46673 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46674 ac_status=$?
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); }; then
46677 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46678 else
46679 pkg_failed=yes
46680 fi
46681 fi
46682 else
46683 pkg_failed=untried
46684 fi
46685 if test -n "$PKG_CONFIG"; then
46686 if test -n "$CAIRO_LIBS"; then
46687 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46688 else
46689 if test -n "$PKG_CONFIG" && \
46690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46691 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46692 ac_status=$?
46693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694 (exit $ac_status); }; then
46695 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46696 else
46697 pkg_failed=yes
46698 fi
46699 fi
46700 else
46701 pkg_failed=untried
46702 fi
46703
46704
46705
46706 if test $pkg_failed = yes; then
46707
46708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46709 _pkg_short_errors_supported=yes
46710 else
46711 _pkg_short_errors_supported=no
46712 fi
46713 if test $_pkg_short_errors_supported = yes; then
46714 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46715 else
46716 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46717 fi
46718 # Put the nasty error message in config.log where it belongs
46719 echo "$CAIRO_PKG_ERRORS" >&5
46720
46721 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46722 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46723
46724 elif test $pkg_failed = untried; then
46725 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46726 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46727
46728 else
46729 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46730 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46731 { echo "$as_me:$LINENO: result: yes" >&5
46732 echo "${ECHO_T}yes" >&6; }
46733 cat >>confdefs.h <<\_ACEOF
46734 #define wxUSE_GRAPHICS_CONTEXT 1
46735 _ACEOF
46736
46737 fi
46738 fi
46739 fi
46740
46741
46742 USE_MEDIA=0
46743
46744 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46745 USE_MEDIA=1
46746
46747 if test "$wxUSE_GTK" = 1; then
46748 wxUSE_GSTREAMER="no"
46749
46750 GST_VERSION_MAJOR=0
46751 GST_VERSION_MINOR=10
46752 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46753
46754 if test "$wxUSE_GSTREAMER8" = "no"; then
46755
46756 pkg_failed=no
46757 { echo "$as_me:$LINENO: checking for GST" >&5
46758 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46759
46760 if test -n "$PKG_CONFIG"; then
46761 if test -n "$GST_CFLAGS"; then
46762 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46763 else
46764 if test -n "$PKG_CONFIG" && \
46765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46766 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46767 ac_status=$?
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; then
46770 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46771 else
46772 pkg_failed=yes
46773 fi
46774 fi
46775 else
46776 pkg_failed=untried
46777 fi
46778 if test -n "$PKG_CONFIG"; then
46779 if test -n "$GST_LIBS"; then
46780 pkg_cv_GST_LIBS="$GST_LIBS"
46781 else
46782 if test -n "$PKG_CONFIG" && \
46783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46784 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46785 ac_status=$?
46786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787 (exit $ac_status); }; then
46788 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46789 else
46790 pkg_failed=yes
46791 fi
46792 fi
46793 else
46794 pkg_failed=untried
46795 fi
46796
46797
46798
46799 if test $pkg_failed = yes; then
46800
46801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46802 _pkg_short_errors_supported=yes
46803 else
46804 _pkg_short_errors_supported=no
46805 fi
46806 if test $_pkg_short_errors_supported = yes; then
46807 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46808 else
46809 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46810 fi
46811 # Put the nasty error message in config.log where it belongs
46812 echo "$GST_PKG_ERRORS" >&5
46813
46814
46815 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46816 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46817 GST_VERSION_MINOR=8
46818
46819
46820 elif test $pkg_failed = untried; then
46821
46822 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46823 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46824 GST_VERSION_MINOR=8
46825
46826
46827 else
46828 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46829 GST_LIBS=$pkg_cv_GST_LIBS
46830 { echo "$as_me:$LINENO: result: yes" >&5
46831 echo "${ECHO_T}yes" >&6; }
46832
46833 wxUSE_GSTREAMER="yes"
46834 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46835
46836 fi
46837 else
46838 GST_VERSION_MINOR=8
46839 fi
46840
46841 if test $GST_VERSION_MINOR = "8"; then
46842 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46843
46844 pkg_failed=no
46845 { echo "$as_me:$LINENO: checking for GST" >&5
46846 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46847
46848 if test -n "$PKG_CONFIG"; then
46849 if test -n "$GST_CFLAGS"; then
46850 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46851 else
46852 if test -n "$PKG_CONFIG" && \
46853 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46854 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46855 ac_status=$?
46856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46857 (exit $ac_status); }; then
46858 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46859 else
46860 pkg_failed=yes
46861 fi
46862 fi
46863 else
46864 pkg_failed=untried
46865 fi
46866 if test -n "$PKG_CONFIG"; then
46867 if test -n "$GST_LIBS"; then
46868 pkg_cv_GST_LIBS="$GST_LIBS"
46869 else
46870 if test -n "$PKG_CONFIG" && \
46871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46872 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46873 ac_status=$?
46874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46875 (exit $ac_status); }; then
46876 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46877 else
46878 pkg_failed=yes
46879 fi
46880 fi
46881 else
46882 pkg_failed=untried
46883 fi
46884
46885
46886
46887 if test $pkg_failed = yes; then
46888
46889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46890 _pkg_short_errors_supported=yes
46891 else
46892 _pkg_short_errors_supported=no
46893 fi
46894 if test $_pkg_short_errors_supported = yes; then
46895 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46896 else
46897 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46898 fi
46899 # Put the nasty error message in config.log where it belongs
46900 echo "$GST_PKG_ERRORS" >&5
46901
46902
46903 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46904 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46905
46906 elif test $pkg_failed = untried; then
46907
46908 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46909 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46910
46911 else
46912 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46913 GST_LIBS=$pkg_cv_GST_LIBS
46914 { echo "$as_me:$LINENO: result: yes" >&5
46915 echo "${ECHO_T}yes" >&6; }
46916 wxUSE_GSTREAMER="yes"
46917 fi
46918 fi
46919
46920
46921 if test "$wxUSE_GSTREAMER" = "yes"; then
46922 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46923 EXTRALIBS_MEDIA="$GST_LIBS"
46924
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_GSTREAMER 1
46927 _ACEOF
46928
46929 else
46930 USE_MEDIA=0
46931 fi
46932 fi
46933
46934 if test $USE_MEDIA = 1; then
46935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46936 cat >>confdefs.h <<\_ACEOF
46937 #define wxUSE_MEDIACTRL 1
46938 _ACEOF
46939
46940 else
46941 if test "$wxUSE_MEDIACTRL" = "yes"; then
46942 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46943 echo "$as_me: error: GStreamer not available" >&2;}
46944 { (exit 1); exit 1; }; }
46945 else
46946 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46947 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46948 fi
46949 fi
46950 fi
46951
46952
46953 if test "$cross_compiling" != "no"; then
46954 OSINFO="\"$host\""
46955 else
46956 OSINFO=`uname -s -r -m`
46957 OSINFO="\"$OSINFO\""
46958 fi
46959
46960 cat >>confdefs.h <<_ACEOF
46961 #define WXWIN_OS_DESCRIPTION $OSINFO
46962 _ACEOF
46963
46964
46965
46966 if test "x$prefix" != "xNONE"; then
46967 wxPREFIX=$prefix
46968 else
46969 wxPREFIX=$ac_default_prefix
46970 fi
46971
46972 cat >>confdefs.h <<_ACEOF
46973 #define wxINSTALL_PREFIX "$wxPREFIX"
46974 _ACEOF
46975
46976
46977
46978
46979 STD_BASE_LIBS="base"
46980 STD_GUI_LIBS=""
46981 BUILT_WX_LIBS="base"
46982 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46983
46984 if test "$wxUSE_SOCKETS" = "yes" ; then
46985 STD_BASE_LIBS="net $STD_BASE_LIBS"
46986 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46987 fi
46988 if test "$wxUSE_XML" = "yes" ; then
46989 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46990 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46991 fi
46992
46993 if test "$wxUSE_GUI" = "yes"; then
46994 STD_GUI_LIBS="adv core"
46995 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46996
46997 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46998 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46999 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47000 fi
47001 if test "$wxUSE_HTML" = "yes" ; then
47002 STD_GUI_LIBS="html $STD_GUI_LIBS"
47003 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47004 fi
47005 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47006 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47007 fi
47008 if test "$wxUSE_OPENGL" = "yes" ; then
47009 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47010 fi
47011 if test "$wxUSE_AUI" = "yes" ; then
47012 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47013 fi
47014 if test "$wxUSE_PROPGRID" = "yes" ; then
47015 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47016 fi
47017 if test "$wxUSE_RICHTEXT" = "yes" ; then
47018 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47019 fi
47020 if test "$wxUSE_STC" = "yes" ; then
47021 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47022 fi
47023 if test "$wxUSE_XRC" = "yes" ; then
47024 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47025 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47026 fi
47027 fi
47028
47029
47030
47031
47032
47033
47034
47035
47036 if test "$wxUSE_MAC" = 1 ; then
47037 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47038 if test "$USE_DARWIN" = 1; then
47039 LDFLAGS="$LDFLAGS -framework QuickTime"
47040 fi
47041 fi
47042 if test "$USE_DARWIN" = 1; then
47043 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47044 fi
47045 fi
47046 if test "$wxUSE_COCOA" = 1 ; then
47047 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47048 if test "$wxUSE_MEDIACTRL" = "yes"; then
47049 LDFLAGS="$LDFLAGS -framework QuickTime"
47050 fi
47051 fi
47052 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47053 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47054 fi
47055
47056 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47057
47058 if test "$wxUSE_GUI" = "yes"; then
47059
47060
47061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47062 erase event exec font image minimal render \
47063 shaped svg taborder vscroll widgets wrapsizer"
47064
47065 if test "$wxUSE_MONOLITHIC" != "yes"; then
47066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47067 fi
47068 if test "$TOOLKIT" = "MSW"; then
47069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47070 if test "$wxUSE_UNIVERSAL" != "yes"; then
47071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47072 fi
47073 fi
47074 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47076 fi
47077 else
47078 SAMPLES_SUBDIRS="console"
47079 if test "$wxUSE_SOCKETS" = "yes" ; then
47080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47081 fi
47082 if test "$wxUSE_IPC" = "yes" ; then
47083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47084 fi
47085 fi
47086
47087
47088 if test "x$INTELCC" = "xyes" ; then
47089 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47090 elif test "$GCC" = yes ; then
47091 CWARNINGS="-Wall -Wundef"
47092 fi
47093
47094 if test "x$INTELCXX" = "xyes" ; then
47095 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47096 elif test "$GXX" = yes ; then
47097 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47098 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47099 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47100 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47101 echo $ECHO_N "(cached) $ECHO_C" >&6
47102 else
47103 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47104
47105 ac_ext=cpp
47106 ac_cpp='$CXXCPP $CPPFLAGS'
47107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47110
47111 ac_save_CXXFLAGS="$CXXFLAGS"
47112 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47113 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47114 cat >conftest.$ac_ext <<_ACEOF
47115 /* confdefs.h. */
47116 _ACEOF
47117 cat confdefs.h >>conftest.$ac_ext
47118 cat >>conftest.$ac_ext <<_ACEOF
47119 /* end confdefs.h. */
47120
47121 int
47122 main ()
47123 {
47124 return 0;
47125 ;
47126 return 0;
47127 }
47128 _ACEOF
47129 rm -f conftest.$ac_objext
47130 if { (ac_try="$ac_compile"
47131 case "(($ac_try" in
47132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47133 *) ac_try_echo=$ac_try;;
47134 esac
47135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47136 (eval "$ac_compile") 2>conftest.er1
47137 ac_status=$?
47138 grep -v '^ *+' conftest.er1 >conftest.err
47139 rm -f conftest.er1
47140 cat conftest.err >&5
47141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47142 (exit $ac_status); } && {
47143 test -z "$ac_cxx_werror_flag" ||
47144 test ! -s conftest.err
47145 } && test -s conftest.$ac_objext; then
47146 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47147 else
47148 echo "$as_me: failed program was:" >&5
47149 sed 's/^/| /' conftest.$ac_ext >&5
47150
47151
47152 fi
47153
47154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47155 done
47156 CXXFLAGS="$ac_save_CXXFLAGS"
47157 ac_ext=c
47158 ac_cpp='$CPP $CPPFLAGS'
47159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47162
47163
47164 fi
47165 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47166 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47167 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47168 .ok|.ok,*) ;;
47169 .|.no|.no,*) ;;
47170 *)
47171 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47172 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47173 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47174 ac_status=$?
47175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47176 (exit $ac_status); }
47177 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47178 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47179 ac_status=$?
47180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47181 (exit $ac_status); }
47182 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47183 fi
47184 ;;
47185 esac
47186
47187
47188 if test "$wxUSE_MAC" = 1 ; then
47189 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47190 fi
47191 fi
47192
47193
47194 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47195 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47196
47197
47198 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47199 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47200 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47201 $CPPFLAGS `
47202
47203 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47204 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47205 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47206 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47207 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47208
47209 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47210
47211
47212 if test "x$MWCC" = "xyes"; then
47213
47214 CC="$CC -cwd source -I-"
47215 CXX="$CXX -cwd source -I-"
47216 fi
47217
47218
47219 LIBS=`echo $LIBS`
47220 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47221 EXTRALIBS_XML="$EXPAT_LINK"
47222 EXTRALIBS_HTML="$MSPACK_LINK"
47223 EXTRALIBS_MEDIA="$GST_LIBS"
47224 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47225 if test "$wxUSE_GUI" = "yes"; then
47226 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47227 fi
47228 if test "$wxUSE_OPENGL" = "yes"; then
47229 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47230 fi
47231
47232 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47233
47234 WXCONFIG_LIBS="$LIBS"
47235
47236 if test "$wxUSE_REGEX" = "builtin" ; then
47237 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47238 fi
47239 if test "$wxUSE_EXPAT" = "builtin" ; then
47240 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47241 fi
47242 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47243 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47244 fi
47245 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47246 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47247 fi
47248 if test "$wxUSE_LIBPNG" = "builtin" ; then
47249 wxconfig_3rdparty="png $wxconfig_3rdparty"
47250 fi
47251 if test "$wxUSE_ZLIB" = "builtin" ; then
47252 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47253 fi
47254
47255 for i in $wxconfig_3rdparty ; do
47256 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47257 done
47258
47259
47260 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47261 WXUNIV=1
47262
47263 case "$wxUNIV_THEMES" in
47264 ''|all)
47265 cat >>confdefs.h <<\_ACEOF
47266 #define wxUSE_ALL_THEMES 1
47267 _ACEOF
47268
47269 ;;
47270
47271 *)
47272 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47273 cat >>confdefs.h <<_ACEOF
47274 #define wxUSE_THEME_$t 1
47275 _ACEOF
47276
47277 done
47278 esac
47279 else
47280 WXUNIV=0
47281 fi
47282
47283
47284
47285
47286
47287
47288
47289
47290 if test $wxUSE_MONOLITHIC = "yes" ; then
47291 MONOLITHIC=1
47292 else
47293 MONOLITHIC=0
47294 fi
47295
47296 if test $wxUSE_PLUGINS = "yes" ; then
47297 USE_PLUGINS=1
47298 else
47299 USE_PLUGINS=0
47300 fi
47301
47302 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47303 USE_QA=1
47304 else
47305 USE_QA=0
47306 fi
47307
47308 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47309 OFFICIAL_BUILD=1
47310 else
47311 OFFICIAL_BUILD=0
47312 fi
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341 TOOLKIT_LOWERCASE=xxx
47342 if test "$TOOLKIT" = "MAC"; then
47343 TOOLKIT_LOWERCASE=osx_carbon
47344 fi
47345 if test "$TOOLKIT" = "OSX_CARBON"; then
47346 TOOLKIT_LOWERCASE=osx_carbon
47347 fi
47348 if test "$TOOLKIT" = "OSX_COCOA"; then
47349 TOOLKIT_LOWERCASE=osx_cocoa
47350 fi
47351 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47352 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47353 fi
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364 case "$TOOLKIT" in
47365 GTK)
47366 TOOLKIT_DESC="GTK+"
47367 if test "$WXGTK2" = 1; then
47368 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47369 if test "$wxUSE_GTKPRINT" = "yes" ; then
47370 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47371 fi
47372 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47373 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47374 fi
47375 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47376 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47377 fi
47378 if test "$wxUSE_LIBHILDON" = "yes"; then
47379 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47380 fi
47381
47382 if test "$TOOLKIT_EXTRA" != ""; then
47383 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47384 fi
47385 fi
47386 ;;
47387
47388 ?*)
47389 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47390 ;;
47391
47392 *)
47393 TOOLKIT_DESC="base only"
47394 ;;
47395 esac
47396
47397 if test "$wxUSE_WINE" = "yes"; then
47398 BAKEFILE_FORCE_PLATFORM=win32
47399 fi
47400
47401 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47402 then
47403 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47404 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47405 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47406 echo $ECHO_N "(cached) $ECHO_C" >&6
47407 else
47408
47409 echo '#include <stdio.h>
47410 const wchar_t test_var[] = L"awidetest";' > conftest.h
47411
47412 echo '#include "conftest.h"
47413 int main()
47414 {
47415 printf("%ls", test_var);
47416 return 0;
47417 }' > conftest.cpp
47418
47419 wx_cv_gcc_pch_bug="pch not supported"
47420
47421 if $CXX conftest.h >/dev/null 2>&1
47422 then
47423 wx_cv_gcc_pch_bug=
47424
47425 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47426 then
47427 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47428 grep awidetest >/dev/null
47429 then
47430 wx_cv_gcc_pch_bug=no
47431 else
47432 wx_cv_gcc_pch_bug=yes
47433 fi
47434 fi
47435 fi
47436
47437 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47438
47439 fi
47440 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47441 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47442
47443 if test "$wx_cv_gcc_pch_bug" = yes; then
47444 bk_use_pch=no
47445 fi
47446 fi
47447
47448
47449
47450
47451
47452
47453
47454 if test "x$BAKEFILE_HOST" = "x"; then
47455 if test "x${host}" = "x" ; then
47456 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47457 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47458 { (exit 1); exit 1; }; }
47459 fi
47460
47461 BAKEFILE_HOST="${host}"
47462 fi
47463
47464 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47465
47466 if test -n "$ac_tool_prefix"; then
47467 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47468 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47471 if test "${ac_cv_prog_RANLIB+set}" = set; then
47472 echo $ECHO_N "(cached) $ECHO_C" >&6
47473 else
47474 if test -n "$RANLIB"; then
47475 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47476 else
47477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47478 for as_dir in $PATH
47479 do
47480 IFS=$as_save_IFS
47481 test -z "$as_dir" && as_dir=.
47482 for ac_exec_ext in '' $ac_executable_extensions; do
47483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47484 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47486 break 2
47487 fi
47488 done
47489 done
47490 IFS=$as_save_IFS
47491
47492 fi
47493 fi
47494 RANLIB=$ac_cv_prog_RANLIB
47495 if test -n "$RANLIB"; then
47496 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47497 echo "${ECHO_T}$RANLIB" >&6; }
47498 else
47499 { echo "$as_me:$LINENO: result: no" >&5
47500 echo "${ECHO_T}no" >&6; }
47501 fi
47502
47503
47504 fi
47505 if test -z "$ac_cv_prog_RANLIB"; then
47506 ac_ct_RANLIB=$RANLIB
47507 # Extract the first word of "ranlib", so it can be a program name with args.
47508 set dummy ranlib; ac_word=$2
47509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47511 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47513 else
47514 if test -n "$ac_ct_RANLIB"; then
47515 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47516 else
47517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47518 for as_dir in $PATH
47519 do
47520 IFS=$as_save_IFS
47521 test -z "$as_dir" && as_dir=.
47522 for ac_exec_ext in '' $ac_executable_extensions; do
47523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47524 ac_cv_prog_ac_ct_RANLIB="ranlib"
47525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47526 break 2
47527 fi
47528 done
47529 done
47530 IFS=$as_save_IFS
47531
47532 fi
47533 fi
47534 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47535 if test -n "$ac_ct_RANLIB"; then
47536 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47537 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47538 else
47539 { echo "$as_me:$LINENO: result: no" >&5
47540 echo "${ECHO_T}no" >&6; }
47541 fi
47542
47543 if test "x$ac_ct_RANLIB" = x; then
47544 RANLIB=":"
47545 else
47546 case $cross_compiling:$ac_tool_warned in
47547 yes:)
47548 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47549 whose name does not start with the host triplet. If you think this
47550 configuration is useful to you, please write to autoconf@gnu.org." >&5
47551 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47552 whose name does not start with the host triplet. If you think this
47553 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47554 ac_tool_warned=yes ;;
47555 esac
47556 RANLIB=$ac_ct_RANLIB
47557 fi
47558 else
47559 RANLIB="$ac_cv_prog_RANLIB"
47560 fi
47561
47562 # Find a good install program. We prefer a C program (faster),
47563 # so one script is as good as another. But avoid the broken or
47564 # incompatible versions:
47565 # SysV /etc/install, /usr/sbin/install
47566 # SunOS /usr/etc/install
47567 # IRIX /sbin/install
47568 # AIX /bin/install
47569 # AmigaOS /C/install, which installs bootblocks on floppy discs
47570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47573 # OS/2's system install, which has a completely different semantic
47574 # ./install, which can be erroneously created by make from ./install.sh.
47575 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47577 if test -z "$INSTALL"; then
47578 if test "${ac_cv_path_install+set}" = set; then
47579 echo $ECHO_N "(cached) $ECHO_C" >&6
47580 else
47581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47582 for as_dir in $PATH
47583 do
47584 IFS=$as_save_IFS
47585 test -z "$as_dir" && as_dir=.
47586 # Account for people who put trailing slashes in PATH elements.
47587 case $as_dir/ in
47588 ./ | .// | /cC/* | \
47589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47591 /usr/ucb/* ) ;;
47592 *)
47593 # OSF1 and SCO ODT 3.0 have their own names for install.
47594 # Don't use installbsd from OSF since it installs stuff as root
47595 # by default.
47596 for ac_prog in ginstall scoinst install; do
47597 for ac_exec_ext in '' $ac_executable_extensions; do
47598 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47599 if test $ac_prog = install &&
47600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47601 # AIX install. It has an incompatible calling convention.
47602 :
47603 elif test $ac_prog = install &&
47604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47605 # program-specific install script used by HP pwplus--don't use.
47606 :
47607 else
47608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47609 break 3
47610 fi
47611 fi
47612 done
47613 done
47614 ;;
47615 esac
47616 done
47617 IFS=$as_save_IFS
47618
47619
47620 fi
47621 if test "${ac_cv_path_install+set}" = set; then
47622 INSTALL=$ac_cv_path_install
47623 else
47624 # As a last resort, use the slow shell script. Don't cache a
47625 # value for INSTALL within a source directory, because that will
47626 # break other packages using the cache if that directory is
47627 # removed, or if the value is a relative name.
47628 INSTALL=$ac_install_sh
47629 fi
47630 fi
47631 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47632 echo "${ECHO_T}$INSTALL" >&6; }
47633
47634 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47635 # It thinks the first close brace ends the variable substitution.
47636 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47637
47638 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47639
47640 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47641
47642 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47644 LN_S=$as_ln_s
47645 if test "$LN_S" = "ln -s"; then
47646 { echo "$as_me:$LINENO: result: yes" >&5
47647 echo "${ECHO_T}yes" >&6; }
47648 else
47649 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47650 echo "${ECHO_T}no, using $LN_S" >&6; }
47651 fi
47652
47653
47654 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47655 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47656 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47657 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47658 echo $ECHO_N "(cached) $ECHO_C" >&6
47659 else
47660 cat >conftest.make <<\_ACEOF
47661 SHELL = /bin/sh
47662 all:
47663 @echo '@@@%%%=$(MAKE)=@@@%%%'
47664 _ACEOF
47665 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47666 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47667 *@@@%%%=?*=@@@%%%*)
47668 eval ac_cv_prog_make_${ac_make}_set=yes;;
47669 *)
47670 eval ac_cv_prog_make_${ac_make}_set=no;;
47671 esac
47672 rm -f conftest.make
47673 fi
47674 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47675 { echo "$as_me:$LINENO: result: yes" >&5
47676 echo "${ECHO_T}yes" >&6; }
47677 SET_MAKE=
47678 else
47679 { echo "$as_me:$LINENO: result: no" >&5
47680 echo "${ECHO_T}no" >&6; }
47681 SET_MAKE="MAKE=${MAKE-make}"
47682 fi
47683
47684
47685
47686 if test "x$SUNCXX" = "xyes"; then
47687 AR=$CXX
47688 AROPTIONS="-xar -o"
47689
47690 elif test "x$SGICC" = "xyes"; then
47691 AR=$CXX
47692 AROPTIONS="-ar -o"
47693
47694 else
47695 if test -n "$ac_tool_prefix"; then
47696 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47697 set dummy ${ac_tool_prefix}ar; ac_word=$2
47698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47700 if test "${ac_cv_prog_AR+set}" = set; then
47701 echo $ECHO_N "(cached) $ECHO_C" >&6
47702 else
47703 if test -n "$AR"; then
47704 ac_cv_prog_AR="$AR" # Let the user override the test.
47705 else
47706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47707 for as_dir in $PATH
47708 do
47709 IFS=$as_save_IFS
47710 test -z "$as_dir" && as_dir=.
47711 for ac_exec_ext in '' $ac_executable_extensions; do
47712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47713 ac_cv_prog_AR="${ac_tool_prefix}ar"
47714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47715 break 2
47716 fi
47717 done
47718 done
47719 IFS=$as_save_IFS
47720
47721 fi
47722 fi
47723 AR=$ac_cv_prog_AR
47724 if test -n "$AR"; then
47725 { echo "$as_me:$LINENO: result: $AR" >&5
47726 echo "${ECHO_T}$AR" >&6; }
47727 else
47728 { echo "$as_me:$LINENO: result: no" >&5
47729 echo "${ECHO_T}no" >&6; }
47730 fi
47731
47732
47733 fi
47734 if test -z "$ac_cv_prog_AR"; then
47735 ac_ct_AR=$AR
47736 # Extract the first word of "ar", so it can be a program name with args.
47737 set dummy ar; ac_word=$2
47738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47741 echo $ECHO_N "(cached) $ECHO_C" >&6
47742 else
47743 if test -n "$ac_ct_AR"; then
47744 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47745 else
47746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47747 for as_dir in $PATH
47748 do
47749 IFS=$as_save_IFS
47750 test -z "$as_dir" && as_dir=.
47751 for ac_exec_ext in '' $ac_executable_extensions; do
47752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47753 ac_cv_prog_ac_ct_AR="ar"
47754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47755 break 2
47756 fi
47757 done
47758 done
47759 IFS=$as_save_IFS
47760
47761 fi
47762 fi
47763 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47764 if test -n "$ac_ct_AR"; then
47765 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47766 echo "${ECHO_T}$ac_ct_AR" >&6; }
47767 else
47768 { echo "$as_me:$LINENO: result: no" >&5
47769 echo "${ECHO_T}no" >&6; }
47770 fi
47771
47772 if test "x$ac_ct_AR" = x; then
47773 AR="ar"
47774 else
47775 case $cross_compiling:$ac_tool_warned in
47776 yes:)
47777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47778 whose name does not start with the host triplet. If you think this
47779 configuration is useful to you, please write to autoconf@gnu.org." >&5
47780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47781 whose name does not start with the host triplet. If you think this
47782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47783 ac_tool_warned=yes ;;
47784 esac
47785 AR=$ac_ct_AR
47786 fi
47787 else
47788 AR="$ac_cv_prog_AR"
47789 fi
47790
47791 AROPTIONS=rcu
47792 fi
47793
47794
47795 if test -n "$ac_tool_prefix"; then
47796 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47797 set dummy ${ac_tool_prefix}strip; ac_word=$2
47798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47800 if test "${ac_cv_prog_STRIP+set}" = set; then
47801 echo $ECHO_N "(cached) $ECHO_C" >&6
47802 else
47803 if test -n "$STRIP"; then
47804 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47805 else
47806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47807 for as_dir in $PATH
47808 do
47809 IFS=$as_save_IFS
47810 test -z "$as_dir" && as_dir=.
47811 for ac_exec_ext in '' $ac_executable_extensions; do
47812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47813 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47815 break 2
47816 fi
47817 done
47818 done
47819 IFS=$as_save_IFS
47820
47821 fi
47822 fi
47823 STRIP=$ac_cv_prog_STRIP
47824 if test -n "$STRIP"; then
47825 { echo "$as_me:$LINENO: result: $STRIP" >&5
47826 echo "${ECHO_T}$STRIP" >&6; }
47827 else
47828 { echo "$as_me:$LINENO: result: no" >&5
47829 echo "${ECHO_T}no" >&6; }
47830 fi
47831
47832
47833 fi
47834 if test -z "$ac_cv_prog_STRIP"; then
47835 ac_ct_STRIP=$STRIP
47836 # Extract the first word of "strip", so it can be a program name with args.
47837 set dummy strip; ac_word=$2
47838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47841 echo $ECHO_N "(cached) $ECHO_C" >&6
47842 else
47843 if test -n "$ac_ct_STRIP"; then
47844 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47845 else
47846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47847 for as_dir in $PATH
47848 do
47849 IFS=$as_save_IFS
47850 test -z "$as_dir" && as_dir=.
47851 for ac_exec_ext in '' $ac_executable_extensions; do
47852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47853 ac_cv_prog_ac_ct_STRIP="strip"
47854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47855 break 2
47856 fi
47857 done
47858 done
47859 IFS=$as_save_IFS
47860
47861 fi
47862 fi
47863 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47864 if test -n "$ac_ct_STRIP"; then
47865 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47866 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47867 else
47868 { echo "$as_me:$LINENO: result: no" >&5
47869 echo "${ECHO_T}no" >&6; }
47870 fi
47871
47872 if test "x$ac_ct_STRIP" = x; then
47873 STRIP=":"
47874 else
47875 case $cross_compiling:$ac_tool_warned in
47876 yes:)
47877 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47878 whose name does not start with the host triplet. If you think this
47879 configuration is useful to you, please write to autoconf@gnu.org." >&5
47880 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47881 whose name does not start with the host triplet. If you think this
47882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47883 ac_tool_warned=yes ;;
47884 esac
47885 STRIP=$ac_ct_STRIP
47886 fi
47887 else
47888 STRIP="$ac_cv_prog_STRIP"
47889 fi
47890
47891 if test -n "$ac_tool_prefix"; then
47892 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47893 set dummy ${ac_tool_prefix}nm; ac_word=$2
47894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47896 if test "${ac_cv_prog_NM+set}" = set; then
47897 echo $ECHO_N "(cached) $ECHO_C" >&6
47898 else
47899 if test -n "$NM"; then
47900 ac_cv_prog_NM="$NM" # Let the user override the test.
47901 else
47902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47903 for as_dir in $PATH
47904 do
47905 IFS=$as_save_IFS
47906 test -z "$as_dir" && as_dir=.
47907 for ac_exec_ext in '' $ac_executable_extensions; do
47908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47909 ac_cv_prog_NM="${ac_tool_prefix}nm"
47910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47911 break 2
47912 fi
47913 done
47914 done
47915 IFS=$as_save_IFS
47916
47917 fi
47918 fi
47919 NM=$ac_cv_prog_NM
47920 if test -n "$NM"; then
47921 { echo "$as_me:$LINENO: result: $NM" >&5
47922 echo "${ECHO_T}$NM" >&6; }
47923 else
47924 { echo "$as_me:$LINENO: result: no" >&5
47925 echo "${ECHO_T}no" >&6; }
47926 fi
47927
47928
47929 fi
47930 if test -z "$ac_cv_prog_NM"; then
47931 ac_ct_NM=$NM
47932 # Extract the first word of "nm", so it can be a program name with args.
47933 set dummy nm; ac_word=$2
47934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47936 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47937 echo $ECHO_N "(cached) $ECHO_C" >&6
47938 else
47939 if test -n "$ac_ct_NM"; then
47940 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47941 else
47942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47943 for as_dir in $PATH
47944 do
47945 IFS=$as_save_IFS
47946 test -z "$as_dir" && as_dir=.
47947 for ac_exec_ext in '' $ac_executable_extensions; do
47948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47949 ac_cv_prog_ac_ct_NM="nm"
47950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47951 break 2
47952 fi
47953 done
47954 done
47955 IFS=$as_save_IFS
47956
47957 fi
47958 fi
47959 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47960 if test -n "$ac_ct_NM"; then
47961 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47962 echo "${ECHO_T}$ac_ct_NM" >&6; }
47963 else
47964 { echo "$as_me:$LINENO: result: no" >&5
47965 echo "${ECHO_T}no" >&6; }
47966 fi
47967
47968 if test "x$ac_ct_NM" = x; then
47969 NM=":"
47970 else
47971 case $cross_compiling:$ac_tool_warned in
47972 yes:)
47973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47974 whose name does not start with the host triplet. If you think this
47975 configuration is useful to you, please write to autoconf@gnu.org." >&5
47976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47977 whose name does not start with the host triplet. If you think this
47978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47979 ac_tool_warned=yes ;;
47980 esac
47981 NM=$ac_ct_NM
47982 fi
47983 else
47984 NM="$ac_cv_prog_NM"
47985 fi
47986
47987
47988 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47989 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47990 INSTALL_TEST_DIR=acbftest$$
47991 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47992 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47993 rmdir $INSTALL_TEST_DIR
47994 INSTALL_DIR='$(INSTALL) -d'
47995 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47996 echo "${ECHO_T}$INSTALL -d" >&6; }
47997 else
47998 INSTALL_DIR="mkdir -p"
47999 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48000 echo "${ECHO_T}mkdir -p" >&6; }
48001 fi
48002
48003
48004 LDFLAGS_GUI=
48005 case ${BAKEFILE_HOST} in
48006 *-*-cygwin* | *-*-mingw32* )
48007 LDFLAGS_GUI="-mwindows"
48008 esac
48009
48010
48011 fi
48012
48013 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48014 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48015 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48017 else
48018
48019 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48020 egrep -s GNU > /dev/null); then
48021 bakefile_cv_prog_makeisgnu="yes"
48022 else
48023 bakefile_cv_prog_makeisgnu="no"
48024 fi
48025
48026 fi
48027 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48028 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48029
48030 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48031 IF_GNU_MAKE=""
48032 else
48033 IF_GNU_MAKE="#"
48034 fi
48035
48036
48037
48038 PLATFORM_UNIX=0
48039 PLATFORM_WIN32=0
48040 PLATFORM_MSDOS=0
48041 PLATFORM_MAC=0
48042 PLATFORM_MACOS=0
48043 PLATFORM_MACOSX=0
48044 PLATFORM_OS2=0
48045 PLATFORM_BEOS=0
48046
48047 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48048 case "${BAKEFILE_HOST}" in
48049 *-*-mingw32* )
48050 PLATFORM_WIN32=1
48051 ;;
48052 *-pc-msdosdjgpp )
48053 PLATFORM_MSDOS=1
48054 ;;
48055 *-pc-os2_emx | *-pc-os2-emx )
48056 PLATFORM_OS2=1
48057 ;;
48058 *-*-darwin* )
48059 PLATFORM_MAC=1
48060 PLATFORM_MACOSX=1
48061 ;;
48062 *-*-beos* )
48063 PLATFORM_BEOS=1
48064 ;;
48065 powerpc-apple-macos* )
48066 PLATFORM_MAC=1
48067 PLATFORM_MACOS=1
48068 ;;
48069 * )
48070 PLATFORM_UNIX=1
48071 ;;
48072 esac
48073 else
48074 case "$BAKEFILE_FORCE_PLATFORM" in
48075 win32 )
48076 PLATFORM_WIN32=1
48077 ;;
48078 msdos )
48079 PLATFORM_MSDOS=1
48080 ;;
48081 os2 )
48082 PLATFORM_OS2=1
48083 ;;
48084 darwin )
48085 PLATFORM_MAC=1
48086 PLATFORM_MACOSX=1
48087 ;;
48088 unix )
48089 PLATFORM_UNIX=1
48090 ;;
48091 beos )
48092 PLATFORM_BEOS=1
48093 ;;
48094 * )
48095 ;;
48096 esac
48097 fi
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109 # Check whether --enable-omf was given.
48110 if test "${enable_omf+set}" = set; then
48111 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48112 fi
48113
48114
48115 case "${BAKEFILE_HOST}" in
48116 *-*-darwin* )
48117 if test "x$GCC" = "xyes"; then
48118 CFLAGS="$CFLAGS -fno-common"
48119 CXXFLAGS="$CXXFLAGS -fno-common"
48120 fi
48121 if test "x$XLCC" = "xyes"; then
48122 CFLAGS="$CFLAGS -qnocommon"
48123 CXXFLAGS="$CXXFLAGS -qnocommon"
48124 fi
48125 ;;
48126
48127 *-pc-os2_emx | *-pc-os2-emx )
48128 if test "x$bk_os2_use_omf" = "xyes" ; then
48129 AR=emxomfar
48130 RANLIB=:
48131 LDFLAGS="-Zomf $LDFLAGS"
48132 CFLAGS="-Zomf $CFLAGS"
48133 CXXFLAGS="-Zomf $CXXFLAGS"
48134 OS2_LIBEXT="lib"
48135 else
48136 OS2_LIBEXT="a"
48137 fi
48138 ;;
48139
48140 i*86-*-beos* )
48141 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48142 ;;
48143 esac
48144
48145
48146 SO_SUFFIX="so"
48147 SO_SUFFIX_MODULE="so"
48148 EXEEXT=""
48149 LIBPREFIX="lib"
48150 LIBEXT=".a"
48151 DLLPREFIX="lib"
48152 DLLPREFIX_MODULE=""
48153 DLLIMP_SUFFIX=""
48154 dlldir="$libdir"
48155
48156 case "${BAKEFILE_HOST}" in
48157 ia64-hp-hpux* )
48158 ;;
48159 *-hp-hpux* )
48160 SO_SUFFIX="sl"
48161 SO_SUFFIX_MODULE="sl"
48162 ;;
48163 *-*-aix* )
48164 SO_SUFFIX="a"
48165 SO_SUFFIX_MODULE="a"
48166 ;;
48167 *-*-cygwin* )
48168 SO_SUFFIX="dll"
48169 SO_SUFFIX_MODULE="dll"
48170 DLLIMP_SUFFIX="dll.a"
48171 EXEEXT=".exe"
48172 DLLPREFIX="cyg"
48173 dlldir="$bindir"
48174 ;;
48175 *-*-mingw32* )
48176 SO_SUFFIX="dll"
48177 SO_SUFFIX_MODULE="dll"
48178 DLLIMP_SUFFIX="dll.a"
48179 EXEEXT=".exe"
48180 DLLPREFIX=""
48181 dlldir="$bindir"
48182 ;;
48183 *-pc-msdosdjgpp )
48184 EXEEXT=".exe"
48185 DLLPREFIX=""
48186 dlldir="$bindir"
48187 ;;
48188 *-pc-os2_emx | *-pc-os2-emx )
48189 SO_SUFFIX="dll"
48190 SO_SUFFIX_MODULE="dll"
48191 DLLIMP_SUFFIX=$OS2_LIBEXT
48192 EXEEXT=".exe"
48193 DLLPREFIX=""
48194 LIBPREFIX=""
48195 LIBEXT=".$OS2_LIBEXT"
48196 dlldir="$bindir"
48197 ;;
48198 *-*-darwin* )
48199 SO_SUFFIX="dylib"
48200 SO_SUFFIX_MODULE="bundle"
48201 ;;
48202 esac
48203
48204 if test "x$DLLIMP_SUFFIX" = "x" ; then
48205 DLLIMP_SUFFIX="$SO_SUFFIX"
48206 fi
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218
48219 PIC_FLAG=""
48220 if test "x$GCC" = "xyes"; then
48221 PIC_FLAG="-fPIC"
48222 fi
48223
48224 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48225 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48226 WINDOWS_IMPLIB=0
48227
48228 case "${BAKEFILE_HOST}" in
48229 *-hp-hpux* )
48230 if test "x$GCC" != "xyes"; then
48231 LDFLAGS="$LDFLAGS -L/usr/lib"
48232
48233 SHARED_LD_CC="${CC} -b -o"
48234 SHARED_LD_CXX="${CXX} -b -o"
48235 PIC_FLAG="+Z"
48236 fi
48237 ;;
48238
48239 *-*-linux* )
48240 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48241 PIC_FLAG="-KPIC"
48242 elif test "x$SUNCXX" = "xyes"; then
48243 SHARED_LD_CC="${CC} -G -o"
48244 SHARED_LD_CXX="${CXX} -G -o"
48245 PIC_FLAG="-KPIC"
48246 fi
48247 ;;
48248
48249 *-*-solaris2* )
48250 if test "x$SUNCXX" = xyes ; then
48251 SHARED_LD_CC="${CC} -G -o"
48252 SHARED_LD_CXX="${CXX} -G -o"
48253 PIC_FLAG="-KPIC"
48254 fi
48255 ;;
48256
48257 *-*-darwin* )
48258
48259 D='$'
48260 cat <<EOF >shared-ld-sh
48261 #!/bin/sh
48262 #-----------------------------------------------------------------------------
48263 #-- Name: distrib/mac/shared-ld-sh
48264 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48265 #-- Author: Gilles Depeyrot
48266 #-- Copyright: (c) 2002 Gilles Depeyrot
48267 #-- Licence: any use permitted
48268 #-----------------------------------------------------------------------------
48269
48270 verbose=0
48271 args=""
48272 objects=""
48273 linking_flag="-dynamiclib"
48274 ldargs="-r -keep_private_externs -nostdlib"
48275
48276 if test "x${D}CXX" = "x"; then
48277 CXX="c++"
48278 fi
48279
48280 while test ${D}# -gt 0; do
48281 case ${D}1 in
48282
48283 -v)
48284 verbose=1
48285 ;;
48286
48287 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48288 # collect these options and values
48289 args="${D}{args} ${D}1 ${D}2"
48290 shift
48291 ;;
48292
48293 -arch|-isysroot)
48294 # collect these options and values
48295 ldargs="${D}{ldargs} ${D}1 ${D}2"
48296 shift
48297 ;;
48298
48299 -s|-Wl,*)
48300 # collect these load args
48301 ldargs="${D}{ldargs} ${D}1"
48302 ;;
48303
48304 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48305 # collect these options
48306 args="${D}{args} ${D}1"
48307 ;;
48308
48309 -dynamiclib|-bundle)
48310 linking_flag="${D}1"
48311 ;;
48312
48313 -*)
48314 echo "shared-ld: unhandled option '${D}1'"
48315 exit 1
48316 ;;
48317
48318 *.o | *.a | *.dylib)
48319 # collect object files
48320 objects="${D}{objects} ${D}1"
48321 ;;
48322
48323 *)
48324 echo "shared-ld: unhandled argument '${D}1'"
48325 exit 1
48326 ;;
48327
48328 esac
48329 shift
48330 done
48331
48332 status=0
48333
48334 #
48335 # Link one module containing all the others
48336 #
48337 if test ${D}{verbose} = 1; then
48338 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48339 fi
48340 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48341 status=${D}?
48342
48343 #
48344 # Link the shared library from the single module created, but only if the
48345 # previous command didn't fail:
48346 #
48347 if test ${D}{status} = 0; then
48348 if test ${D}{verbose} = 1; then
48349 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48350 fi
48351 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48352 status=${D}?
48353 fi
48354
48355 #
48356 # Remove intermediate module
48357 #
48358 rm -f master.${D}${D}.o
48359
48360 exit ${D}status
48361 EOF
48362
48363 chmod +x shared-ld-sh
48364
48365 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48366 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48367
48368
48369 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48370 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48371 if test "${bakefile_cv_gcc31+set}" = set; then
48372 echo $ECHO_N "(cached) $ECHO_C" >&6
48373 else
48374
48375 cat >conftest.$ac_ext <<_ACEOF
48376 /* confdefs.h. */
48377 _ACEOF
48378 cat confdefs.h >>conftest.$ac_ext
48379 cat >>conftest.$ac_ext <<_ACEOF
48380 /* end confdefs.h. */
48381
48382 int
48383 main ()
48384 {
48385
48386 #if (__GNUC__ < 3) || \
48387 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48388 This is old gcc
48389 #endif
48390
48391 ;
48392 return 0;
48393 }
48394 _ACEOF
48395 rm -f conftest.$ac_objext
48396 if { (ac_try="$ac_compile"
48397 case "(($ac_try" in
48398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48399 *) ac_try_echo=$ac_try;;
48400 esac
48401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48402 (eval "$ac_compile") 2>conftest.er1
48403 ac_status=$?
48404 grep -v '^ *+' conftest.er1 >conftest.err
48405 rm -f conftest.er1
48406 cat conftest.err >&5
48407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48408 (exit $ac_status); } && {
48409 test -z "$ac_c_werror_flag" ||
48410 test ! -s conftest.err
48411 } && test -s conftest.$ac_objext; then
48412
48413 bakefile_cv_gcc31=yes
48414
48415 else
48416 echo "$as_me: failed program was:" >&5
48417 sed 's/^/| /' conftest.$ac_ext >&5
48418
48419
48420 bakefile_cv_gcc31=no
48421
48422
48423 fi
48424
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426
48427 fi
48428 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48429 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48430 if test "$bakefile_cv_gcc31" = "no"; then
48431 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48432 SHARED_LD_CXX="$SHARED_LD_CC"
48433 else
48434 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48435 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48436 fi
48437
48438 if test "x$GCC" == "xyes"; then
48439 PIC_FLAG="-dynamic -fPIC"
48440 fi
48441 if test "x$XLCC" = "xyes"; then
48442 PIC_FLAG="-dynamic -DPIC"
48443 fi
48444 ;;
48445
48446 *-*-aix* )
48447 if test "x$GCC" = "xyes"; then
48448 PIC_FLAG=""
48449
48450 case "${BAKEFILE_HOST}" in
48451 *-*-aix5* )
48452 LD_EXPFULL="-Wl,-bexpfull"
48453 ;;
48454 esac
48455
48456 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48457 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48458 else
48459 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48460 set dummy makeC++SharedLib; ac_word=$2
48461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48463 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48464 echo $ECHO_N "(cached) $ECHO_C" >&6
48465 else
48466 if test -n "$AIX_CXX_LD"; then
48467 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48468 else
48469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48470 for as_dir in $PATH
48471 do
48472 IFS=$as_save_IFS
48473 test -z "$as_dir" && as_dir=.
48474 for ac_exec_ext in '' $ac_executable_extensions; do
48475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48476 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48478 break 2
48479 fi
48480 done
48481 done
48482 IFS=$as_save_IFS
48483
48484 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48485 fi
48486 fi
48487 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48488 if test -n "$AIX_CXX_LD"; then
48489 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48490 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48491 else
48492 { echo "$as_me:$LINENO: result: no" >&5
48493 echo "${ECHO_T}no" >&6; }
48494 fi
48495
48496
48497 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48498 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48499 fi
48500 ;;
48501
48502 *-*-beos* )
48503 SHARED_LD_CC="${LD} -nostart -o"
48504 SHARED_LD_CXX="${LD} -nostart -o"
48505 ;;
48506
48507 *-*-irix* )
48508 if test "x$GCC" != "xyes"; then
48509 PIC_FLAG="-KPIC"
48510 fi
48511 ;;
48512
48513 *-*-cygwin* | *-*-mingw32* )
48514 PIC_FLAG=""
48515 SHARED_LD_CC="\$(CC) -shared -o"
48516 SHARED_LD_CXX="\$(CXX) -shared -o"
48517 WINDOWS_IMPLIB=1
48518 ;;
48519
48520 *-pc-os2_emx | *-pc-os2-emx )
48521 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48522 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48523 PIC_FLAG=""
48524
48525 D='$'
48526 cat <<EOF >dllar.sh
48527 #!/bin/sh
48528 #
48529 # dllar - a tool to build both a .dll and an .a file
48530 # from a set of object (.o) files for EMX/OS2.
48531 #
48532 # Written by Andrew Zabolotny, bit@freya.etu.ru
48533 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48534 #
48535 # This script will accept a set of files on the command line.
48536 # All the public symbols from the .o files will be exported into
48537 # a .DEF file, then linker will be run (through gcc) against them to
48538 # build a shared library consisting of all given .o files. All libraries
48539 # (.a) will be first decompressed into component .o files then act as
48540 # described above. You can optionally give a description (-d "description")
48541 # which will be put into .DLL. To see the list of accepted options (as well
48542 # as command-line format) simply run this program without options. The .DLL
48543 # is built to be imported by name (there is no guarantee that new versions
48544 # of the library you build will have same ordinals for same symbols).
48545 #
48546 # dllar is free software; you can redistribute it and/or modify
48547 # it under the terms of the GNU General Public License as published by
48548 # the Free Software Foundation; either version 2, or (at your option)
48549 # any later version.
48550 #
48551 # dllar is distributed in the hope that it will be useful,
48552 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48553 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48554 # GNU General Public License for more details.
48555 #
48556 # You should have received a copy of the GNU General Public License
48557 # along with dllar; see the file COPYING. If not, write to the Free
48558 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48559 # 02111-1307, USA.
48560
48561 # To successfuly run this program you will need:
48562 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48563 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48564 # - gcc
48565 # (used to build the .dll)
48566 # - emxexp
48567 # (used to create .def file from .o files)
48568 # - emximp
48569 # (used to create .a file from .def file)
48570 # - GNU text utilites (cat, sort, uniq)
48571 # used to process emxexp output
48572 # - GNU file utilities (mv, rm)
48573 # - GNU sed
48574 # - lxlite (optional, see flag below)
48575 # (used for general .dll cleanup)
48576 #
48577
48578 flag_USE_LXLITE=1;
48579
48580 #
48581 # helper functions
48582 # basnam, variant of basename, which does _not_ remove the path, _iff_
48583 # second argument (suffix to remove) is given
48584 basnam(){
48585 case ${D}# in
48586 1)
48587 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48588 ;;
48589 2)
48590 echo ${D}1 | sed 's/'${D}2'${D}//'
48591 ;;
48592 *)
48593 echo "error in basnam ${D}*"
48594 exit 8
48595 ;;
48596 esac
48597 }
48598
48599 # Cleanup temporary files and output
48600 CleanUp() {
48601 cd ${D}curDir
48602 for i in ${D}inputFiles ; do
48603 case ${D}i in
48604 *!)
48605 rm -rf \`basnam ${D}i !\`
48606 ;;
48607 *)
48608 ;;
48609 esac
48610 done
48611
48612 # Kill result in case of failure as there is just to many stupid make/nmake
48613 # things out there which doesn't do this.
48614 if [ ${D}# -eq 0 ]; then
48615 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48616 fi
48617 }
48618
48619 # Print usage and exit script with rc=1.
48620 PrintHelp() {
48621 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48622 echo ' [-name-mangler-script script.sh]'
48623 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48624 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48625 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48626 echo ' [*.o] [*.a]'
48627 echo '*> "output_file" should have no extension.'
48628 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48629 echo ' The import library name is derived from this and is set to "name".a,'
48630 echo ' unless overridden by -import'
48631 echo '*> "importlib_name" should have no extension.'
48632 echo ' If it has the .o, or .a extension, it is automatically removed.'
48633 echo ' This name is used as the import library name and may be longer and'
48634 echo ' more descriptive than the DLL name which has to follow the old '
48635 echo ' 8.3 convention of FAT.'
48636 echo '*> "script.sh may be given to override the output_file name by a'
48637 echo ' different name. It is mainly useful if the regular make process'
48638 echo ' of some package does not take into account OS/2 restriction of'
48639 echo ' DLL name lengths. It takes the importlib name as input and is'
48640 echo ' supposed to procude a shorter name as output. The script should'
48641 echo ' expect to get importlib_name without extension and should produce'
48642 echo ' a (max.) 8 letter name without extension.'
48643 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48644 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48645 echo ' These flags will be put at the start of GCC command line.'
48646 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48647 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48648 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48649 echo ' If the last character of a symbol is "*", all symbols beginning'
48650 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48651 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48652 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48653 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48654 echo ' C runtime DLLs.'
48655 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48656 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48657 echo ' unchanged to GCC at the end of command line.'
48658 echo '*> If you create a DLL from a library and you do not specify -o,'
48659 echo ' the basename for DLL and import library will be set to library name,'
48660 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48661 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48662 echo ' library will be renamed into gcc_s.a.'
48663 echo '--------'
48664 echo 'Example:'
48665 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48666 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48667 CleanUp
48668 exit 1
48669 }
48670
48671 # Execute a command.
48672 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48673 # @Uses Whatever CleanUp() uses.
48674 doCommand() {
48675 echo "${D}*"
48676 eval ${D}*
48677 rcCmd=${D}?
48678
48679 if [ ${D}rcCmd -ne 0 ]; then
48680 echo "command failed, exit code="${D}rcCmd
48681 CleanUp
48682 exit ${D}rcCmd
48683 fi
48684 }
48685
48686 # main routine
48687 # setup globals
48688 cmdLine=${D}*
48689 outFile=""
48690 outimpFile=""
48691 inputFiles=""
48692 renameScript=""
48693 description=""
48694 CC=gcc.exe
48695 CFLAGS="-s -Zcrtdll"
48696 EXTRA_CFLAGS=""
48697 EXPORT_BY_ORDINALS=0
48698 exclude_symbols=""
48699 library_flags=""
48700 curDir=\`pwd\`
48701 curDirS=curDir
48702 case ${D}curDirS in
48703 */)
48704 ;;
48705 *)
48706 curDirS=${D}{curDirS}"/"
48707 ;;
48708 esac
48709 # Parse commandline
48710 libsToLink=0
48711 omfLinking=0
48712 while [ ${D}1 ]; do
48713 case ${D}1 in
48714 -ord*)
48715 EXPORT_BY_ORDINALS=1;
48716 ;;
48717 -o*)
48718 shift
48719 outFile=${D}1
48720 ;;
48721 -i*)
48722 shift
48723 outimpFile=${D}1
48724 ;;
48725 -name-mangler-script)
48726 shift
48727 renameScript=${D}1
48728 ;;
48729 -d*)
48730 shift
48731 description=${D}1
48732 ;;
48733 -f*)
48734 shift
48735 CFLAGS=${D}1
48736 ;;
48737 -c*)
48738 shift
48739 CC=${D}1
48740 ;;
48741 -h*)
48742 PrintHelp
48743 ;;
48744 -ex*)
48745 shift
48746 exclude_symbols=${D}{exclude_symbols}${D}1" "
48747 ;;
48748 -libf*)
48749 shift
48750 library_flags=${D}{library_flags}${D}1" "
48751 ;;
48752 -nocrt*)
48753 CFLAGS="-s"
48754 ;;
48755 -nolxl*)
48756 flag_USE_LXLITE=0
48757 ;;
48758 -* | /*)
48759 case ${D}1 in
48760 -L* | -l*)
48761 libsToLink=1
48762 ;;
48763 -Zomf)
48764 omfLinking=1
48765 ;;
48766 *)
48767 ;;
48768 esac
48769 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48770 ;;
48771 *.dll)
48772 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48773 if [ ${D}omfLinking -eq 1 ]; then
48774 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48775 else
48776 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48777 fi
48778 ;;
48779 *)
48780 found=0;
48781 if [ ${D}libsToLink -ne 0 ]; then
48782 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48783 else
48784 for file in ${D}1 ; do
48785 if [ -f ${D}file ]; then
48786 inputFiles="${D}{inputFiles} ${D}file"
48787 found=1
48788 fi
48789 done
48790 if [ ${D}found -eq 0 ]; then
48791 echo "ERROR: No file(s) found: "${D}1
48792 exit 8
48793 fi
48794 fi
48795 ;;
48796 esac
48797 shift
48798 done # iterate cmdline words
48799
48800 #
48801 if [ -z "${D}inputFiles" ]; then
48802 echo "dllar: no input files"
48803 PrintHelp
48804 fi
48805
48806 # Now extract all .o files from .a files
48807 newInputFiles=""
48808 for file in ${D}inputFiles ; do
48809 case ${D}file in
48810 *.a | *.lib)
48811 case ${D}file in
48812 *.a)
48813 suffix=".a"
48814 AR="ar"
48815 ;;
48816 *.lib)
48817 suffix=".lib"
48818 AR="emxomfar"
48819 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48820 ;;
48821 *)
48822 ;;
48823 esac
48824 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48825 mkdir ${D}dirname
48826 if [ ${D}? -ne 0 ]; then
48827 echo "Failed to create subdirectory ./${D}dirname"
48828 CleanUp
48829 exit 8;
48830 fi
48831 # Append '!' to indicate archive
48832 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48833 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48834 cd ${D}curDir
48835 found=0;
48836 for subfile in ${D}dirname/*.o* ; do
48837 if [ -f ${D}subfile ]; then
48838 found=1
48839 if [ -s ${D}subfile ]; then
48840 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48841 newInputFiles="${D}newInputFiles ${D}subfile"
48842 fi
48843 fi
48844 done
48845 if [ ${D}found -eq 0 ]; then
48846 echo "WARNING: there are no files in archive \\'${D}file\\'"
48847 fi
48848 ;;
48849 *)
48850 newInputFiles="${D}{newInputFiles} ${D}file"
48851 ;;
48852 esac
48853 done
48854 inputFiles="${D}newInputFiles"
48855
48856 # Output filename(s).
48857 do_backup=0;
48858 if [ -z ${D}outFile ]; then
48859 do_backup=1;
48860 set outFile ${D}inputFiles; outFile=${D}2
48861 fi
48862
48863 # If it is an archive, remove the '!' and the '_%' suffixes
48864 case ${D}outFile in
48865 *_%!)
48866 outFile=\`basnam ${D}outFile _%!\`
48867 ;;
48868 *)
48869 ;;
48870 esac
48871 case ${D}outFile in
48872 *.dll)
48873 outFile=\`basnam ${D}outFile .dll\`
48874 ;;
48875 *.DLL)
48876 outFile=\`basnam ${D}outFile .DLL\`
48877 ;;
48878 *.o)
48879 outFile=\`basnam ${D}outFile .o\`
48880 ;;
48881 *.obj)
48882 outFile=\`basnam ${D}outFile .obj\`
48883 ;;
48884 *.a)
48885 outFile=\`basnam ${D}outFile .a\`
48886 ;;
48887 *.lib)
48888 outFile=\`basnam ${D}outFile .lib\`
48889 ;;
48890 *)
48891 ;;
48892 esac
48893 case ${D}outimpFile in
48894 *.a)
48895 outimpFile=\`basnam ${D}outimpFile .a\`
48896 ;;
48897 *.lib)
48898 outimpFile=\`basnam ${D}outimpFile .lib\`
48899 ;;
48900 *)
48901 ;;
48902 esac
48903 if [ -z ${D}outimpFile ]; then
48904 outimpFile=${D}outFile
48905 fi
48906 defFile="${D}{outFile}.def"
48907 arcFile="${D}{outimpFile}.a"
48908 arcFile2="${D}{outimpFile}.lib"
48909
48910 #create ${D}dllFile as something matching 8.3 restrictions,
48911 if [ -z ${D}renameScript ] ; then
48912 dllFile="${D}outFile"
48913 else
48914 dllFile=\`${D}renameScript ${D}outimpFile\`
48915 fi
48916
48917 if [ ${D}do_backup -ne 0 ] ; then
48918 if [ -f ${D}arcFile ] ; then
48919 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48920 fi
48921 if [ -f ${D}arcFile2 ] ; then
48922 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48923 fi
48924 fi
48925
48926 # Extract public symbols from all the object files.
48927 tmpdefFile=${D}{defFile}_%
48928 rm -f ${D}tmpdefFile
48929 for file in ${D}inputFiles ; do
48930 case ${D}file in
48931 *!)
48932 ;;
48933 *)
48934 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48935 ;;
48936 esac
48937 done
48938
48939 # Create the def file.
48940 rm -f ${D}defFile
48941 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48942 dllFile="${D}{dllFile}.dll"
48943 if [ ! -z ${D}description ]; then
48944 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48945 fi
48946 echo "EXPORTS" >> ${D}defFile
48947
48948 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48949 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48950
48951 # Checks if the export is ok or not.
48952 for word in ${D}exclude_symbols; do
48953 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48954 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48955 done
48956
48957
48958 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48959 sed "=" < ${D}tmpdefFile | \\
48960 sed '
48961 N
48962 : loop
48963 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48964 t loop
48965 ' > ${D}{tmpdefFile}%
48966 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48967 else
48968 rm -f ${D}{tmpdefFile}%
48969 fi
48970 cat ${D}tmpdefFile >> ${D}defFile
48971 rm -f ${D}tmpdefFile
48972
48973 # Do linking, create implib, and apply lxlite.
48974 gccCmdl="";
48975 for file in ${D}inputFiles ; do
48976 case ${D}file in
48977 *!)
48978 ;;
48979 *)
48980 gccCmdl="${D}gccCmdl ${D}file"
48981 ;;
48982 esac
48983 done
48984 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48985 touch "${D}{outFile}.dll"
48986
48987 doCommand "emximp -o ${D}arcFile ${D}defFile"
48988 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48989 add_flags="";
48990 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48991 add_flags="-ynd"
48992 fi
48993 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48994 fi
48995 doCommand "emxomf -s -l ${D}arcFile"
48996
48997 # Successful exit.
48998 CleanUp 1
48999 exit 0
49000 EOF
49001
49002 chmod +x dllar.sh
49003 ;;
49004
49005 powerpc-apple-macos* | \
49006 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49007 *-*-mirbsd* | \
49008 *-*-sunos4* | \
49009 *-*-osf* | \
49010 *-*-dgux5* | \
49011 *-*-sysv5* | \
49012 *-pc-msdosdjgpp )
49013 ;;
49014
49015 *)
49016 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49017 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49018 { (exit 1); exit 1; }; }
49019 esac
49020
49021 if test "x$PIC_FLAG" != "x" ; then
49022 PIC_FLAG="$PIC_FLAG -DPIC"
49023 fi
49024
49025 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49026 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49027 fi
49028 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49029 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49030 fi
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040 USE_SOVERSION=0
49041 USE_SOVERLINUX=0
49042 USE_SOVERSOLARIS=0
49043 USE_SOVERCYGWIN=0
49044 USE_SOSYMLINKS=0
49045 USE_MACVERSION=0
49046 SONAME_FLAG=
49047
49048 case "${BAKEFILE_HOST}" in
49049 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49050 *-*-k*bsd*-gnu | *-*-mirbsd* )
49051 if test "x$SUNCXX" = "xyes"; then
49052 SONAME_FLAG="-h "
49053 else
49054 SONAME_FLAG="-Wl,-soname,"
49055 fi
49056 USE_SOVERSION=1
49057 USE_SOVERLINUX=1
49058 USE_SOSYMLINKS=1
49059 ;;
49060
49061 *-*-solaris2* )
49062 SONAME_FLAG="-h "
49063 USE_SOVERSION=1
49064 USE_SOVERSOLARIS=1
49065 USE_SOSYMLINKS=1
49066 ;;
49067
49068 *-*-darwin* )
49069 USE_MACVERSION=1
49070 USE_SOVERSION=1
49071 USE_SOSYMLINKS=1
49072 ;;
49073
49074 *-*-cygwin* )
49075 USE_SOVERSION=1
49076 USE_SOVERCYGWIN=1
49077 ;;
49078 esac
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089 # Check whether --enable-dependency-tracking was given.
49090 if test "${enable_dependency_tracking+set}" = set; then
49091 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49092 fi
49093
49094
49095 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49096 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49097
49098 BK_DEPS=""
49099 if test "x$bk_use_trackdeps" = "xno" ; then
49100 DEPS_TRACKING=0
49101 { echo "$as_me:$LINENO: result: disabled" >&5
49102 echo "${ECHO_T}disabled" >&6; }
49103 else
49104 DEPS_TRACKING=1
49105
49106 if test "x$GCC" = "xyes"; then
49107 DEPSMODE=gcc
49108 case "${BAKEFILE_HOST}" in
49109 *-*-darwin* )
49110 DEPSFLAG="-no-cpp-precomp -MMD"
49111 ;;
49112 * )
49113 DEPSFLAG="-MMD"
49114 ;;
49115 esac
49116 { echo "$as_me:$LINENO: result: gcc" >&5
49117 echo "${ECHO_T}gcc" >&6; }
49118 elif test "x$MWCC" = "xyes"; then
49119 DEPSMODE=mwcc
49120 DEPSFLAG="-MM"
49121 { echo "$as_me:$LINENO: result: mwcc" >&5
49122 echo "${ECHO_T}mwcc" >&6; }
49123 elif test "x$SUNCC" = "xyes"; then
49124 DEPSMODE=unixcc
49125 DEPSFLAG="-xM1"
49126 { echo "$as_me:$LINENO: result: Sun cc" >&5
49127 echo "${ECHO_T}Sun cc" >&6; }
49128 elif test "x$SGICC" = "xyes"; then
49129 DEPSMODE=unixcc
49130 DEPSFLAG="-M"
49131 { echo "$as_me:$LINENO: result: SGI cc" >&5
49132 echo "${ECHO_T}SGI cc" >&6; }
49133 elif test "x$HPCC" = "xyes"; then
49134 DEPSMODE=unixcc
49135 DEPSFLAG="+make"
49136 { echo "$as_me:$LINENO: result: HP cc" >&5
49137 echo "${ECHO_T}HP cc" >&6; }
49138 elif test "x$COMPAQCC" = "xyes"; then
49139 DEPSMODE=gcc
49140 DEPSFLAG="-MD"
49141 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49142 echo "${ECHO_T}Compaq cc" >&6; }
49143 else
49144 DEPS_TRACKING=0
49145 { echo "$as_me:$LINENO: result: none" >&5
49146 echo "${ECHO_T}none" >&6; }
49147 fi
49148
49149 if test $DEPS_TRACKING = 1 ; then
49150
49151 D='$'
49152 cat <<EOF >bk-deps
49153 #!/bin/sh
49154
49155 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49156 # script. It is used to track C/C++ files dependencies in portable way.
49157 #
49158 # Permission is given to use this file in any way.
49159
49160 DEPSMODE=${DEPSMODE}
49161 DEPSFLAG="${DEPSFLAG}"
49162 DEPSDIRBASE=.deps
49163
49164 if test ${D}DEPSMODE = gcc ; then
49165 ${D}* ${D}{DEPSFLAG}
49166 status=${D}?
49167
49168 # determine location of created files:
49169 while test ${D}# -gt 0; do
49170 case "${D}1" in
49171 -o )
49172 shift
49173 objfile=${D}1
49174 ;;
49175 -* )
49176 ;;
49177 * )
49178 srcfile=${D}1
49179 ;;
49180 esac
49181 shift
49182 done
49183 objfilebase=\`basename ${D}objfile\`
49184 builddir=\`dirname ${D}objfile\`
49185 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49186 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49187 depsdir=${D}builddir/${D}DEPSDIRBASE
49188 mkdir -p ${D}depsdir
49189
49190 # if the compiler failed, we're done:
49191 if test ${D}{status} != 0 ; then
49192 rm -f ${D}depfile
49193 exit ${D}{status}
49194 fi
49195
49196 # move created file to the location we want it in:
49197 if test -f ${D}depfile ; then
49198 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49199 rm -f ${D}depfile
49200 else
49201 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49202 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49203 if test ! -f ${D}depfile ; then
49204 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49205 depfile="${D}objfile.d"
49206 fi
49207 if test -f ${D}depfile ; then
49208 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49209 rm -f ${D}depfile
49210 fi
49211 fi
49212 exit 0
49213
49214 elif test ${D}DEPSMODE = mwcc ; then
49215 ${D}* || exit ${D}?
49216 # Run mwcc again with -MM and redirect into the dep file we want
49217 # NOTE: We can't use shift here because we need ${D}* to be valid
49218 prevarg=
49219 for arg in ${D}* ; do
49220 if test "${D}prevarg" = "-o"; then
49221 objfile=${D}arg
49222 else
49223 case "${D}arg" in
49224 -* )
49225 ;;
49226 * )
49227 srcfile=${D}arg
49228 ;;
49229 esac
49230 fi
49231 prevarg="${D}arg"
49232 done
49233
49234 objfilebase=\`basename ${D}objfile\`
49235 builddir=\`dirname ${D}objfile\`
49236 depsdir=${D}builddir/${D}DEPSDIRBASE
49237 mkdir -p ${D}depsdir
49238
49239 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49240 exit 0
49241
49242 elif test ${D}DEPSMODE = unixcc; then
49243 ${D}* || exit ${D}?
49244 # Run compiler again with deps flag and redirect into the dep file.
49245 # It doesn't work if the '-o FILE' option is used, but without it the
49246 # dependency file will contain the wrong name for the object. So it is
49247 # removed from the command line, and the dep file is fixed with sed.
49248 cmd=""
49249 while test ${D}# -gt 0; do
49250 case "${D}1" in
49251 -o )
49252 shift
49253 objfile=${D}1
49254 ;;
49255 * )
49256 eval arg${D}#=\\${D}1
49257 cmd="${D}cmd \\${D}arg${D}#"
49258 ;;
49259 esac
49260 shift
49261 done
49262
49263 objfilebase=\`basename ${D}objfile\`
49264 builddir=\`dirname ${D}objfile\`
49265 depsdir=${D}builddir/${D}DEPSDIRBASE
49266 mkdir -p ${D}depsdir
49267
49268 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49269 exit 0
49270
49271 else
49272 ${D}*
49273 exit ${D}?
49274 fi
49275 EOF
49276
49277 chmod +x bk-deps
49278 BK_DEPS="`pwd`/bk-deps"
49279 fi
49280 fi
49281
49282
49283
49284
49285
49286 case ${BAKEFILE_HOST} in
49287 *-*-cygwin* | *-*-mingw32* )
49288 if test -n "$ac_tool_prefix"; then
49289 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49290 set dummy ${ac_tool_prefix}windres; ac_word=$2
49291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49293 if test "${ac_cv_prog_WINDRES+set}" = set; then
49294 echo $ECHO_N "(cached) $ECHO_C" >&6
49295 else
49296 if test -n "$WINDRES"; then
49297 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49298 else
49299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49300 for as_dir in $PATH
49301 do
49302 IFS=$as_save_IFS
49303 test -z "$as_dir" && as_dir=.
49304 for ac_exec_ext in '' $ac_executable_extensions; do
49305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49306 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49308 break 2
49309 fi
49310 done
49311 done
49312 IFS=$as_save_IFS
49313
49314 fi
49315 fi
49316 WINDRES=$ac_cv_prog_WINDRES
49317 if test -n "$WINDRES"; then
49318 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49319 echo "${ECHO_T}$WINDRES" >&6; }
49320 else
49321 { echo "$as_me:$LINENO: result: no" >&5
49322 echo "${ECHO_T}no" >&6; }
49323 fi
49324
49325
49326 fi
49327 if test -z "$ac_cv_prog_WINDRES"; then
49328 ac_ct_WINDRES=$WINDRES
49329 # Extract the first word of "windres", so it can be a program name with args.
49330 set dummy windres; ac_word=$2
49331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49333 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49334 echo $ECHO_N "(cached) $ECHO_C" >&6
49335 else
49336 if test -n "$ac_ct_WINDRES"; then
49337 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49338 else
49339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49340 for as_dir in $PATH
49341 do
49342 IFS=$as_save_IFS
49343 test -z "$as_dir" && as_dir=.
49344 for ac_exec_ext in '' $ac_executable_extensions; do
49345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49346 ac_cv_prog_ac_ct_WINDRES="windres"
49347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49348 break 2
49349 fi
49350 done
49351 done
49352 IFS=$as_save_IFS
49353
49354 fi
49355 fi
49356 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49357 if test -n "$ac_ct_WINDRES"; then
49358 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49359 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49360 else
49361 { echo "$as_me:$LINENO: result: no" >&5
49362 echo "${ECHO_T}no" >&6; }
49363 fi
49364
49365 if test "x$ac_ct_WINDRES" = x; then
49366 WINDRES=""
49367 else
49368 case $cross_compiling:$ac_tool_warned in
49369 yes:)
49370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49371 whose name does not start with the host triplet. If you think this
49372 configuration is useful to you, please write to autoconf@gnu.org." >&5
49373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49374 whose name does not start with the host triplet. If you think this
49375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49376 ac_tool_warned=yes ;;
49377 esac
49378 WINDRES=$ac_ct_WINDRES
49379 fi
49380 else
49381 WINDRES="$ac_cv_prog_WINDRES"
49382 fi
49383
49384 ;;
49385
49386 *-*-darwin* | powerpc-apple-macos* )
49387 # Extract the first word of "Rez", so it can be a program name with args.
49388 set dummy Rez; ac_word=$2
49389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49391 if test "${ac_cv_prog_REZ+set}" = set; then
49392 echo $ECHO_N "(cached) $ECHO_C" >&6
49393 else
49394 if test -n "$REZ"; then
49395 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49396 else
49397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49398 for as_dir in $PATH
49399 do
49400 IFS=$as_save_IFS
49401 test -z "$as_dir" && as_dir=.
49402 for ac_exec_ext in '' $ac_executable_extensions; do
49403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49404 ac_cv_prog_REZ="Rez"
49405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49406 break 2
49407 fi
49408 done
49409 done
49410 IFS=$as_save_IFS
49411
49412 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49413 fi
49414 fi
49415 REZ=$ac_cv_prog_REZ
49416 if test -n "$REZ"; then
49417 { echo "$as_me:$LINENO: result: $REZ" >&5
49418 echo "${ECHO_T}$REZ" >&6; }
49419 else
49420 { echo "$as_me:$LINENO: result: no" >&5
49421 echo "${ECHO_T}no" >&6; }
49422 fi
49423
49424
49425 # Extract the first word of "SetFile", so it can be a program name with args.
49426 set dummy SetFile; ac_word=$2
49427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49429 if test "${ac_cv_prog_SETFILE+set}" = set; then
49430 echo $ECHO_N "(cached) $ECHO_C" >&6
49431 else
49432 if test -n "$SETFILE"; then
49433 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49434 else
49435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49436 for as_dir in $PATH
49437 do
49438 IFS=$as_save_IFS
49439 test -z "$as_dir" && as_dir=.
49440 for ac_exec_ext in '' $ac_executable_extensions; do
49441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49442 ac_cv_prog_SETFILE="SetFile"
49443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49444 break 2
49445 fi
49446 done
49447 done
49448 IFS=$as_save_IFS
49449
49450 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49451 fi
49452 fi
49453 SETFILE=$ac_cv_prog_SETFILE
49454 if test -n "$SETFILE"; then
49455 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49456 echo "${ECHO_T}$SETFILE" >&6; }
49457 else
49458 { echo "$as_me:$LINENO: result: no" >&5
49459 echo "${ECHO_T}no" >&6; }
49460 fi
49461
49462
49463 ;;
49464 esac
49465
49466
49467
49468
49469
49470
49471
49472
49473
49474 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49475
49476
49477 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49478
49479
49480
49481 # Check whether --enable-precomp-headers was given.
49482 if test "${enable_precomp_headers+set}" = set; then
49483 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49484 fi
49485
49486
49487 GCC_PCH=0
49488 ICC_PCH=0
49489 USE_PCH=0
49490 BK_MAKE_PCH=""
49491
49492 case ${BAKEFILE_HOST} in
49493 *-*-cygwin* )
49494 bk_use_pch="no"
49495 ;;
49496 esac
49497
49498 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49499 if test "x$GCC" = "xyes"; then
49500 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49501 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49502 cat >conftest.$ac_ext <<_ACEOF
49503 /* confdefs.h. */
49504 _ACEOF
49505 cat confdefs.h >>conftest.$ac_ext
49506 cat >>conftest.$ac_ext <<_ACEOF
49507 /* end confdefs.h. */
49508
49509 int
49510 main ()
49511 {
49512
49513 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49514 There is no PCH support
49515 #endif
49516 #if (__GNUC__ < 3)
49517 There is no PCH support
49518 #endif
49519 #if (__GNUC__ == 3) && \
49520 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49521 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49522 ( defined(__INTEL_COMPILER) )
49523 There is no PCH support
49524 #endif
49525
49526 ;
49527 return 0;
49528 }
49529 _ACEOF
49530 rm -f conftest.$ac_objext
49531 if { (ac_try="$ac_compile"
49532 case "(($ac_try" in
49533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49534 *) ac_try_echo=$ac_try;;
49535 esac
49536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49537 (eval "$ac_compile") 2>conftest.er1
49538 ac_status=$?
49539 grep -v '^ *+' conftest.er1 >conftest.err
49540 rm -f conftest.er1
49541 cat conftest.err >&5
49542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543 (exit $ac_status); } && {
49544 test -z "$ac_c_werror_flag" ||
49545 test ! -s conftest.err
49546 } && test -s conftest.$ac_objext; then
49547
49548 { echo "$as_me:$LINENO: result: yes" >&5
49549 echo "${ECHO_T}yes" >&6; }
49550 GCC_PCH=1
49551
49552 else
49553 echo "$as_me: failed program was:" >&5
49554 sed 's/^/| /' conftest.$ac_ext >&5
49555
49556
49557 if test "$INTELCXX8" = "yes"; then
49558 { echo "$as_me:$LINENO: result: yes" >&5
49559 echo "${ECHO_T}yes" >&6; }
49560 ICC_PCH=1
49561 if test "$INTELCXX10" = "yes"; then
49562 ICC_PCH_CREATE_SWITCH="-pch-create"
49563 ICC_PCH_USE_SWITCH="-pch-use"
49564 else
49565 ICC_PCH_CREATE_SWITCH="-create-pch"
49566 ICC_PCH_USE_SWITCH="-use-pch"
49567 fi
49568 else
49569 { echo "$as_me:$LINENO: result: no" >&5
49570 echo "${ECHO_T}no" >&6; }
49571 fi
49572
49573 fi
49574
49575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49576 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49577 USE_PCH=1
49578
49579 D='$'
49580 cat <<EOF >bk-make-pch
49581 #!/bin/sh
49582
49583 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49584 # script. It is used to generated precompiled headers.
49585 #
49586 # Permission is given to use this file in any way.
49587
49588 outfile="${D}{1}"
49589 header="${D}{2}"
49590 shift
49591 shift
49592
49593 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49594
49595 compiler=""
49596 headerfile=""
49597
49598 while test ${D}{#} -gt 0; do
49599 add_to_cmdline=1
49600 case "${D}{1}" in
49601 -I* )
49602 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49603 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49604 headerfile="${D}{incdir}/${D}{header}"
49605 fi
49606 ;;
49607 -use-pch|-use_pch|-pch-use )
49608 shift
49609 add_to_cmdline=0
49610 ;;
49611 esac
49612 if test ${D}add_to_cmdline = 1 ; then
49613 compiler="${D}{compiler} ${D}{1}"
49614 fi
49615 shift
49616 done
49617
49618 if test "x${D}{headerfile}" = "x" ; then
49619 echo "error: can't find header ${D}{header} in include paths" >&2
49620 else
49621 if test -f ${D}{outfile} ; then
49622 rm -f ${D}{outfile}
49623 else
49624 mkdir -p \`dirname ${D}{outfile}\`
49625 fi
49626 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49627 mkdir -p ${D}{builddir}/.deps
49628 if test "x${GCC_PCH}" = "x1" ; then
49629 # can do this because gcc is >= 3.4:
49630 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49631 elif test "x${ICC_PCH}" = "x1" ; then
49632 filename=pch_gen-${D}${D}
49633 file=${D}{filename}.c
49634 dfile=${D}{filename}.d
49635 cat > ${D}file <<EOT
49636 #include "${D}header"
49637 EOT
49638 # using -MF icc complains about differing command lines in creation/use
49639 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49640 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49641 rm -f ${D}file ${D}dfile ${D}{filename}.o
49642 fi
49643 exit ${D}{?}
49644 fi
49645 EOF
49646
49647 chmod +x bk-make-pch
49648 BK_MAKE_PCH="`pwd`/bk-make-pch"
49649 fi
49650 fi
49651 fi
49652
49653
49654
49655
49656
49657
49658
49659 COND_BUILD_DEBUG="#"
49660 if test "x$BUILD" = "xdebug" ; then
49661 COND_BUILD_DEBUG=""
49662 fi
49663
49664 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49665 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49666 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49667 fi
49668
49669 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49670 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49671 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49672 fi
49673
49674 COND_BUILD_DEBUG_UNICODE_0="#"
49675 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49676 COND_BUILD_DEBUG_UNICODE_0=""
49677 fi
49678
49679 COND_BUILD_DEBUG_UNICODE_1="#"
49680 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49681 COND_BUILD_DEBUG_UNICODE_1=""
49682 fi
49683
49684 COND_BUILD_RELEASE="#"
49685 if test "x$BUILD" = "xrelease" ; then
49686 COND_BUILD_RELEASE=""
49687 fi
49688
49689 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49690 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49691 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49692 fi
49693
49694 COND_BUILD_RELEASE_UNICODE_0="#"
49695 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49696 COND_BUILD_RELEASE_UNICODE_0=""
49697 fi
49698
49699 COND_BUILD_RELEASE_UNICODE_1="#"
49700 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49701 COND_BUILD_RELEASE_UNICODE_1=""
49702 fi
49703
49704 COND_BUILD_debug="#"
49705 if test "x$BUILD" = "xdebug" ; then
49706 COND_BUILD_debug=""
49707 fi
49708
49709 COND_BUILD_debug_DEBUG_FLAG_default="#"
49710 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49711 COND_BUILD_debug_DEBUG_FLAG_default=""
49712 fi
49713
49714 COND_BUILD_debug_DEBUG_INFO_default="#"
49715 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49716 COND_BUILD_debug_DEBUG_INFO_default=""
49717 fi
49718
49719 COND_BUILD_debug_UNICODE_0="#"
49720 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49721 COND_BUILD_debug_UNICODE_0=""
49722 fi
49723
49724 COND_BUILD_debug_UNICODE_1="#"
49725 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49726 COND_BUILD_debug_UNICODE_1=""
49727 fi
49728
49729 COND_BUILD_release="#"
49730 if test "x$BUILD" = "xrelease" ; then
49731 COND_BUILD_release=""
49732 fi
49733
49734 COND_BUILD_release_DEBUG_INFO_default="#"
49735 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49736 COND_BUILD_release_DEBUG_INFO_default=""
49737 fi
49738
49739 COND_BUILD_release_UNICODE_0="#"
49740 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49741 COND_BUILD_release_UNICODE_0=""
49742 fi
49743
49744 COND_BUILD_release_UNICODE_1="#"
49745 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49746 COND_BUILD_release_UNICODE_1=""
49747 fi
49748
49749 COND_DEBUG_FLAG_1="#"
49750 if test "x$DEBUG_FLAG" = "x1" ; then
49751 COND_DEBUG_FLAG_1=""
49752 fi
49753
49754 COND_DEBUG_INFO_0="#"
49755 if test "x$DEBUG_INFO" = "x0" ; then
49756 COND_DEBUG_INFO_0=""
49757 fi
49758
49759 COND_DEBUG_INFO_1="#"
49760 if test "x$DEBUG_INFO" = "x1" ; then
49761 COND_DEBUG_INFO_1=""
49762 fi
49763
49764 COND_DEPS_TRACKING_0="#"
49765 if test "x$DEPS_TRACKING" = "x0" ; then
49766 COND_DEPS_TRACKING_0=""
49767 fi
49768
49769 COND_DEPS_TRACKING_1="#"
49770 if test "x$DEPS_TRACKING" = "x1" ; then
49771 COND_DEPS_TRACKING_1=""
49772 fi
49773
49774 COND_GCC_PCH_1="#"
49775 if test "x$GCC_PCH" = "x1" ; then
49776 COND_GCC_PCH_1=""
49777 fi
49778
49779 COND_ICC_PCH_1="#"
49780 if test "x$ICC_PCH" = "x1" ; then
49781 COND_ICC_PCH_1=""
49782 fi
49783
49784 COND_MONOLITHIC_0="#"
49785 if test "x$MONOLITHIC" = "x0" ; then
49786 COND_MONOLITHIC_0=""
49787 fi
49788
49789 COND_MONOLITHIC_0_SHARED_0="#"
49790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49791 COND_MONOLITHIC_0_SHARED_0=""
49792 fi
49793
49794 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49796 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49797 fi
49798
49799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49802 fi
49803
49804 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49807 fi
49808
49809 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49811 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49812 fi
49813
49814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49817 fi
49818
49819 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49821 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49822 fi
49823
49824 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49826 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49827 fi
49828
49829 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49831 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49832 fi
49833
49834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49837 fi
49838
49839 COND_MONOLITHIC_0_SHARED_1="#"
49840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49841 COND_MONOLITHIC_0_SHARED_1=""
49842 fi
49843
49844 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49846 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49847 fi
49848
49849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49852 fi
49853
49854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49857 fi
49858
49859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49862 fi
49863
49864 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49866 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49867 fi
49868
49869 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49871 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49872 fi
49873
49874 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49876 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49877 fi
49878
49879 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49881 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49882 fi
49883
49884 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49886 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49887 fi
49888
49889 COND_MONOLITHIC_0_USE_AUI_1="#"
49890 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49891 COND_MONOLITHIC_0_USE_AUI_1=""
49892 fi
49893
49894 COND_MONOLITHIC_0_USE_GUI_1="#"
49895 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49896 COND_MONOLITHIC_0_USE_GUI_1=""
49897 fi
49898
49899 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49900 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49901 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49902 fi
49903
49904 COND_MONOLITHIC_0_USE_HTML_1="#"
49905 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49906 COND_MONOLITHIC_0_USE_HTML_1=""
49907 fi
49908
49909 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49910 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49911 COND_MONOLITHIC_0_USE_MEDIA_1=""
49912 fi
49913
49914 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49915 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49916 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49917 fi
49918
49919 COND_MONOLITHIC_0_USE_QA_1="#"
49920 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49921 COND_MONOLITHIC_0_USE_QA_1=""
49922 fi
49923
49924 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49925 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49926 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49927 fi
49928
49929 COND_MONOLITHIC_0_USE_STC_1="#"
49930 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49931 COND_MONOLITHIC_0_USE_STC_1=""
49932 fi
49933
49934 COND_MONOLITHIC_0_USE_XRC_1="#"
49935 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49936 COND_MONOLITHIC_0_USE_XRC_1=""
49937 fi
49938
49939 COND_MONOLITHIC_1="#"
49940 if test "x$MONOLITHIC" = "x1" ; then
49941 COND_MONOLITHIC_1=""
49942 fi
49943
49944 COND_MONOLITHIC_1_SHARED_0="#"
49945 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49946 COND_MONOLITHIC_1_SHARED_0=""
49947 fi
49948
49949 COND_MONOLITHIC_1_SHARED_1="#"
49950 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49951 COND_MONOLITHIC_1_SHARED_1=""
49952 fi
49953
49954 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49955 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49956 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49957 fi
49958
49959 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49960 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49961 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49962 fi
49963
49964 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49965 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49966 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49967 fi
49968
49969 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49970 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49971 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49972 fi
49973
49974 COND_PLATFORM_MACOSX_1="#"
49975 if test "x$PLATFORM_MACOSX" = "x1" ; then
49976 COND_PLATFORM_MACOSX_1=""
49977 fi
49978
49979 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49981 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49982 fi
49983
49984 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49986 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49987 fi
49988
49989 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49991 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49992 fi
49993
49994 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49996 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49997 fi
49998
49999 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50001 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50002 fi
50003
50004 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50006 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50007 fi
50008
50009 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50011 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50012 fi
50013
50014 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50016 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50017 fi
50018
50019 COND_PLATFORM_MACOS_1="#"
50020 if test "x$PLATFORM_MACOS" = "x1" ; then
50021 COND_PLATFORM_MACOS_1=""
50022 fi
50023
50024 COND_PLATFORM_MAC_0="#"
50025 if test "x$PLATFORM_MAC" = "x0" ; then
50026 COND_PLATFORM_MAC_0=""
50027 fi
50028
50029 COND_PLATFORM_MAC_1="#"
50030 if test "x$PLATFORM_MAC" = "x1" ; then
50031 COND_PLATFORM_MAC_1=""
50032 fi
50033
50034 COND_PLATFORM_MSDOS_0="#"
50035 if test "x$PLATFORM_MSDOS" = "x0" ; then
50036 COND_PLATFORM_MSDOS_0=""
50037 fi
50038
50039 COND_PLATFORM_MSDOS_1="#"
50040 if test "x$PLATFORM_MSDOS" = "x1" ; then
50041 COND_PLATFORM_MSDOS_1=""
50042 fi
50043
50044 COND_PLATFORM_OS2_1="#"
50045 if test "x$PLATFORM_OS2" = "x1" ; then
50046 COND_PLATFORM_OS2_1=""
50047 fi
50048
50049 COND_PLATFORM_UNIX_0="#"
50050 if test "x$PLATFORM_UNIX" = "x0" ; then
50051 COND_PLATFORM_UNIX_0=""
50052 fi
50053
50054 COND_PLATFORM_UNIX_1="#"
50055 if test "x$PLATFORM_UNIX" = "x1" ; then
50056 COND_PLATFORM_UNIX_1=""
50057 fi
50058
50059 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50060 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50061 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50062 fi
50063
50064 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50065 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50066 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50067 fi
50068
50069 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50070 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50071 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50072 fi
50073
50074 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50075 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50076 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50077 fi
50078
50079 COND_PLATFORM_WIN32_0="#"
50080 if test "x$PLATFORM_WIN32" = "x0" ; then
50081 COND_PLATFORM_WIN32_0=""
50082 fi
50083
50084 COND_PLATFORM_WIN32_1="#"
50085 if test "x$PLATFORM_WIN32" = "x1" ; then
50086 COND_PLATFORM_WIN32_1=""
50087 fi
50088
50089 COND_SHARED_0="#"
50090 if test "x$SHARED" = "x0" ; then
50091 COND_SHARED_0=""
50092 fi
50093
50094 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50095 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50096 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50097 fi
50098
50099 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50100 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50101 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50102 fi
50103
50104 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50105 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50106 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50107 fi
50108
50109 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50110 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50111 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50112 fi
50113
50114 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50115 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50116 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50117 fi
50118
50119 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50120 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50121 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50122 fi
50123
50124 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50125 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50126 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50127 fi
50128
50129 COND_SHARED_0_USE_STC_1="#"
50130 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50131 COND_SHARED_0_USE_STC_1=""
50132 fi
50133
50134 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50135 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50136 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50137 fi
50138
50139 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50140 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50141 COND_SHARED_0_wxUSE_REGEX_builtin=""
50142 fi
50143
50144 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50145 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50146 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50147 fi
50148
50149 COND_SHARED_1="#"
50150 if test "x$SHARED" = "x1" ; then
50151 COND_SHARED_1=""
50152 fi
50153
50154 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50155 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50156 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50157 fi
50158
50159 COND_TOOLKIT_="#"
50160 if test "x$TOOLKIT" = "x" ; then
50161 COND_TOOLKIT_=""
50162 fi
50163
50164 COND_TOOLKIT_COCOA="#"
50165 if test "x$TOOLKIT" = "xCOCOA" ; then
50166 COND_TOOLKIT_COCOA=""
50167 fi
50168
50169 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50170 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50171 COND_TOOLKIT_COCOA_USE_GUI_1=""
50172 fi
50173
50174 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50175 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50176 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50177 fi
50178
50179 COND_TOOLKIT_DFB="#"
50180 if test "x$TOOLKIT" = "xDFB" ; then
50181 COND_TOOLKIT_DFB=""
50182 fi
50183
50184 COND_TOOLKIT_DFB_USE_GUI_1="#"
50185 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50186 COND_TOOLKIT_DFB_USE_GUI_1=""
50187 fi
50188
50189 COND_TOOLKIT_GTK="#"
50190 if test "x$TOOLKIT" = "xGTK" ; then
50191 COND_TOOLKIT_GTK=""
50192 fi
50193
50194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50195 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50197 fi
50198
50199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50200 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50201 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50202 fi
50203
50204 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50205 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50206 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50207 fi
50208
50209 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50210 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50211 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50212 fi
50213
50214 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50215 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50216 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50217 fi
50218
50219 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50221 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50222 fi
50223
50224 COND_TOOLKIT_GTK_USE_GUI_1="#"
50225 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50226 COND_TOOLKIT_GTK_USE_GUI_1=""
50227 fi
50228
50229 COND_TOOLKIT_MAC="#"
50230 if test "x$TOOLKIT" = "xMAC" ; then
50231 COND_TOOLKIT_MAC=""
50232 fi
50233
50234 COND_TOOLKIT_MGL="#"
50235 if test "x$TOOLKIT" = "xMGL" ; then
50236 COND_TOOLKIT_MGL=""
50237 fi
50238
50239 COND_TOOLKIT_MGL_USE_GUI_1="#"
50240 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50241 COND_TOOLKIT_MGL_USE_GUI_1=""
50242 fi
50243
50244 COND_TOOLKIT_MOTIF="#"
50245 if test "x$TOOLKIT" = "xMOTIF" ; then
50246 COND_TOOLKIT_MOTIF=""
50247 fi
50248
50249 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50250 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50251 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50252 fi
50253
50254 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50255 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50256 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50257 fi
50258
50259 COND_TOOLKIT_MSW="#"
50260 if test "x$TOOLKIT" = "xMSW" ; then
50261 COND_TOOLKIT_MSW=""
50262 fi
50263
50264 COND_TOOLKIT_MSW_USE_GUI_1="#"
50265 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50266 COND_TOOLKIT_MSW_USE_GUI_1=""
50267 fi
50268
50269 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50270 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50271 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50272 fi
50273
50274 COND_TOOLKIT_MSW_WXUNIV_0="#"
50275 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50276 COND_TOOLKIT_MSW_WXUNIV_0=""
50277 fi
50278
50279 COND_TOOLKIT_OSX_CARBON="#"
50280 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50281 COND_TOOLKIT_OSX_CARBON=""
50282 fi
50283
50284 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50285 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50286 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50287 fi
50288
50289 COND_TOOLKIT_OSX_COCOA="#"
50290 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50291 COND_TOOLKIT_OSX_COCOA=""
50292 fi
50293
50294 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50295 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50296 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50297 fi
50298
50299 COND_TOOLKIT_OSX_IPHONE="#"
50300 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50301 COND_TOOLKIT_OSX_IPHONE=""
50302 fi
50303
50304 COND_TOOLKIT_PM="#"
50305 if test "x$TOOLKIT" = "xPM" ; then
50306 COND_TOOLKIT_PM=""
50307 fi
50308
50309 COND_TOOLKIT_PM_USE_GUI_1="#"
50310 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50311 COND_TOOLKIT_PM_USE_GUI_1=""
50312 fi
50313
50314 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50315 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50316 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50317 fi
50318
50319 COND_TOOLKIT_WINCE="#"
50320 if test "x$TOOLKIT" = "xWINCE" ; then
50321 COND_TOOLKIT_WINCE=""
50322 fi
50323
50324 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50325 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50326 COND_TOOLKIT_WINCE_USE_GUI_1=""
50327 fi
50328
50329 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50330 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50331 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50332 fi
50333
50334 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50335 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50336 COND_TOOLKIT_WINCE_WXUNIV_0=""
50337 fi
50338
50339 COND_TOOLKIT_X11="#"
50340 if test "x$TOOLKIT" = "xX11" ; then
50341 COND_TOOLKIT_X11=""
50342 fi
50343
50344 COND_TOOLKIT_X11_USE_GUI_1="#"
50345 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50346 COND_TOOLKIT_X11_USE_GUI_1=""
50347 fi
50348
50349 COND_UNICODE_1="#"
50350 if test "x$UNICODE" = "x1" ; then
50351 COND_UNICODE_1=""
50352 fi
50353
50354 COND_USE_EXCEPTIONS_0="#"
50355 if test "x$USE_EXCEPTIONS" = "x0" ; then
50356 COND_USE_EXCEPTIONS_0=""
50357 fi
50358
50359 COND_USE_EXCEPTIONS_1="#"
50360 if test "x$USE_EXCEPTIONS" = "x1" ; then
50361 COND_USE_EXCEPTIONS_1=""
50362 fi
50363
50364 COND_USE_GUI_0="#"
50365 if test "x$USE_GUI" = "x0" ; then
50366 COND_USE_GUI_0=""
50367 fi
50368
50369 COND_USE_GUI_1="#"
50370 if test "x$USE_GUI" = "x1" ; then
50371 COND_USE_GUI_1=""
50372 fi
50373
50374 COND_USE_GUI_1_USE_OPENGL_1="#"
50375 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50376 COND_USE_GUI_1_USE_OPENGL_1=""
50377 fi
50378
50379 COND_USE_GUI_1_WXUNIV_0="#"
50380 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50381 COND_USE_GUI_1_WXUNIV_0=""
50382 fi
50383
50384 COND_USE_GUI_1_WXUNIV_1="#"
50385 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50386 COND_USE_GUI_1_WXUNIV_1=""
50387 fi
50388
50389 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50391 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50392 fi
50393
50394 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50396 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50397 fi
50398
50399 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50401 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50402 fi
50403
50404 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50405 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50406 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50407 fi
50408
50409 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50410 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50411 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50412 fi
50413
50414 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50415 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50416 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50417 fi
50418
50419 COND_USE_OPENGL_1="#"
50420 if test "x$USE_OPENGL" = "x1" ; then
50421 COND_USE_OPENGL_1=""
50422 fi
50423
50424 COND_USE_PCH_1="#"
50425 if test "x$USE_PCH" = "x1" ; then
50426 COND_USE_PCH_1=""
50427 fi
50428
50429 COND_USE_PLUGINS_0="#"
50430 if test "x$USE_PLUGINS" = "x0" ; then
50431 COND_USE_PLUGINS_0=""
50432 fi
50433
50434 COND_USE_RTTI_0="#"
50435 if test "x$USE_RTTI" = "x0" ; then
50436 COND_USE_RTTI_0=""
50437 fi
50438
50439 COND_USE_RTTI_1="#"
50440 if test "x$USE_RTTI" = "x1" ; then
50441 COND_USE_RTTI_1=""
50442 fi
50443
50444 COND_USE_SOSYMLINKS_1="#"
50445 if test "x$USE_SOSYMLINKS" = "x1" ; then
50446 COND_USE_SOSYMLINKS_1=""
50447 fi
50448
50449 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50450 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50451 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50452 fi
50453
50454 COND_USE_SOVERLINUX_1="#"
50455 if test "x$USE_SOVERLINUX" = "x1" ; then
50456 COND_USE_SOVERLINUX_1=""
50457 fi
50458
50459 COND_USE_SOVERSION_0="#"
50460 if test "x$USE_SOVERSION" = "x0" ; then
50461 COND_USE_SOVERSION_0=""
50462 fi
50463
50464 COND_USE_SOVERSOLARIS_1="#"
50465 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50466 COND_USE_SOVERSOLARIS_1=""
50467 fi
50468
50469 COND_USE_STC_1="#"
50470 if test "x$USE_STC" = "x1" ; then
50471 COND_USE_STC_1=""
50472 fi
50473
50474 COND_USE_THREADS_0="#"
50475 if test "x$USE_THREADS" = "x0" ; then
50476 COND_USE_THREADS_0=""
50477 fi
50478
50479 COND_USE_THREADS_1="#"
50480 if test "x$USE_THREADS" = "x1" ; then
50481 COND_USE_THREADS_1=""
50482 fi
50483
50484 COND_USE_XRC_1="#"
50485 if test "x$USE_XRC" = "x1" ; then
50486 COND_USE_XRC_1=""
50487 fi
50488
50489 COND_WINDOWS_IMPLIB_1="#"
50490 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50491 COND_WINDOWS_IMPLIB_1=""
50492 fi
50493
50494 COND_WITH_PLUGIN_SDL_1="#"
50495 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50496 COND_WITH_PLUGIN_SDL_1=""
50497 fi
50498
50499 COND_WXUNIV_0="#"
50500 if test "x$WXUNIV" = "x0" ; then
50501 COND_WXUNIV_0=""
50502 fi
50503
50504 COND_WXUNIV_1="#"
50505 if test "x$WXUNIV" = "x1" ; then
50506 COND_WXUNIV_1=""
50507 fi
50508
50509 COND_WXUSE_EXPAT_BUILTIN="#"
50510 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50511 COND_WXUSE_EXPAT_BUILTIN=""
50512 fi
50513
50514 COND_WXUSE_LIBJPEG_BUILTIN="#"
50515 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50516 COND_WXUSE_LIBJPEG_BUILTIN=""
50517 fi
50518
50519 COND_WXUSE_LIBPNG_BUILTIN="#"
50520 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50521 COND_WXUSE_LIBPNG_BUILTIN=""
50522 fi
50523
50524 COND_WXUSE_LIBTIFF_BUILTIN="#"
50525 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50526 COND_WXUSE_LIBTIFF_BUILTIN=""
50527 fi
50528
50529 COND_WXUSE_REGEX_BUILTIN="#"
50530 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50531 COND_WXUSE_REGEX_BUILTIN=""
50532 fi
50533
50534 COND_WXUSE_ZLIB_BUILTIN="#"
50535 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50536 COND_WXUSE_ZLIB_BUILTIN=""
50537 fi
50538
50539 COND_wxUSE_EXPAT_builtin="#"
50540 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50541 COND_wxUSE_EXPAT_builtin=""
50542 fi
50543
50544 COND_wxUSE_LIBJPEG_builtin="#"
50545 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50546 COND_wxUSE_LIBJPEG_builtin=""
50547 fi
50548
50549 COND_wxUSE_LIBPNG_builtin="#"
50550 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50551 COND_wxUSE_LIBPNG_builtin=""
50552 fi
50553
50554 COND_wxUSE_LIBTIFF_builtin="#"
50555 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50556 COND_wxUSE_LIBTIFF_builtin=""
50557 fi
50558
50559 COND_wxUSE_REGEX_builtin="#"
50560 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50561 COND_wxUSE_REGEX_builtin=""
50562 fi
50563
50564 COND_wxUSE_ZLIB_builtin="#"
50565 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50566 COND_wxUSE_ZLIB_builtin=""
50567 fi
50568
50569
50570
50571 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50572 { { 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
50573 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;}
50574 { (exit 1); exit 1; }; }
50575 fi
50576
50577 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50578 { { 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
50579 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;}
50580 { (exit 1); exit 1; }; }
50581 fi
50582
50583
50584 case ${INSTALL} in
50585 /* ) # Absolute
50586 ;;
50587 ?:* ) # Drive letter, considered as absolute.
50588 ;;
50589 *)
50590 INSTALL=`pwd`/${INSTALL} ;;
50591 esac
50592
50593 if test "$wxUSE_GUI" = "yes"; then
50594
50595 if test "$wxUSE_MSW" = 1 ; then
50596 if test "x$WINDRES" = "x"; then
50597 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50598 echo "$as_me: error: Required windres program not found" >&2;}
50599 { (exit 1); exit 1; }; }
50600 fi
50601
50602 RESCOMP="$WINDRES"
50603 fi
50604
50605 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50606 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50607 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50608
50609 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50610
50611 # Extract the first word of "DeRez", so it can be a program name with args.
50612 set dummy DeRez; ac_word=$2
50613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50615 if test "${ac_cv_prog_DEREZ+set}" = set; then
50616 echo $ECHO_N "(cached) $ECHO_C" >&6
50617 else
50618 if test -n "$DEREZ"; then
50619 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50620 else
50621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50622 for as_dir in $PATH
50623 do
50624 IFS=$as_save_IFS
50625 test -z "$as_dir" && as_dir=.
50626 for ac_exec_ext in '' $ac_executable_extensions; do
50627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50628 ac_cv_prog_DEREZ="DeRez"
50629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50630 break 2
50631 fi
50632 done
50633 done
50634 IFS=$as_save_IFS
50635
50636 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50637 fi
50638 fi
50639 DEREZ=$ac_cv_prog_DEREZ
50640 if test -n "$DEREZ"; then
50641 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50642 echo "${ECHO_T}$DEREZ" >&6; }
50643 else
50644 { echo "$as_me:$LINENO: result: no" >&5
50645 echo "${ECHO_T}no" >&6; }
50646 fi
50647
50648
50649
50650 MACSETFILE="\$(SETFILE)"
50651
50652 if test "$wxUSE_OSX_CARBON" = 1; then
50653 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50654 RESCOMP="$REZ"
50655 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50656 else
50657 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50658 RESCOMP="cat /dev/null \| $REZ"
50659 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50660 fi
50661
50662 else
50663 MACSETFILE="@true"
50664
50665 if test "$wxUSE_PM" = 1; then
50666 RESCOMP="emxbind"
50667 WXCONFIG_RESFLAGS="-ep"
50668
50669 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50670 else
50671 POSTLINK_COMMAND="@true"
50672 fi
50673 fi
50674
50675 fi
50676
50677
50678 if test $GCC_PCH = 1
50679 then
50680 if test "$wx_cv_gcc_pch_bug" = yes; then
50681 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50682 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50683 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50684 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50685 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50686 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50687 fi
50688
50689 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50690 # the headers that benefit from precompilation are mostly C++ headers.
50691 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50692 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50693 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50694 fi
50695
50696
50697 if test "$wxUSE_MAC" = 1 ; then
50698 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50699 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50700 mv temp bk-deps
50701 chmod +x bk-deps
50702 fi
50703 fi
50704
50705 if test "$wxUSE_SHARED" = "yes"; then
50706 case "${host}" in
50707 *-pc-os2_emx | *-pc-os2-emx )
50708 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50709 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50710 cp -p ${srcdir}/src/os2/dllnames.sh .
50711 cp -p ${srcdir}/src/os2/dllar.sh .
50712 ;;
50713 esac
50714 fi
50715 if test "$wxUSE_OMF" = "yes"; then
50716 case "${host}" in
50717 *-pc-os2_emx | *-pc-os2-emx )
50718 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50719 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50720 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50721 ;;
50722 esac
50723 fi
50724
50725 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50726
50727
50728 case "${host}" in
50729 *-*-solaris2* )
50730 if test "$GCC" = yes; then
50731 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50732 LIBS=`echo $LIBS | sed 's/-mt//'`
50733 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50734 fi
50735 ;;
50736
50737 *-*-linux* )
50738 if test "x$SUNCXX" = xyes; then
50739 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50740 LIBS=`echo $LIBS | sed 's/-pthread//'`
50741 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50742 fi
50743 ;;
50744 esac
50745
50746 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50747 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50748 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50749 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50750
50751 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50813 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50814 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50815 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50816 echo $ECHO_N "(cached) $ECHO_C" >&6
50817 else
50818 cat >conftest.make <<\_ACEOF
50819 SHELL = /bin/sh
50820 all:
50821 @echo '@@@%%%=$(MAKE)=@@@%%%'
50822 _ACEOF
50823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50825 *@@@%%%=?*=@@@%%%*)
50826 eval ac_cv_prog_make_${ac_make}_set=yes;;
50827 *)
50828 eval ac_cv_prog_make_${ac_make}_set=no;;
50829 esac
50830 rm -f conftest.make
50831 fi
50832 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50833 { echo "$as_me:$LINENO: result: yes" >&5
50834 echo "${ECHO_T}yes" >&6; }
50835 SET_MAKE=
50836 else
50837 { echo "$as_me:$LINENO: result: no" >&5
50838 echo "${ECHO_T}no" >&6; }
50839 SET_MAKE="MAKE=${MAKE-make}"
50840 fi
50841
50842
50843
50844 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50845
50846
50847 if test "$USE_WIN32" = 1; then
50848 ac_config_commands="$ac_config_commands rcdefs.h"
50849
50850 fi
50851
50852 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50853
50854
50855 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50856
50857
50858 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50859
50860
50861 if test "$wx_cv_version_script" = "yes"; then
50862 ac_config_files="$ac_config_files version-script"
50863
50864 fi
50865 ac_config_files="$ac_config_files Makefile"
50866
50867
50868 ac_config_commands="$ac_config_commands wx-config"
50869
50870
50871
50872 if test "$wxWITH_SUBDIRS" != "no"; then
50873 if test "$wxUSE_GUI" = "yes"; then
50874 SUBDIRS="samples demos utils"
50875 else
50876 SUBDIRS="samples utils"
50877 fi
50878
50879
50880
50881 # Check whether --with-cppunit-prefix was given.
50882 if test "${with_cppunit_prefix+set}" = set; then
50883 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50884 else
50885 cppunit_config_prefix=""
50886 fi
50887
50888
50889 # Check whether --with-cppunit-exec-prefix was given.
50890 if test "${with_cppunit_exec_prefix+set}" = set; then
50891 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50892 else
50893 cppunit_config_exec_prefix=""
50894 fi
50895
50896
50897 if test x$cppunit_config_exec_prefix != x ; then
50898 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50899 if test x${CPPUNIT_CONFIG+set} != xset ; then
50900 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50901 fi
50902 fi
50903 if test x$cppunit_config_prefix != x ; then
50904 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50905 if test x${CPPUNIT_CONFIG+set} != xset ; then
50906 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50907 fi
50908 fi
50909
50910 # Extract the first word of "cppunit-config", so it can be a program name with args.
50911 set dummy cppunit-config; ac_word=$2
50912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50914 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50915 echo $ECHO_N "(cached) $ECHO_C" >&6
50916 else
50917 case $CPPUNIT_CONFIG in
50918 [\\/]* | ?:[\\/]*)
50919 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50920 ;;
50921 *)
50922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50923 for as_dir in $PATH
50924 do
50925 IFS=$as_save_IFS
50926 test -z "$as_dir" && as_dir=.
50927 for ac_exec_ext in '' $ac_executable_extensions; do
50928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50929 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50931 break 2
50932 fi
50933 done
50934 done
50935 IFS=$as_save_IFS
50936
50937 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50938 ;;
50939 esac
50940 fi
50941 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50942 if test -n "$CPPUNIT_CONFIG"; then
50943 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50944 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50945 else
50946 { echo "$as_me:$LINENO: result: no" >&5
50947 echo "${ECHO_T}no" >&6; }
50948 fi
50949
50950
50951 cppunit_version_min=1.8.0
50952
50953 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50954 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50955 no_cppunit=""
50956 if test "$CPPUNIT_CONFIG" = "no" ; then
50957 { echo "$as_me:$LINENO: result: no" >&5
50958 echo "${ECHO_T}no" >&6; }
50959 no_cppunit=yes
50960 else
50961 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50962 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50963 cppunit_version=`$CPPUNIT_CONFIG --version`
50964
50965 cppunit_major_version=`echo $cppunit_version | \
50966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50967 cppunit_minor_version=`echo $cppunit_version | \
50968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50969 cppunit_micro_version=`echo $cppunit_version | \
50970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50971
50972 cppunit_major_min=`echo $cppunit_version_min | \
50973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50974 cppunit_minor_min=`echo $cppunit_version_min | \
50975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50976 cppunit_micro_min=`echo $cppunit_version_min | \
50977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50978
50979 cppunit_version_proper=`expr \
50980 $cppunit_major_version \> $cppunit_major_min \| \
50981 $cppunit_major_version \= $cppunit_major_min \& \
50982 $cppunit_minor_version \> $cppunit_minor_min \| \
50983 $cppunit_major_version \= $cppunit_major_min \& \
50984 $cppunit_minor_version \= $cppunit_minor_min \& \
50985 $cppunit_micro_version \>= $cppunit_micro_min `
50986
50987 if test "$cppunit_version_proper" = "1" ; then
50988 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50989 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50990 else
50991 { echo "$as_me:$LINENO: result: no" >&5
50992 echo "${ECHO_T}no" >&6; }
50993 no_cppunit=yes
50994 fi
50995 fi
50996
50997 if test "x$no_cppunit" = x ; then
50998 SUBDIRS="$SUBDIRS tests"
50999 else
51000 CPPUNIT_CFLAGS=""
51001 CPPUNIT_LIBS=""
51002 :
51003 fi
51004
51005
51006
51007
51008
51009 for subdir in $SUBDIRS; do
51010 if test -d ${srcdir}/${subdir} ; then
51011 if test "$wxUSE_GUI" = "yes"; then
51012 if test ${subdir} = "samples"; then
51013 makefiles="samples/Makefile.in $makefiles"
51014 for sample in $SAMPLES_SUBDIRS; do
51015 if test -d $srcdir/samples/$sample; then
51016 makefiles="samples/$sample/Makefile.in $makefiles"
51017 fi
51018 done
51019 else
51020 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51021 eval "disabled=\$$disabled_var"
51022 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51023 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51024 fi
51025 else
51026 if test ${subdir} = "samples"; then
51027 makefiles="samples/Makefile.in $makefiles"
51028 for sample in `echo $SAMPLES_SUBDIRS`; do
51029 if test -d $srcdir/samples/$sample; then
51030 makefiles="samples/$sample/Makefile.in $makefiles"
51031 fi
51032 done
51033 elif test ${subdir} = "utils"; then
51034 makefiles=""
51035 for util in ifacecheck ; do
51036 if test -d $srcdir/utils/$util ; then
51037 makefiles="utils/$util/src/Makefile.in \
51038 $makefiles"
51039 fi
51040 done
51041 else
51042 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51043 fi
51044 fi
51045
51046 for mkin in $makefiles ; do
51047 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51048 ac_config_files="$ac_config_files $mk"
51049
51050 done
51051 fi
51052 done
51053 fi
51054 cat >confcache <<\_ACEOF
51055 # This file is a shell script that caches the results of configure
51056 # tests run on this system so they can be shared between configure
51057 # scripts and configure runs, see configure's option --config-cache.
51058 # It is not useful on other systems. If it contains results you don't
51059 # want to keep, you may remove or edit it.
51060 #
51061 # config.status only pays attention to the cache file if you give it
51062 # the --recheck option to rerun configure.
51063 #
51064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51066 # following values.
51067
51068 _ACEOF
51069
51070 # The following way of writing the cache mishandles newlines in values,
51071 # but we know of no workaround that is simple, portable, and efficient.
51072 # So, we kill variables containing newlines.
51073 # Ultrix sh set writes to stderr and can't be redirected directly,
51074 # and sets the high bit in the cache file unless we assign to the vars.
51075 (
51076 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51077 eval ac_val=\$$ac_var
51078 case $ac_val in #(
51079 *${as_nl}*)
51080 case $ac_var in #(
51081 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51082 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51083 esac
51084 case $ac_var in #(
51085 _ | IFS | as_nl) ;; #(
51086 *) $as_unset $ac_var ;;
51087 esac ;;
51088 esac
51089 done
51090
51091 (set) 2>&1 |
51092 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51093 *${as_nl}ac_space=\ *)
51094 # `set' does not quote correctly, so add quotes (double-quote
51095 # substitution turns \\\\ into \\, and sed turns \\ into \).
51096 sed -n \
51097 "s/'/'\\\\''/g;
51098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51099 ;; #(
51100 *)
51101 # `set' quotes correctly as required by POSIX, so do not add quotes.
51102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51103 ;;
51104 esac |
51105 sort
51106 ) |
51107 sed '
51108 /^ac_cv_env_/b end
51109 t clear
51110 :clear
51111 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51112 t end
51113 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51114 :end' >>confcache
51115 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51116 if test -w "$cache_file"; then
51117 test "x$cache_file" != "x/dev/null" &&
51118 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51119 echo "$as_me: updating cache $cache_file" >&6;}
51120 cat confcache >$cache_file
51121 else
51122 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51123 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51124 fi
51125 fi
51126 rm -f confcache
51127
51128 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51129 # Let make expand exec_prefix.
51130 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51131
51132 DEFS=-DHAVE_CONFIG_H
51133
51134 ac_libobjs=
51135 ac_ltlibobjs=
51136 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51137 # 1. Remove the extension, and $U if already installed.
51138 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51139 ac_i=`echo "$ac_i" | sed "$ac_script"`
51140 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51141 # will be set to the directory where LIBOBJS objects are built.
51142 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51143 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51144 done
51145 LIBOBJS=$ac_libobjs
51146
51147 LTLIBOBJS=$ac_ltlibobjs
51148
51149
51150
51151 : ${CONFIG_STATUS=./config.status}
51152 ac_clean_files_save=$ac_clean_files
51153 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51154 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51155 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51156 cat >$CONFIG_STATUS <<_ACEOF
51157 #! $SHELL
51158 # Generated by $as_me.
51159 # Run this file to recreate the current configuration.
51160 # Compiler output produced by configure, useful for debugging
51161 # configure, is in config.log if it exists.
51162
51163 debug=false
51164 ac_cs_recheck=false
51165 ac_cs_silent=false
51166 SHELL=\${CONFIG_SHELL-$SHELL}
51167 _ACEOF
51168
51169 cat >>$CONFIG_STATUS <<\_ACEOF
51170 ## --------------------- ##
51171 ## M4sh Initialization. ##
51172 ## --------------------- ##
51173
51174 # Be more Bourne compatible
51175 DUALCASE=1; export DUALCASE # for MKS sh
51176 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51177 emulate sh
51178 NULLCMD=:
51179 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51180 # is contrary to our usage. Disable this feature.
51181 alias -g '${1+"$@"}'='"$@"'
51182 setopt NO_GLOB_SUBST
51183 else
51184 case `(set -o) 2>/dev/null` in
51185 *posix*) set -o posix ;;
51186 esac
51187
51188 fi
51189
51190
51191
51192
51193 # PATH needs CR
51194 # Avoid depending upon Character Ranges.
51195 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51196 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51197 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51198 as_cr_digits='0123456789'
51199 as_cr_alnum=$as_cr_Letters$as_cr_digits
51200
51201 # The user is always right.
51202 if test "${PATH_SEPARATOR+set}" != set; then
51203 echo "#! /bin/sh" >conf$$.sh
51204 echo "exit 0" >>conf$$.sh
51205 chmod +x conf$$.sh
51206 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51207 PATH_SEPARATOR=';'
51208 else
51209 PATH_SEPARATOR=:
51210 fi
51211 rm -f conf$$.sh
51212 fi
51213
51214 # Support unset when possible.
51215 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51216 as_unset=unset
51217 else
51218 as_unset=false
51219 fi
51220
51221
51222 # IFS
51223 # We need space, tab and new line, in precisely that order. Quoting is
51224 # there to prevent editors from complaining about space-tab.
51225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51226 # splitting by setting IFS to empty value.)
51227 as_nl='
51228 '
51229 IFS=" "" $as_nl"
51230
51231 # Find who we are. Look in the path if we contain no directory separator.
51232 case $0 in
51233 *[\\/]* ) as_myself=$0 ;;
51234 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51235 for as_dir in $PATH
51236 do
51237 IFS=$as_save_IFS
51238 test -z "$as_dir" && as_dir=.
51239 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51240 done
51241 IFS=$as_save_IFS
51242
51243 ;;
51244 esac
51245 # We did not find ourselves, most probably we were run as `sh COMMAND'
51246 # in which case we are not to be found in the path.
51247 if test "x$as_myself" = x; then
51248 as_myself=$0
51249 fi
51250 if test ! -f "$as_myself"; then
51251 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51252 { (exit 1); exit 1; }
51253 fi
51254
51255 # Work around bugs in pre-3.0 UWIN ksh.
51256 for as_var in ENV MAIL MAILPATH
51257 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51258 done
51259 PS1='$ '
51260 PS2='> '
51261 PS4='+ '
51262
51263 # NLS nuisances.
51264 for as_var in \
51265 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51266 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51267 LC_TELEPHONE LC_TIME
51268 do
51269 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51270 eval $as_var=C; export $as_var
51271 else
51272 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51273 fi
51274 done
51275
51276 # Required to use basename.
51277 if expr a : '\(a\)' >/dev/null 2>&1 &&
51278 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51279 as_expr=expr
51280 else
51281 as_expr=false
51282 fi
51283
51284 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51285 as_basename=basename
51286 else
51287 as_basename=false
51288 fi
51289
51290
51291 # Name of the executable.
51292 as_me=`$as_basename -- "$0" ||
51293 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51294 X"$0" : 'X\(//\)$' \| \
51295 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51296 echo X/"$0" |
51297 sed '/^.*\/\([^/][^/]*\)\/*$/{
51298 s//\1/
51299 q
51300 }
51301 /^X\/\(\/\/\)$/{
51302 s//\1/
51303 q
51304 }
51305 /^X\/\(\/\).*/{
51306 s//\1/
51307 q
51308 }
51309 s/.*/./; q'`
51310
51311 # CDPATH.
51312 $as_unset CDPATH
51313
51314
51315
51316 as_lineno_1=$LINENO
51317 as_lineno_2=$LINENO
51318 test "x$as_lineno_1" != "x$as_lineno_2" &&
51319 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51320
51321 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51322 # uniformly replaced by the line number. The first 'sed' inserts a
51323 # line-number line after each line using $LINENO; the second 'sed'
51324 # does the real work. The second script uses 'N' to pair each
51325 # line-number line with the line containing $LINENO, and appends
51326 # trailing '-' during substitution so that $LINENO is not a special
51327 # case at line end.
51328 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51329 # scripts with optimization help from Paolo Bonzini. Blame Lee
51330 # E. McMahon (1931-1989) for sed's syntax. :-)
51331 sed -n '
51332 p
51333 /[$]LINENO/=
51334 ' <$as_myself |
51335 sed '
51336 s/[$]LINENO.*/&-/
51337 t lineno
51338 b
51339 :lineno
51340 N
51341 :loop
51342 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51343 t loop
51344 s/-\n.*//
51345 ' >$as_me.lineno &&
51346 chmod +x "$as_me.lineno" ||
51347 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51348 { (exit 1); exit 1; }; }
51349
51350 # Don't try to exec as it changes $[0], causing all sort of problems
51351 # (the dirname of $[0] is not the place where we might find the
51352 # original and so on. Autoconf is especially sensitive to this).
51353 . "./$as_me.lineno"
51354 # Exit status is that of the last command.
51355 exit
51356 }
51357
51358
51359 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51360 as_dirname=dirname
51361 else
51362 as_dirname=false
51363 fi
51364
51365 ECHO_C= ECHO_N= ECHO_T=
51366 case `echo -n x` in
51367 -n*)
51368 case `echo 'x\c'` in
51369 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51370 *) ECHO_C='\c';;
51371 esac;;
51372 *)
51373 ECHO_N='-n';;
51374 esac
51375
51376 if expr a : '\(a\)' >/dev/null 2>&1 &&
51377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51378 as_expr=expr
51379 else
51380 as_expr=false
51381 fi
51382
51383 rm -f conf$$ conf$$.exe conf$$.file
51384 if test -d conf$$.dir; then
51385 rm -f conf$$.dir/conf$$.file
51386 else
51387 rm -f conf$$.dir
51388 mkdir conf$$.dir
51389 fi
51390 echo >conf$$.file
51391 if ln -s conf$$.file conf$$ 2>/dev/null; then
51392 as_ln_s='ln -s'
51393 # ... but there are two gotchas:
51394 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51395 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51396 # In both cases, we have to default to `cp -p'.
51397 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51398 as_ln_s='cp -p'
51399 elif ln conf$$.file conf$$ 2>/dev/null; then
51400 as_ln_s=ln
51401 else
51402 as_ln_s='cp -p'
51403 fi
51404 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51405 rmdir conf$$.dir 2>/dev/null
51406
51407 if mkdir -p . 2>/dev/null; then
51408 as_mkdir_p=:
51409 else
51410 test -d ./-p && rmdir ./-p
51411 as_mkdir_p=false
51412 fi
51413
51414 if test -x / >/dev/null 2>&1; then
51415 as_test_x='test -x'
51416 else
51417 if ls -dL / >/dev/null 2>&1; then
51418 as_ls_L_option=L
51419 else
51420 as_ls_L_option=
51421 fi
51422 as_test_x='
51423 eval sh -c '\''
51424 if test -d "$1"; then
51425 test -d "$1/.";
51426 else
51427 case $1 in
51428 -*)set "./$1";;
51429 esac;
51430 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51431 ???[sx]*):;;*)false;;esac;fi
51432 '\'' sh
51433 '
51434 fi
51435 as_executable_p=$as_test_x
51436
51437 # Sed expression to map a string onto a valid CPP name.
51438 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51439
51440 # Sed expression to map a string onto a valid variable name.
51441 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51442
51443
51444 exec 6>&1
51445
51446 # Save the log message, to keep $[0] and so on meaningful, and to
51447 # report actual input values of CONFIG_FILES etc. instead of their
51448 # values after options handling.
51449 ac_log="
51450 This file was extended by wxWidgets $as_me 2.9.1, which was
51451 generated by GNU Autoconf 2.61. Invocation command line was
51452
51453 CONFIG_FILES = $CONFIG_FILES
51454 CONFIG_HEADERS = $CONFIG_HEADERS
51455 CONFIG_LINKS = $CONFIG_LINKS
51456 CONFIG_COMMANDS = $CONFIG_COMMANDS
51457 $ $0 $@
51458
51459 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51460 "
51461
51462 _ACEOF
51463
51464 cat >>$CONFIG_STATUS <<_ACEOF
51465 # Files that config.status was made for.
51466 config_files="$ac_config_files"
51467 config_headers="$ac_config_headers"
51468 config_commands="$ac_config_commands"
51469
51470 _ACEOF
51471
51472 cat >>$CONFIG_STATUS <<\_ACEOF
51473 ac_cs_usage="\
51474 \`$as_me' instantiates files from templates according to the
51475 current configuration.
51476
51477 Usage: $0 [OPTIONS] [FILE]...
51478
51479 -h, --help print this help, then exit
51480 -V, --version print version number and configuration settings, then exit
51481 -q, --quiet do not print progress messages
51482 -d, --debug don't remove temporary files
51483 --recheck update $as_me by reconfiguring in the same conditions
51484 --file=FILE[:TEMPLATE]
51485 instantiate the configuration file FILE
51486 --header=FILE[:TEMPLATE]
51487 instantiate the configuration header FILE
51488
51489 Configuration files:
51490 $config_files
51491
51492 Configuration headers:
51493 $config_headers
51494
51495 Configuration commands:
51496 $config_commands
51497
51498 Report bugs to <bug-autoconf@gnu.org>."
51499
51500 _ACEOF
51501 cat >>$CONFIG_STATUS <<_ACEOF
51502 ac_cs_version="\\
51503 wxWidgets config.status 2.9.1
51504 configured by $0, generated by GNU Autoconf 2.61,
51505 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51506
51507 Copyright (C) 2006 Free Software Foundation, Inc.
51508 This config.status script is free software; the Free Software Foundation
51509 gives unlimited permission to copy, distribute and modify it."
51510
51511 ac_pwd='$ac_pwd'
51512 srcdir='$srcdir'
51513 INSTALL='$INSTALL'
51514 _ACEOF
51515
51516 cat >>$CONFIG_STATUS <<\_ACEOF
51517 # If no file are specified by the user, then we need to provide default
51518 # value. By we need to know if files were specified by the user.
51519 ac_need_defaults=:
51520 while test $# != 0
51521 do
51522 case $1 in
51523 --*=*)
51524 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51525 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51526 ac_shift=:
51527 ;;
51528 *)
51529 ac_option=$1
51530 ac_optarg=$2
51531 ac_shift=shift
51532 ;;
51533 esac
51534
51535 case $ac_option in
51536 # Handling of the options.
51537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51538 ac_cs_recheck=: ;;
51539 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51540 echo "$ac_cs_version"; exit ;;
51541 --debug | --debu | --deb | --de | --d | -d )
51542 debug=: ;;
51543 --file | --fil | --fi | --f )
51544 $ac_shift
51545 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51546 ac_need_defaults=false;;
51547 --header | --heade | --head | --hea )
51548 $ac_shift
51549 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51550 ac_need_defaults=false;;
51551 --he | --h)
51552 # Conflict between --help and --header
51553 { echo "$as_me: error: ambiguous option: $1
51554 Try \`$0 --help' for more information." >&2
51555 { (exit 1); exit 1; }; };;
51556 --help | --hel | -h )
51557 echo "$ac_cs_usage"; exit ;;
51558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51559 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51560 ac_cs_silent=: ;;
51561
51562 # This is an error.
51563 -*) { echo "$as_me: error: unrecognized option: $1
51564 Try \`$0 --help' for more information." >&2
51565 { (exit 1); exit 1; }; } ;;
51566
51567 *) ac_config_targets="$ac_config_targets $1"
51568 ac_need_defaults=false ;;
51569
51570 esac
51571 shift
51572 done
51573
51574 ac_configure_extra_args=
51575
51576 if $ac_cs_silent; then
51577 exec 6>/dev/null
51578 ac_configure_extra_args="$ac_configure_extra_args --silent"
51579 fi
51580
51581 _ACEOF
51582 cat >>$CONFIG_STATUS <<_ACEOF
51583 if \$ac_cs_recheck; then
51584 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51585 CONFIG_SHELL=$SHELL
51586 export CONFIG_SHELL
51587 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51588 fi
51589
51590 _ACEOF
51591 cat >>$CONFIG_STATUS <<\_ACEOF
51592 exec 5>>config.log
51593 {
51594 echo
51595 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51596 ## Running $as_me. ##
51597 _ASBOX
51598 echo "$ac_log"
51599 } >&5
51600
51601 _ACEOF
51602 cat >>$CONFIG_STATUS <<_ACEOF
51603 #
51604 # INIT-COMMANDS
51605 #
51606
51607 CPP="$CPP"
51608 infile="$srcdir/include/wx/msw/genrcdefs.h"
51609 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51610
51611
51612 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51613 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51614 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51615 LN_S="${LN_S}"
51616
51617
51618 _ACEOF
51619
51620 cat >>$CONFIG_STATUS <<\_ACEOF
51621
51622 # Handling of arguments.
51623 for ac_config_target in $ac_config_targets
51624 do
51625 case $ac_config_target in
51626 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51627 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51628 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51629 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51630 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51631 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51632 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51633 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51634 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51635
51636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51637 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51638 { (exit 1); exit 1; }; };;
51639 esac
51640 done
51641
51642
51643 # If the user did not use the arguments to specify the items to instantiate,
51644 # then the envvar interface is used. Set only those that are not.
51645 # We use the long form for the default assignment because of an extremely
51646 # bizarre bug on SunOS 4.1.3.
51647 if $ac_need_defaults; then
51648 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51649 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51650 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51651 fi
51652
51653 # Have a temporary directory for convenience. Make it in the build tree
51654 # simply because there is no reason against having it here, and in addition,
51655 # creating and moving files from /tmp can sometimes cause problems.
51656 # Hook for its removal unless debugging.
51657 # Note that there is a small window in which the directory will not be cleaned:
51658 # after its creation but before its name has been assigned to `$tmp'.
51659 $debug ||
51660 {
51661 tmp=
51662 trap 'exit_status=$?
51663 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51664 ' 0
51665 trap '{ (exit 1); exit 1; }' 1 2 13 15
51666 }
51667 # Create a (secure) tmp directory for tmp files.
51668
51669 {
51670 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51671 test -n "$tmp" && test -d "$tmp"
51672 } ||
51673 {
51674 tmp=./conf$$-$RANDOM
51675 (umask 077 && mkdir "$tmp")
51676 } ||
51677 {
51678 echo "$me: cannot create a temporary directory in ." >&2
51679 { (exit 1); exit 1; }
51680 }
51681
51682 #
51683 # Set up the sed scripts for CONFIG_FILES section.
51684 #
51685
51686 # No need to generate the scripts if there are no CONFIG_FILES.
51687 # This happens for instance when ./config.status config.h
51688 if test -n "$CONFIG_FILES"; then
51689
51690 _ACEOF
51691
51692
51693
51694 ac_delim='%!_!# '
51695 for ac_last_try in false false false false false :; do
51696 cat >conf$$subs.sed <<_ACEOF
51697 SHELL!$SHELL$ac_delim
51698 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51699 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51700 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51701 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51702 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51703 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51704 exec_prefix!$exec_prefix$ac_delim
51705 prefix!$prefix$ac_delim
51706 program_transform_name!$program_transform_name$ac_delim
51707 bindir!$bindir$ac_delim
51708 sbindir!$sbindir$ac_delim
51709 libexecdir!$libexecdir$ac_delim
51710 datarootdir!$datarootdir$ac_delim
51711 datadir!$datadir$ac_delim
51712 sysconfdir!$sysconfdir$ac_delim
51713 sharedstatedir!$sharedstatedir$ac_delim
51714 localstatedir!$localstatedir$ac_delim
51715 includedir!$includedir$ac_delim
51716 oldincludedir!$oldincludedir$ac_delim
51717 docdir!$docdir$ac_delim
51718 infodir!$infodir$ac_delim
51719 htmldir!$htmldir$ac_delim
51720 dvidir!$dvidir$ac_delim
51721 pdfdir!$pdfdir$ac_delim
51722 psdir!$psdir$ac_delim
51723 libdir!$libdir$ac_delim
51724 localedir!$localedir$ac_delim
51725 mandir!$mandir$ac_delim
51726 DEFS!$DEFS$ac_delim
51727 ECHO_C!$ECHO_C$ac_delim
51728 ECHO_N!$ECHO_N$ac_delim
51729 ECHO_T!$ECHO_T$ac_delim
51730 LIBS!$LIBS$ac_delim
51731 build_alias!$build_alias$ac_delim
51732 host_alias!$host_alias$ac_delim
51733 target_alias!$target_alias$ac_delim
51734 build!$build$ac_delim
51735 build_cpu!$build_cpu$ac_delim
51736 build_vendor!$build_vendor$ac_delim
51737 build_os!$build_os$ac_delim
51738 host!$host$ac_delim
51739 host_cpu!$host_cpu$ac_delim
51740 host_vendor!$host_vendor$ac_delim
51741 host_os!$host_os$ac_delim
51742 wx_top_builddir!$wx_top_builddir$ac_delim
51743 CC!$CC$ac_delim
51744 CFLAGS!$CFLAGS$ac_delim
51745 LDFLAGS!$LDFLAGS$ac_delim
51746 CPPFLAGS!$CPPFLAGS$ac_delim
51747 ac_ct_CC!$ac_ct_CC$ac_delim
51748 EXEEXT!$EXEEXT$ac_delim
51749 OBJEXT!$OBJEXT$ac_delim
51750 CPP!$CPP$ac_delim
51751 GREP!$GREP$ac_delim
51752 EGREP!$EGREP$ac_delim
51753 CXX!$CXX$ac_delim
51754 CXXFLAGS!$CXXFLAGS$ac_delim
51755 ac_ct_CXX!$ac_ct_CXX$ac_delim
51756 AR!$AR$ac_delim
51757 subdirs!$subdirs$ac_delim
51758 PKG_CONFIG!$PKG_CONFIG$ac_delim
51759 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51760 GTK_LIBS!$GTK_LIBS$ac_delim
51761 GTK_CONFIG!$GTK_CONFIG$ac_delim
51762 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51763 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51764 XMKMF!$XMKMF$ac_delim
51765 X_CFLAGS!$X_CFLAGS$ac_delim
51766 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51767 X_LIBS!$X_LIBS$ac_delim
51768 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51769 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51770 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51771 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51772 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51773 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51774 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51775 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51776 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51777 LIBICONV!$LIBICONV$ac_delim
51778 GXX_VERSION!$GXX_VERSION$ac_delim
51779 SDL_CONFIG!$SDL_CONFIG$ac_delim
51780 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51781 SDL_LIBS!$SDL_LIBS$ac_delim
51782 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51783 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51784 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51785 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51786 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51787 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51788 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51789 HILDON_LIBS!$HILDON_LIBS$ac_delim
51790 PYTHON!$PYTHON$ac_delim
51791 COND_PYTHON!$COND_PYTHON$ac_delim
51792 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51793 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51794 _ACEOF
51795
51796 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51797 break
51798 elif $ac_last_try; then
51799 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51800 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51801 { (exit 1); exit 1; }; }
51802 else
51803 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51804 fi
51805 done
51806
51807 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51808 if test -n "$ac_eof"; then
51809 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51810 ac_eof=`expr $ac_eof + 1`
51811 fi
51812
51813 cat >>$CONFIG_STATUS <<_ACEOF
51814 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51816 _ACEOF
51817 sed '
51818 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51819 s/^/s,@/; s/!/@,|#_!!_#|/
51820 :n
51821 t n
51822 s/'"$ac_delim"'$/,g/; t
51823 s/$/\\/; p
51824 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51825 ' >>$CONFIG_STATUS <conf$$subs.sed
51826 rm -f conf$$subs.sed
51827 cat >>$CONFIG_STATUS <<_ACEOF
51828 CEOF$ac_eof
51829 _ACEOF
51830
51831
51832 ac_delim='%!_!# '
51833 for ac_last_try in false false false false false :; do
51834 cat >conf$$subs.sed <<_ACEOF
51835 GST_CFLAGS!$GST_CFLAGS$ac_delim
51836 GST_LIBS!$GST_LIBS$ac_delim
51837 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51838 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51839 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51840 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51841 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51842 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51843 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51844 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51845 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51846 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51847 VENDOR!$VENDOR$ac_delim
51848 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51849 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51850 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51851 WXUNIV!$WXUNIV$ac_delim
51852 MONOLITHIC!$MONOLITHIC$ac_delim
51853 USE_PLUGINS!$USE_PLUGINS$ac_delim
51854 CXXWARNINGS!$CXXWARNINGS$ac_delim
51855 EXTRALIBS!$EXTRALIBS$ac_delim
51856 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51857 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51858 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51859 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51860 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51861 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51862 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51863 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51864 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51865 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51866 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51867 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51868 UNICODE!$UNICODE$ac_delim
51869 BUILD!$BUILD$ac_delim
51870 DEBUG_INFO!$DEBUG_INFO$ac_delim
51871 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51872 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51873 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51874 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51875 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51876 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51877 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51878 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51879 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51880 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51881 RANLIB!$RANLIB$ac_delim
51882 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51883 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51884 INSTALL_DATA!$INSTALL_DATA$ac_delim
51885 LN_S!$LN_S$ac_delim
51886 SET_MAKE!$SET_MAKE$ac_delim
51887 MAKE_SET!$MAKE_SET$ac_delim
51888 AROPTIONS!$AROPTIONS$ac_delim
51889 STRIP!$STRIP$ac_delim
51890 NM!$NM$ac_delim
51891 INSTALL_DIR!$INSTALL_DIR$ac_delim
51892 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51893 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51894 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51895 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51896 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51897 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51898 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51899 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51900 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51901 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51902 SO_SUFFIX!$SO_SUFFIX$ac_delim
51903 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51904 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51905 LIBPREFIX!$LIBPREFIX$ac_delim
51906 LIBEXT!$LIBEXT$ac_delim
51907 DLLPREFIX!$DLLPREFIX$ac_delim
51908 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51909 dlldir!$dlldir$ac_delim
51910 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51911 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51912 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51913 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51914 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51915 PIC_FLAG!$PIC_FLAG$ac_delim
51916 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51917 USE_SOVERSION!$USE_SOVERSION$ac_delim
51918 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51919 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51920 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51921 USE_MACVERSION!$USE_MACVERSION$ac_delim
51922 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51923 SONAME_FLAG!$SONAME_FLAG$ac_delim
51924 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51925 BK_DEPS!$BK_DEPS$ac_delim
51926 WINDRES!$WINDRES$ac_delim
51927 REZ!$REZ$ac_delim
51928 SETFILE!$SETFILE$ac_delim
51929 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51930 GCC_PCH!$GCC_PCH$ac_delim
51931 ICC_PCH!$ICC_PCH$ac_delim
51932 _ACEOF
51933
51934 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51935 break
51936 elif $ac_last_try; then
51937 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51938 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51939 { (exit 1); exit 1; }; }
51940 else
51941 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51942 fi
51943 done
51944
51945 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51946 if test -n "$ac_eof"; then
51947 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51948 ac_eof=`expr $ac_eof + 1`
51949 fi
51950
51951 cat >>$CONFIG_STATUS <<_ACEOF
51952 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51954 _ACEOF
51955 sed '
51956 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51957 s/^/s,@/; s/!/@,|#_!!_#|/
51958 :n
51959 t n
51960 s/'"$ac_delim"'$/,g/; t
51961 s/$/\\/; p
51962 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51963 ' >>$CONFIG_STATUS <conf$$subs.sed
51964 rm -f conf$$subs.sed
51965 cat >>$CONFIG_STATUS <<_ACEOF
51966 CEOF$ac_eof
51967 _ACEOF
51968
51969
51970 ac_delim='%!_!# '
51971 for ac_last_try in false false false false false :; do
51972 cat >conf$$subs.sed <<_ACEOF
51973 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51974 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51975 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51976 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51977 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51978 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51979 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51980 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51981 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51982 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51983 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51984 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51985 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51986 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51987 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51988 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51989 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51990 COND_BUILD_release!$COND_BUILD_release$ac_delim
51991 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51992 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51993 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51994 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51995 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51996 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51997 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51998 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51999 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52000 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52001 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52002 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52003 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52006 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52007 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52008 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52009 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52010 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52011 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52012 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52013 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52017 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52018 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52019 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52020 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52021 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52022 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52023 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52024 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52025 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52026 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52027 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52028 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52029 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52030 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52031 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52032 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52033 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52034 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52035 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52036 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52037 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52038 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52039 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52040 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52041 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52042 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
52043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52044 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
52045 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52046 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52047 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52048 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52049 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52050 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52051 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52052 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52053 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52054 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52055 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52056 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52057 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52058 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52060 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52061 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52062 COND_SHARED_0!$COND_SHARED_0$ac_delim
52063 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52064 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52065 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52066 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52067 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52068 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52069 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52070 _ACEOF
52071
52072 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52073 break
52074 elif $ac_last_try; then
52075 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52076 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52077 { (exit 1); exit 1; }; }
52078 else
52079 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52080 fi
52081 done
52082
52083 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52084 if test -n "$ac_eof"; then
52085 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52086 ac_eof=`expr $ac_eof + 1`
52087 fi
52088
52089 cat >>$CONFIG_STATUS <<_ACEOF
52090 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52091 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52092 _ACEOF
52093 sed '
52094 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52095 s/^/s,@/; s/!/@,|#_!!_#|/
52096 :n
52097 t n
52098 s/'"$ac_delim"'$/,g/; t
52099 s/$/\\/; p
52100 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52101 ' >>$CONFIG_STATUS <conf$$subs.sed
52102 rm -f conf$$subs.sed
52103 cat >>$CONFIG_STATUS <<_ACEOF
52104 CEOF$ac_eof
52105 _ACEOF
52106
52107
52108 ac_delim='%!_!# '
52109 for ac_last_try in false false false false false :; do
52110 cat >conf$$subs.sed <<_ACEOF
52111 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52112 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52113 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52114 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52115 COND_SHARED_1!$COND_SHARED_1$ac_delim
52116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52117 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52118 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52119 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52120 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52121 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52122 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52123 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52124 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52125 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52126 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52127 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52128 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52129 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52130 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52131 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52132 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52133 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52134 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52135 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52136 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52137 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52138 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52139 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52140 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52141 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52142 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52143 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52144 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52145 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52146 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52147 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52148 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52149 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52150 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52151 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52152 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52153 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52154 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52155 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52156 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52157 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52158 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52159 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52160 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52161 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52162 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52163 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52164 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52165 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52166 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52167 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52168 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52169 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52170 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52171 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52172 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52173 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52174 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52175 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52176 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52177 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52178 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52179 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52180 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52181 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52182 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52183 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52184 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52185 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52186 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52187 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52188 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52189 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52190 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52191 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52192 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52193 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52194 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52195 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52196 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52197 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52198 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52199 DEREZ!$DEREZ$ac_delim
52200 SHARED!$SHARED$ac_delim
52201 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52202 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52203 USE_GUI!$USE_GUI$ac_delim
52204 AFMINSTALL!$AFMINSTALL$ac_delim
52205 WIN32INSTALL!$WIN32INSTALL$ac_delim
52206 TOOLKIT!$TOOLKIT$ac_delim
52207 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52208 _ACEOF
52209
52210 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52211 break
52212 elif $ac_last_try; then
52213 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52214 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52215 { (exit 1); exit 1; }; }
52216 else
52217 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52218 fi
52219 done
52220
52221 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52222 if test -n "$ac_eof"; then
52223 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52224 ac_eof=`expr $ac_eof + 1`
52225 fi
52226
52227 cat >>$CONFIG_STATUS <<_ACEOF
52228 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52230 _ACEOF
52231 sed '
52232 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52233 s/^/s,@/; s/!/@,|#_!!_#|/
52234 :n
52235 t n
52236 s/'"$ac_delim"'$/,g/; t
52237 s/$/\\/; p
52238 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52239 ' >>$CONFIG_STATUS <conf$$subs.sed
52240 rm -f conf$$subs.sed
52241 cat >>$CONFIG_STATUS <<_ACEOF
52242 CEOF$ac_eof
52243 _ACEOF
52244
52245
52246 ac_delim='%!_!# '
52247 for ac_last_try in false false false false false :; do
52248 cat >conf$$subs.sed <<_ACEOF
52249 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52250 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52251 cross_compiling!$cross_compiling$ac_delim
52252 WIDGET_SET!$WIDGET_SET$ac_delim
52253 WX_RELEASE!$WX_RELEASE$ac_delim
52254 WX_VERSION!$WX_VERSION$ac_delim
52255 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52256 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52257 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52258 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52259 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52260 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52261 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52262 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52263 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52264 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52265 GUIDIST!$GUIDIST$ac_delim
52266 DISTDIR!$DISTDIR$ac_delim
52267 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52268 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52269 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52270 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52271 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52272 RESCOMP!$RESCOMP$ac_delim
52273 RESFLAGS!$RESFLAGS$ac_delim
52274 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52275 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52276 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52277 LIBWXMACRES!$LIBWXMACRES$ac_delim
52278 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52279 MACSETFILE!$MACSETFILE$ac_delim
52280 GCC!$GCC$ac_delim
52281 DLLTOOL!$DLLTOOL$ac_delim
52282 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52283 LIBOBJS!$LIBOBJS$ac_delim
52284 LTLIBOBJS!$LTLIBOBJS$ac_delim
52285 _ACEOF
52286
52287 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52288 break
52289 elif $ac_last_try; then
52290 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52291 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52292 { (exit 1); exit 1; }; }
52293 else
52294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52295 fi
52296 done
52297
52298 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52299 if test -n "$ac_eof"; then
52300 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52301 ac_eof=`expr $ac_eof + 1`
52302 fi
52303
52304 cat >>$CONFIG_STATUS <<_ACEOF
52305 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52307 _ACEOF
52308 sed '
52309 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52310 s/^/s,@/; s/!/@,|#_!!_#|/
52311 :n
52312 t n
52313 s/'"$ac_delim"'$/,g/; t
52314 s/$/\\/; p
52315 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52316 ' >>$CONFIG_STATUS <conf$$subs.sed
52317 rm -f conf$$subs.sed
52318 cat >>$CONFIG_STATUS <<_ACEOF
52319 :end
52320 s/|#_!!_#|//g
52321 CEOF$ac_eof
52322 _ACEOF
52323
52324
52325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52327 # trailing colons and then remove the whole line if VPATH becomes empty
52328 # (actually we leave an empty line to preserve line numbers).
52329 if test "x$srcdir" = x.; then
52330 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52331 s/:*\$(srcdir):*/:/
52332 s/:*\${srcdir}:*/:/
52333 s/:*@srcdir@:*/:/
52334 s/^\([^=]*=[ ]*\):*/\1/
52335 s/:*$//
52336 s/^[^=]*=[ ]*$//
52337 }'
52338 fi
52339
52340 cat >>$CONFIG_STATUS <<\_ACEOF
52341 fi # test -n "$CONFIG_FILES"
52342
52343
52344 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52345 do
52346 case $ac_tag in
52347 :[FHLC]) ac_mode=$ac_tag; continue;;
52348 esac
52349 case $ac_mode$ac_tag in
52350 :[FHL]*:*);;
52351 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52352 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52353 { (exit 1); exit 1; }; };;
52354 :[FH]-) ac_tag=-:-;;
52355 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52356 esac
52357 ac_save_IFS=$IFS
52358 IFS=:
52359 set x $ac_tag
52360 IFS=$ac_save_IFS
52361 shift
52362 ac_file=$1
52363 shift
52364
52365 case $ac_mode in
52366 :L) ac_source=$1;;
52367 :[FH])
52368 ac_file_inputs=
52369 for ac_f
52370 do
52371 case $ac_f in
52372 -) ac_f="$tmp/stdin";;
52373 *) # Look for the file first in the build tree, then in the source tree
52374 # (if the path is not absolute). The absolute path cannot be DOS-style,
52375 # because $ac_f cannot contain `:'.
52376 test -f "$ac_f" ||
52377 case $ac_f in
52378 [\\/$]*) false;;
52379 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52380 esac ||
52381 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52382 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52383 { (exit 1); exit 1; }; };;
52384 esac
52385 ac_file_inputs="$ac_file_inputs $ac_f"
52386 done
52387
52388 # Let's still pretend it is `configure' which instantiates (i.e., don't
52389 # use $as_me), people would be surprised to read:
52390 # /* config.h. Generated by config.status. */
52391 configure_input="Generated from "`IFS=:
52392 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52393 if test x"$ac_file" != x-; then
52394 configure_input="$ac_file. $configure_input"
52395 { echo "$as_me:$LINENO: creating $ac_file" >&5
52396 echo "$as_me: creating $ac_file" >&6;}
52397 fi
52398
52399 case $ac_tag in
52400 *:-:* | *:-) cat >"$tmp/stdin";;
52401 esac
52402 ;;
52403 esac
52404
52405 ac_dir=`$as_dirname -- "$ac_file" ||
52406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52407 X"$ac_file" : 'X\(//\)[^/]' \| \
52408 X"$ac_file" : 'X\(//\)$' \| \
52409 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52410 echo X"$ac_file" |
52411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52412 s//\1/
52413 q
52414 }
52415 /^X\(\/\/\)[^/].*/{
52416 s//\1/
52417 q
52418 }
52419 /^X\(\/\/\)$/{
52420 s//\1/
52421 q
52422 }
52423 /^X\(\/\).*/{
52424 s//\1/
52425 q
52426 }
52427 s/.*/./; q'`
52428 { as_dir="$ac_dir"
52429 case $as_dir in #(
52430 -*) as_dir=./$as_dir;;
52431 esac
52432 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52433 as_dirs=
52434 while :; do
52435 case $as_dir in #(
52436 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52437 *) as_qdir=$as_dir;;
52438 esac
52439 as_dirs="'$as_qdir' $as_dirs"
52440 as_dir=`$as_dirname -- "$as_dir" ||
52441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52442 X"$as_dir" : 'X\(//\)[^/]' \| \
52443 X"$as_dir" : 'X\(//\)$' \| \
52444 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52445 echo X"$as_dir" |
52446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52447 s//\1/
52448 q
52449 }
52450 /^X\(\/\/\)[^/].*/{
52451 s//\1/
52452 q
52453 }
52454 /^X\(\/\/\)$/{
52455 s//\1/
52456 q
52457 }
52458 /^X\(\/\).*/{
52459 s//\1/
52460 q
52461 }
52462 s/.*/./; q'`
52463 test -d "$as_dir" && break
52464 done
52465 test -z "$as_dirs" || eval "mkdir $as_dirs"
52466 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52467 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52468 { (exit 1); exit 1; }; }; }
52469 ac_builddir=.
52470
52471 case "$ac_dir" in
52472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52473 *)
52474 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52475 # A ".." for each directory in $ac_dir_suffix.
52476 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52477 case $ac_top_builddir_sub in
52478 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52479 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52480 esac ;;
52481 esac
52482 ac_abs_top_builddir=$ac_pwd
52483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52484 # for backward compatibility:
52485 ac_top_builddir=$ac_top_build_prefix
52486
52487 case $srcdir in
52488 .) # We are building in place.
52489 ac_srcdir=.
52490 ac_top_srcdir=$ac_top_builddir_sub
52491 ac_abs_top_srcdir=$ac_pwd ;;
52492 [\\/]* | ?:[\\/]* ) # Absolute name.
52493 ac_srcdir=$srcdir$ac_dir_suffix;
52494 ac_top_srcdir=$srcdir
52495 ac_abs_top_srcdir=$srcdir ;;
52496 *) # Relative name.
52497 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52498 ac_top_srcdir=$ac_top_build_prefix$srcdir
52499 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52500 esac
52501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52502
52503
52504 case $ac_mode in
52505 :F)
52506 #
52507 # CONFIG_FILE
52508 #
52509
52510 case $INSTALL in
52511 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52512 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52513 esac
52514 _ACEOF
52515
52516 cat >>$CONFIG_STATUS <<\_ACEOF
52517 # If the template does not know about datarootdir, expand it.
52518 # FIXME: This hack should be removed a few years after 2.60.
52519 ac_datarootdir_hack=; ac_datarootdir_seen=
52520
52521 case `sed -n '/datarootdir/ {
52522 p
52523 q
52524 }
52525 /@datadir@/p
52526 /@docdir@/p
52527 /@infodir@/p
52528 /@localedir@/p
52529 /@mandir@/p
52530 ' $ac_file_inputs` in
52531 *datarootdir*) ac_datarootdir_seen=yes;;
52532 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52533 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52534 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52535 _ACEOF
52536 cat >>$CONFIG_STATUS <<_ACEOF
52537 ac_datarootdir_hack='
52538 s&@datadir@&$datadir&g
52539 s&@docdir@&$docdir&g
52540 s&@infodir@&$infodir&g
52541 s&@localedir@&$localedir&g
52542 s&@mandir@&$mandir&g
52543 s&\\\${datarootdir}&$datarootdir&g' ;;
52544 esac
52545 _ACEOF
52546
52547 # Neutralize VPATH when `$srcdir' = `.'.
52548 # Shell code in configure.ac might set extrasub.
52549 # FIXME: do we really want to maintain this feature?
52550 cat >>$CONFIG_STATUS <<_ACEOF
52551 sed "$ac_vpsub
52552 $extrasub
52553 _ACEOF
52554 cat >>$CONFIG_STATUS <<\_ACEOF
52555 :t
52556 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52557 s&@configure_input@&$configure_input&;t t
52558 s&@top_builddir@&$ac_top_builddir_sub&;t t
52559 s&@srcdir@&$ac_srcdir&;t t
52560 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52561 s&@top_srcdir@&$ac_top_srcdir&;t t
52562 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52563 s&@builddir@&$ac_builddir&;t t
52564 s&@abs_builddir@&$ac_abs_builddir&;t t
52565 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52566 s&@INSTALL@&$ac_INSTALL&;t t
52567 $ac_datarootdir_hack
52568 " $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
52569
52570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52571 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52572 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52573 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52574 which seems to be undefined. Please make sure it is defined." >&5
52575 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52576 which seems to be undefined. Please make sure it is defined." >&2;}
52577
52578 rm -f "$tmp/stdin"
52579 case $ac_file in
52580 -) cat "$tmp/out"; rm -f "$tmp/out";;
52581 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52582 esac
52583 ;;
52584 :H)
52585 #
52586 # CONFIG_HEADER
52587 #
52588 _ACEOF
52589
52590 # Transform confdefs.h into a sed script `conftest.defines', that
52591 # substitutes the proper values into config.h.in to produce config.h.
52592 rm -f conftest.defines conftest.tail
52593 # First, append a space to every undef/define line, to ease matching.
52594 echo 's/$/ /' >conftest.defines
52595 # Then, protect against being on the right side of a sed subst, or in
52596 # an unquoted here document, in config.status. If some macros were
52597 # called several times there might be several #defines for the same
52598 # symbol, which is useless. But do not sort them, since the last
52599 # AC_DEFINE must be honored.
52600 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52601 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52602 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52603 # PARAMS is the parameter list in the macro definition--in most cases, it's
52604 # just an empty string.
52605 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52606 ac_dB='\\)[ (].*,\\1define\\2'
52607 ac_dC=' '
52608 ac_dD=' ,'
52609
52610 uniq confdefs.h |
52611 sed -n '
52612 t rset
52613 :rset
52614 s/^[ ]*#[ ]*define[ ][ ]*//
52615 t ok
52616 d
52617 :ok
52618 s/[\\&,]/\\&/g
52619 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52620 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52621 ' >>conftest.defines
52622
52623 # Remove the space that was appended to ease matching.
52624 # Then replace #undef with comments. This is necessary, for
52625 # example, in the case of _POSIX_SOURCE, which is predefined and required
52626 # on some systems where configure will not decide to define it.
52627 # (The regexp can be short, since the line contains either #define or #undef.)
52628 echo 's/ $//
52629 s,^[ #]*u.*,/* & */,' >>conftest.defines
52630
52631 # Break up conftest.defines:
52632 ac_max_sed_lines=50
52633
52634 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52635 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52636 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52637 # et cetera.
52638 ac_in='$ac_file_inputs'
52639 ac_out='"$tmp/out1"'
52640 ac_nxt='"$tmp/out2"'
52641
52642 while :
52643 do
52644 # Write a here document:
52645 cat >>$CONFIG_STATUS <<_ACEOF
52646 # First, check the format of the line:
52647 cat >"\$tmp/defines.sed" <<\\CEOF
52648 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52649 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52650 b
52651 :def
52652 _ACEOF
52653 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52654 echo 'CEOF
52655 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52656 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52657 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52658 grep . conftest.tail >/dev/null || break
52659 rm -f conftest.defines
52660 mv conftest.tail conftest.defines
52661 done
52662 rm -f conftest.defines conftest.tail
52663
52664 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52665 cat >>$CONFIG_STATUS <<\_ACEOF
52666 if test x"$ac_file" != x-; then
52667 echo "/* $configure_input */" >"$tmp/config.h"
52668 cat "$ac_result" >>"$tmp/config.h"
52669 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52670 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52671 echo "$as_me: $ac_file is unchanged" >&6;}
52672 else
52673 rm -f $ac_file
52674 mv "$tmp/config.h" $ac_file
52675 fi
52676 else
52677 echo "/* $configure_input */"
52678 cat "$ac_result"
52679 fi
52680 rm -f "$tmp/out12"
52681 ;;
52682
52683 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52684 echo "$as_me: executing $ac_file commands" >&6;}
52685 ;;
52686 esac
52687
52688
52689 case $ac_file$ac_mode in
52690 "rcdefs.h":C)
52691 mkdir -p $outdir &&
52692 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52693 ;;
52694 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52695 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52696 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52697 "wx-config":C) rm -f wx-config
52698 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52699 ;;
52700
52701 esac
52702 done # for ac_tag
52703
52704
52705 { (exit 0); exit 0; }
52706 _ACEOF
52707 chmod +x $CONFIG_STATUS
52708 ac_clean_files=$ac_clean_files_save
52709
52710
52711 # configure is writing to config.log, and then calls config.status.
52712 # config.status does its own redirection, appending to config.log.
52713 # Unfortunately, on DOS this fails, as config.log is still kept open
52714 # by configure, so config.status won't be able to write to it; its
52715 # output is simply discarded. So we exec the FD to /dev/null,
52716 # effectively closing config.log, so it can be properly (re)opened and
52717 # appended to by config.status. When coming back to configure, we
52718 # need to make the FD available again.
52719 if test "$no_create" != yes; then
52720 ac_cs_success=:
52721 ac_config_status_args=
52722 test "$silent" = yes &&
52723 ac_config_status_args="$ac_config_status_args --quiet"
52724 exec 5>/dev/null
52725 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52726 exec 5>>config.log
52727 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52728 # would make configure fail if this is the last instruction.
52729 $ac_cs_success || { (exit 1); exit 1; }
52730 fi
52731
52732 #
52733 # CONFIG_SUBDIRS section.
52734 #
52735 if test "$no_recursion" != yes; then
52736
52737 # Remove --cache-file and --srcdir arguments so they do not pile up.
52738 ac_sub_configure_args=
52739 ac_prev=
52740 eval "set x $ac_configure_args"
52741 shift
52742 for ac_arg
52743 do
52744 if test -n "$ac_prev"; then
52745 ac_prev=
52746 continue
52747 fi
52748 case $ac_arg in
52749 -cache-file | --cache-file | --cache-fil | --cache-fi \
52750 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52751 ac_prev=cache_file ;;
52752 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52753 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52754 | --c=*)
52755 ;;
52756 --config-cache | -C)
52757 ;;
52758 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52759 ac_prev=srcdir ;;
52760 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52761 ;;
52762 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52763 ac_prev=prefix ;;
52764 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52765 ;;
52766 *)
52767 case $ac_arg in
52768 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52769 esac
52770 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52771 esac
52772 done
52773
52774 # Always prepend --prefix to ensure using the same prefix
52775 # in subdir configurations.
52776 ac_arg="--prefix=$prefix"
52777 case $ac_arg in
52778 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52779 esac
52780 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52781
52782 # Pass --silent
52783 if test "$silent" = yes; then
52784 ac_sub_configure_args="--silent $ac_sub_configure_args"
52785 fi
52786
52787 ac_popdir=`pwd`
52788 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52789
52790 # Do not complain, so a configure script can configure whichever
52791 # parts of a large source tree are present.
52792 test -d "$srcdir/$ac_dir" || continue
52793
52794 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52795 echo "$as_me:$LINENO: $ac_msg" >&5
52796 echo "$ac_msg" >&6
52797 { as_dir="$ac_dir"
52798 case $as_dir in #(
52799 -*) as_dir=./$as_dir;;
52800 esac
52801 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52802 as_dirs=
52803 while :; do
52804 case $as_dir in #(
52805 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52806 *) as_qdir=$as_dir;;
52807 esac
52808 as_dirs="'$as_qdir' $as_dirs"
52809 as_dir=`$as_dirname -- "$as_dir" ||
52810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52811 X"$as_dir" : 'X\(//\)[^/]' \| \
52812 X"$as_dir" : 'X\(//\)$' \| \
52813 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52814 echo X"$as_dir" |
52815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52816 s//\1/
52817 q
52818 }
52819 /^X\(\/\/\)[^/].*/{
52820 s//\1/
52821 q
52822 }
52823 /^X\(\/\/\)$/{
52824 s//\1/
52825 q
52826 }
52827 /^X\(\/\).*/{
52828 s//\1/
52829 q
52830 }
52831 s/.*/./; q'`
52832 test -d "$as_dir" && break
52833 done
52834 test -z "$as_dirs" || eval "mkdir $as_dirs"
52835 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52836 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52837 { (exit 1); exit 1; }; }; }
52838 ac_builddir=.
52839
52840 case "$ac_dir" in
52841 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52842 *)
52843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52844 # A ".." for each directory in $ac_dir_suffix.
52845 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52846 case $ac_top_builddir_sub in
52847 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52848 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52849 esac ;;
52850 esac
52851 ac_abs_top_builddir=$ac_pwd
52852 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52853 # for backward compatibility:
52854 ac_top_builddir=$ac_top_build_prefix
52855
52856 case $srcdir in
52857 .) # We are building in place.
52858 ac_srcdir=.
52859 ac_top_srcdir=$ac_top_builddir_sub
52860 ac_abs_top_srcdir=$ac_pwd ;;
52861 [\\/]* | ?:[\\/]* ) # Absolute name.
52862 ac_srcdir=$srcdir$ac_dir_suffix;
52863 ac_top_srcdir=$srcdir
52864 ac_abs_top_srcdir=$srcdir ;;
52865 *) # Relative name.
52866 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52867 ac_top_srcdir=$ac_top_build_prefix$srcdir
52868 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52869 esac
52870 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52871
52872
52873 cd "$ac_dir"
52874
52875 # Check for guested configure; otherwise get Cygnus style configure.
52876 if test -f "$ac_srcdir/configure.gnu"; then
52877 ac_sub_configure=$ac_srcdir/configure.gnu
52878 elif test -f "$ac_srcdir/configure"; then
52879 ac_sub_configure=$ac_srcdir/configure
52880 elif test -f "$ac_srcdir/configure.in"; then
52881 # This should be Cygnus configure.
52882 ac_sub_configure=$ac_aux_dir/configure
52883 else
52884 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52885 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52886 ac_sub_configure=
52887 fi
52888
52889 # The recursion is here.
52890 if test -n "$ac_sub_configure"; then
52891 # Make the cache file name correct relative to the subdirectory.
52892 case $cache_file in
52893 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52894 *) # Relative name.
52895 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52896 esac
52897
52898 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52899 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52900 # The eval makes quoting arguments work.
52901 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52902 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52903 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52904 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52905 { (exit 1); exit 1; }; }
52906 fi
52907
52908 cd "$ac_popdir"
52909 done
52910 fi
52911
52912
52913 echo
52914 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52915 echo ""
52916 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52917 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52918
52919 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52920 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52921 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52922 if test "$wxUSE_UNICODE" = "yes"; then
52923 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52924 echo " (using UTF-8)"
52925 else
52926 echo " (using wchar_t)"
52927 fi
52928 else
52929 echo
52930 fi
52931
52932 echo " What level of wxWidgets compatibility should be enabled?"
52933 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52934 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52935
52936 echo " Which libraries should wxWidgets use?"
52937 echo " STL ${wxUSE_STL}"
52938 echo " jpeg ${wxUSE_LIBJPEG-none}"
52939 echo " png ${wxUSE_LIBPNG-none}"
52940 echo " regex ${wxUSE_REGEX}"
52941 echo " tiff ${wxUSE_LIBTIFF-none}"
52942 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52943 echo " xpm ${wxUSE_LIBXPM-none}"
52944 fi
52945 echo " zlib ${wxUSE_ZLIB}"
52946 echo " expat ${wxUSE_EXPAT}"
52947 echo " libmspack ${wxUSE_LIBMSPACK}"
52948 echo " sdl ${wxUSE_LIBSDL}"
52949
52950 echo ""
52951