]> git.saurik.com Git - wxWidgets.git/blob - configure
96c3d829e6ef4228c17d07179de2d8086179516e
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 61122 2009-06-18 21:05:09Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 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.0 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.0:";;
1651 esac
1652 cat <<\_ACEOF
1653
1654 Optional Features:
1655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1657 --disable-gui don't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros, even if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets 2.6 compatibility
1692 --disable-compat28 disable wxWidgets 2.8 compatibility
1693 --disable-rpath disable use of rpath for uninstalled builds
1694 --enable-objc_uniquifying enable Objective-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even if supported
1696 --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.0
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.0, 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=0
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 retest_macosx_linking=no
18111
18112 #if test "$wxUSE_MAC" = 1; then
18113 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18114 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18115 # Implicitly turn on the new --with-macosx-sdk using the default
18116 # SDK which provides the behavior this option has always had.
18117 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18118 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18119 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18120 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18121 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18122 wxUSE_MACOSX_SDK=yes
18123 fi
18124 else
18125 # Complain to user if he specified an argument to --enable-universal_binary
18126 # and also 1) specified --with-macosx-sdk using the default (yes) or
18127 # 2) specified --with-macosx-sdk using a path or 3) specified
18128 # --without-macosx-sdk (no).
18129 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18130 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18131 See \`config.log' for more details." >&5
18132 echo "$as_me: 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." >&2;}
18134 { (exit 1); exit 1; }; }
18135 else
18136 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18137 # special-case the empty string because the below test simply
18138 # converts "no" to the empty string anyway.
18139 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18140 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18141 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18142 fi
18143 fi
18144 OSX_UNIV_OPTS="-arch ppc -arch i386"
18145 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18146 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18147 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18148 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18149 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18150 retest_macosx_linking=yes
18151
18152 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18153 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18154 bk_use_pch=no
18155 fi
18156 #fi
18157
18158 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18159 wxUSE_MACOSX_SDK=
18160 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18161 # TODO: Search for most recent SDK and use it.
18162 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18163 fi
18164
18165
18166 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18167 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18168 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18169 if ! test -d "$wxUSE_MACOSX_SDK"; then
18170 { { echo "$as_me:$LINENO: error: not found
18171 See \`config.log' for more details." >&5
18172 echo "$as_me: error: not found
18173 See \`config.log' for more details." >&2;}
18174 { (exit 1); exit 1; }; }
18175 else
18176 { echo "$as_me:$LINENO: result: exists" >&5
18177 echo "${ECHO_T}exists" >&6; }
18178 fi
18179 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18180 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18182 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18183 retest_macosx_linking=yes
18184 fi
18185
18186 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18187 wxUSE_MACOSX_VERSION_MIN=
18188 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18189 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18190 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18191 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18192
18193 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/'`
18194
18195 # If that failed, try again with the new key
18196 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18197
18198 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/'`
18199
18200 fi
18201
18202 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18203 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18204 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18205 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18206 else
18207 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18208 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18209 wxUSE_MACOSX_VERSION_MIN=
18210 fi
18211 else
18212 wxUSE_MACOSX_VERSION_MIN=
18213 fi
18214 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18215 if test "$wxUSE_MAC" = 1; then
18216 # otherwise configure stops on leopard for universal_binary
18217 wxUSE_MACOSX_VERSION_MIN=10.4
18218 fi
18219 fi
18220
18221 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18222 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18223 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18224 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18225 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18226 retest_macosx_linking=yes
18227 fi
18228
18229 if test "x$retest_macosx_linking" = "xyes"; then
18230 ac_ext=c
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18235
18236 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18237 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18238 cat >conftest.$ac_ext <<_ACEOF
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244
18245 int
18246 main ()
18247 {
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 rm -f conftest.$ac_objext conftest$ac_exeext
18254 if { (ac_try="$ac_link"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18258 esac
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_link") 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest$ac_exeext &&
18270 $as_test_x conftest$ac_exeext; then
18271 { echo "$as_me:$LINENO: result: yes" >&5
18272 echo "${ECHO_T}yes" >&6; }
18273 else
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18276
18277 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18278 See \`config.log' for more details." >&5
18279 echo "$as_me: error: no. Try a different SDK
18280 See \`config.log' for more details." >&2;}
18281 { (exit 1); exit 1; }; }; exit 1
18282 fi
18283
18284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18285 conftest$ac_exeext conftest.$ac_ext
18286 ac_ext=c
18287 ac_cpp='$CPP $CPPFLAGS'
18288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18291
18292
18293 ac_ext=cpp
18294 ac_cpp='$CXXCPP $CPPFLAGS'
18295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18298
18299 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18300 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18301 cat >conftest.$ac_ext <<_ACEOF
18302 /* confdefs.h. */
18303 _ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307
18308 int
18309 main ()
18310 {
18311
18312 ;
18313 return 0;
18314 }
18315 _ACEOF
18316 rm -f conftest.$ac_objext conftest$ac_exeext
18317 if { (ac_try="$ac_link"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18321 esac
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_link") 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_cxx_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest$ac_exeext &&
18333 $as_test_x conftest$ac_exeext; then
18334 { echo "$as_me:$LINENO: result: yes" >&5
18335 echo "${ECHO_T}yes" >&6; }
18336 else
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18339
18340 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18341 See \`config.log' for more details." >&5
18342 echo "$as_me: error: no. Try a different SDK
18343 See \`config.log' for more details." >&2;}
18344 { (exit 1); exit 1; }; }; exit 1
18345 fi
18346
18347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18348 conftest$ac_exeext conftest.$ac_ext
18349 ac_ext=c
18350 ac_cpp='$CPP $CPPFLAGS'
18351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18354
18355 fi
18356
18357
18358 case "${host}" in
18359
18360 *-*-darwin* )
18361 INSTALL_PROGRAM="cp -fp"
18362 INSTALL_DATA="cp -fp"
18363 ;;
18364 *)
18365 ;;
18366 esac
18367
18368
18369 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18370 CXXFLAGS="-qunique $CXXFLAGS"
18371 fi
18372
18373 case "${host}" in
18374 powerpc-*-darwin* )
18375 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18376 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383
18384 int
18385 main ()
18386 {
18387 #ifndef __POWERPC__
18388 choke me for lack of PowerPC
18389 #endif
18390
18391 ;
18392 return 0;
18393 }
18394 _ACEOF
18395 rm -f conftest.$ac_objext
18396 if { (ac_try="$ac_compile"
18397 case "(($ac_try" in
18398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18399 *) ac_try_echo=$ac_try;;
18400 esac
18401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18402 (eval "$ac_compile") 2>conftest.er1
18403 ac_status=$?
18404 grep -v '^ *+' conftest.er1 >conftest.err
18405 rm -f conftest.er1
18406 cat conftest.err >&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && {
18409 test -z "$ac_c_werror_flag" ||
18410 test ! -s conftest.err
18411 } && test -s conftest.$ac_objext; then
18412 { echo "$as_me:$LINENO: result: yes" >&5
18413 echo "${ECHO_T}yes" >&6; }
18414 else
18415 echo "$as_me: failed program was:" >&5
18416 sed 's/^/| /' conftest.$ac_ext >&5
18417
18418 { echo "$as_me:$LINENO: result: no" >&5
18419 echo "${ECHO_T}no" >&6; }
18420 cat >>confdefs.h <<\_ACEOF
18421 #define __POWERPC__ 1
18422 _ACEOF
18423
18424
18425 fi
18426
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 ;;
18429 esac
18430
18431 case "${host}" in
18432 *-*-darwin* )
18433 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18434 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #include <CoreFoundation/CFBase.h>
18442
18443 int
18444 main ()
18445 {
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 { echo "$as_me:$LINENO: result: yes" >&5
18469 echo "${ECHO_T}yes" >&6; }
18470 else
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18473
18474 { echo "$as_me:$LINENO: result: no" >&5
18475 echo "${ECHO_T}no" >&6; }
18476 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18477 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18478 cat >conftest.$ac_ext <<_ACEOF
18479 /* confdefs.h. */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #define __CF_USE_FRAMEWORK_INCLUDES__
18485 #include <CoreFoundation/CFBase.h>
18486
18487 int
18488 main ()
18489 {
18490
18491 ;
18492 return 0;
18493 }
18494 _ACEOF
18495 rm -f conftest.$ac_objext
18496 if { (ac_try="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18500 esac
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.$ac_objext; then
18512 { echo "$as_me:$LINENO: result: yes" >&5
18513 echo "${ECHO_T}yes" >&6; }
18514 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18515 else
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18518
18519 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18520 See \`config.log' for more details." >&5
18521 echo "$as_me: error: no. CoreFoundation not available.
18522 See \`config.log' for more details." >&2;}
18523 { (exit 1); exit 1; }; }
18524
18525 fi
18526
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18528
18529
18530 fi
18531
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18533 ;;
18534 esac
18535
18536 wants_win32=0
18537 doesnt_want_win32=0
18538 case "${host}" in
18539 *-*-cygwin*)
18540 if test "$wxUSE_MSW" = 1 ; then
18541 wants_win32=1
18542 else
18543 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18544 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18545 if test "${wx_cv_nocygwin+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18547 else
18548
18549 cat >conftest.$ac_ext <<_ACEOF
18550 /* confdefs.h. */
18551 _ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555
18556 int
18557 main ()
18558 {
18559
18560 #ifdef __MINGW32__
18561 choke me
18562 #endif
18563
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18573 esac
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 wx_cv_nocygwin=no
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18589
18590 wx_cv_nocygwin=yes
18591
18592 fi
18593
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595
18596
18597 fi
18598 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18599 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18600
18601 if test "$wx_cv_nocygwin" = "yes"; then
18602 wants_win32=1
18603 else
18604 doesnt_want_win32=1
18605 fi
18606 fi
18607 if test "$wants_win32" = 1 ; then
18608 BAKEFILE_FORCE_PLATFORM=win32
18609 fi
18610 ;;
18611 *-*-mingw*)
18612 wants_win32=1
18613 ;;
18614 esac
18615
18616 if test "$wxUSE_WINE" = "yes"; then
18617 wants_win32=1
18618 LDFLAGS_GUI="-mwindows"
18619 fi
18620
18621 if test "$wants_win32" = 1 ; then
18622 USE_UNIX=0
18623 USE_WIN32=1
18624 cat >>confdefs.h <<\_ACEOF
18625 #define __WIN32__ 1
18626 _ACEOF
18627
18628 cat >>confdefs.h <<\_ACEOF
18629 #define __WIN95__ 1
18630 _ACEOF
18631
18632 cat >>confdefs.h <<\_ACEOF
18633 #define __WINDOWS__ 1
18634 _ACEOF
18635
18636 cat >>confdefs.h <<\_ACEOF
18637 #define __GNUWIN32__ 1
18638 _ACEOF
18639
18640 cat >>confdefs.h <<\_ACEOF
18641 #define STRICT 1
18642 _ACEOF
18643
18644 fi
18645 if test "$doesnt_want_win32" = 1 ; then
18646 USE_UNIX=1
18647 USE_WIN32=0
18648 fi
18649
18650 if test "$USE_UNIX" = 1 ; then
18651 wxUSE_UNIX=yes
18652 cat >>confdefs.h <<\_ACEOF
18653 #define __UNIX__ 1
18654 _ACEOF
18655
18656 fi
18657
18658 case "${host}" in
18659 *-pc-os2_emx | *-pc-os2-emx )
18660 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18661 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18662 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18663 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18664 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 else
18666 ac_check_lib_save_LIBS=$LIBS
18667 LIBS="-lcExt $LIBS"
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674
18675 /* Override any GCC internal prototype to avoid an error.
18676 Use char because int might match the return type of a GCC
18677 builtin and then its argument prototype would still apply. */
18678 #ifdef __cplusplus
18679 extern "C"
18680 #endif
18681 char drand48 ();
18682 int
18683 main ()
18684 {
18685 return drand48 ();
18686 ;
18687 return 0;
18688 }
18689 _ACEOF
18690 rm -f conftest.$ac_objext conftest$ac_exeext
18691 if { (ac_try="$ac_link"
18692 case "(($ac_try" in
18693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18694 *) ac_try_echo=$ac_try;;
18695 esac
18696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18697 (eval "$ac_link") 2>conftest.er1
18698 ac_status=$?
18699 grep -v '^ *+' conftest.er1 >conftest.err
18700 rm -f conftest.er1
18701 cat conftest.err >&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); } && {
18704 test -z "$ac_c_werror_flag" ||
18705 test ! -s conftest.err
18706 } && test -s conftest$ac_exeext &&
18707 $as_test_x conftest$ac_exeext; then
18708 ac_cv_lib_cExt_drand48=yes
18709 else
18710 echo "$as_me: failed program was:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18712
18713 ac_cv_lib_cExt_drand48=no
18714 fi
18715
18716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18717 conftest$ac_exeext conftest.$ac_ext
18718 LIBS=$ac_check_lib_save_LIBS
18719 fi
18720 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18721 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18722 if test $ac_cv_lib_cExt_drand48 = yes; then
18723 LIBS="$LIBS -lcExt"
18724 fi
18725
18726 else
18727 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18728 fi
18729 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18730 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18731 if test "${wx_cv_gccversion+set}" = set; then
18732 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 else
18734
18735 if test "$cross_compiling" = yes; then
18736 wx_cv_gccversion="EMX2"
18737
18738 else
18739 cat >conftest.$ac_ext <<_ACEOF
18740 /* confdefs.h. */
18741 _ACEOF
18742 cat confdefs.h >>conftest.$ac_ext
18743 cat >>conftest.$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745
18746 #include <stdio.h>
18747
18748 int main()
18749 {
18750 FILE *f=fopen("conftestval", "w");
18751 if (!f) exit(1);
18752 fprintf(f,
18753 #if (__GNUC__ < 3)
18754 "EMX2"
18755 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18756 "EMX3"
18757 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18758 "Innotek5"
18759 #else
18760 "Innotek6"
18761 #endif
18762 );
18763 exit(0);
18764 }
18765
18766 _ACEOF
18767 rm -f conftest$ac_exeext
18768 if { (ac_try="$ac_link"
18769 case "(($ac_try" in
18770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18771 *) ac_try_echo=$ac_try;;
18772 esac
18773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18774 (eval "$ac_link") 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18778 { (case "(($ac_try" in
18779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18780 *) ac_try_echo=$ac_try;;
18781 esac
18782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18783 (eval "$ac_try") 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 wx_cv_gccversion=`cat conftestval`
18788 else
18789 echo "$as_me: program exited with status $ac_status" >&5
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18792
18793 ( exit $ac_status )
18794 wx_cv_gccversion="EMX2"
18795 fi
18796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18797 fi
18798
18799
18800
18801 fi
18802 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18803 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18804 if test "$wx_cv_gccversion" = "EMX2"; then
18805 LIBS="$LIBS -lstdcpp"
18806 LDFLAGS="$LDFLAGS -Zsysv-signals"
18807 else
18808 if test "$wx_cv_gccversion" = "EMX3"; then
18809 LIBS="$LIBS -lstdcxx -lgcc"
18810 LDFLAGS="$LDFLAGS -Zsysv-signals"
18811 else
18812 LIBS="$LIBS -lstdc++"
18813 fi
18814 fi
18815 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18816 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18817 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18818 wxUSE_OMF=yes
18819 enable_omf=yes
18820 fi
18821 ;;
18822 *)
18823
18824 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18825 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18826 if test "${ac_cv_string_strcasecmp+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829
18830 cat >conftest.$ac_ext <<_ACEOF
18831 /* confdefs.h. */
18832 _ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18836
18837 #include <string.h>
18838
18839 int
18840 main ()
18841 {
18842
18843 strcasecmp("foo", "bar");
18844
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 rm -f conftest.$ac_objext conftest$ac_exeext
18850 if { (ac_try="$ac_link"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18854 esac
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_link") 2>conftest.er1
18857 ac_status=$?
18858 grep -v '^ *+' conftest.er1 >conftest.err
18859 rm -f conftest.er1
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && {
18863 test -z "$ac_c_werror_flag" ||
18864 test ! -s conftest.err
18865 } && test -s conftest$ac_exeext &&
18866 $as_test_x conftest$ac_exeext; then
18867 ac_cv_string_strcasecmp=yes
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 ac_cv_string_strcasecmp=no
18873
18874 fi
18875
18876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18877 conftest$ac_exeext conftest.$ac_ext
18878
18879 fi
18880 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18881 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18882
18883 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18884 cat >>confdefs.h <<\_ACEOF
18885 #define HAVE_STRCASECMP_IN_STRING_H 1
18886 _ACEOF
18887
18888 else
18889 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18890 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18891 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 else
18894
18895 cat >conftest.$ac_ext <<_ACEOF
18896 /* confdefs.h. */
18897 _ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901
18902 #include <strings.h>
18903
18904 int
18905 main ()
18906 {
18907
18908 strcasecmp("foo", "bar");
18909
18910 ;
18911 return 0;
18912 }
18913 _ACEOF
18914 rm -f conftest.$ac_objext conftest$ac_exeext
18915 if { (ac_try="$ac_link"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18919 esac
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_link") 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest$ac_exeext &&
18931 $as_test_x conftest$ac_exeext; then
18932 ac_cv_strings_strcasecmp=yes
18933 else
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18936
18937 ac_cv_strings_strcasecmp=no
18938
18939 fi
18940
18941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18942 conftest$ac_exeext conftest.$ac_ext
18943
18944 fi
18945 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18946 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18947
18948 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18949 cat >>confdefs.h <<\_ACEOF
18950 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18951 _ACEOF
18952
18953 else
18954 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18955 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18956 { (exit 1); exit 1; }; }
18957 fi
18958 fi
18959
18960 ;;
18961 esac
18962
18963
18964 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18965 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18966 if test "${ac_cv_header_stdc+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <stdlib.h>
18976 #include <stdarg.h>
18977 #include <string.h>
18978 #include <float.h>
18979
18980 int
18981 main ()
18982 {
18983
18984 ;
18985 return 0;
18986 }
18987 _ACEOF
18988 rm -f conftest.$ac_objext
18989 if { (ac_try="$ac_compile"
18990 case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18993 esac
18994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_compile") 2>conftest.er1
18996 ac_status=$?
18997 grep -v '^ *+' conftest.er1 >conftest.err
18998 rm -f conftest.er1
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); } && {
19002 test -z "$ac_c_werror_flag" ||
19003 test ! -s conftest.err
19004 } && test -s conftest.$ac_objext; then
19005 ac_cv_header_stdc=yes
19006 else
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19009
19010 ac_cv_header_stdc=no
19011 fi
19012
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014
19015 if test $ac_cv_header_stdc = yes; then
19016 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19017 cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h. */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <string.h>
19024
19025 _ACEOF
19026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19027 $EGREP "memchr" >/dev/null 2>&1; then
19028 :
19029 else
19030 ac_cv_header_stdc=no
19031 fi
19032 rm -f conftest*
19033
19034 fi
19035
19036 if test $ac_cv_header_stdc = yes; then
19037 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 #include <stdlib.h>
19045
19046 _ACEOF
19047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19048 $EGREP "free" >/dev/null 2>&1; then
19049 :
19050 else
19051 ac_cv_header_stdc=no
19052 fi
19053 rm -f conftest*
19054
19055 fi
19056
19057 if test $ac_cv_header_stdc = yes; then
19058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19059 if test "$cross_compiling" = yes; then
19060 :
19061 else
19062 cat >conftest.$ac_ext <<_ACEOF
19063 /* confdefs.h. */
19064 _ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 #include <ctype.h>
19069 #include <stdlib.h>
19070 #if ((' ' & 0x0FF) == 0x020)
19071 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19072 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19073 #else
19074 # define ISLOWER(c) \
19075 (('a' <= (c) && (c) <= 'i') \
19076 || ('j' <= (c) && (c) <= 'r') \
19077 || ('s' <= (c) && (c) <= 'z'))
19078 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19079 #endif
19080
19081 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19082 int
19083 main ()
19084 {
19085 int i;
19086 for (i = 0; i < 256; i++)
19087 if (XOR (islower (i), ISLOWER (i))
19088 || toupper (i) != TOUPPER (i))
19089 return 2;
19090 return 0;
19091 }
19092 _ACEOF
19093 rm -f conftest$ac_exeext
19094 if { (ac_try="$ac_link"
19095 case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19098 esac
19099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_link") 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19107 esac
19108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 :
19114 else
19115 echo "$as_me: program exited with status $ac_status" >&5
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19118
19119 ( exit $ac_status )
19120 ac_cv_header_stdc=no
19121 fi
19122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19123 fi
19124
19125
19126 fi
19127 fi
19128 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19129 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19130 if test $ac_cv_header_stdc = yes; then
19131
19132 cat >>confdefs.h <<\_ACEOF
19133 #define STDC_HEADERS 1
19134 _ACEOF
19135
19136 fi
19137
19138 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19149 inttypes.h stdint.h unistd.h
19150 do
19151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19152 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 else
19157 cat >conftest.$ac_ext <<_ACEOF
19158 /* confdefs.h. */
19159 _ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 $ac_includes_default
19164
19165 #include <$ac_header>
19166 _ACEOF
19167 rm -f conftest.$ac_objext
19168 if { (ac_try="$ac_compile"
19169 case "(($ac_try" in
19170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19172 esac
19173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19174 (eval "$ac_compile") 2>conftest.er1
19175 ac_status=$?
19176 grep -v '^ *+' conftest.er1 >conftest.err
19177 rm -f conftest.er1
19178 cat conftest.err >&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } && {
19181 test -z "$ac_c_werror_flag" ||
19182 test ! -s conftest.err
19183 } && test -s conftest.$ac_objext; then
19184 eval "$as_ac_Header=yes"
19185 else
19186 echo "$as_me: failed program was:" >&5
19187 sed 's/^/| /' conftest.$ac_ext >&5
19188
19189 eval "$as_ac_Header=no"
19190 fi
19191
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19193 fi
19194 ac_res=`eval echo '${'$as_ac_Header'}'`
19195 { echo "$as_me:$LINENO: result: $ac_res" >&5
19196 echo "${ECHO_T}$ac_res" >&6; }
19197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19198 cat >>confdefs.h <<_ACEOF
19199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19200 _ACEOF
19201
19202 fi
19203
19204 done
19205
19206
19207
19208
19209 for ac_header in langinfo.h wchar.h
19210 do
19211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19216 else
19217 cat >conftest.$ac_ext <<_ACEOF
19218 /* confdefs.h. */
19219 _ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224
19225 #include <$ac_header>
19226 _ACEOF
19227 rm -f conftest.$ac_objext
19228 if { (ac_try="$ac_compile"
19229 case "(($ac_try" in
19230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19231 *) ac_try_echo=$ac_try;;
19232 esac
19233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19234 (eval "$ac_compile") 2>conftest.er1
19235 ac_status=$?
19236 grep -v '^ *+' conftest.er1 >conftest.err
19237 rm -f conftest.er1
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } && {
19241 test -z "$ac_c_werror_flag" ||
19242 test ! -s conftest.err
19243 } && test -s conftest.$ac_objext; then
19244 eval "$as_ac_Header=yes"
19245 else
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19248
19249 eval "$as_ac_Header=no"
19250 fi
19251
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 fi
19254 ac_res=`eval echo '${'$as_ac_Header'}'`
19255 { echo "$as_me:$LINENO: result: $ac_res" >&5
19256 echo "${ECHO_T}$ac_res" >&6; }
19257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19260 _ACEOF
19261
19262 fi
19263
19264 done
19265
19266
19267 if test "$ac_cv_header_wchar_h" != "yes"; then
19268
19269 for ac_header in wcstr.h
19270 do
19271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19272 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19275 echo $ECHO_N "(cached) $ECHO_C" >&6
19276 else
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19284
19285 #include <$ac_header>
19286 _ACEOF
19287 rm -f conftest.$ac_objext
19288 if { (ac_try="$ac_compile"
19289 case "(($ac_try" in
19290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19291 *) ac_try_echo=$ac_try;;
19292 esac
19293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19294 (eval "$ac_compile") 2>conftest.er1
19295 ac_status=$?
19296 grep -v '^ *+' conftest.er1 >conftest.err
19297 rm -f conftest.er1
19298 cat conftest.err >&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); } && {
19301 test -z "$ac_c_werror_flag" ||
19302 test ! -s conftest.err
19303 } && test -s conftest.$ac_objext; then
19304 eval "$as_ac_Header=yes"
19305 else
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19308
19309 eval "$as_ac_Header=no"
19310 fi
19311
19312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19313 fi
19314 ac_res=`eval echo '${'$as_ac_Header'}'`
19315 { echo "$as_me:$LINENO: result: $ac_res" >&5
19316 echo "${ECHO_T}$ac_res" >&6; }
19317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19318 cat >>confdefs.h <<_ACEOF
19319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19320 _ACEOF
19321
19322 fi
19323
19324 done
19325
19326 fi
19327
19328 case "${host}" in
19329 *-pc-os2_emx | *-pc-os2-emx )
19330 if test $ac_cv_header_langinfo_h = "yes" \
19331 -a \( "$wx_cv_gccversion" = "EMX2" \
19332 -o "$wx_cv_gccversion" = "EMX3" \
19333 -o "$wx_cv_gccversion" = "Innotek5" \); then
19334 LIBS="$LIBS -lintl"
19335 fi
19336 ;;
19337 esac
19338
19339 if test "$USE_UNIX" = 1 ; then
19340
19341 for ac_header in sys/select.h
19342 do
19343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19344 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 else
19349 cat >conftest.$ac_ext <<_ACEOF
19350 /* confdefs.h. */
19351 _ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 $ac_includes_default
19356
19357 #include <$ac_header>
19358 _ACEOF
19359 rm -f conftest.$ac_objext
19360 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19364 esac
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_compile") 2>conftest.er1
19367 ac_status=$?
19368 grep -v '^ *+' conftest.er1 >conftest.err
19369 rm -f conftest.er1
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } && {
19373 test -z "$ac_c_werror_flag" ||
19374 test ! -s conftest.err
19375 } && test -s conftest.$ac_objext; then
19376 eval "$as_ac_Header=yes"
19377 else
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19380
19381 eval "$as_ac_Header=no"
19382 fi
19383
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19385 fi
19386 ac_res=`eval echo '${'$as_ac_Header'}'`
19387 { echo "$as_me:$LINENO: result: $ac_res" >&5
19388 echo "${ECHO_T}$ac_res" >&6; }
19389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19390 cat >>confdefs.h <<_ACEOF
19391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19392 _ACEOF
19393
19394 fi
19395
19396 done
19397
19398 fi
19399
19400
19401 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19402 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19403 if test "${ac_cv_c_const+set}" = set; then
19404 echo $ECHO_N "(cached) $ECHO_C" >&6
19405 else
19406 cat >conftest.$ac_ext <<_ACEOF
19407 /* confdefs.h. */
19408 _ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412
19413 int
19414 main ()
19415 {
19416 /* FIXME: Include the comments suggested by Paul. */
19417 #ifndef __cplusplus
19418 /* Ultrix mips cc rejects this. */
19419 typedef int charset[2];
19420 const charset cs;
19421 /* SunOS 4.1.1 cc rejects this. */
19422 char const *const *pcpcc;
19423 char **ppc;
19424 /* NEC SVR4.0.2 mips cc rejects this. */
19425 struct point {int x, y;};
19426 static struct point const zero = {0,0};
19427 /* AIX XL C 1.02.0.0 rejects this.
19428 It does not let you subtract one const X* pointer from another in
19429 an arm of an if-expression whose if-part is not a constant
19430 expression */
19431 const char *g = "string";
19432 pcpcc = &g + (g ? g-g : 0);
19433 /* HPUX 7.0 cc rejects these. */
19434 ++pcpcc;
19435 ppc = (char**) pcpcc;
19436 pcpcc = (char const *const *) ppc;
19437 { /* SCO 3.2v4 cc rejects this. */
19438 char *t;
19439 char const *s = 0 ? (char *) 0 : (char const *) 0;
19440
19441 *t++ = 0;
19442 if (s) return 0;
19443 }
19444 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19445 int x[] = {25, 17};
19446 const int *foo = &x[0];
19447 ++foo;
19448 }
19449 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19450 typedef const int *iptr;
19451 iptr p = 0;
19452 ++p;
19453 }
19454 { /* AIX XL C 1.02.0.0 rejects this saying
19455 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19456 struct s { int j; const int *ap[3]; };
19457 struct s *b; b->j = 5;
19458 }
19459 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19460 const int foo = 10;
19461 if (!foo) return 0;
19462 }
19463 return !cs[0] && !zero.x;
19464 #endif
19465
19466 ;
19467 return 0;
19468 }
19469 _ACEOF
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19475 esac
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19478 ac_status=$?
19479 grep -v '^ *+' conftest.er1 >conftest.err
19480 rm -f conftest.er1
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19487 ac_cv_c_const=yes
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 ac_cv_c_const=no
19493 fi
19494
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496 fi
19497 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19498 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19499 if test $ac_cv_c_const = no; then
19500
19501 cat >>confdefs.h <<\_ACEOF
19502 #define const
19503 _ACEOF
19504
19505 fi
19506
19507 { echo "$as_me:$LINENO: checking for inline" >&5
19508 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19509 if test "${ac_cv_c_inline+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19512 ac_cv_c_inline=no
19513 for ac_kw in inline __inline__ __inline; do
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 #ifndef __cplusplus
19521 typedef int foo_t;
19522 static $ac_kw foo_t static_foo () {return 0; }
19523 $ac_kw foo_t foo () {return 0; }
19524 #endif
19525
19526 _ACEOF
19527 rm -f conftest.$ac_objext
19528 if { (ac_try="$ac_compile"
19529 case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19532 esac
19533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_compile") 2>conftest.er1
19535 ac_status=$?
19536 grep -v '^ *+' conftest.er1 >conftest.err
19537 rm -f conftest.er1
19538 cat conftest.err >&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } && {
19541 test -z "$ac_c_werror_flag" ||
19542 test ! -s conftest.err
19543 } && test -s conftest.$ac_objext; then
19544 ac_cv_c_inline=$ac_kw
19545 else
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19548
19549
19550 fi
19551
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 test "$ac_cv_c_inline" != no && break
19554 done
19555
19556 fi
19557 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19558 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19559
19560
19561 case $ac_cv_c_inline in
19562 inline | yes) ;;
19563 *)
19564 case $ac_cv_c_inline in
19565 no) ac_val=;;
19566 *) ac_val=$ac_cv_c_inline;;
19567 esac
19568 cat >>confdefs.h <<_ACEOF
19569 #ifndef __cplusplus
19570 #define inline $ac_val
19571 #endif
19572 _ACEOF
19573 ;;
19574 esac
19575
19576
19577 { echo "$as_me:$LINENO: checking for short" >&5
19578 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19579 if test "${ac_cv_type_short+set}" = set; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 else
19582 cat >conftest.$ac_ext <<_ACEOF
19583 /* confdefs.h. */
19584 _ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19589 typedef short ac__type_new_;
19590 int
19591 main ()
19592 {
19593 if ((ac__type_new_ *) 0)
19594 return 0;
19595 if (sizeof (ac__type_new_))
19596 return 0;
19597 ;
19598 return 0;
19599 }
19600 _ACEOF
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19606 esac
19607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19609 ac_status=$?
19610 grep -v '^ *+' conftest.er1 >conftest.err
19611 rm -f conftest.er1
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } && {
19615 test -z "$ac_c_werror_flag" ||
19616 test ! -s conftest.err
19617 } && test -s conftest.$ac_objext; then
19618 ac_cv_type_short=yes
19619 else
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19622
19623 ac_cv_type_short=no
19624 fi
19625
19626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19627 fi
19628 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19629 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19630
19631 # The cast to long int works around a bug in the HP C Compiler
19632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19634 # This bug is HP SR number 8606223364.
19635 { echo "$as_me:$LINENO: checking size of short" >&5
19636 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19637 if test "${ac_cv_sizeof_short+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 else
19640 if test "$cross_compiling" = yes; then
19641 # Depending upon the size, compute the lo and hi bounds.
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19649 typedef short ac__type_sizeof_;
19650 int
19651 main ()
19652 {
19653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19654 test_array [0] = 0
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19665 esac
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19668 ac_status=$?
19669 grep -v '^ *+' conftest.er1 >conftest.err
19670 rm -f conftest.er1
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_c_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 ac_lo=0 ac_mid=0
19678 while :; do
19679 cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h. */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 $ac_includes_default
19686 typedef short ac__type_sizeof_;
19687 int
19688 main ()
19689 {
19690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19691 test_array [0] = 0
19692
19693 ;
19694 return 0;
19695 }
19696 _ACEOF
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19702 esac
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19705 ac_status=$?
19706 grep -v '^ *+' conftest.er1 >conftest.err
19707 rm -f conftest.er1
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19714 ac_hi=$ac_mid; break
19715 else
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19718
19719 ac_lo=`expr $ac_mid + 1`
19720 if test $ac_lo -le $ac_mid; then
19721 ac_lo= ac_hi=
19722 break
19723 fi
19724 ac_mid=`expr 2 '*' $ac_mid + 1`
19725 fi
19726
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 done
19729 else
19730 echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19732
19733 cat >conftest.$ac_ext <<_ACEOF
19734 /* confdefs.h. */
19735 _ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 typedef short ac__type_sizeof_;
19741 int
19742 main ()
19743 {
19744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19745 test_array [0] = 0
19746
19747 ;
19748 return 0;
19749 }
19750 _ACEOF
19751 rm -f conftest.$ac_objext
19752 if { (ac_try="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19756 esac
19757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19759 ac_status=$?
19760 grep -v '^ *+' conftest.er1 >conftest.err
19761 rm -f conftest.er1
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19768 ac_hi=-1 ac_mid=-1
19769 while :; do
19770 cat >conftest.$ac_ext <<_ACEOF
19771 /* confdefs.h. */
19772 _ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 typedef short ac__type_sizeof_;
19778 int
19779 main ()
19780 {
19781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19782 test_array [0] = 0
19783
19784 ;
19785 return 0;
19786 }
19787 _ACEOF
19788 rm -f conftest.$ac_objext
19789 if { (ac_try="$ac_compile"
19790 case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19793 esac
19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_compile") 2>conftest.er1
19796 ac_status=$?
19797 grep -v '^ *+' conftest.er1 >conftest.err
19798 rm -f conftest.er1
19799 cat conftest.err >&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } && {
19802 test -z "$ac_c_werror_flag" ||
19803 test ! -s conftest.err
19804 } && test -s conftest.$ac_objext; then
19805 ac_lo=$ac_mid; break
19806 else
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19809
19810 ac_hi=`expr '(' $ac_mid ')' - 1`
19811 if test $ac_mid -le $ac_hi; then
19812 ac_lo= ac_hi=
19813 break
19814 fi
19815 ac_mid=`expr 2 '*' $ac_mid`
19816 fi
19817
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 done
19820 else
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19823
19824 ac_lo= ac_hi=
19825 fi
19826
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828 fi
19829
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 # Binary search between lo and hi bounds.
19832 while test "x$ac_lo" != "x$ac_hi"; do
19833 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 typedef short ac__type_sizeof_;
19842 int
19843 main ()
19844 {
19845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19846 test_array [0] = 0
19847
19848 ;
19849 return 0;
19850 }
19851 _ACEOF
19852 rm -f conftest.$ac_objext
19853 if { (ac_try="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19857 esac
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19860 ac_status=$?
19861 grep -v '^ *+' conftest.er1 >conftest.err
19862 rm -f conftest.er1
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19869 ac_hi=$ac_mid
19870 else
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19873
19874 ac_lo=`expr '(' $ac_mid ')' + 1`
19875 fi
19876
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878 done
19879 case $ac_lo in
19880 ?*) ac_cv_sizeof_short=$ac_lo;;
19881 '') if test "$ac_cv_type_short" = yes; then
19882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19883 See \`config.log' for more details." >&5
19884 echo "$as_me: error: cannot compute sizeof (short)
19885 See \`config.log' for more details." >&2;}
19886 { (exit 77); exit 77; }; }
19887 else
19888 ac_cv_sizeof_short=0
19889 fi ;;
19890 esac
19891 else
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 typedef short ac__type_sizeof_;
19900 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19901 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19902 #include <stdio.h>
19903 #include <stdlib.h>
19904 int
19905 main ()
19906 {
19907
19908 FILE *f = fopen ("conftest.val", "w");
19909 if (! f)
19910 return 1;
19911 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19912 {
19913 long int i = longval ();
19914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19915 return 1;
19916 fprintf (f, "%ld\n", i);
19917 }
19918 else
19919 {
19920 unsigned long int i = ulongval ();
19921 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19922 return 1;
19923 fprintf (f, "%lu\n", i);
19924 }
19925 return ferror (f) || fclose (f) != 0;
19926
19927 ;
19928 return 0;
19929 }
19930 _ACEOF
19931 rm -f conftest$ac_exeext
19932 if { (ac_try="$ac_link"
19933 case "(($ac_try" in
19934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19936 esac
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_link") 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19942 { (case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_try") 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 ac_cv_sizeof_short=`cat conftest.val`
19952 else
19953 echo "$as_me: program exited with status $ac_status" >&5
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 ( exit $ac_status )
19958 if test "$ac_cv_type_short" = yes; then
19959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19960 See \`config.log' for more details." >&5
19961 echo "$as_me: error: cannot compute sizeof (short)
19962 See \`config.log' for more details." >&2;}
19963 { (exit 77); exit 77; }; }
19964 else
19965 ac_cv_sizeof_short=0
19966 fi
19967 fi
19968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19969 fi
19970 rm -f conftest.val
19971 fi
19972 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19973 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19974
19975
19976
19977 cat >>confdefs.h <<_ACEOF
19978 #define SIZEOF_SHORT $ac_cv_sizeof_short
19979 _ACEOF
19980
19981
19982 { echo "$as_me:$LINENO: checking for void *" >&5
19983 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19984 if test "${ac_cv_type_void_p+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 else
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19994 typedef void * ac__type_new_;
19995 int
19996 main ()
19997 {
19998 if ((ac__type_new_ *) 0)
19999 return 0;
20000 if (sizeof (ac__type_new_))
20001 return 0;
20002 ;
20003 return 0;
20004 }
20005 _ACEOF
20006 rm -f conftest.$ac_objext
20007 if { (ac_try="$ac_compile"
20008 case "(($ac_try" in
20009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20010 *) ac_try_echo=$ac_try;;
20011 esac
20012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20013 (eval "$ac_compile") 2>conftest.er1
20014 ac_status=$?
20015 grep -v '^ *+' conftest.er1 >conftest.err
20016 rm -f conftest.er1
20017 cat conftest.err >&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } && {
20020 test -z "$ac_c_werror_flag" ||
20021 test ! -s conftest.err
20022 } && test -s conftest.$ac_objext; then
20023 ac_cv_type_void_p=yes
20024 else
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.$ac_ext >&5
20027
20028 ac_cv_type_void_p=no
20029 fi
20030
20031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 fi
20033 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20034 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20035
20036 # The cast to long int works around a bug in the HP C Compiler
20037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20039 # This bug is HP SR number 8606223364.
20040 { echo "$as_me:$LINENO: checking size of void *" >&5
20041 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20042 if test "${ac_cv_sizeof_void_p+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 else
20045 if test "$cross_compiling" = yes; then
20046 # Depending upon the size, compute the lo and hi bounds.
20047 cat >conftest.$ac_ext <<_ACEOF
20048 /* confdefs.h. */
20049 _ACEOF
20050 cat confdefs.h >>conftest.$ac_ext
20051 cat >>conftest.$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20054 typedef void * ac__type_sizeof_;
20055 int
20056 main ()
20057 {
20058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20059 test_array [0] = 0
20060
20061 ;
20062 return 0;
20063 }
20064 _ACEOF
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 ac_lo=0 ac_mid=0
20083 while :; do
20084 cat >conftest.$ac_ext <<_ACEOF
20085 /* confdefs.h. */
20086 _ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 typedef void * ac__type_sizeof_;
20092 int
20093 main ()
20094 {
20095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20096 test_array [0] = 0
20097
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20107 esac
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_c_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20119 ac_hi=$ac_mid; break
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 ac_lo=`expr $ac_mid + 1`
20125 if test $ac_lo -le $ac_mid; then
20126 ac_lo= ac_hi=
20127 break
20128 fi
20129 ac_mid=`expr 2 '*' $ac_mid + 1`
20130 fi
20131
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 done
20134 else
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.$ac_ext >&5
20137
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 $ac_includes_default
20145 typedef void * ac__type_sizeof_;
20146 int
20147 main ()
20148 {
20149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20150 test_array [0] = 0
20151
20152 ;
20153 return 0;
20154 }
20155 _ACEOF
20156 rm -f conftest.$ac_objext
20157 if { (ac_try="$ac_compile"
20158 case "(($ac_try" in
20159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20161 esac
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_compile") 2>conftest.er1
20164 ac_status=$?
20165 grep -v '^ *+' conftest.er1 >conftest.err
20166 rm -f conftest.er1
20167 cat conftest.err >&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } && {
20170 test -z "$ac_c_werror_flag" ||
20171 test ! -s conftest.err
20172 } && test -s conftest.$ac_objext; then
20173 ac_hi=-1 ac_mid=-1
20174 while :; do
20175 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */
20177 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 $ac_includes_default
20182 typedef void * ac__type_sizeof_;
20183 int
20184 main ()
20185 {
20186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20187 test_array [0] = 0
20188
20189 ;
20190 return 0;
20191 }
20192 _ACEOF
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20201 ac_status=$?
20202 grep -v '^ *+' conftest.er1 >conftest.err
20203 rm -f conftest.er1
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.$ac_objext; then
20210 ac_lo=$ac_mid; break
20211 else
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20214
20215 ac_hi=`expr '(' $ac_mid ')' - 1`
20216 if test $ac_mid -le $ac_hi; then
20217 ac_lo= ac_hi=
20218 break
20219 fi
20220 ac_mid=`expr 2 '*' $ac_mid`
20221 fi
20222
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20224 done
20225 else
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.$ac_ext >&5
20228
20229 ac_lo= ac_hi=
20230 fi
20231
20232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233 fi
20234
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 # Binary search between lo and hi bounds.
20237 while test "x$ac_lo" != "x$ac_hi"; do
20238 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20239 cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h. */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 $ac_includes_default
20246 typedef void * ac__type_sizeof_;
20247 int
20248 main ()
20249 {
20250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20251 test_array [0] = 0
20252
20253 ;
20254 return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest.$ac_objext
20258 if { (ac_try="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20262 esac
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20265 ac_status=$?
20266 grep -v '^ *+' conftest.er1 >conftest.err
20267 rm -f conftest.er1
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20274 ac_hi=$ac_mid
20275 else
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20278
20279 ac_lo=`expr '(' $ac_mid ')' + 1`
20280 fi
20281
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20283 done
20284 case $ac_lo in
20285 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20286 '') if test "$ac_cv_type_void_p" = yes; then
20287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20288 See \`config.log' for more details." >&5
20289 echo "$as_me: error: cannot compute sizeof (void *)
20290 See \`config.log' for more details." >&2;}
20291 { (exit 77); exit 77; }; }
20292 else
20293 ac_cv_sizeof_void_p=0
20294 fi ;;
20295 esac
20296 else
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20304 typedef void * ac__type_sizeof_;
20305 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20306 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20307 #include <stdio.h>
20308 #include <stdlib.h>
20309 int
20310 main ()
20311 {
20312
20313 FILE *f = fopen ("conftest.val", "w");
20314 if (! f)
20315 return 1;
20316 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20317 {
20318 long int i = longval ();
20319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20320 return 1;
20321 fprintf (f, "%ld\n", i);
20322 }
20323 else
20324 {
20325 unsigned long int i = ulongval ();
20326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20327 return 1;
20328 fprintf (f, "%lu\n", i);
20329 }
20330 return ferror (f) || fclose (f) != 0;
20331
20332 ;
20333 return 0;
20334 }
20335 _ACEOF
20336 rm -f conftest$ac_exeext
20337 if { (ac_try="$ac_link"
20338 case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20341 esac
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_link") 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20347 { (case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20350 esac
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_try") 2>&5
20353 ac_status=$?
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 ac_cv_sizeof_void_p=`cat conftest.val`
20357 else
20358 echo "$as_me: program exited with status $ac_status" >&5
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ( exit $ac_status )
20363 if test "$ac_cv_type_void_p" = yes; then
20364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20365 See \`config.log' for more details." >&5
20366 echo "$as_me: error: cannot compute sizeof (void *)
20367 See \`config.log' for more details." >&2;}
20368 { (exit 77); exit 77; }; }
20369 else
20370 ac_cv_sizeof_void_p=0
20371 fi
20372 fi
20373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20374 fi
20375 rm -f conftest.val
20376 fi
20377 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20378 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20379
20380
20381
20382 cat >>confdefs.h <<_ACEOF
20383 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20384 _ACEOF
20385
20386
20387 { echo "$as_me:$LINENO: checking for int" >&5
20388 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20389 if test "${ac_cv_type_int+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 else
20392 cat >conftest.$ac_ext <<_ACEOF
20393 /* confdefs.h. */
20394 _ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef int ac__type_new_;
20400 int
20401 main ()
20402 {
20403 if ((ac__type_new_ *) 0)
20404 return 0;
20405 if (sizeof (ac__type_new_))
20406 return 0;
20407 ;
20408 return 0;
20409 }
20410 _ACEOF
20411 rm -f conftest.$ac_objext
20412 if { (ac_try="$ac_compile"
20413 case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20416 esac
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_compile") 2>conftest.er1
20419 ac_status=$?
20420 grep -v '^ *+' conftest.er1 >conftest.err
20421 rm -f conftest.er1
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } && {
20425 test -z "$ac_c_werror_flag" ||
20426 test ! -s conftest.err
20427 } && test -s conftest.$ac_objext; then
20428 ac_cv_type_int=yes
20429 else
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20432
20433 ac_cv_type_int=no
20434 fi
20435
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 fi
20438 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20439 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20440
20441 # The cast to long int works around a bug in the HP C Compiler
20442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20444 # This bug is HP SR number 8606223364.
20445 { echo "$as_me:$LINENO: checking size of int" >&5
20446 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20447 if test "${ac_cv_sizeof_int+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 else
20450 if test "$cross_compiling" = yes; then
20451 # Depending upon the size, compute the lo and hi bounds.
20452 cat >conftest.$ac_ext <<_ACEOF
20453 /* confdefs.h. */
20454 _ACEOF
20455 cat confdefs.h >>conftest.$ac_ext
20456 cat >>conftest.$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458 $ac_includes_default
20459 typedef int ac__type_sizeof_;
20460 int
20461 main ()
20462 {
20463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20464 test_array [0] = 0
20465
20466 ;
20467 return 0;
20468 }
20469 _ACEOF
20470 rm -f conftest.$ac_objext
20471 if { (ac_try="$ac_compile"
20472 case "(($ac_try" in
20473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20475 esac
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_compile") 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest.$ac_objext; then
20487 ac_lo=0 ac_mid=0
20488 while :; do
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h. */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef int ac__type_sizeof_;
20497 int
20498 main ()
20499 {
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20501 test_array [0] = 0
20502
20503 ;
20504 return 0;
20505 }
20506 _ACEOF
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20512 esac
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20524 ac_hi=$ac_mid; break
20525 else
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20528
20529 ac_lo=`expr $ac_mid + 1`
20530 if test $ac_lo -le $ac_mid; then
20531 ac_lo= ac_hi=
20532 break
20533 fi
20534 ac_mid=`expr 2 '*' $ac_mid + 1`
20535 fi
20536
20537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20538 done
20539 else
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.$ac_ext >&5
20542
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h. */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 typedef int ac__type_sizeof_;
20551 int
20552 main ()
20553 {
20554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20555 test_array [0] = 0
20556
20557 ;
20558 return 0;
20559 }
20560 _ACEOF
20561 rm -f conftest.$ac_objext
20562 if { (ac_try="$ac_compile"
20563 case "(($ac_try" in
20564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20565 *) ac_try_echo=$ac_try;;
20566 esac
20567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20568 (eval "$ac_compile") 2>conftest.er1
20569 ac_status=$?
20570 grep -v '^ *+' conftest.er1 >conftest.err
20571 rm -f conftest.er1
20572 cat conftest.err >&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && {
20575 test -z "$ac_c_werror_flag" ||
20576 test ! -s conftest.err
20577 } && test -s conftest.$ac_objext; then
20578 ac_hi=-1 ac_mid=-1
20579 while :; do
20580 cat >conftest.$ac_ext <<_ACEOF
20581 /* confdefs.h. */
20582 _ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 $ac_includes_default
20587 typedef int ac__type_sizeof_;
20588 int
20589 main ()
20590 {
20591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20592 test_array [0] = 0
20593
20594 ;
20595 return 0;
20596 }
20597 _ACEOF
20598 rm -f conftest.$ac_objext
20599 if { (ac_try="$ac_compile"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20602 *) ac_try_echo=$ac_try;;
20603 esac
20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_compile") 2>conftest.er1
20606 ac_status=$?
20607 grep -v '^ *+' conftest.er1 >conftest.err
20608 rm -f conftest.er1
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest.$ac_objext; then
20615 ac_lo=$ac_mid; break
20616 else
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.$ac_ext >&5
20619
20620 ac_hi=`expr '(' $ac_mid ')' - 1`
20621 if test $ac_mid -le $ac_hi; then
20622 ac_lo= ac_hi=
20623 break
20624 fi
20625 ac_mid=`expr 2 '*' $ac_mid`
20626 fi
20627
20628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20629 done
20630 else
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20633
20634 ac_lo= ac_hi=
20635 fi
20636
20637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 fi
20639
20640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20641 # Binary search between lo and hi bounds.
20642 while test "x$ac_lo" != "x$ac_hi"; do
20643 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h. */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 typedef int ac__type_sizeof_;
20652 int
20653 main ()
20654 {
20655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20656 test_array [0] = 0
20657
20658 ;
20659 return 0;
20660 }
20661 _ACEOF
20662 rm -f conftest.$ac_objext
20663 if { (ac_try="$ac_compile"
20664 case "(($ac_try" in
20665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20667 esac
20668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_compile") 2>conftest.er1
20670 ac_status=$?
20671 grep -v '^ *+' conftest.er1 >conftest.err
20672 rm -f conftest.er1
20673 cat conftest.err >&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } && {
20676 test -z "$ac_c_werror_flag" ||
20677 test ! -s conftest.err
20678 } && test -s conftest.$ac_objext; then
20679 ac_hi=$ac_mid
20680 else
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20683
20684 ac_lo=`expr '(' $ac_mid ')' + 1`
20685 fi
20686
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688 done
20689 case $ac_lo in
20690 ?*) ac_cv_sizeof_int=$ac_lo;;
20691 '') if test "$ac_cv_type_int" = yes; then
20692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20693 See \`config.log' for more details." >&5
20694 echo "$as_me: error: cannot compute sizeof (int)
20695 See \`config.log' for more details." >&2;}
20696 { (exit 77); exit 77; }; }
20697 else
20698 ac_cv_sizeof_int=0
20699 fi ;;
20700 esac
20701 else
20702 cat >conftest.$ac_ext <<_ACEOF
20703 /* confdefs.h. */
20704 _ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 $ac_includes_default
20709 typedef int ac__type_sizeof_;
20710 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20711 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20712 #include <stdio.h>
20713 #include <stdlib.h>
20714 int
20715 main ()
20716 {
20717
20718 FILE *f = fopen ("conftest.val", "w");
20719 if (! f)
20720 return 1;
20721 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20722 {
20723 long int i = longval ();
20724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20725 return 1;
20726 fprintf (f, "%ld\n", i);
20727 }
20728 else
20729 {
20730 unsigned long int i = ulongval ();
20731 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20732 return 1;
20733 fprintf (f, "%lu\n", i);
20734 }
20735 return ferror (f) || fclose (f) != 0;
20736
20737 ;
20738 return 0;
20739 }
20740 _ACEOF
20741 rm -f conftest$ac_exeext
20742 if { (ac_try="$ac_link"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20746 esac
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_link") 2>&5
20749 ac_status=$?
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20752 { (case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20755 esac
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_try") 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 ac_cv_sizeof_int=`cat conftest.val`
20762 else
20763 echo "$as_me: program exited with status $ac_status" >&5
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20766
20767 ( exit $ac_status )
20768 if test "$ac_cv_type_int" = yes; then
20769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20770 See \`config.log' for more details." >&5
20771 echo "$as_me: error: cannot compute sizeof (int)
20772 See \`config.log' for more details." >&2;}
20773 { (exit 77); exit 77; }; }
20774 else
20775 ac_cv_sizeof_int=0
20776 fi
20777 fi
20778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20779 fi
20780 rm -f conftest.val
20781 fi
20782 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20783 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20784
20785
20786
20787 cat >>confdefs.h <<_ACEOF
20788 #define SIZEOF_INT $ac_cv_sizeof_int
20789 _ACEOF
20790
20791
20792 { echo "$as_me:$LINENO: checking for long" >&5
20793 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20794 if test "${ac_cv_type_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 else
20797 cat >conftest.$ac_ext <<_ACEOF
20798 /* confdefs.h. */
20799 _ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 $ac_includes_default
20804 typedef long ac__type_new_;
20805 int
20806 main ()
20807 {
20808 if ((ac__type_new_ *) 0)
20809 return 0;
20810 if (sizeof (ac__type_new_))
20811 return 0;
20812 ;
20813 return 0;
20814 }
20815 _ACEOF
20816 rm -f conftest.$ac_objext
20817 if { (ac_try="$ac_compile"
20818 case "(($ac_try" in
20819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20820 *) ac_try_echo=$ac_try;;
20821 esac
20822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20823 (eval "$ac_compile") 2>conftest.er1
20824 ac_status=$?
20825 grep -v '^ *+' conftest.er1 >conftest.err
20826 rm -f conftest.er1
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } && {
20830 test -z "$ac_c_werror_flag" ||
20831 test ! -s conftest.err
20832 } && test -s conftest.$ac_objext; then
20833 ac_cv_type_long=yes
20834 else
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20837
20838 ac_cv_type_long=no
20839 fi
20840
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842 fi
20843 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20844 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20845
20846 # The cast to long int works around a bug in the HP C Compiler
20847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20849 # This bug is HP SR number 8606223364.
20850 { echo "$as_me:$LINENO: checking size of long" >&5
20851 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20852 if test "${ac_cv_sizeof_long+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855 if test "$cross_compiling" = yes; then
20856 # Depending upon the size, compute the lo and hi bounds.
20857 cat >conftest.$ac_ext <<_ACEOF
20858 /* confdefs.h. */
20859 _ACEOF
20860 cat confdefs.h >>conftest.$ac_ext
20861 cat >>conftest.$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 $ac_includes_default
20864 typedef long ac__type_sizeof_;
20865 int
20866 main ()
20867 {
20868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20869 test_array [0] = 0
20870
20871 ;
20872 return 0;
20873 }
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (ac_try="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20880 esac
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20883 ac_status=$?
20884 grep -v '^ *+' conftest.er1 >conftest.err
20885 rm -f conftest.er1
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20892 ac_lo=0 ac_mid=0
20893 while :; do
20894 cat >conftest.$ac_ext <<_ACEOF
20895 /* confdefs.h. */
20896 _ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 $ac_includes_default
20901 typedef long ac__type_sizeof_;
20902 int
20903 main ()
20904 {
20905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20906 test_array [0] = 0
20907
20908 ;
20909 return 0;
20910 }
20911 _ACEOF
20912 rm -f conftest.$ac_objext
20913 if { (ac_try="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20917 esac
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20920 ac_status=$?
20921 grep -v '^ *+' conftest.er1 >conftest.err
20922 rm -f conftest.er1
20923 cat conftest.err >&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } && {
20926 test -z "$ac_c_werror_flag" ||
20927 test ! -s conftest.err
20928 } && test -s conftest.$ac_objext; then
20929 ac_hi=$ac_mid; break
20930 else
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.$ac_ext >&5
20933
20934 ac_lo=`expr $ac_mid + 1`
20935 if test $ac_lo -le $ac_mid; then
20936 ac_lo= ac_hi=
20937 break
20938 fi
20939 ac_mid=`expr 2 '*' $ac_mid + 1`
20940 fi
20941
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 done
20944 else
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20947
20948 cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h. */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef long ac__type_sizeof_;
20956 int
20957 main ()
20958 {
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20960 test_array [0] = 0
20961
20962 ;
20963 return 0;
20964 }
20965 _ACEOF
20966 rm -f conftest.$ac_objext
20967 if { (ac_try="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20971 esac
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20974 ac_status=$?
20975 grep -v '^ *+' conftest.er1 >conftest.err
20976 rm -f conftest.er1
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest.$ac_objext; then
20983 ac_hi=-1 ac_mid=-1
20984 while :; do
20985 cat >conftest.$ac_ext <<_ACEOF
20986 /* confdefs.h. */
20987 _ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef long ac__type_sizeof_;
20993 int
20994 main ()
20995 {
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20997 test_array [0] = 0
20998
20999 ;
21000 return 0;
21001 }
21002 _ACEOF
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21007 *) ac_try_echo=$ac_try;;
21008 esac
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21011 ac_status=$?
21012 grep -v '^ *+' conftest.er1 >conftest.err
21013 rm -f conftest.er1
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.$ac_objext; then
21020 ac_lo=$ac_mid; break
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 ac_hi=`expr '(' $ac_mid ')' - 1`
21026 if test $ac_mid -le $ac_hi; then
21027 ac_lo= ac_hi=
21028 break
21029 fi
21030 ac_mid=`expr 2 '*' $ac_mid`
21031 fi
21032
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 done
21035 else
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.$ac_ext >&5
21038
21039 ac_lo= ac_hi=
21040 fi
21041
21042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21043 fi
21044
21045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21046 # Binary search between lo and hi bounds.
21047 while test "x$ac_lo" != "x$ac_hi"; do
21048 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long ac__type_sizeof_;
21057 int
21058 main ()
21059 {
21060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21061 test_array [0] = 0
21062
21063 ;
21064 return 0;
21065 }
21066 _ACEOF
21067 rm -f conftest.$ac_objext
21068 if { (ac_try="$ac_compile"
21069 case "(($ac_try" in
21070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21072 esac
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_compile") 2>conftest.er1
21075 ac_status=$?
21076 grep -v '^ *+' conftest.er1 >conftest.err
21077 rm -f conftest.er1
21078 cat conftest.err >&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } && {
21081 test -z "$ac_c_werror_flag" ||
21082 test ! -s conftest.err
21083 } && test -s conftest.$ac_objext; then
21084 ac_hi=$ac_mid
21085 else
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21088
21089 ac_lo=`expr '(' $ac_mid ')' + 1`
21090 fi
21091
21092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21093 done
21094 case $ac_lo in
21095 ?*) ac_cv_sizeof_long=$ac_lo;;
21096 '') if test "$ac_cv_type_long" = yes; then
21097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21098 See \`config.log' for more details." >&5
21099 echo "$as_me: error: cannot compute sizeof (long)
21100 See \`config.log' for more details." >&2;}
21101 { (exit 77); exit 77; }; }
21102 else
21103 ac_cv_sizeof_long=0
21104 fi ;;
21105 esac
21106 else
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long ac__type_sizeof_;
21115 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21116 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21117 #include <stdio.h>
21118 #include <stdlib.h>
21119 int
21120 main ()
21121 {
21122
21123 FILE *f = fopen ("conftest.val", "w");
21124 if (! f)
21125 return 1;
21126 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21127 {
21128 long int i = longval ();
21129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21130 return 1;
21131 fprintf (f, "%ld\n", i);
21132 }
21133 else
21134 {
21135 unsigned long int i = ulongval ();
21136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21137 return 1;
21138 fprintf (f, "%lu\n", i);
21139 }
21140 return ferror (f) || fclose (f) != 0;
21141
21142 ;
21143 return 0;
21144 }
21145 _ACEOF
21146 rm -f conftest$ac_exeext
21147 if { (ac_try="$ac_link"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21151 esac
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_link") 2>&5
21154 ac_status=$?
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21157 { (case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_try") 2>&5
21163 ac_status=$?
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; }; then
21166 ac_cv_sizeof_long=`cat conftest.val`
21167 else
21168 echo "$as_me: program exited with status $ac_status" >&5
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ( exit $ac_status )
21173 if test "$ac_cv_type_long" = yes; then
21174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21175 See \`config.log' for more details." >&5
21176 echo "$as_me: error: cannot compute sizeof (long)
21177 See \`config.log' for more details." >&2;}
21178 { (exit 77); exit 77; }; }
21179 else
21180 ac_cv_sizeof_long=0
21181 fi
21182 fi
21183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21184 fi
21185 rm -f conftest.val
21186 fi
21187 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21188 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21189
21190
21191
21192 cat >>confdefs.h <<_ACEOF
21193 #define SIZEOF_LONG $ac_cv_sizeof_long
21194 _ACEOF
21195
21196
21197 { echo "$as_me:$LINENO: checking for size_t" >&5
21198 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21199 if test "${ac_cv_type_size_t+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21202 cat >conftest.$ac_ext <<_ACEOF
21203 /* confdefs.h. */
21204 _ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 $ac_includes_default
21209 typedef size_t ac__type_new_;
21210 int
21211 main ()
21212 {
21213 if ((ac__type_new_ *) 0)
21214 return 0;
21215 if (sizeof (ac__type_new_))
21216 return 0;
21217 ;
21218 return 0;
21219 }
21220 _ACEOF
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21226 esac
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest.$ac_objext; then
21238 ac_cv_type_size_t=yes
21239 else
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21242
21243 ac_cv_type_size_t=no
21244 fi
21245
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247 fi
21248 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21249 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21250
21251 # The cast to long int works around a bug in the HP C Compiler
21252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21254 # This bug is HP SR number 8606223364.
21255 { echo "$as_me:$LINENO: checking size of size_t" >&5
21256 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21257 if test "${ac_cv_sizeof_size_t+set}" = set; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 else
21260 if test "$cross_compiling" = yes; then
21261 # Depending upon the size, compute the lo and hi bounds.
21262 cat >conftest.$ac_ext <<_ACEOF
21263 /* confdefs.h. */
21264 _ACEOF
21265 cat confdefs.h >>conftest.$ac_ext
21266 cat >>conftest.$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 $ac_includes_default
21269 typedef size_t ac__type_sizeof_;
21270 int
21271 main ()
21272 {
21273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21274 test_array [0] = 0
21275
21276 ;
21277 return 0;
21278 }
21279 _ACEOF
21280 rm -f conftest.$ac_objext
21281 if { (ac_try="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21285 esac
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21297 ac_lo=0 ac_mid=0
21298 while :; do
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef size_t ac__type_sizeof_;
21307 int
21308 main ()
21309 {
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21311 test_array [0] = 0
21312
21313 ;
21314 return 0;
21315 }
21316 _ACEOF
21317 rm -f conftest.$ac_objext
21318 if { (ac_try="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21322 esac
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21325 ac_status=$?
21326 grep -v '^ *+' conftest.er1 >conftest.err
21327 rm -f conftest.er1
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21334 ac_hi=$ac_mid; break
21335 else
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21338
21339 ac_lo=`expr $ac_mid + 1`
21340 if test $ac_lo -le $ac_mid; then
21341 ac_lo= ac_hi=
21342 break
21343 fi
21344 ac_mid=`expr 2 '*' $ac_mid + 1`
21345 fi
21346
21347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21348 done
21349 else
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.$ac_ext >&5
21352
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 typedef size_t ac__type_sizeof_;
21361 int
21362 main ()
21363 {
21364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21365 test_array [0] = 0
21366
21367 ;
21368 return 0;
21369 }
21370 _ACEOF
21371 rm -f conftest.$ac_objext
21372 if { (ac_try="$ac_compile"
21373 case "(($ac_try" in
21374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21375 *) ac_try_echo=$ac_try;;
21376 esac
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_compile") 2>conftest.er1
21379 ac_status=$?
21380 grep -v '^ *+' conftest.er1 >conftest.err
21381 rm -f conftest.er1
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } && {
21385 test -z "$ac_c_werror_flag" ||
21386 test ! -s conftest.err
21387 } && test -s conftest.$ac_objext; then
21388 ac_hi=-1 ac_mid=-1
21389 while :; do
21390 cat >conftest.$ac_ext <<_ACEOF
21391 /* confdefs.h. */
21392 _ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 typedef size_t ac__type_sizeof_;
21398 int
21399 main ()
21400 {
21401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21402 test_array [0] = 0
21403
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 ac_lo=$ac_mid; break
21426 else
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21429
21430 ac_hi=`expr '(' $ac_mid ')' - 1`
21431 if test $ac_mid -le $ac_hi; then
21432 ac_lo= ac_hi=
21433 break
21434 fi
21435 ac_mid=`expr 2 '*' $ac_mid`
21436 fi
21437
21438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21439 done
21440 else
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21443
21444 ac_lo= ac_hi=
21445 fi
21446
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 fi
21449
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 # Binary search between lo and hi bounds.
21452 while test "x$ac_lo" != "x$ac_hi"; do
21453 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef size_t ac__type_sizeof_;
21462 int
21463 main ()
21464 {
21465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21466 test_array [0] = 0
21467
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21477 esac
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21489 ac_hi=$ac_mid
21490 else
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21493
21494 ac_lo=`expr '(' $ac_mid ')' + 1`
21495 fi
21496
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 done
21499 case $ac_lo in
21500 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21501 '') if test "$ac_cv_type_size_t" = yes; then
21502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21503 See \`config.log' for more details." >&5
21504 echo "$as_me: error: cannot compute sizeof (size_t)
21505 See \`config.log' for more details." >&2;}
21506 { (exit 77); exit 77; }; }
21507 else
21508 ac_cv_sizeof_size_t=0
21509 fi ;;
21510 esac
21511 else
21512 cat >conftest.$ac_ext <<_ACEOF
21513 /* confdefs.h. */
21514 _ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 $ac_includes_default
21519 typedef size_t ac__type_sizeof_;
21520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21522 #include <stdio.h>
21523 #include <stdlib.h>
21524 int
21525 main ()
21526 {
21527
21528 FILE *f = fopen ("conftest.val", "w");
21529 if (! f)
21530 return 1;
21531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21532 {
21533 long int i = longval ();
21534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21535 return 1;
21536 fprintf (f, "%ld\n", i);
21537 }
21538 else
21539 {
21540 unsigned long int i = ulongval ();
21541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21542 return 1;
21543 fprintf (f, "%lu\n", i);
21544 }
21545 return ferror (f) || fclose (f) != 0;
21546
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest$ac_exeext
21552 if { (ac_try="$ac_link"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_link") 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21562 { (case "(($ac_try" in
21563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21564 *) ac_try_echo=$ac_try;;
21565 esac
21566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21567 (eval "$ac_try") 2>&5
21568 ac_status=$?
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; }; then
21571 ac_cv_sizeof_size_t=`cat conftest.val`
21572 else
21573 echo "$as_me: program exited with status $ac_status" >&5
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21576
21577 ( exit $ac_status )
21578 if test "$ac_cv_type_size_t" = yes; then
21579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21580 See \`config.log' for more details." >&5
21581 echo "$as_me: error: cannot compute sizeof (size_t)
21582 See \`config.log' for more details." >&2;}
21583 { (exit 77); exit 77; }; }
21584 else
21585 ac_cv_sizeof_size_t=0
21586 fi
21587 fi
21588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21589 fi
21590 rm -f conftest.val
21591 fi
21592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21593 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21594
21595
21596
21597 cat >>confdefs.h <<_ACEOF
21598 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21599 _ACEOF
21600
21601
21602
21603 case "${host}" in
21604 arm-*-linux* )
21605 { echo "$as_me:$LINENO: checking for long long" >&5
21606 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21607 if test "${ac_cv_type_long_long+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 else
21610 cat >conftest.$ac_ext <<_ACEOF
21611 /* confdefs.h. */
21612 _ACEOF
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21617 typedef long long ac__type_new_;
21618 int
21619 main ()
21620 {
21621 if ((ac__type_new_ *) 0)
21622 return 0;
21623 if (sizeof (ac__type_new_))
21624 return 0;
21625 ;
21626 return 0;
21627 }
21628 _ACEOF
21629 rm -f conftest.$ac_objext
21630 if { (ac_try="$ac_compile"
21631 case "(($ac_try" in
21632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21633 *) ac_try_echo=$ac_try;;
21634 esac
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_compile") 2>conftest.er1
21637 ac_status=$?
21638 grep -v '^ *+' conftest.er1 >conftest.err
21639 rm -f conftest.er1
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && {
21643 test -z "$ac_c_werror_flag" ||
21644 test ! -s conftest.err
21645 } && test -s conftest.$ac_objext; then
21646 ac_cv_type_long_long=yes
21647 else
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.$ac_ext >&5
21650
21651 ac_cv_type_long_long=no
21652 fi
21653
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 fi
21656 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21657 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21658
21659 # The cast to long int works around a bug in the HP C Compiler
21660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21662 # This bug is HP SR number 8606223364.
21663 { echo "$as_me:$LINENO: checking size of long long" >&5
21664 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21665 if test "${ac_cv_sizeof_long_long+set}" = set; then
21666 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 else
21668 if test "$cross_compiling" = yes; then
21669 # Depending upon the size, compute the lo and hi bounds.
21670 cat >conftest.$ac_ext <<_ACEOF
21671 /* confdefs.h. */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 typedef long long ac__type_sizeof_;
21678 int
21679 main ()
21680 {
21681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21682 test_array [0] = 0
21683
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 rm -f conftest.$ac_objext
21689 if { (ac_try="$ac_compile"
21690 case "(($ac_try" in
21691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21692 *) ac_try_echo=$ac_try;;
21693 esac
21694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21695 (eval "$ac_compile") 2>conftest.er1
21696 ac_status=$?
21697 grep -v '^ *+' conftest.er1 >conftest.err
21698 rm -f conftest.er1
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } && {
21702 test -z "$ac_c_werror_flag" ||
21703 test ! -s conftest.err
21704 } && test -s conftest.$ac_objext; then
21705 ac_lo=0 ac_mid=0
21706 while :; do
21707 cat >conftest.$ac_ext <<_ACEOF
21708 /* confdefs.h. */
21709 _ACEOF
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 typedef long long ac__type_sizeof_;
21715 int
21716 main ()
21717 {
21718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21719 test_array [0] = 0
21720
21721 ;
21722 return 0;
21723 }
21724 _ACEOF
21725 rm -f conftest.$ac_objext
21726 if { (ac_try="$ac_compile"
21727 case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729 *) ac_try_echo=$ac_try;;
21730 esac
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_compile") 2>conftest.er1
21733 ac_status=$?
21734 grep -v '^ *+' conftest.er1 >conftest.err
21735 rm -f conftest.er1
21736 cat conftest.err >&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } && {
21739 test -z "$ac_c_werror_flag" ||
21740 test ! -s conftest.err
21741 } && test -s conftest.$ac_objext; then
21742 ac_hi=$ac_mid; break
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 ac_lo=`expr $ac_mid + 1`
21748 if test $ac_lo -le $ac_mid; then
21749 ac_lo= ac_hi=
21750 break
21751 fi
21752 ac_mid=`expr 2 '*' $ac_mid + 1`
21753 fi
21754
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 done
21757 else
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21760
21761 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21769 int
21770 main ()
21771 {
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21773 test_array [0] = 0
21774
21775 ;
21776 return 0;
21777 }
21778 _ACEOF
21779 rm -f conftest.$ac_objext
21780 if { (ac_try="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21784 esac
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21787 ac_status=$?
21788 grep -v '^ *+' conftest.er1 >conftest.err
21789 rm -f conftest.er1
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21796 ac_hi=-1 ac_mid=-1
21797 while :; do
21798 cat >conftest.$ac_ext <<_ACEOF
21799 /* confdefs.h. */
21800 _ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21806 int
21807 main ()
21808 {
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21810 test_array [0] = 0
21811
21812 ;
21813 return 0;
21814 }
21815 _ACEOF
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820 *) ac_try_echo=$ac_try;;
21821 esac
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21824 ac_status=$?
21825 grep -v '^ *+' conftest.er1 >conftest.err
21826 rm -f conftest.er1
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.$ac_objext; then
21833 ac_lo=$ac_mid; break
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21837
21838 ac_hi=`expr '(' $ac_mid ')' - 1`
21839 if test $ac_mid -le $ac_hi; then
21840 ac_lo= ac_hi=
21841 break
21842 fi
21843 ac_mid=`expr 2 '*' $ac_mid`
21844 fi
21845
21846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21847 done
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21851
21852 ac_lo= ac_hi=
21853 fi
21854
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856 fi
21857
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 # Binary search between lo and hi bounds.
21860 while test "x$ac_lo" != "x$ac_hi"; do
21861 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21862 cat >conftest.$ac_ext <<_ACEOF
21863 /* confdefs.h. */
21864 _ACEOF
21865 cat confdefs.h >>conftest.$ac_ext
21866 cat >>conftest.$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 typedef long long ac__type_sizeof_;
21870 int
21871 main ()
21872 {
21873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21874 test_array [0] = 0
21875
21876 ;
21877 return 0;
21878 }
21879 _ACEOF
21880 rm -f conftest.$ac_objext
21881 if { (ac_try="$ac_compile"
21882 case "(($ac_try" in
21883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21885 esac
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_compile") 2>conftest.er1
21888 ac_status=$?
21889 grep -v '^ *+' conftest.er1 >conftest.err
21890 rm -f conftest.er1
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_c_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest.$ac_objext; then
21897 ac_hi=$ac_mid
21898 else
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21901
21902 ac_lo=`expr '(' $ac_mid ')' + 1`
21903 fi
21904
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906 done
21907 case $ac_lo in
21908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21909 '') if test "$ac_cv_type_long_long" = yes; then
21910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21911 See \`config.log' for more details." >&5
21912 echo "$as_me: error: cannot compute sizeof (long long)
21913 See \`config.log' for more details." >&2;}
21914 { (exit 77); exit 77; }; }
21915 else
21916 ac_cv_sizeof_long_long=0
21917 fi ;;
21918 esac
21919 else
21920 cat >conftest.$ac_ext <<_ACEOF
21921 /* confdefs.h. */
21922 _ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21926 $ac_includes_default
21927 typedef long long ac__type_sizeof_;
21928 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21929 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 #include <stdio.h>
21931 #include <stdlib.h>
21932 int
21933 main ()
21934 {
21935
21936 FILE *f = fopen ("conftest.val", "w");
21937 if (! f)
21938 return 1;
21939 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21940 {
21941 long int i = longval ();
21942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21943 return 1;
21944 fprintf (f, "%ld\n", i);
21945 }
21946 else
21947 {
21948 unsigned long int i = ulongval ();
21949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21950 return 1;
21951 fprintf (f, "%lu\n", i);
21952 }
21953 return ferror (f) || fclose (f) != 0;
21954
21955 ;
21956 return 0;
21957 }
21958 _ACEOF
21959 rm -f conftest$ac_exeext
21960 if { (ac_try="$ac_link"
21961 case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21964 esac
21965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_link") 2>&5
21967 ac_status=$?
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21970 { (case "(($ac_try" in
21971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21972 *) ac_try_echo=$ac_try;;
21973 esac
21974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21975 (eval "$ac_try") 2>&5
21976 ac_status=$?
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 ac_cv_sizeof_long_long=`cat conftest.val`
21980 else
21981 echo "$as_me: program exited with status $ac_status" >&5
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ( exit $ac_status )
21986 if test "$ac_cv_type_long_long" = yes; then
21987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21988 See \`config.log' for more details." >&5
21989 echo "$as_me: error: cannot compute sizeof (long long)
21990 See \`config.log' for more details." >&2;}
21991 { (exit 77); exit 77; }; }
21992 else
21993 ac_cv_sizeof_long_long=0
21994 fi
21995 fi
21996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21997 fi
21998 rm -f conftest.val
21999 fi
22000 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22001 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22002
22003
22004
22005 cat >>confdefs.h <<_ACEOF
22006 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22007 _ACEOF
22008
22009
22010 ;;
22011 *-hp-hpux* )
22012 { echo "$as_me:$LINENO: checking for long long" >&5
22013 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22014 if test "${ac_cv_type_long_long+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22016 else
22017 cat >conftest.$ac_ext <<_ACEOF
22018 /* confdefs.h. */
22019 _ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 $ac_includes_default
22024 typedef long long ac__type_new_;
22025 int
22026 main ()
22027 {
22028 if ((ac__type_new_ *) 0)
22029 return 0;
22030 if (sizeof (ac__type_new_))
22031 return 0;
22032 ;
22033 return 0;
22034 }
22035 _ACEOF
22036 rm -f conftest.$ac_objext
22037 if { (ac_try="$ac_compile"
22038 case "(($ac_try" in
22039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22040 *) ac_try_echo=$ac_try;;
22041 esac
22042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22043 (eval "$ac_compile") 2>conftest.er1
22044 ac_status=$?
22045 grep -v '^ *+' conftest.er1 >conftest.err
22046 rm -f conftest.er1
22047 cat conftest.err >&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } && {
22050 test -z "$ac_c_werror_flag" ||
22051 test ! -s conftest.err
22052 } && test -s conftest.$ac_objext; then
22053 ac_cv_type_long_long=yes
22054 else
22055 echo "$as_me: failed program was:" >&5
22056 sed 's/^/| /' conftest.$ac_ext >&5
22057
22058 ac_cv_type_long_long=no
22059 fi
22060
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 fi
22063 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22064 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22065
22066 # The cast to long int works around a bug in the HP C Compiler
22067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22069 # This bug is HP SR number 8606223364.
22070 { echo "$as_me:$LINENO: checking size of long long" >&5
22071 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22072 if test "${ac_cv_sizeof_long_long+set}" = set; then
22073 echo $ECHO_N "(cached) $ECHO_C" >&6
22074 else
22075 if test "$cross_compiling" = yes; then
22076 # Depending upon the size, compute the lo and hi bounds.
22077 cat >conftest.$ac_ext <<_ACEOF
22078 /* confdefs.h. */
22079 _ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef long long ac__type_sizeof_;
22085 int
22086 main ()
22087 {
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22089 test_array [0] = 0
22090
22091 ;
22092 return 0;
22093 }
22094 _ACEOF
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22103 ac_status=$?
22104 grep -v '^ *+' conftest.er1 >conftest.err
22105 rm -f conftest.er1
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22112 ac_lo=0 ac_mid=0
22113 while :; do
22114 cat >conftest.$ac_ext <<_ACEOF
22115 /* confdefs.h. */
22116 _ACEOF
22117 cat confdefs.h >>conftest.$ac_ext
22118 cat >>conftest.$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 $ac_includes_default
22121 typedef long long ac__type_sizeof_;
22122 int
22123 main ()
22124 {
22125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22126 test_array [0] = 0
22127
22128 ;
22129 return 0;
22130 }
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22137 esac
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22140 ac_status=$?
22141 grep -v '^ *+' conftest.er1 >conftest.err
22142 rm -f conftest.er1
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } && {
22146 test -z "$ac_c_werror_flag" ||
22147 test ! -s conftest.err
22148 } && test -s conftest.$ac_objext; then
22149 ac_hi=$ac_mid; break
22150 else
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.$ac_ext >&5
22153
22154 ac_lo=`expr $ac_mid + 1`
22155 if test $ac_lo -le $ac_mid; then
22156 ac_lo= ac_hi=
22157 break
22158 fi
22159 ac_mid=`expr 2 '*' $ac_mid + 1`
22160 fi
22161
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22163 done
22164 else
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.$ac_ext >&5
22167
22168 cat >conftest.$ac_ext <<_ACEOF
22169 /* confdefs.h. */
22170 _ACEOF
22171 cat confdefs.h >>conftest.$ac_ext
22172 cat >>conftest.$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 $ac_includes_default
22175 typedef long long ac__type_sizeof_;
22176 int
22177 main ()
22178 {
22179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22180 test_array [0] = 0
22181
22182 ;
22183 return 0;
22184 }
22185 _ACEOF
22186 rm -f conftest.$ac_objext
22187 if { (ac_try="$ac_compile"
22188 case "(($ac_try" in
22189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22190 *) ac_try_echo=$ac_try;;
22191 esac
22192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22194 ac_status=$?
22195 grep -v '^ *+' conftest.er1 >conftest.err
22196 rm -f conftest.er1
22197 cat conftest.err >&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } && {
22200 test -z "$ac_c_werror_flag" ||
22201 test ! -s conftest.err
22202 } && test -s conftest.$ac_objext; then
22203 ac_hi=-1 ac_mid=-1
22204 while :; do
22205 cat >conftest.$ac_ext <<_ACEOF
22206 /* confdefs.h. */
22207 _ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef long long ac__type_sizeof_;
22213 int
22214 main ()
22215 {
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22217 test_array [0] = 0
22218
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22228 esac
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22231 ac_status=$?
22232 grep -v '^ *+' conftest.er1 >conftest.err
22233 rm -f conftest.er1
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22240 ac_lo=$ac_mid; break
22241 else
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22244
22245 ac_hi=`expr '(' $ac_mid ')' - 1`
22246 if test $ac_mid -le $ac_hi; then
22247 ac_lo= ac_hi=
22248 break
22249 fi
22250 ac_mid=`expr 2 '*' $ac_mid`
22251 fi
22252
22253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22254 done
22255 else
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22258
22259 ac_lo= ac_hi=
22260 fi
22261
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 fi
22264
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266 # Binary search between lo and hi bounds.
22267 while test "x$ac_lo" != "x$ac_hi"; do
22268 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef long long ac__type_sizeof_;
22277 int
22278 main ()
22279 {
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22281 test_array [0] = 0
22282
22283 ;
22284 return 0;
22285 }
22286 _ACEOF
22287 rm -f conftest.$ac_objext
22288 if { (ac_try="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22291 *) ac_try_echo=$ac_try;;
22292 esac
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22295 ac_status=$?
22296 grep -v '^ *+' conftest.er1 >conftest.err
22297 rm -f conftest.er1
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.$ac_objext; then
22304 ac_hi=$ac_mid
22305 else
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22308
22309 ac_lo=`expr '(' $ac_mid ')' + 1`
22310 fi
22311
22312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22313 done
22314 case $ac_lo in
22315 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22316 '') if test "$ac_cv_type_long_long" = yes; then
22317 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22318 See \`config.log' for more details." >&5
22319 echo "$as_me: error: cannot compute sizeof (long long)
22320 See \`config.log' for more details." >&2;}
22321 { (exit 77); exit 77; }; }
22322 else
22323 ac_cv_sizeof_long_long=0
22324 fi ;;
22325 esac
22326 else
22327 cat >conftest.$ac_ext <<_ACEOF
22328 /* confdefs.h. */
22329 _ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333 $ac_includes_default
22334 typedef long long ac__type_sizeof_;
22335 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22336 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22337 #include <stdio.h>
22338 #include <stdlib.h>
22339 int
22340 main ()
22341 {
22342
22343 FILE *f = fopen ("conftest.val", "w");
22344 if (! f)
22345 return 1;
22346 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22347 {
22348 long int i = longval ();
22349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22350 return 1;
22351 fprintf (f, "%ld\n", i);
22352 }
22353 else
22354 {
22355 unsigned long int i = ulongval ();
22356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22357 return 1;
22358 fprintf (f, "%lu\n", i);
22359 }
22360 return ferror (f) || fclose (f) != 0;
22361
22362 ;
22363 return 0;
22364 }
22365 _ACEOF
22366 rm -f conftest$ac_exeext
22367 if { (ac_try="$ac_link"
22368 case "(($ac_try" in
22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22370 *) ac_try_echo=$ac_try;;
22371 esac
22372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_link") 2>&5
22374 ac_status=$?
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22377 { (case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22380 esac
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_try") 2>&5
22383 ac_status=$?
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; }; then
22386 ac_cv_sizeof_long_long=`cat conftest.val`
22387 else
22388 echo "$as_me: program exited with status $ac_status" >&5
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22391
22392 ( exit $ac_status )
22393 if test "$ac_cv_type_long_long" = yes; then
22394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22395 See \`config.log' for more details." >&5
22396 echo "$as_me: error: cannot compute sizeof (long long)
22397 See \`config.log' for more details." >&2;}
22398 { (exit 77); exit 77; }; }
22399 else
22400 ac_cv_sizeof_long_long=0
22401 fi
22402 fi
22403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22404 fi
22405 rm -f conftest.val
22406 fi
22407 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22408 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22409
22410
22411
22412 cat >>confdefs.h <<_ACEOF
22413 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22414 _ACEOF
22415
22416
22417 if test "$ac_cv_sizeof_long_long" != 0; then
22418 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22419 fi
22420 ;;
22421 * )
22422 { echo "$as_me:$LINENO: checking for long long" >&5
22423 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22424 if test "${ac_cv_type_long_long+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 else
22427 cat >conftest.$ac_ext <<_ACEOF
22428 /* confdefs.h. */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef long long ac__type_new_;
22435 int
22436 main ()
22437 {
22438 if ((ac__type_new_ *) 0)
22439 return 0;
22440 if (sizeof (ac__type_new_))
22441 return 0;
22442 ;
22443 return 0;
22444 }
22445 _ACEOF
22446 rm -f conftest.$ac_objext
22447 if { (ac_try="$ac_compile"
22448 case "(($ac_try" in
22449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22450 *) ac_try_echo=$ac_try;;
22451 esac
22452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22453 (eval "$ac_compile") 2>conftest.er1
22454 ac_status=$?
22455 grep -v '^ *+' conftest.er1 >conftest.err
22456 rm -f conftest.er1
22457 cat conftest.err >&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } && {
22460 test -z "$ac_c_werror_flag" ||
22461 test ! -s conftest.err
22462 } && test -s conftest.$ac_objext; then
22463 ac_cv_type_long_long=yes
22464 else
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22467
22468 ac_cv_type_long_long=no
22469 fi
22470
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22472 fi
22473 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22474 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22475
22476 # The cast to long int works around a bug in the HP C Compiler
22477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22479 # This bug is HP SR number 8606223364.
22480 { echo "$as_me:$LINENO: checking size of long long" >&5
22481 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22482 if test "${ac_cv_sizeof_long_long+set}" = set; then
22483 echo $ECHO_N "(cached) $ECHO_C" >&6
22484 else
22485 if test "$cross_compiling" = yes; then
22486 # Depending upon the size, compute the lo and hi bounds.
22487 cat >conftest.$ac_ext <<_ACEOF
22488 /* confdefs.h. */
22489 _ACEOF
22490 cat confdefs.h >>conftest.$ac_ext
22491 cat >>conftest.$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22493 $ac_includes_default
22494 typedef long long ac__type_sizeof_;
22495 int
22496 main ()
22497 {
22498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22499 test_array [0] = 0
22500
22501 ;
22502 return 0;
22503 }
22504 _ACEOF
22505 rm -f conftest.$ac_objext
22506 if { (ac_try="$ac_compile"
22507 case "(($ac_try" in
22508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22509 *) ac_try_echo=$ac_try;;
22510 esac
22511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22512 (eval "$ac_compile") 2>conftest.er1
22513 ac_status=$?
22514 grep -v '^ *+' conftest.er1 >conftest.err
22515 rm -f conftest.er1
22516 cat conftest.err >&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } && {
22519 test -z "$ac_c_werror_flag" ||
22520 test ! -s conftest.err
22521 } && test -s conftest.$ac_objext; then
22522 ac_lo=0 ac_mid=0
22523 while :; do
22524 cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h. */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530 $ac_includes_default
22531 typedef long long ac__type_sizeof_;
22532 int
22533 main ()
22534 {
22535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22536 test_array [0] = 0
22537
22538 ;
22539 return 0;
22540 }
22541 _ACEOF
22542 rm -f conftest.$ac_objext
22543 if { (ac_try="$ac_compile"
22544 case "(($ac_try" in
22545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22546 *) ac_try_echo=$ac_try;;
22547 esac
22548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22549 (eval "$ac_compile") 2>conftest.er1
22550 ac_status=$?
22551 grep -v '^ *+' conftest.er1 >conftest.err
22552 rm -f conftest.er1
22553 cat conftest.err >&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } && {
22556 test -z "$ac_c_werror_flag" ||
22557 test ! -s conftest.err
22558 } && test -s conftest.$ac_objext; then
22559 ac_hi=$ac_mid; break
22560 else
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.$ac_ext >&5
22563
22564 ac_lo=`expr $ac_mid + 1`
22565 if test $ac_lo -le $ac_mid; then
22566 ac_lo= ac_hi=
22567 break
22568 fi
22569 ac_mid=`expr 2 '*' $ac_mid + 1`
22570 fi
22571
22572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22573 done
22574 else
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22577
22578 cat >conftest.$ac_ext <<_ACEOF
22579 /* confdefs.h. */
22580 _ACEOF
22581 cat confdefs.h >>conftest.$ac_ext
22582 cat >>conftest.$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 $ac_includes_default
22585 typedef long long ac__type_sizeof_;
22586 int
22587 main ()
22588 {
22589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22590 test_array [0] = 0
22591
22592 ;
22593 return 0;
22594 }
22595 _ACEOF
22596 rm -f conftest.$ac_objext
22597 if { (ac_try="$ac_compile"
22598 case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22601 esac
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_compile") 2>conftest.er1
22604 ac_status=$?
22605 grep -v '^ *+' conftest.er1 >conftest.err
22606 rm -f conftest.er1
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } && {
22610 test -z "$ac_c_werror_flag" ||
22611 test ! -s conftest.err
22612 } && test -s conftest.$ac_objext; then
22613 ac_hi=-1 ac_mid=-1
22614 while :; do
22615 cat >conftest.$ac_ext <<_ACEOF
22616 /* confdefs.h. */
22617 _ACEOF
22618 cat confdefs.h >>conftest.$ac_ext
22619 cat >>conftest.$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621 $ac_includes_default
22622 typedef long long ac__type_sizeof_;
22623 int
22624 main ()
22625 {
22626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22627 test_array [0] = 0
22628
22629 ;
22630 return 0;
22631 }
22632 _ACEOF
22633 rm -f conftest.$ac_objext
22634 if { (ac_try="$ac_compile"
22635 case "(($ac_try" in
22636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22637 *) ac_try_echo=$ac_try;;
22638 esac
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_compile") 2>conftest.er1
22641 ac_status=$?
22642 grep -v '^ *+' conftest.er1 >conftest.err
22643 rm -f conftest.er1
22644 cat conftest.err >&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } && {
22647 test -z "$ac_c_werror_flag" ||
22648 test ! -s conftest.err
22649 } && test -s conftest.$ac_objext; then
22650 ac_lo=$ac_mid; break
22651 else
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.$ac_ext >&5
22654
22655 ac_hi=`expr '(' $ac_mid ')' - 1`
22656 if test $ac_mid -le $ac_hi; then
22657 ac_lo= ac_hi=
22658 break
22659 fi
22660 ac_mid=`expr 2 '*' $ac_mid`
22661 fi
22662
22663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 done
22665 else
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 ac_lo= ac_hi=
22670 fi
22671
22672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22673 fi
22674
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 # Binary search between lo and hi bounds.
22677 while test "x$ac_lo" != "x$ac_hi"; do
22678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22679 cat >conftest.$ac_ext <<_ACEOF
22680 /* confdefs.h. */
22681 _ACEOF
22682 cat confdefs.h >>conftest.$ac_ext
22683 cat >>conftest.$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685 $ac_includes_default
22686 typedef long long ac__type_sizeof_;
22687 int
22688 main ()
22689 {
22690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22691 test_array [0] = 0
22692
22693 ;
22694 return 0;
22695 }
22696 _ACEOF
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22702 esac
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22705 ac_status=$?
22706 grep -v '^ *+' conftest.er1 >conftest.err
22707 rm -f conftest.er1
22708 cat conftest.err >&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.$ac_objext; then
22714 ac_hi=$ac_mid
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719 ac_lo=`expr '(' $ac_mid ')' + 1`
22720 fi
22721
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22723 done
22724 case $ac_lo in
22725 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22726 '') if test "$ac_cv_type_long_long" = yes; then
22727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22728 See \`config.log' for more details." >&5
22729 echo "$as_me: error: cannot compute sizeof (long long)
22730 See \`config.log' for more details." >&2;}
22731 { (exit 77); exit 77; }; }
22732 else
22733 ac_cv_sizeof_long_long=0
22734 fi ;;
22735 esac
22736 else
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22745 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22746 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22747 #include <stdio.h>
22748 #include <stdlib.h>
22749 int
22750 main ()
22751 {
22752
22753 FILE *f = fopen ("conftest.val", "w");
22754 if (! f)
22755 return 1;
22756 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22757 {
22758 long int i = longval ();
22759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22760 return 1;
22761 fprintf (f, "%ld\n", i);
22762 }
22763 else
22764 {
22765 unsigned long int i = ulongval ();
22766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22767 return 1;
22768 fprintf (f, "%lu\n", i);
22769 }
22770 return ferror (f) || fclose (f) != 0;
22771
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest$ac_exeext
22777 if { (ac_try="$ac_link"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22781 esac
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_link") 2>&5
22784 ac_status=$?
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22787 { (case "(($ac_try" in
22788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22789 *) ac_try_echo=$ac_try;;
22790 esac
22791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval "$ac_try") 2>&5
22793 ac_status=$?
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; }; then
22796 ac_cv_sizeof_long_long=`cat conftest.val`
22797 else
22798 echo "$as_me: program exited with status $ac_status" >&5
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22801
22802 ( exit $ac_status )
22803 if test "$ac_cv_type_long_long" = yes; then
22804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22805 See \`config.log' for more details." >&5
22806 echo "$as_me: error: cannot compute sizeof (long long)
22807 See \`config.log' for more details." >&2;}
22808 { (exit 77); exit 77; }; }
22809 else
22810 ac_cv_sizeof_long_long=0
22811 fi
22812 fi
22813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22814 fi
22815 rm -f conftest.val
22816 fi
22817 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22818 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22819
22820
22821
22822 cat >>confdefs.h <<_ACEOF
22823 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22824 _ACEOF
22825
22826
22827 esac
22828
22829 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22830 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22831 if test "${ac_cv_type_wchar_t+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 else
22834 cat >conftest.$ac_ext <<_ACEOF
22835 /* confdefs.h. */
22836 _ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840
22841 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22842 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22843 # error "fake wchar_t"
22844 #endif
22845 #ifdef HAVE_WCHAR_H
22846 # ifdef __CYGWIN__
22847 # include <stddef.h>
22848 # endif
22849 # include <wchar.h>
22850 #endif
22851 #ifdef HAVE_STDLIB_H
22852 # include <stdlib.h>
22853 #endif
22854 #include <stdio.h>
22855
22856
22857
22858 typedef wchar_t ac__type_new_;
22859 int
22860 main ()
22861 {
22862 if ((ac__type_new_ *) 0)
22863 return 0;
22864 if (sizeof (ac__type_new_))
22865 return 0;
22866 ;
22867 return 0;
22868 }
22869 _ACEOF
22870 rm -f conftest.$ac_objext
22871 if { (ac_try="$ac_compile"
22872 case "(($ac_try" in
22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22875 esac
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_compile") 2>conftest.er1
22878 ac_status=$?
22879 grep -v '^ *+' conftest.er1 >conftest.err
22880 rm -f conftest.er1
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } && {
22884 test -z "$ac_c_werror_flag" ||
22885 test ! -s conftest.err
22886 } && test -s conftest.$ac_objext; then
22887 ac_cv_type_wchar_t=yes
22888 else
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22891
22892 ac_cv_type_wchar_t=no
22893 fi
22894
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22896 fi
22897 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22898 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22899
22900 # The cast to long int works around a bug in the HP C Compiler
22901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22903 # This bug is HP SR number 8606223364.
22904 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22905 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22906 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 else
22909 if test "$cross_compiling" = yes; then
22910 # Depending upon the size, compute the lo and hi bounds.
22911 cat >conftest.$ac_ext <<_ACEOF
22912 /* confdefs.h. */
22913 _ACEOF
22914 cat confdefs.h >>conftest.$ac_ext
22915 cat >>conftest.$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22917
22918 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22919 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22920 # error "fake wchar_t"
22921 #endif
22922 #ifdef HAVE_WCHAR_H
22923 # ifdef __CYGWIN__
22924 # include <stddef.h>
22925 # endif
22926 # include <wchar.h>
22927 #endif
22928 #ifdef HAVE_STDLIB_H
22929 # include <stdlib.h>
22930 #endif
22931 #include <stdio.h>
22932
22933
22934
22935 typedef wchar_t ac__type_sizeof_;
22936 int
22937 main ()
22938 {
22939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22940 test_array [0] = 0
22941
22942 ;
22943 return 0;
22944 }
22945 _ACEOF
22946 rm -f conftest.$ac_objext
22947 if { (ac_try="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22951 esac
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22954 ac_status=$?
22955 grep -v '^ *+' conftest.er1 >conftest.err
22956 rm -f conftest.er1
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.$ac_objext; then
22963 ac_lo=0 ac_mid=0
22964 while :; do
22965 cat >conftest.$ac_ext <<_ACEOF
22966 /* confdefs.h. */
22967 _ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971
22972 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22973 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22974 # error "fake wchar_t"
22975 #endif
22976 #ifdef HAVE_WCHAR_H
22977 # ifdef __CYGWIN__
22978 # include <stddef.h>
22979 # endif
22980 # include <wchar.h>
22981 #endif
22982 #ifdef HAVE_STDLIB_H
22983 # include <stdlib.h>
22984 #endif
22985 #include <stdio.h>
22986
22987
22988
22989 typedef wchar_t ac__type_sizeof_;
22990 int
22991 main ()
22992 {
22993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22994 test_array [0] = 0
22995
22996 ;
22997 return 0;
22998 }
22999 _ACEOF
23000 rm -f conftest.$ac_objext
23001 if { (ac_try="$ac_compile"
23002 case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23005 esac
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_compile") 2>conftest.er1
23008 ac_status=$?
23009 grep -v '^ *+' conftest.er1 >conftest.err
23010 rm -f conftest.er1
23011 cat conftest.err >&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && {
23014 test -z "$ac_c_werror_flag" ||
23015 test ! -s conftest.err
23016 } && test -s conftest.$ac_objext; then
23017 ac_hi=$ac_mid; break
23018 else
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.$ac_ext >&5
23021
23022 ac_lo=`expr $ac_mid + 1`
23023 if test $ac_lo -le $ac_mid; then
23024 ac_lo= ac_hi=
23025 break
23026 fi
23027 ac_mid=`expr 2 '*' $ac_mid + 1`
23028 fi
23029
23030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23031 done
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23035
23036 cat >conftest.$ac_ext <<_ACEOF
23037 /* confdefs.h. */
23038 _ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042
23043 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23044 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23045 # error "fake wchar_t"
23046 #endif
23047 #ifdef HAVE_WCHAR_H
23048 # ifdef __CYGWIN__
23049 # include <stddef.h>
23050 # endif
23051 # include <wchar.h>
23052 #endif
23053 #ifdef HAVE_STDLIB_H
23054 # include <stdlib.h>
23055 #endif
23056 #include <stdio.h>
23057
23058
23059
23060 typedef wchar_t ac__type_sizeof_;
23061 int
23062 main ()
23063 {
23064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23065 test_array [0] = 0
23066
23067 ;
23068 return 0;
23069 }
23070 _ACEOF
23071 rm -f conftest.$ac_objext
23072 if { (ac_try="$ac_compile"
23073 case "(($ac_try" in
23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23076 esac
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_compile") 2>conftest.er1
23079 ac_status=$?
23080 grep -v '^ *+' conftest.er1 >conftest.err
23081 rm -f conftest.er1
23082 cat conftest.err >&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && {
23085 test -z "$ac_c_werror_flag" ||
23086 test ! -s conftest.err
23087 } && test -s conftest.$ac_objext; then
23088 ac_hi=-1 ac_mid=-1
23089 while :; do
23090 cat >conftest.$ac_ext <<_ACEOF
23091 /* confdefs.h. */
23092 _ACEOF
23093 cat confdefs.h >>conftest.$ac_ext
23094 cat >>conftest.$ac_ext <<_ACEOF
23095 /* end confdefs.h. */
23096
23097 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23098 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23099 # error "fake wchar_t"
23100 #endif
23101 #ifdef HAVE_WCHAR_H
23102 # ifdef __CYGWIN__
23103 # include <stddef.h>
23104 # endif
23105 # include <wchar.h>
23106 #endif
23107 #ifdef HAVE_STDLIB_H
23108 # include <stdlib.h>
23109 #endif
23110 #include <stdio.h>
23111
23112
23113
23114 typedef wchar_t ac__type_sizeof_;
23115 int
23116 main ()
23117 {
23118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23119 test_array [0] = 0
23120
23121 ;
23122 return 0;
23123 }
23124 _ACEOF
23125 rm -f conftest.$ac_objext
23126 if { (ac_try="$ac_compile"
23127 case "(($ac_try" in
23128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23129 *) ac_try_echo=$ac_try;;
23130 esac
23131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23132 (eval "$ac_compile") 2>conftest.er1
23133 ac_status=$?
23134 grep -v '^ *+' conftest.er1 >conftest.err
23135 rm -f conftest.er1
23136 cat conftest.err >&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } && {
23139 test -z "$ac_c_werror_flag" ||
23140 test ! -s conftest.err
23141 } && test -s conftest.$ac_objext; then
23142 ac_lo=$ac_mid; break
23143 else
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23146
23147 ac_hi=`expr '(' $ac_mid ')' - 1`
23148 if test $ac_mid -le $ac_hi; then
23149 ac_lo= ac_hi=
23150 break
23151 fi
23152 ac_mid=`expr 2 '*' $ac_mid`
23153 fi
23154
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 done
23157 else
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23160
23161 ac_lo= ac_hi=
23162 fi
23163
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 fi
23166
23167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23168 # Binary search between lo and hi bounds.
23169 while test "x$ac_lo" != "x$ac_hi"; do
23170 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23171 cat >conftest.$ac_ext <<_ACEOF
23172 /* confdefs.h. */
23173 _ACEOF
23174 cat confdefs.h >>conftest.$ac_ext
23175 cat >>conftest.$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23177
23178 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23179 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23180 # error "fake wchar_t"
23181 #endif
23182 #ifdef HAVE_WCHAR_H
23183 # ifdef __CYGWIN__
23184 # include <stddef.h>
23185 # endif
23186 # include <wchar.h>
23187 #endif
23188 #ifdef HAVE_STDLIB_H
23189 # include <stdlib.h>
23190 #endif
23191 #include <stdio.h>
23192
23193
23194
23195 typedef wchar_t ac__type_sizeof_;
23196 int
23197 main ()
23198 {
23199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23200 test_array [0] = 0
23201
23202 ;
23203 return 0;
23204 }
23205 _ACEOF
23206 rm -f conftest.$ac_objext
23207 if { (ac_try="$ac_compile"
23208 case "(($ac_try" in
23209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23210 *) ac_try_echo=$ac_try;;
23211 esac
23212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23213 (eval "$ac_compile") 2>conftest.er1
23214 ac_status=$?
23215 grep -v '^ *+' conftest.er1 >conftest.err
23216 rm -f conftest.er1
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } && {
23220 test -z "$ac_c_werror_flag" ||
23221 test ! -s conftest.err
23222 } && test -s conftest.$ac_objext; then
23223 ac_hi=$ac_mid
23224 else
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.$ac_ext >&5
23227
23228 ac_lo=`expr '(' $ac_mid ')' + 1`
23229 fi
23230
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 done
23233 case $ac_lo in
23234 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23235 '') if test "$ac_cv_type_wchar_t" = yes; then
23236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23237 See \`config.log' for more details." >&5
23238 echo "$as_me: error: cannot compute sizeof (wchar_t)
23239 See \`config.log' for more details." >&2;}
23240 { (exit 77); exit 77; }; }
23241 else
23242 ac_cv_sizeof_wchar_t=0
23243 fi ;;
23244 esac
23245 else
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252
23253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23255 # error "fake wchar_t"
23256 #endif
23257 #ifdef HAVE_WCHAR_H
23258 # ifdef __CYGWIN__
23259 # include <stddef.h>
23260 # endif
23261 # include <wchar.h>
23262 #endif
23263 #ifdef HAVE_STDLIB_H
23264 # include <stdlib.h>
23265 #endif
23266 #include <stdio.h>
23267
23268
23269
23270 typedef wchar_t ac__type_sizeof_;
23271 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23272 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23273 #include <stdio.h>
23274 #include <stdlib.h>
23275 int
23276 main ()
23277 {
23278
23279 FILE *f = fopen ("conftest.val", "w");
23280 if (! f)
23281 return 1;
23282 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23283 {
23284 long int i = longval ();
23285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23286 return 1;
23287 fprintf (f, "%ld\n", i);
23288 }
23289 else
23290 {
23291 unsigned long int i = ulongval ();
23292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23293 return 1;
23294 fprintf (f, "%lu\n", i);
23295 }
23296 return ferror (f) || fclose (f) != 0;
23297
23298 ;
23299 return 0;
23300 }
23301 _ACEOF
23302 rm -f conftest$ac_exeext
23303 if { (ac_try="$ac_link"
23304 case "(($ac_try" in
23305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23307 esac
23308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_link") 2>&5
23310 ac_status=$?
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23313 { (case "(($ac_try" in
23314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23315 *) ac_try_echo=$ac_try;;
23316 esac
23317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23318 (eval "$ac_try") 2>&5
23319 ac_status=$?
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); }; }; then
23322 ac_cv_sizeof_wchar_t=`cat conftest.val`
23323 else
23324 echo "$as_me: program exited with status $ac_status" >&5
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23327
23328 ( exit $ac_status )
23329 if test "$ac_cv_type_wchar_t" = yes; then
23330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23331 See \`config.log' for more details." >&5
23332 echo "$as_me: error: cannot compute sizeof (wchar_t)
23333 See \`config.log' for more details." >&2;}
23334 { (exit 77); exit 77; }; }
23335 else
23336 ac_cv_sizeof_wchar_t=0
23337 fi
23338 fi
23339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23340 fi
23341 rm -f conftest.val
23342 fi
23343 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23344 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23345
23346
23347
23348 cat >>confdefs.h <<_ACEOF
23349 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23350 _ACEOF
23351
23352
23353 if test "$ac_cv_sizeof_wchar_t" != 0; then
23354 wxUSE_WCHAR_T=yes
23355 else
23356 wxUSE_WCHAR_T=no
23357 fi
23358
23359 { echo "$as_me:$LINENO: checking for va_copy" >&5
23360 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23361 if test "${wx_cv_func_va_copy+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 else
23364
23365 ac_ext=cpp
23366 ac_cpp='$CXXCPP $CPPFLAGS'
23367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23370
23371 cat >conftest.$ac_ext <<_ACEOF
23372
23373 #include <stdarg.h>
23374 void foo(char *f, ...)
23375 {
23376 va_list ap1, ap2;
23377 va_start(ap1, f);
23378 va_copy(ap2, ap1);
23379 va_end(ap2);
23380 va_end(ap1);
23381 }
23382 int main()
23383 {
23384 foo("hi", 17);
23385 return 0;
23386 }
23387 _ACEOF
23388 rm -f conftest.$ac_objext conftest$ac_exeext
23389 if { (ac_try="$ac_link"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23393 esac
23394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_link") 2>conftest.er1
23396 ac_status=$?
23397 grep -v '^ *+' conftest.er1 >conftest.err
23398 rm -f conftest.er1
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && {
23402 test -z "$ac_cxx_werror_flag" ||
23403 test ! -s conftest.err
23404 } && test -s conftest$ac_exeext &&
23405 $as_test_x conftest$ac_exeext; then
23406 wx_cv_func_va_copy=yes
23407 else
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23410
23411 wx_cv_func_va_copy=no
23412
23413 fi
23414
23415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23416 conftest$ac_exeext conftest.$ac_ext
23417 ac_ext=c
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422
23423
23424
23425 fi
23426 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23427 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23428
23429 if test $wx_cv_func_va_copy = "yes"; then
23430 cat >>confdefs.h <<\_ACEOF
23431 #define HAVE_VA_COPY 1
23432 _ACEOF
23433
23434 else
23435 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23436 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23437 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 else
23440
23441 if test "$cross_compiling" = yes; then
23442 wx_cv_type_va_list_lvalue=yes
23443
23444 else
23445 cat >conftest.$ac_ext <<_ACEOF
23446
23447 #include <stdarg.h>
23448 int foo(char *f, ...)
23449 {
23450 va_list ap1, ap2;
23451 va_start(ap1, f);
23452 ap2 = ap1;
23453 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23454 return 1;
23455 va_end(ap2);
23456 va_end(ap1);
23457 return 0;
23458 }
23459 int main()
23460 {
23461 return foo("hi", 17);
23462 }
23463 _ACEOF
23464 rm -f conftest$ac_exeext
23465 if { (ac_try="$ac_link"
23466 case "(($ac_try" in
23467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23468 *) ac_try_echo=$ac_try;;
23469 esac
23470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23471 (eval "$ac_link") 2>&5
23472 ac_status=$?
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23475 { (case "(($ac_try" in
23476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23477 *) ac_try_echo=$ac_try;;
23478 esac
23479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23480 (eval "$ac_try") 2>&5
23481 ac_status=$?
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; }; then
23484 wx_cv_type_va_list_lvalue=yes
23485 else
23486 echo "$as_me: program exited with status $ac_status" >&5
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 ( exit $ac_status )
23491 wx_cv_type_va_list_lvalue=no
23492 fi
23493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23494 fi
23495
23496
23497
23498
23499 fi
23500 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23501 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23502
23503 if test $wx_cv_type_va_list_lvalue != "yes"; then
23504 cat >>confdefs.h <<\_ACEOF
23505 #define VA_LIST_IS_ARRAY 1
23506 _ACEOF
23507
23508 fi
23509 fi
23510
23511 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23512
23513 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23514 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23515 if test "${wx_cv_have_variadic_macros+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 else
23518
23519 ac_ext=cpp
23520 ac_cpp='$CXXCPP $CPPFLAGS'
23521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23524
23525 cat >conftest.$ac_ext <<_ACEOF
23526 /* confdefs.h. */
23527 _ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23531
23532 #include <stdio.h>
23533 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23534
23535 int
23536 main ()
23537 {
23538
23539 test("%s %d %p", "test", 1, 0);
23540
23541
23542 ;
23543 return 0;
23544 }
23545 _ACEOF
23546 rm -f conftest.$ac_objext
23547 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 *) ac_try_echo=$ac_try;;
23551 esac
23552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 (eval "$ac_compile") 2>conftest.er1
23554 ac_status=$?
23555 grep -v '^ *+' conftest.er1 >conftest.err
23556 rm -f conftest.er1
23557 cat conftest.err >&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } && {
23560 test -z "$ac_cxx_werror_flag" ||
23561 test ! -s conftest.err
23562 } && test -s conftest.$ac_objext; then
23563 wx_cv_have_variadic_macros=yes
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 wx_cv_have_variadic_macros=no
23569
23570 fi
23571
23572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23573 ac_ext=c
23574 ac_cpp='$CPP $CPPFLAGS'
23575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23578
23579
23580
23581 fi
23582 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23583 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23584
23585 if test $wx_cv_have_variadic_macros = "yes"; then
23586 cat >>confdefs.h <<\_ACEOF
23587 #define HAVE_VARIADIC_MACROS 1
23588 _ACEOF
23589
23590 fi
23591
23592 fi
23593
23594 LARGEFILE_CPPFLAGS=
23595 # Check whether --enable-largefile was given.
23596 if test "${enable_largefile+set}" = set; then
23597 enableval=$enable_largefile;
23598 fi
23599
23600 if test "$enable_largefile" != no; then
23601 wx_largefile=no
23602
23603 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23604 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23605 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608
23609 cat >conftest.$ac_ext <<_ACEOF
23610 /* confdefs.h. */
23611 _ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23615 #define _FILE_OFFSET_BITS 64
23616 #include <sys/types.h>
23617 int
23618 main ()
23619 {
23620 typedef struct {
23621 unsigned int field: sizeof(off_t) == 8;
23622 } wxlf;
23623
23624 ;
23625 return 0;
23626 }
23627 _ACEOF
23628 rm -f conftest.$ac_objext
23629 if { (ac_try="$ac_compile"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23633 esac
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_compile") 2>conftest.er1
23636 ac_status=$?
23637 grep -v '^ *+' conftest.er1 >conftest.err
23638 rm -f conftest.er1
23639 cat conftest.err >&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); } && {
23642 test -z "$ac_c_werror_flag" ||
23643 test ! -s conftest.err
23644 } && test -s conftest.$ac_objext; then
23645 ac_cv_sys_file_offset_bits=64
23646 else
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.$ac_ext >&5
23649
23650 ac_cv_sys_file_offset_bits=no
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654
23655
23656 fi
23657 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23658 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23659
23660 if test "$ac_cv_sys_file_offset_bits" != no; then
23661 wx_largefile=yes
23662 cat >>confdefs.h <<_ACEOF
23663 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23664 _ACEOF
23665
23666 fi
23667
23668 if test "x$wx_largefile" != "xyes"; then
23669
23670 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23671 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23672 if test "${ac_cv_sys_large_files+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 else
23675
23676 cat >conftest.$ac_ext <<_ACEOF
23677 /* confdefs.h. */
23678 _ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 #define _LARGE_FILES 1
23683 #include <sys/types.h>
23684 int
23685 main ()
23686 {
23687 typedef struct {
23688 unsigned int field: sizeof(off_t) == 8;
23689 } wxlf;
23690
23691 ;
23692 return 0;
23693 }
23694 _ACEOF
23695 rm -f conftest.$ac_objext
23696 if { (ac_try="$ac_compile"
23697 case "(($ac_try" in
23698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23699 *) ac_try_echo=$ac_try;;
23700 esac
23701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23702 (eval "$ac_compile") 2>conftest.er1
23703 ac_status=$?
23704 grep -v '^ *+' conftest.er1 >conftest.err
23705 rm -f conftest.er1
23706 cat conftest.err >&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } && {
23709 test -z "$ac_c_werror_flag" ||
23710 test ! -s conftest.err
23711 } && test -s conftest.$ac_objext; then
23712 ac_cv_sys_large_files=1
23713 else
23714 echo "$as_me: failed program was:" >&5
23715 sed 's/^/| /' conftest.$ac_ext >&5
23716
23717 ac_cv_sys_large_files=no
23718 fi
23719
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721
23722
23723 fi
23724 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23725 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23726
23727 if test "$ac_cv_sys_large_files" != no; then
23728 wx_largefile=yes
23729 cat >>confdefs.h <<_ACEOF
23730 #define _LARGE_FILES $ac_cv_sys_large_files
23731 _ACEOF
23732
23733 fi
23734
23735 fi
23736
23737 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23738 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23739 if test "x$wx_largefile" = "xyes"; then
23740 cat >>confdefs.h <<\_ACEOF
23741 #define HAVE_LARGEFILE_SUPPORT 1
23742 _ACEOF
23743
23744 fi
23745 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23746 echo "${ECHO_T}$wx_largefile" >&6; }
23747 fi
23748
23749 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23750 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23751 elif test "$ac_cv_sys_large_files" = 1; then
23752 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23753 fi
23754
23755 if test -n "$LARGEFILE_CPPFLAGS"; then
23756 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23757
23758 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23759 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23760 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23761 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23762 echo $ECHO_N "(cached) $ECHO_C" >&6
23763 else
23764
23765 ac_ext=cpp
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770
23771 cat >conftest.$ac_ext <<_ACEOF
23772 /* confdefs.h. */
23773 _ACEOF
23774 cat confdefs.h >>conftest.$ac_ext
23775 cat >>conftest.$ac_ext <<_ACEOF
23776 /* end confdefs.h. */
23777
23778 int
23779 main ()
23780 {
23781
23782 #ifndef __STDC_EXT__
23783 choke me
23784 #endif
23785
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23795 esac
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_compile") 2>conftest.er1
23798 ac_status=$?
23799 grep -v '^ *+' conftest.er1 >conftest.err
23800 rm -f conftest.er1
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && {
23804 test -z "$ac_cxx_werror_flag" ||
23805 test ! -s conftest.err
23806 } && test -s conftest.$ac_objext; then
23807 wx_cv_STDC_EXT_required=no
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23811
23812 wx_cv_STDC_EXT_required=yes
23813
23814 fi
23815
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_ext=c
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23822
23823
23824
23825 fi
23826 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23827 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23828 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23829 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23830 fi
23831 fi
23832 fi
23833
23834 ac_ext=cpp
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23839
23840 old_CPPFLAGS="$CPPFLAGS"
23841 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23842 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23843 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23844 if test "${ac_cv_sys_largefile_source+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847 while :; do
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 #include <sys/types.h> /* for off_t */
23855 #include <stdio.h>
23856 int
23857 main ()
23858 {
23859 int (*fp) (FILE *, off_t, int) = fseeko;
23860 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23861 ;
23862 return 0;
23863 }
23864 _ACEOF
23865 rm -f conftest.$ac_objext conftest$ac_exeext
23866 if { (ac_try="$ac_link"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23870 esac
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_link") 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_cxx_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest$ac_exeext &&
23882 $as_test_x conftest$ac_exeext; then
23883 ac_cv_sys_largefile_source=no; break
23884 else
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.$ac_ext >&5
23887
23888
23889 fi
23890
23891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23892 conftest$ac_exeext conftest.$ac_ext
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #define _LARGEFILE_SOURCE 1
23900 #include <sys/types.h> /* for off_t */
23901 #include <stdio.h>
23902 int
23903 main ()
23904 {
23905 int (*fp) (FILE *, off_t, int) = fseeko;
23906 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23907 ;
23908 return 0;
23909 }
23910 _ACEOF
23911 rm -f conftest.$ac_objext conftest$ac_exeext
23912 if { (ac_try="$ac_link"
23913 case "(($ac_try" in
23914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23915 *) ac_try_echo=$ac_try;;
23916 esac
23917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23918 (eval "$ac_link") 2>conftest.er1
23919 ac_status=$?
23920 grep -v '^ *+' conftest.er1 >conftest.err
23921 rm -f conftest.er1
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } && {
23925 test -z "$ac_cxx_werror_flag" ||
23926 test ! -s conftest.err
23927 } && test -s conftest$ac_exeext &&
23928 $as_test_x conftest$ac_exeext; then
23929 ac_cv_sys_largefile_source=1; break
23930 else
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23933
23934
23935 fi
23936
23937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23938 conftest$ac_exeext conftest.$ac_ext
23939 ac_cv_sys_largefile_source=unknown
23940 break
23941 done
23942 fi
23943 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23944 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23945 case $ac_cv_sys_largefile_source in #(
23946 no | unknown) ;;
23947 *)
23948 cat >>confdefs.h <<_ACEOF
23949 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23950 _ACEOF
23951 ;;
23952 esac
23953 rm -f conftest*
23954
23955 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23956 # in glibc 2.1.3, but that breaks too many other things.
23957 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23958 if test $ac_cv_sys_largefile_source != unknown; then
23959
23960 cat >>confdefs.h <<\_ACEOF
23961 #define HAVE_FSEEKO 1
23962 _ACEOF
23963
23964 fi
23965
23966 CPPFLAGS="$old_CPPFLAGS"
23967 ac_ext=c
23968 ac_cpp='$CPP $CPPFLAGS'
23969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23972
23973 if test "$ac_cv_sys_largefile_source" != no; then
23974 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23975 fi
23976
23977 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23978 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23979 if test "${ac_cv_c_bigendian+set}" = set; then
23980 echo $ECHO_N "(cached) $ECHO_C" >&6
23981 else
23982 ac_cv_c_bigendian=unknown
23983 # See if sys/param.h defines the BYTE_ORDER macro.
23984 cat >conftest.$ac_ext <<_ACEOF
23985 /* confdefs.h. */
23986 _ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <sys/types.h>
23991 #include <sys/param.h>
23992 int
23993 main ()
23994 {
23995
23996 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23997 bogus endian macros
23998 #endif
23999 ;
24000 return 0;
24001 }
24002 _ACEOF
24003 rm -f conftest.$ac_objext
24004 if { (ac_try="$ac_compile"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24008 esac
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_compile") 2>conftest.er1
24011 ac_status=$?
24012 grep -v '^ *+' conftest.er1 >conftest.err
24013 rm -f conftest.er1
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_c_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest.$ac_objext; then
24020 # It does; now see whether it defined to BIG_ENDIAN or not.
24021 cat >conftest.$ac_ext <<_ACEOF
24022 /* confdefs.h. */
24023 _ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24027 #include <sys/types.h>
24028 #include <sys/param.h>
24029 int
24030 main ()
24031 {
24032
24033 #if BYTE_ORDER != BIG_ENDIAN
24034 not big endian
24035 #endif
24036 ;
24037 return 0;
24038 }
24039 _ACEOF
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24045 esac
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24048 ac_status=$?
24049 grep -v '^ *+' conftest.er1 >conftest.err
24050 rm -f conftest.er1
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_c_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24057 ac_cv_c_bigendian=yes
24058 else
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24061
24062 ac_cv_c_bigendian=no
24063 fi
24064
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24066 else
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24069
24070
24071 fi
24072
24073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 if test $ac_cv_c_bigendian = unknown; then
24075 if test "$cross_compiling" = yes; then
24076 ac_cv_c_bigendian=unknown
24077 else
24078 cat >conftest.$ac_ext <<_ACEOF
24079 /* confdefs.h. */
24080 _ACEOF
24081 cat confdefs.h >>conftest.$ac_ext
24082 cat >>conftest.$ac_ext <<_ACEOF
24083 /* end confdefs.h. */
24084 main () {
24085 /* Are we little or big endian? From Harbison&Steele. */
24086 union
24087 {
24088 long l;
24089 char c[sizeof (long)];
24090 } u;
24091 u.l = 1;
24092 exit (u.c[sizeof (long) - 1] == 1);
24093 }
24094 _ACEOF
24095 rm -f conftest$ac_exeext
24096 if { (ac_try="$ac_link"
24097 case "(($ac_try" in
24098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24099 *) ac_try_echo=$ac_try;;
24100 esac
24101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24102 (eval "$ac_link") 2>&5
24103 ac_status=$?
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24106 { (case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24109 esac
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_try") 2>&5
24112 ac_status=$?
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 ac_cv_c_bigendian=no
24116 else
24117 echo "$as_me: program exited with status $ac_status" >&5
24118 echo "$as_me: failed program was:" >&5
24119 sed 's/^/| /' conftest.$ac_ext >&5
24120
24121 ( exit $ac_status )
24122 ac_cv_c_bigendian=yes
24123 fi
24124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24125 fi
24126
24127
24128 fi
24129 fi
24130 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24131 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24132 if test $ac_cv_c_bigendian = unknown; then
24133 { 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
24134 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;}
24135 fi
24136 if test $ac_cv_c_bigendian = yes; then
24137 cat >>confdefs.h <<\_ACEOF
24138 #define WORDS_BIGENDIAN 1
24139 _ACEOF
24140
24141 fi
24142
24143
24144
24145
24146 ac_ext=cpp
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24151
24152
24153
24154 for ac_header in iostream
24155 do
24156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 else
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168
24169
24170 #include <$ac_header>
24171 _ACEOF
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24177 esac
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24180 ac_status=$?
24181 grep -v '^ *+' conftest.er1 >conftest.err
24182 rm -f conftest.er1
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_cxx_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 eval "$as_ac_Header=yes"
24190 else
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.$ac_ext >&5
24193
24194 eval "$as_ac_Header=no"
24195 fi
24196
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198 fi
24199 ac_res=`eval echo '${'$as_ac_Header'}'`
24200 { echo "$as_me:$LINENO: result: $ac_res" >&5
24201 echo "${ECHO_T}$ac_res" >&6; }
24202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24203 cat >>confdefs.h <<_ACEOF
24204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24205 _ACEOF
24206
24207 fi
24208
24209 done
24210
24211
24212 if test "$ac_cv_header_iostream" = "yes" ; then
24213 :
24214 else
24215 cat >>confdefs.h <<\_ACEOF
24216 #define wxUSE_IOSTREAMH 1
24217 _ACEOF
24218
24219 fi
24220
24221 ac_ext=c
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24226
24227
24228
24229
24230 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24231 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24232 if test "${wx_cv_explicit+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24234 else
24235
24236
24237 ac_ext=cpp
24238 ac_cpp='$CXXCPP $CPPFLAGS'
24239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24242
24243
24244 cat >conftest.$ac_ext <<_ACEOF
24245 /* confdefs.h. */
24246 _ACEOF
24247 cat confdefs.h >>conftest.$ac_ext
24248 cat >>conftest.$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24250
24251 class Foo { public: explicit Foo(int) {} };
24252
24253 int
24254 main ()
24255 {
24256
24257 return 0;
24258
24259 ;
24260 return 0;
24261 }
24262 _ACEOF
24263 rm -f conftest.$ac_objext
24264 if { (ac_try="$ac_compile"
24265 case "(($ac_try" in
24266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24267 *) ac_try_echo=$ac_try;;
24268 esac
24269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24271 ac_status=$?
24272 grep -v '^ *+' conftest.er1 >conftest.err
24273 rm -f conftest.er1
24274 cat conftest.err >&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_cxx_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.$ac_objext; then
24280
24281 cat >conftest.$ac_ext <<_ACEOF
24282 /* confdefs.h. */
24283 _ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24287
24288 class Foo { public: explicit Foo(int) {} };
24289 static void TakeFoo(const Foo& foo) { }
24290
24291 int
24292 main ()
24293 {
24294
24295 TakeFoo(17);
24296 return 0;
24297
24298 ;
24299 return 0;
24300 }
24301 _ACEOF
24302 rm -f conftest.$ac_objext
24303 if { (ac_try="$ac_compile"
24304 case "(($ac_try" in
24305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24306 *) ac_try_echo=$ac_try;;
24307 esac
24308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24309 (eval "$ac_compile") 2>conftest.er1
24310 ac_status=$?
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } && {
24316 test -z "$ac_cxx_werror_flag" ||
24317 test ! -s conftest.err
24318 } && test -s conftest.$ac_objext; then
24319 wx_cv_explicit=no
24320 else
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.$ac_ext >&5
24323
24324 wx_cv_explicit=yes
24325
24326 fi
24327
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24329
24330 else
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24333
24334 wx_cv_explicit=no
24335
24336 fi
24337
24338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24339
24340 ac_ext=c
24341 ac_cpp='$CPP $CPPFLAGS'
24342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24345
24346
24347 fi
24348 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24349 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24350
24351 if test "$wx_cv_explicit" = "yes"; then
24352 cat >>confdefs.h <<\_ACEOF
24353 #define HAVE_EXPLICIT 1
24354 _ACEOF
24355
24356 fi
24357
24358
24359 if test "x$SUNCXX" = xyes; then
24360 CXXFLAGS="-features=tmplife $CXXFLAGS"
24361 fi
24362
24363 if test "x$SUNCC" = xyes; then
24364 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24365 fi
24366
24367 if test "x$SGICC" = "xyes"; then
24368 CFLAGS="-woff 3970 $CFLAGS"
24369 fi
24370 if test "x$SGICXX" = "xyes"; then
24371 CXXFLAGS="-woff 3970 $CXXFLAGS"
24372 fi
24373
24374 if test "x$HPCC" = "xyes"; then
24375 CFLAGS="+W 2011,2450 $CFLAGS"
24376 fi
24377 if test "x$HPCXX" = "xyes"; then
24378 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24379 fi
24380
24381 if test "x$COMPAQCXX" = "xyes"; then
24382 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24383 fi
24384
24385 ac_ext=cpp
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390
24391
24392 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24393 if test "$wxUSE_UNICODE" = "yes"; then
24394 std_string="std::wstring"
24395 char_type="wchar_t"
24396 else
24397 std_string="std::string"
24398 char_type="char"
24399 fi
24400
24401 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24402 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24403 if test "${wx_cv_class_stdstring+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 else
24406
24407 cat >conftest.$ac_ext <<_ACEOF
24408 /* confdefs.h. */
24409 _ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24413 #include <string>
24414 int
24415 main ()
24416 {
24417 $std_string foo;
24418 ;
24419 return 0;
24420 }
24421 _ACEOF
24422 rm -f conftest.$ac_objext
24423 if { (ac_try="$ac_compile"
24424 case "(($ac_try" in
24425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426 *) ac_try_echo=$ac_try;;
24427 esac
24428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24429 (eval "$ac_compile") 2>conftest.er1
24430 ac_status=$?
24431 grep -v '^ *+' conftest.er1 >conftest.err
24432 rm -f conftest.er1
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } && {
24436 test -z "$ac_cxx_werror_flag" ||
24437 test ! -s conftest.err
24438 } && test -s conftest.$ac_objext; then
24439 wx_cv_class_stdstring=yes
24440 else
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24443
24444 wx_cv_class_stdstring=no
24445
24446 fi
24447
24448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24449
24450
24451 fi
24452 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24453 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24454
24455 if test "$wx_cv_class_stdstring" = yes; then
24456 if test "$wxUSE_UNICODE" = "yes"; then
24457 cat >>confdefs.h <<\_ACEOF
24458 #define HAVE_STD_WSTRING 1
24459 _ACEOF
24460
24461 fi
24462 else
24463 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24464 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24465 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468
24469 cat >conftest.$ac_ext <<_ACEOF
24470 /* confdefs.h. */
24471 _ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24475
24476 #ifdef HAVE_WCHAR_H
24477 # ifdef __CYGWIN__
24478 # include <stddef.h>
24479 # endif
24480 # include <wchar.h>
24481 #endif
24482 #ifdef HAVE_STDLIB_H
24483 # include <stdlib.h>
24484 #endif
24485 #include <stdio.h>
24486 #include <string>
24487
24488 int
24489 main ()
24490 {
24491 std::basic_string<$char_type> foo;
24492 const $char_type* dummy = foo.c_str();
24493 ;
24494 return 0;
24495 }
24496 _ACEOF
24497 rm -f conftest.$ac_objext
24498 if { (ac_try="$ac_compile"
24499 case "(($ac_try" in
24500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24501 *) ac_try_echo=$ac_try;;
24502 esac
24503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24504 (eval "$ac_compile") 2>conftest.er1
24505 ac_status=$?
24506 grep -v '^ *+' conftest.er1 >conftest.err
24507 rm -f conftest.er1
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } && {
24511 test -z "$ac_cxx_werror_flag" ||
24512 test ! -s conftest.err
24513 } && test -s conftest.$ac_objext; then
24514 wx_cv_class_stdbasicstring=yes
24515 else
24516 echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.$ac_ext >&5
24518
24519 wx_cv_class_stdbasicstring=no
24520
24521 fi
24522
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524
24525
24526 fi
24527 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24528 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24529
24530 if test "$wx_cv_class_stdbasicstring" != yes; then
24531 if test "$wxUSE_STL" = "yes"; then
24532 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24533 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24534 { (exit 1); exit 1; }; }
24535 elif test "$wxUSE_STD_STRING" = "yes"; then
24536 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24537 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24538 { (exit 1); exit 1; }; }
24539 else
24540 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24541 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24542 wxUSE_STD_STRING=no
24543 fi
24544 fi
24545 fi
24546 fi
24547
24548 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24549 { echo "$as_me:$LINENO: checking for std::istream" >&5
24550 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24551 if test "${ac_cv_type_std__istream+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24553 else
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <iostream>
24561
24562 typedef std::istream ac__type_new_;
24563 int
24564 main ()
24565 {
24566 if ((ac__type_new_ *) 0)
24567 return 0;
24568 if (sizeof (ac__type_new_))
24569 return 0;
24570 ;
24571 return 0;
24572 }
24573 _ACEOF
24574 rm -f conftest.$ac_objext
24575 if { (ac_try="$ac_compile"
24576 case "(($ac_try" in
24577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24578 *) ac_try_echo=$ac_try;;
24579 esac
24580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24581 (eval "$ac_compile") 2>conftest.er1
24582 ac_status=$?
24583 grep -v '^ *+' conftest.er1 >conftest.err
24584 rm -f conftest.er1
24585 cat conftest.err >&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } && {
24588 test -z "$ac_cxx_werror_flag" ||
24589 test ! -s conftest.err
24590 } && test -s conftest.$ac_objext; then
24591 ac_cv_type_std__istream=yes
24592 else
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24595
24596 ac_cv_type_std__istream=no
24597 fi
24598
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24600 fi
24601 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24602 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24603 if test $ac_cv_type_std__istream = yes; then
24604
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE_STD__ISTREAM 1
24607 _ACEOF
24608
24609
24610 else
24611 wxUSE_STD_IOSTREAM=no
24612 fi
24613 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24614 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24615 if test "${ac_cv_type_std__ostream+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 else
24618 cat >conftest.$ac_ext <<_ACEOF
24619 /* confdefs.h. */
24620 _ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 #include <iostream>
24625
24626 typedef std::ostream ac__type_new_;
24627 int
24628 main ()
24629 {
24630 if ((ac__type_new_ *) 0)
24631 return 0;
24632 if (sizeof (ac__type_new_))
24633 return 0;
24634 ;
24635 return 0;
24636 }
24637 _ACEOF
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24643 esac
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24646 ac_status=$?
24647 grep -v '^ *+' conftest.er1 >conftest.err
24648 rm -f conftest.er1
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_cxx_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 ac_cv_type_std__ostream=yes
24656 else
24657 echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24659
24660 ac_cv_type_std__ostream=no
24661 fi
24662
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 fi
24665 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24666 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24667 if test $ac_cv_type_std__ostream = yes; then
24668
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_STD__OSTREAM 1
24671 _ACEOF
24672
24673
24674 else
24675 wxUSE_STD_IOSTREAM=no
24676 fi
24677
24678
24679 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24680 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24681 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24682 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24683 { (exit 1); exit 1; }; }
24684 else
24685 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24686 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24687 fi
24688 fi
24689 fi
24690
24691 if test "$wxUSE_STL" = "yes"; then
24692 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24693 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24694 if test "${wx_cv_lib_stl+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 else
24697 cat >conftest.$ac_ext <<_ACEOF
24698 /* confdefs.h. */
24699 _ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703 #include <string>
24704 #include <functional>
24705 #include <algorithm>
24706 #include <vector>
24707 #include <list>
24708 int
24709 main ()
24710 {
24711 std::vector<int> moo;
24712 std::list<int> foo;
24713 std::vector<int>::iterator it =
24714 std::find_if(moo.begin(), moo.end(),
24715 std::bind2nd(std::less<int>(), 3));
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24725 esac
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24728 ac_status=$?
24729 grep -v '^ *+' conftest.er1 >conftest.err
24730 rm -f conftest.er1
24731 cat conftest.err >&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_cxx_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.$ac_objext; then
24737 wx_cv_lib_stl=yes
24738 else
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24741
24742 wx_cv_lib_stl=no
24743
24744 fi
24745
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747
24748 fi
24749 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24750 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24751
24752 if test "$wx_cv_lib_stl" != yes; then
24753 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24754 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24755 { (exit 1); exit 1; }; }
24756 fi
24757
24758 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24759 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24760 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24762 else
24763 cat >conftest.$ac_ext <<_ACEOF
24764 /* confdefs.h. */
24765 _ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24769 #include <string>
24770 int
24771 main ()
24772 {
24773 std::string foo, bar;
24774 foo.compare(bar);
24775 foo.compare(1, 1, bar);
24776 foo.compare(1, 1, bar, 1, 1);
24777 foo.compare("");
24778 foo.compare(1, 1, "");
24779 foo.compare(1, 1, "", 2);
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_func_stdstring_compare=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 wx_cv_func_stdstring_compare=no
24807
24808 fi
24809
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811
24812 fi
24813 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24814 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24815
24816 if test "$wx_cv_func_stdstring_compare" = yes; then
24817 cat >>confdefs.h <<\_ACEOF
24818 #define HAVE_STD_STRING_COMPARE 1
24819 _ACEOF
24820
24821 fi
24822
24823 if test "$wx_cv_class_gnuhashmapset" = yes; then
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_EXT_HASH_MAP 1
24826 _ACEOF
24827
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_GNU_CXX_HASH_MAP 1
24830 _ACEOF
24831
24832 fi
24833
24834 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24835 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24836 if test "${ac_cv_header_unordered_map+set}" = set; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 else
24839 cat >conftest.$ac_ext <<_ACEOF
24840 /* confdefs.h. */
24841 _ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24845
24846
24847
24848 #include <unordered_map>
24849 _ACEOF
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24855 esac
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24858 ac_status=$?
24859 grep -v '^ *+' conftest.er1 >conftest.err
24860 rm -f conftest.er1
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_cxx_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 ac_cv_header_unordered_map=yes
24868 else
24869 echo "$as_me: failed program was:" >&5
24870 sed 's/^/| /' conftest.$ac_ext >&5
24871
24872 ac_cv_header_unordered_map=no
24873 fi
24874
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24876 fi
24877 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24878 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24879 if test $ac_cv_header_unordered_map = yes; then
24880 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24881 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24882 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24884 else
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 #include <unordered_map>
24892 #include <unordered_set>
24893 int
24894 main ()
24895 {
24896 std::unordered_map<double*, char*> test1;
24897 std::unordered_set<char*> test2;
24898 ;
24899 return 0;
24900 }
24901 _ACEOF
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24907 esac
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24910 ac_status=$?
24911 grep -v '^ *+' conftest.er1 >conftest.err
24912 rm -f conftest.er1
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_class_stdunorderedmapset=yes
24920 else
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924 wx_cv_class_stdunorderedmapset=no
24925 fi
24926
24927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24928
24929
24930 fi
24931 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24932 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24933 fi
24934
24935
24936
24937 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24938 cat >>confdefs.h <<\_ACEOF
24939 #define HAVE_STD_UNORDERED_MAP 1
24940 _ACEOF
24941
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_STD_UNORDERED_SET 1
24944 _ACEOF
24945
24946 else
24947 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24948 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24949 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 else
24952 cat >conftest.$ac_ext <<_ACEOF
24953 /* confdefs.h. */
24954 _ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24958
24959
24960
24961 #include <tr1/unordered_map>
24962 _ACEOF
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24968 esac
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24971 ac_status=$?
24972 grep -v '^ *+' conftest.er1 >conftest.err
24973 rm -f conftest.er1
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 ac_cv_header_tr1_unordered_map=yes
24981 else
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24984
24985 ac_cv_header_tr1_unordered_map=no
24986 fi
24987
24988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24989 fi
24990 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24991 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24992 if test $ac_cv_header_tr1_unordered_map = yes; then
24993 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24994 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24995 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24997 else
24998 cat >conftest.$ac_ext <<_ACEOF
24999 /* confdefs.h. */
25000 _ACEOF
25001 cat confdefs.h >>conftest.$ac_ext
25002 cat >>conftest.$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25004 #include <tr1/unordered_map>
25005 #include <tr1/unordered_set>
25006 int
25007 main ()
25008 {
25009 std::tr1::unordered_map<double*, char*> test1;
25010 std::tr1::unordered_set<char*> test2;
25011 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25012 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25013 #endif
25014 ;
25015 return 0;
25016 }
25017 _ACEOF
25018 rm -f conftest.$ac_objext
25019 if { (ac_try="$ac_compile"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25023 esac
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_compile") 2>conftest.er1
25026 ac_status=$?
25027 grep -v '^ *+' conftest.er1 >conftest.err
25028 rm -f conftest.er1
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_cxx_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest.$ac_objext; then
25035 wx_cv_class_tr1unorderedmapset=yes
25036 else
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25039
25040 wx_cv_class_tr1unorderedmapset=no
25041 fi
25042
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25044
25045
25046 fi
25047 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25048 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25049 fi
25050
25051
25052
25053 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25054 cat >>confdefs.h <<\_ACEOF
25055 #define HAVE_TR1_UNORDERED_MAP 1
25056 _ACEOF
25057
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_TR1_UNORDERED_SET 1
25060 _ACEOF
25061
25062 else
25063 { echo "$as_me:$LINENO: checking for hash_map" >&5
25064 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25065 if test "${ac_cv_header_hash_map+set}" = set; then
25066 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 else
25068 cat >conftest.$ac_ext <<_ACEOF
25069 /* confdefs.h. */
25070 _ACEOF
25071 cat confdefs.h >>conftest.$ac_ext
25072 cat >>conftest.$ac_ext <<_ACEOF
25073 /* end confdefs.h. */
25074
25075
25076
25077 #include <hash_map>
25078 _ACEOF
25079 rm -f conftest.$ac_objext
25080 if { (ac_try="$ac_compile"
25081 case "(($ac_try" in
25082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25083 *) ac_try_echo=$ac_try;;
25084 esac
25085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25086 (eval "$ac_compile") 2>conftest.er1
25087 ac_status=$?
25088 grep -v '^ *+' conftest.er1 >conftest.err
25089 rm -f conftest.er1
25090 cat conftest.err >&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && {
25093 test -z "$ac_cxx_werror_flag" ||
25094 test ! -s conftest.err
25095 } && test -s conftest.$ac_objext; then
25096 ac_cv_header_hash_map=yes
25097 else
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.$ac_ext >&5
25100
25101 ac_cv_header_hash_map=no
25102 fi
25103
25104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105 fi
25106 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25107 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25108 if test $ac_cv_header_hash_map = yes; then
25109 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25110 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25111 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 else
25114 cat >conftest.$ac_ext <<_ACEOF
25115 /* confdefs.h. */
25116 _ACEOF
25117 cat confdefs.h >>conftest.$ac_ext
25118 cat >>conftest.$ac_ext <<_ACEOF
25119 /* end confdefs.h. */
25120 #include <hash_map>
25121 #include <hash_set>
25122 int
25123 main ()
25124 {
25125 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25126 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25127 ;
25128 return 0;
25129 }
25130 _ACEOF
25131 rm -f conftest.$ac_objext
25132 if { (ac_try="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25136 esac
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25139 ac_status=$?
25140 grep -v '^ *+' conftest.er1 >conftest.err
25141 rm -f conftest.er1
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_cxx_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25148 wx_cv_class_stdhashmapset=yes
25149 else
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.$ac_ext >&5
25152
25153 wx_cv_class_stdhashmapset=no
25154 fi
25155
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157
25158
25159 fi
25160 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25161 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25162 fi
25163
25164
25165
25166 if test "$wx_cv_class_stdhashmapset" = yes; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define HAVE_HASH_MAP 1
25169 _ACEOF
25170
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_STD_HASH_MAP 1
25173 _ACEOF
25174
25175 fi
25176
25177 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25178 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25179 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 else
25182 cat >conftest.$ac_ext <<_ACEOF
25183 /* confdefs.h. */
25184 _ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25188
25189
25190
25191 #include <ext/hash_map>
25192 _ACEOF
25193 rm -f conftest.$ac_objext
25194 if { (ac_try="$ac_compile"
25195 case "(($ac_try" in
25196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25197 *) ac_try_echo=$ac_try;;
25198 esac
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_compile") 2>conftest.er1
25201 ac_status=$?
25202 grep -v '^ *+' conftest.er1 >conftest.err
25203 rm -f conftest.er1
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_cxx_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest.$ac_objext; then
25210 ac_cv_header_ext_hash_map=yes
25211 else
25212 echo "$as_me: failed program was:" >&5
25213 sed 's/^/| /' conftest.$ac_ext >&5
25214
25215 ac_cv_header_ext_hash_map=no
25216 fi
25217
25218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219 fi
25220 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25221 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25222 if test $ac_cv_header_ext_hash_map = yes; then
25223 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25224 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25225 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25227 else
25228 cat >conftest.$ac_ext <<_ACEOF
25229 /* confdefs.h. */
25230 _ACEOF
25231 cat confdefs.h >>conftest.$ac_ext
25232 cat >>conftest.$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 #include <ext/hash_map>
25235 #include <ext/hash_set>
25236 int
25237 main ()
25238 {
25239 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25240 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25241 ;
25242 return 0;
25243 }
25244 _ACEOF
25245 rm -f conftest.$ac_objext
25246 if { (ac_try="$ac_compile"
25247 case "(($ac_try" in
25248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25249 *) ac_try_echo=$ac_try;;
25250 esac
25251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25252 (eval "$ac_compile") 2>conftest.er1
25253 ac_status=$?
25254 grep -v '^ *+' conftest.er1 >conftest.err
25255 rm -f conftest.er1
25256 cat conftest.err >&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } && {
25259 test -z "$ac_cxx_werror_flag" ||
25260 test ! -s conftest.err
25261 } && test -s conftest.$ac_objext; then
25262 wx_cv_class_gnuhashmapset=yes
25263 else
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25266
25267 wx_cv_class_gnuhashmapset=no
25268 fi
25269
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271
25272
25273 fi
25274 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25275 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25276 fi
25277
25278
25279
25280 fi
25281 fi
25282 fi
25283
25284
25285
25286 if test -n "$GCC"; then
25287 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25288 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25289 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 else
25292
25293 cat >conftest.$ac_ext <<_ACEOF
25294 /* confdefs.h. */
25295 _ACEOF
25296 cat confdefs.h >>conftest.$ac_ext
25297 cat >>conftest.$ac_ext <<_ACEOF
25298 /* end confdefs.h. */
25299
25300 int
25301 main ()
25302 {
25303
25304 unsigned int value=0;
25305 /* wxAtomicInc doesn't use return value here */
25306 __sync_fetch_and_add(&value, 2);
25307 __sync_sub_and_fetch(&value, 1);
25308 /* but wxAtomicDec does, so mimic that: */
25309 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25310
25311 ;
25312 return 0;
25313 }
25314 _ACEOF
25315 rm -f conftest.$ac_objext conftest$ac_exeext
25316 if { (ac_try="$ac_link"
25317 case "(($ac_try" in
25318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25319 *) ac_try_echo=$ac_try;;
25320 esac
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25322 (eval "$ac_link") 2>conftest.er1
25323 ac_status=$?
25324 grep -v '^ *+' conftest.er1 >conftest.err
25325 rm -f conftest.er1
25326 cat conftest.err >&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } && {
25329 test -z "$ac_cxx_werror_flag" ||
25330 test ! -s conftest.err
25331 } && test -s conftest$ac_exeext &&
25332 $as_test_x conftest$ac_exeext; then
25333 wx_cv_cc_gcc_atomic_builtins=yes
25334 else
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 wx_cv_cc_gcc_atomic_builtins=no
25339 fi
25340
25341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25342 conftest$ac_exeext conftest.$ac_ext
25343
25344 fi
25345
25346 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25347 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25348 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25349 cat >>confdefs.h <<\_ACEOF
25350 #define HAVE_GCC_ATOMIC_BUILTINS 1
25351 _ACEOF
25352
25353 fi
25354 fi
25355
25356
25357 ac_ext=c
25358 ac_cpp='$CPP $CPPFLAGS'
25359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25362
25363
25364
25365 SEARCH_INCLUDE="\
25366 /usr/local/include \
25367 /usr/local/X11/include \
25368 /usr/local/include/X11 \
25369 /usr/local/X11R6/include \
25370 /usr/local/include/X11R6 \
25371 \
25372 /usr/Motif-2.1/include \
25373 /usr/Motif-1.2/include \
25374 /usr/include/Motif1.2 \
25375 \
25376 /usr/dt/include \
25377 /usr/openwin/include \
25378 \
25379 /usr/include/Xm \
25380 \
25381 /usr/X11R6/include \
25382 /usr/X11R6.4/include \
25383 \
25384 /usr/include/X11R6 \
25385 \
25386 /usr/X11/include \
25387 /usr/include/X11 \
25388 \
25389 /usr/XFree86/include/X11 \
25390 /usr/pkg/include \
25391 \
25392 /usr/local/X1R5/include \
25393 /usr/local/include/X11R5 \
25394 /usr/X11R5/include \
25395 /usr/include/X11R5 \
25396 \
25397 /usr/local/X11R4/include \
25398 /usr/local/include/X11R4 \
25399 /usr/X11R4/include \
25400 /usr/include/X11R4 \
25401 \
25402 /usr/openwin/share/include"
25403
25404 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25405 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25406
25407 case "${host}" in
25408 *-*-irix6* )
25409 if test "${wx_cv_std_libpath+set}" = set; then
25410 echo $ECHO_N "(cached) $ECHO_C" >&6
25411 else
25412
25413 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25414 for e in a so sl dylib dll.a; do
25415 libc="$d/libc.$e"
25416 if test -f $libc; then
25417 save_LIBS="$LIBS"
25418 LIBS="$libc"
25419 cat >conftest.$ac_ext <<_ACEOF
25420 int main() { return 0; }
25421 _ACEOF
25422 rm -f conftest.$ac_objext conftest$ac_exeext
25423 if { (ac_try="$ac_link"
25424 case "(($ac_try" in
25425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25426 *) ac_try_echo=$ac_try;;
25427 esac
25428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25429 (eval "$ac_link") 2>conftest.er1
25430 ac_status=$?
25431 grep -v '^ *+' conftest.er1 >conftest.err
25432 rm -f conftest.er1
25433 cat conftest.err >&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); } && {
25436 test -z "$ac_c_werror_flag" ||
25437 test ! -s conftest.err
25438 } && test -s conftest$ac_exeext &&
25439 $as_test_x conftest$ac_exeext; then
25440 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25441 else
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.$ac_ext >&5
25444
25445
25446 fi
25447
25448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25449 conftest$ac_exeext conftest.$ac_ext
25450 LIBS="$save_LIBS"
25451 if test "x$wx_cv_std_libpath" != "x"; then
25452 break 2
25453 fi
25454 fi
25455 done
25456 done
25457 if test "x$wx_cv_std_libpath" = "x"; then
25458 wx_cv_std_libpath="lib"
25459 fi
25460
25461
25462 fi
25463
25464 ;;
25465
25466 *-*-solaris2* )
25467 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25468 wx_cv_std_libpath="lib/64"
25469 else
25470 wx_cv_std_libpath="lib"
25471 fi
25472 ;;
25473
25474 *-*-linux* )
25475 if test "$ac_cv_sizeof_void_p" = 8 -a \
25476 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25477 wx_cv_std_libpath="lib64"
25478 else
25479 wx_cv_std_libpath="lib"
25480 fi
25481 ;;
25482
25483 *)
25484 wx_cv_std_libpath="lib";
25485 ;;
25486 esac
25487
25488 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25489 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25490
25491 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25492
25493 if test "$build" != "$host" -a "$GCC" = yes; then
25494 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25495 cross_root=`dirname $cross_root`
25496 cross_root=`dirname $cross_root`
25497
25498 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25499 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25500 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25501
25502 if test -z "$PKG_CONFIG_PATH"; then
25503 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25504 export PKG_CONFIG_PATH
25505 fi
25506
25507 if test -z "$x_includes" -o "$x_includes" = NONE; then
25508
25509 ac_find_includes=
25510 for ac_dir in $SEARCH_INCLUDE /usr/include;
25511 do
25512 if test -f "$ac_dir/X11/Intrinsic.h"; then
25513 ac_find_includes=$ac_dir
25514 break
25515 fi
25516 done
25517
25518 x_includes=$ac_find_includes
25519 fi
25520 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25521
25522 ac_find_libraries=
25523 for ac_dir in $SEARCH_LIB;
25524 do
25525 for ac_extension in a so sl dylib dll.a; do
25526 if test -f "$ac_dir/libXt.$ac_extension"; then
25527 ac_find_libraries=$ac_dir
25528 break 2
25529 fi
25530 done
25531 done
25532
25533 x_libraries=$ac_find_libraries
25534 fi
25535 fi
25536 fi
25537
25538
25539 cat >confcache <<\_ACEOF
25540 # This file is a shell script that caches the results of configure
25541 # tests run on this system so they can be shared between configure
25542 # scripts and configure runs, see configure's option --config-cache.
25543 # It is not useful on other systems. If it contains results you don't
25544 # want to keep, you may remove or edit it.
25545 #
25546 # config.status only pays attention to the cache file if you give it
25547 # the --recheck option to rerun configure.
25548 #
25549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25551 # following values.
25552
25553 _ACEOF
25554
25555 # The following way of writing the cache mishandles newlines in values,
25556 # but we know of no workaround that is simple, portable, and efficient.
25557 # So, we kill variables containing newlines.
25558 # Ultrix sh set writes to stderr and can't be redirected directly,
25559 # and sets the high bit in the cache file unless we assign to the vars.
25560 (
25561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25562 eval ac_val=\$$ac_var
25563 case $ac_val in #(
25564 *${as_nl}*)
25565 case $ac_var in #(
25566 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25567 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25568 esac
25569 case $ac_var in #(
25570 _ | IFS | as_nl) ;; #(
25571 *) $as_unset $ac_var ;;
25572 esac ;;
25573 esac
25574 done
25575
25576 (set) 2>&1 |
25577 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25578 *${as_nl}ac_space=\ *)
25579 # `set' does not quote correctly, so add quotes (double-quote
25580 # substitution turns \\\\ into \\, and sed turns \\ into \).
25581 sed -n \
25582 "s/'/'\\\\''/g;
25583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25584 ;; #(
25585 *)
25586 # `set' quotes correctly as required by POSIX, so do not add quotes.
25587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25588 ;;
25589 esac |
25590 sort
25591 ) |
25592 sed '
25593 /^ac_cv_env_/b end
25594 t clear
25595 :clear
25596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25597 t end
25598 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25599 :end' >>confcache
25600 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25601 if test -w "$cache_file"; then
25602 test "x$cache_file" != "x/dev/null" &&
25603 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25604 echo "$as_me: updating cache $cache_file" >&6;}
25605 cat confcache >$cache_file
25606 else
25607 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25608 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25609 fi
25610 fi
25611 rm -f confcache
25612
25613 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25614 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25615 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25616 if test "${wx_cv_lib_glibc21+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619
25620 cat >conftest.$ac_ext <<_ACEOF
25621 /* confdefs.h. */
25622 _ACEOF
25623 cat confdefs.h >>conftest.$ac_ext
25624 cat >>conftest.$ac_ext <<_ACEOF
25625 /* end confdefs.h. */
25626 #include <features.h>
25627 int
25628 main ()
25629 {
25630
25631 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25632 not glibc 2.1
25633 #endif
25634
25635 ;
25636 return 0;
25637 }
25638 _ACEOF
25639 rm -f conftest.$ac_objext
25640 if { (ac_try="$ac_compile"
25641 case "(($ac_try" in
25642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25644 esac
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_compile") 2>conftest.er1
25647 ac_status=$?
25648 grep -v '^ *+' conftest.er1 >conftest.err
25649 rm -f conftest.er1
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && {
25653 test -z "$ac_c_werror_flag" ||
25654 test ! -s conftest.err
25655 } && test -s conftest.$ac_objext; then
25656
25657 wx_cv_lib_glibc21=yes
25658
25659 else
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25662
25663
25664 wx_cv_lib_glibc21=no
25665
25666
25667 fi
25668
25669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670
25671 fi
25672 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25673 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25674 if test "$wx_cv_lib_glibc21" = "yes"; then
25675 cat >>confdefs.h <<\_ACEOF
25676 #define wxHAVE_GLIBC2 1
25677 _ACEOF
25678
25679 fi
25680 fi
25681
25682 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25683 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25684 cat >>confdefs.h <<\_ACEOF
25685 #define _GNU_SOURCE 1
25686 _ACEOF
25687
25688 fi
25689 fi
25690
25691 have_cos=0
25692 have_floor=0
25693
25694 for ac_func in cos
25695 do
25696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25702 cat >conftest.$ac_ext <<_ACEOF
25703 /* confdefs.h. */
25704 _ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25710 #define $ac_func innocuous_$ac_func
25711
25712 /* System header to define __stub macros and hopefully few prototypes,
25713 which can conflict with char $ac_func (); below.
25714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25715 <limits.h> exists even on freestanding compilers. */
25716
25717 #ifdef __STDC__
25718 # include <limits.h>
25719 #else
25720 # include <assert.h>
25721 #endif
25722
25723 #undef $ac_func
25724
25725 /* Override any GCC internal prototype to avoid an error.
25726 Use char because int might match the return type of a GCC
25727 builtin and then its argument prototype would still apply. */
25728 #ifdef __cplusplus
25729 extern "C"
25730 #endif
25731 char $ac_func ();
25732 /* The GNU C library defines this for functions which it implements
25733 to always fail with ENOSYS. Some functions are actually named
25734 something starting with __ and the normal name is an alias. */
25735 #if defined __stub_$ac_func || defined __stub___$ac_func
25736 choke me
25737 #endif
25738
25739 int
25740 main ()
25741 {
25742 return $ac_func ();
25743 ;
25744 return 0;
25745 }
25746 _ACEOF
25747 rm -f conftest.$ac_objext conftest$ac_exeext
25748 if { (ac_try="$ac_link"
25749 case "(($ac_try" in
25750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25751 *) ac_try_echo=$ac_try;;
25752 esac
25753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25754 (eval "$ac_link") 2>conftest.er1
25755 ac_status=$?
25756 grep -v '^ *+' conftest.er1 >conftest.err
25757 rm -f conftest.er1
25758 cat conftest.err >&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } && {
25761 test -z "$ac_c_werror_flag" ||
25762 test ! -s conftest.err
25763 } && test -s conftest$ac_exeext &&
25764 $as_test_x conftest$ac_exeext; then
25765 eval "$as_ac_var=yes"
25766 else
25767 echo "$as_me: failed program was:" >&5
25768 sed 's/^/| /' conftest.$ac_ext >&5
25769
25770 eval "$as_ac_var=no"
25771 fi
25772
25773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25774 conftest$ac_exeext conftest.$ac_ext
25775 fi
25776 ac_res=`eval echo '${'$as_ac_var'}'`
25777 { echo "$as_me:$LINENO: result: $ac_res" >&5
25778 echo "${ECHO_T}$ac_res" >&6; }
25779 if test `eval echo '${'$as_ac_var'}'` = yes; then
25780 cat >>confdefs.h <<_ACEOF
25781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25782 _ACEOF
25783 have_cos=1
25784 fi
25785 done
25786
25787
25788 for ac_func in floor
25789 do
25790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25795 else
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25804 #define $ac_func innocuous_$ac_func
25805
25806 /* System header to define __stub macros and hopefully few prototypes,
25807 which can conflict with char $ac_func (); below.
25808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25809 <limits.h> exists even on freestanding compilers. */
25810
25811 #ifdef __STDC__
25812 # include <limits.h>
25813 #else
25814 # include <assert.h>
25815 #endif
25816
25817 #undef $ac_func
25818
25819 /* Override any GCC internal prototype to avoid an error.
25820 Use char because int might match the return type of a GCC
25821 builtin and then its argument prototype would still apply. */
25822 #ifdef __cplusplus
25823 extern "C"
25824 #endif
25825 char $ac_func ();
25826 /* The GNU C library defines this for functions which it implements
25827 to always fail with ENOSYS. Some functions are actually named
25828 something starting with __ and the normal name is an alias. */
25829 #if defined __stub_$ac_func || defined __stub___$ac_func
25830 choke me
25831 #endif
25832
25833 int
25834 main ()
25835 {
25836 return $ac_func ();
25837 ;
25838 return 0;
25839 }
25840 _ACEOF
25841 rm -f conftest.$ac_objext conftest$ac_exeext
25842 if { (ac_try="$ac_link"
25843 case "(($ac_try" in
25844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25845 *) ac_try_echo=$ac_try;;
25846 esac
25847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25848 (eval "$ac_link") 2>conftest.er1
25849 ac_status=$?
25850 grep -v '^ *+' conftest.er1 >conftest.err
25851 rm -f conftest.er1
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } && {
25855 test -z "$ac_c_werror_flag" ||
25856 test ! -s conftest.err
25857 } && test -s conftest$ac_exeext &&
25858 $as_test_x conftest$ac_exeext; then
25859 eval "$as_ac_var=yes"
25860 else
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.$ac_ext >&5
25863
25864 eval "$as_ac_var=no"
25865 fi
25866
25867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25868 conftest$ac_exeext conftest.$ac_ext
25869 fi
25870 ac_res=`eval echo '${'$as_ac_var'}'`
25871 { echo "$as_me:$LINENO: result: $ac_res" >&5
25872 echo "${ECHO_T}$ac_res" >&6; }
25873 if test `eval echo '${'$as_ac_var'}'` = yes; then
25874 cat >>confdefs.h <<_ACEOF
25875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25876 _ACEOF
25877 have_floor=1
25878 fi
25879 done
25880
25881 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25882 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25883 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25884 { echo "$as_me:$LINENO: result: yes" >&5
25885 echo "${ECHO_T}yes" >&6; }
25886 else
25887 { echo "$as_me:$LINENO: result: no" >&5
25888 echo "${ECHO_T}no" >&6; }
25889 LIBS="$LIBS -lm"
25890 # use different functions to avoid configure caching
25891 have_sin=0
25892 have_ceil=0
25893
25894 for ac_func in sin
25895 do
25896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25902 cat >conftest.$ac_ext <<_ACEOF
25903 /* confdefs.h. */
25904 _ACEOF
25905 cat confdefs.h >>conftest.$ac_ext
25906 cat >>conftest.$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25910 #define $ac_func innocuous_$ac_func
25911
25912 /* System header to define __stub macros and hopefully few prototypes,
25913 which can conflict with char $ac_func (); below.
25914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25915 <limits.h> exists even on freestanding compilers. */
25916
25917 #ifdef __STDC__
25918 # include <limits.h>
25919 #else
25920 # include <assert.h>
25921 #endif
25922
25923 #undef $ac_func
25924
25925 /* Override any GCC internal prototype to avoid an error.
25926 Use char because int might match the return type of a GCC
25927 builtin and then its argument prototype would still apply. */
25928 #ifdef __cplusplus
25929 extern "C"
25930 #endif
25931 char $ac_func ();
25932 /* The GNU C library defines this for functions which it implements
25933 to always fail with ENOSYS. Some functions are actually named
25934 something starting with __ and the normal name is an alias. */
25935 #if defined __stub_$ac_func || defined __stub___$ac_func
25936 choke me
25937 #endif
25938
25939 int
25940 main ()
25941 {
25942 return $ac_func ();
25943 ;
25944 return 0;
25945 }
25946 _ACEOF
25947 rm -f conftest.$ac_objext conftest$ac_exeext
25948 if { (ac_try="$ac_link"
25949 case "(($ac_try" in
25950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25951 *) ac_try_echo=$ac_try;;
25952 esac
25953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25954 (eval "$ac_link") 2>conftest.er1
25955 ac_status=$?
25956 grep -v '^ *+' conftest.er1 >conftest.err
25957 rm -f conftest.er1
25958 cat conftest.err >&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } && {
25961 test -z "$ac_c_werror_flag" ||
25962 test ! -s conftest.err
25963 } && test -s conftest$ac_exeext &&
25964 $as_test_x conftest$ac_exeext; then
25965 eval "$as_ac_var=yes"
25966 else
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25969
25970 eval "$as_ac_var=no"
25971 fi
25972
25973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25974 conftest$ac_exeext conftest.$ac_ext
25975 fi
25976 ac_res=`eval echo '${'$as_ac_var'}'`
25977 { echo "$as_me:$LINENO: result: $ac_res" >&5
25978 echo "${ECHO_T}$ac_res" >&6; }
25979 if test `eval echo '${'$as_ac_var'}'` = yes; then
25980 cat >>confdefs.h <<_ACEOF
25981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25982 _ACEOF
25983 have_sin=1
25984 fi
25985 done
25986
25987
25988 for ac_func in ceil
25989 do
25990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 else
25996 cat >conftest.$ac_ext <<_ACEOF
25997 /* confdefs.h. */
25998 _ACEOF
25999 cat confdefs.h >>conftest.$ac_ext
26000 cat >>conftest.$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26004 #define $ac_func innocuous_$ac_func
26005
26006 /* System header to define __stub macros and hopefully few prototypes,
26007 which can conflict with char $ac_func (); below.
26008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26009 <limits.h> exists even on freestanding compilers. */
26010
26011 #ifdef __STDC__
26012 # include <limits.h>
26013 #else
26014 # include <assert.h>
26015 #endif
26016
26017 #undef $ac_func
26018
26019 /* Override any GCC internal prototype to avoid an error.
26020 Use char because int might match the return type of a GCC
26021 builtin and then its argument prototype would still apply. */
26022 #ifdef __cplusplus
26023 extern "C"
26024 #endif
26025 char $ac_func ();
26026 /* The GNU C library defines this for functions which it implements
26027 to always fail with ENOSYS. Some functions are actually named
26028 something starting with __ and the normal name is an alias. */
26029 #if defined __stub_$ac_func || defined __stub___$ac_func
26030 choke me
26031 #endif
26032
26033 int
26034 main ()
26035 {
26036 return $ac_func ();
26037 ;
26038 return 0;
26039 }
26040 _ACEOF
26041 rm -f conftest.$ac_objext conftest$ac_exeext
26042 if { (ac_try="$ac_link"
26043 case "(($ac_try" in
26044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26046 esac
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_link") 2>conftest.er1
26049 ac_status=$?
26050 grep -v '^ *+' conftest.er1 >conftest.err
26051 rm -f conftest.er1
26052 cat conftest.err >&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_c_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest$ac_exeext &&
26058 $as_test_x conftest$ac_exeext; then
26059 eval "$as_ac_var=yes"
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064 eval "$as_ac_var=no"
26065 fi
26066
26067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26068 conftest$ac_exeext conftest.$ac_ext
26069 fi
26070 ac_res=`eval echo '${'$as_ac_var'}'`
26071 { echo "$as_me:$LINENO: result: $ac_res" >&5
26072 echo "${ECHO_T}$ac_res" >&6; }
26073 if test `eval echo '${'$as_ac_var'}'` = yes; then
26074 cat >>confdefs.h <<_ACEOF
26075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26076 _ACEOF
26077 have_ceil=1
26078 fi
26079 done
26080
26081 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26082 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26083 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26084 { echo "$as_me:$LINENO: result: yes" >&5
26085 echo "${ECHO_T}yes" >&6; }
26086 else
26087 { echo "$as_me:$LINENO: result: no" >&5
26088 echo "${ECHO_T}no" >&6; }
26089 # not sure we should warn the user, crash, etc.
26090 fi
26091 fi
26092
26093 ac_ext=cpp
26094 ac_cpp='$CXXCPP $CPPFLAGS'
26095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26098
26099 if test "wxUSE_UNICODE" = "yes"; then
26100
26101 for wx_func in wcstoull
26102 do
26103 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26104 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26105 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26107 else
26108
26109 cat >conftest.$ac_ext <<_ACEOF
26110
26111 /* confdefs.h. */
26112 _ACEOF
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26116
26117
26118 $ac_includes_default
26119
26120 int
26121 main ()
26122 {
26123
26124 #ifndef $wx_func
26125 &$wx_func;
26126 #endif
26127
26128
26129 ;
26130 return 0;
26131 }
26132
26133 _ACEOF
26134 rm -f conftest.$ac_objext conftest$ac_exeext
26135 if { (ac_try="$ac_link"
26136 case "(($ac_try" in
26137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26138 *) ac_try_echo=$ac_try;;
26139 esac
26140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26141 (eval "$ac_link") 2>conftest.er1
26142 ac_status=$?
26143 grep -v '^ *+' conftest.er1 >conftest.err
26144 rm -f conftest.er1
26145 cat conftest.err >&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } && {
26148 test -z "$ac_cxx_werror_flag" ||
26149 test ! -s conftest.err
26150 } && test -s conftest$ac_exeext &&
26151 $as_test_x conftest$ac_exeext; then
26152 eval wx_cv_func_$wx_func=yes
26153 else
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26156
26157 eval wx_cv_func_$wx_func=no
26158 fi
26159
26160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26161 conftest$ac_exeext conftest.$ac_ext
26162
26163 fi
26164 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26165 { echo "$as_me:$LINENO: result: $ac_res" >&5
26166 echo "${ECHO_T}$ac_res" >&6; }
26167
26168 if eval test \$wx_cv_func_$wx_func = yes
26169 then
26170 cat >>confdefs.h <<_ACEOF
26171 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26172 _ACEOF
26173
26174
26175 else
26176 :
26177
26178 fi
26179 done
26180
26181 else
26182
26183 for wx_func in strtoull
26184 do
26185 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26187 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 else
26190
26191 cat >conftest.$ac_ext <<_ACEOF
26192
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198
26199
26200 $ac_includes_default
26201
26202 int
26203 main ()
26204 {
26205
26206 #ifndef $wx_func
26207 &$wx_func;
26208 #endif
26209
26210
26211 ;
26212 return 0;
26213 }
26214
26215 _ACEOF
26216 rm -f conftest.$ac_objext conftest$ac_exeext
26217 if { (ac_try="$ac_link"
26218 case "(($ac_try" in
26219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26220 *) ac_try_echo=$ac_try;;
26221 esac
26222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26223 (eval "$ac_link") 2>conftest.er1
26224 ac_status=$?
26225 grep -v '^ *+' conftest.er1 >conftest.err
26226 rm -f conftest.er1
26227 cat conftest.err >&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } && {
26230 test -z "$ac_cxx_werror_flag" ||
26231 test ! -s conftest.err
26232 } && test -s conftest$ac_exeext &&
26233 $as_test_x conftest$ac_exeext; then
26234 eval wx_cv_func_$wx_func=yes
26235 else
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26238
26239 eval wx_cv_func_$wx_func=no
26240 fi
26241
26242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26243 conftest$ac_exeext conftest.$ac_ext
26244
26245 fi
26246 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26247 { echo "$as_me:$LINENO: result: $ac_res" >&5
26248 echo "${ECHO_T}$ac_res" >&6; }
26249
26250 if eval test \$wx_cv_func_$wx_func = yes
26251 then
26252 cat >>confdefs.h <<_ACEOF
26253 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26254 _ACEOF
26255
26256
26257 else
26258 :
26259
26260 fi
26261 done
26262
26263 fi
26264 ac_ext=c
26265 ac_cpp='$CPP $CPPFLAGS'
26266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26269
26270
26271
26272
26273 if test "$wxUSE_REGEX" != "no"; then
26274 cat >>confdefs.h <<\_ACEOF
26275 #define wxUSE_REGEX 1
26276 _ACEOF
26277
26278
26279 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26280 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26281 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26282 wxUSE_REGEX=builtin
26283 fi
26284
26285 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26286 { echo "$as_me:$LINENO: checking for regex.h" >&5
26287 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26288 if test "${ac_cv_header_regex_h+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 else
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297
26298
26299 #include <regex.h>
26300 _ACEOF
26301 rm -f conftest.$ac_objext
26302 if { (ac_try="$ac_compile"
26303 case "(($ac_try" in
26304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26305 *) ac_try_echo=$ac_try;;
26306 esac
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_compile") 2>conftest.er1
26309 ac_status=$?
26310 grep -v '^ *+' conftest.er1 >conftest.err
26311 rm -f conftest.er1
26312 cat conftest.err >&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } && {
26315 test -z "$ac_c_werror_flag" ||
26316 test ! -s conftest.err
26317 } && test -s conftest.$ac_objext; then
26318 ac_cv_header_regex_h=yes
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26322
26323 ac_cv_header_regex_h=no
26324 fi
26325
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327 fi
26328 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26329 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26330 if test $ac_cv_header_regex_h = yes; then
26331
26332
26333 for ac_func in regcomp re_search
26334 do
26335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26340 else
26341 cat >conftest.$ac_ext <<_ACEOF
26342 /* confdefs.h. */
26343 _ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26349 #define $ac_func innocuous_$ac_func
26350
26351 /* System header to define __stub macros and hopefully few prototypes,
26352 which can conflict with char $ac_func (); below.
26353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26354 <limits.h> exists even on freestanding compilers. */
26355
26356 #ifdef __STDC__
26357 # include <limits.h>
26358 #else
26359 # include <assert.h>
26360 #endif
26361
26362 #undef $ac_func
26363
26364 /* Override any GCC internal prototype to avoid an error.
26365 Use char because int might match the return type of a GCC
26366 builtin and then its argument prototype would still apply. */
26367 #ifdef __cplusplus
26368 extern "C"
26369 #endif
26370 char $ac_func ();
26371 /* The GNU C library defines this for functions which it implements
26372 to always fail with ENOSYS. Some functions are actually named
26373 something starting with __ and the normal name is an alias. */
26374 #if defined __stub_$ac_func || defined __stub___$ac_func
26375 choke me
26376 #endif
26377
26378 int
26379 main ()
26380 {
26381 return $ac_func ();
26382 ;
26383 return 0;
26384 }
26385 _ACEOF
26386 rm -f conftest.$ac_objext conftest$ac_exeext
26387 if { (ac_try="$ac_link"
26388 case "(($ac_try" in
26389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26391 esac
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_link") 2>conftest.er1
26394 ac_status=$?
26395 grep -v '^ *+' conftest.er1 >conftest.err
26396 rm -f conftest.er1
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && {
26400 test -z "$ac_c_werror_flag" ||
26401 test ! -s conftest.err
26402 } && test -s conftest$ac_exeext &&
26403 $as_test_x conftest$ac_exeext; then
26404 eval "$as_ac_var=yes"
26405 else
26406 echo "$as_me: failed program was:" >&5
26407 sed 's/^/| /' conftest.$ac_ext >&5
26408
26409 eval "$as_ac_var=no"
26410 fi
26411
26412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26413 conftest$ac_exeext conftest.$ac_ext
26414 fi
26415 ac_res=`eval echo '${'$as_ac_var'}'`
26416 { echo "$as_me:$LINENO: result: $ac_res" >&5
26417 echo "${ECHO_T}$ac_res" >&6; }
26418 if test `eval echo '${'$as_ac_var'}'` = yes; then
26419 cat >>confdefs.h <<_ACEOF
26420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26421 _ACEOF
26422
26423 fi
26424 done
26425
26426 fi
26427
26428
26429
26430 if test "x$ac_cv_func_regcomp" != "xyes"; then
26431 if test "$wxUSE_REGEX" = "sys" ; then
26432 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26433 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26434 { (exit 1); exit 1; }; }
26435 else
26436 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26437 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26438 wxUSE_REGEX=builtin
26439 fi
26440 else
26441 wxUSE_REGEX=sys
26442 cat >>confdefs.h <<\_ACEOF
26443 #define WX_NO_REGEX_ADVANCED 1
26444 _ACEOF
26445
26446 fi
26447 fi
26448 fi
26449
26450
26451 ZLIB_LINK=
26452 if test "$wxUSE_ZLIB" != "no" ; then
26453 cat >>confdefs.h <<\_ACEOF
26454 #define wxUSE_ZLIB 1
26455 _ACEOF
26456
26457
26458 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26459 if test "$USE_DARWIN" = 1; then
26460 system_zlib_h_ok="yes"
26461 else
26462 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26463 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26464 if test "${ac_cv_header_zlib_h+set}" = set; then
26465 echo $ECHO_N "(cached) $ECHO_C" >&6
26466 else
26467 if test "$cross_compiling" = yes; then
26468 unset ac_cv_header_zlib_h
26469
26470 else
26471 cat >conftest.$ac_ext <<_ACEOF
26472 /* confdefs.h. */
26473 _ACEOF
26474 cat confdefs.h >>conftest.$ac_ext
26475 cat >>conftest.$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26477
26478 #include <zlib.h>
26479 #include <stdio.h>
26480
26481 int main()
26482 {
26483 FILE *f=fopen("conftestval", "w");
26484 if (!f) exit(1);
26485 fprintf(f, "%s",
26486 ZLIB_VERSION[0] == '1' &&
26487 (ZLIB_VERSION[2] > '1' ||
26488 (ZLIB_VERSION[2] == '1' &&
26489 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26490 exit(0);
26491 }
26492
26493 _ACEOF
26494 rm -f conftest$ac_exeext
26495 if { (ac_try="$ac_link"
26496 case "(($ac_try" in
26497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26498 *) ac_try_echo=$ac_try;;
26499 esac
26500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26501 (eval "$ac_link") 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26505 { (case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26508 esac
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_try") 2>&5
26511 ac_status=$?
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); }; }; then
26514 ac_cv_header_zlib_h=`cat conftestval`
26515 else
26516 echo "$as_me: program exited with status $ac_status" >&5
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26519
26520 ( exit $ac_status )
26521 ac_cv_header_zlib_h=no
26522 fi
26523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26524 fi
26525
26526
26527
26528 fi
26529 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26531 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26532 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26533 if test "${ac_cv_header_zlib_h+set}" = set; then
26534 echo $ECHO_N "(cached) $ECHO_C" >&6
26535 else
26536 cat >conftest.$ac_ext <<_ACEOF
26537 /* confdefs.h. */
26538 _ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26542
26543
26544 #include <zlib.h>
26545 _ACEOF
26546 rm -f conftest.$ac_objext
26547 if { (ac_try="$ac_compile"
26548 case "(($ac_try" in
26549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26550 *) ac_try_echo=$ac_try;;
26551 esac
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_compile") 2>conftest.er1
26554 ac_status=$?
26555 grep -v '^ *+' conftest.er1 >conftest.err
26556 rm -f conftest.er1
26557 cat conftest.err >&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_c_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest.$ac_objext; then
26563 ac_cv_header_zlib_h=yes
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26567
26568 ac_cv_header_zlib_h=no
26569 fi
26570
26571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26572 fi
26573 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26574 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26575
26576
26577
26578 system_zlib_h_ok=$ac_cv_header_zlib_h
26579 fi
26580
26581 if test "$system_zlib_h_ok" = "yes"; then
26582 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26583 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26584 if test "${ac_cv_lib_z_deflate+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26586 else
26587 ac_check_lib_save_LIBS=$LIBS
26588 LIBS="-lz $LIBS"
26589 cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h. */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26595
26596 /* Override any GCC internal prototype to avoid an error.
26597 Use char because int might match the return type of a GCC
26598 builtin and then its argument prototype would still apply. */
26599 #ifdef __cplusplus
26600 extern "C"
26601 #endif
26602 char deflate ();
26603 int
26604 main ()
26605 {
26606 return deflate ();
26607 ;
26608 return 0;
26609 }
26610 _ACEOF
26611 rm -f conftest.$ac_objext conftest$ac_exeext
26612 if { (ac_try="$ac_link"
26613 case "(($ac_try" in
26614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26616 esac
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_link") 2>conftest.er1
26619 ac_status=$?
26620 grep -v '^ *+' conftest.er1 >conftest.err
26621 rm -f conftest.er1
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } && {
26625 test -z "$ac_c_werror_flag" ||
26626 test ! -s conftest.err
26627 } && test -s conftest$ac_exeext &&
26628 $as_test_x conftest$ac_exeext; then
26629 ac_cv_lib_z_deflate=yes
26630 else
26631 echo "$as_me: failed program was:" >&5
26632 sed 's/^/| /' conftest.$ac_ext >&5
26633
26634 ac_cv_lib_z_deflate=no
26635 fi
26636
26637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26638 conftest$ac_exeext conftest.$ac_ext
26639 LIBS=$ac_check_lib_save_LIBS
26640 fi
26641 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26642 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26643 if test $ac_cv_lib_z_deflate = yes; then
26644 ZLIB_LINK=" -lz"
26645 fi
26646
26647 fi
26648
26649 if test "x$ZLIB_LINK" = "x" ; then
26650 if test "$wxUSE_ZLIB" = "sys" ; then
26651 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26652 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26653 { (exit 1); exit 1; }; }
26654 else
26655 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26656 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26657 wxUSE_ZLIB=builtin
26658 fi
26659 else
26660 wxUSE_ZLIB=sys
26661 fi
26662 fi
26663 fi
26664
26665
26666 PNG_LINK=
26667 if test "$wxUSE_LIBPNG" != "no" ; then
26668 cat >>confdefs.h <<\_ACEOF
26669 #define wxUSE_LIBPNG 1
26670 _ACEOF
26671
26672
26673 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26674 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26675 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26676 wxUSE_LIBPNG=sys
26677 fi
26678
26679 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26680 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26681 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26682 wxUSE_LIBPNG=builtin
26683 fi
26684
26685 if test "$wxUSE_MGL" != 1 ; then
26686 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26687 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26688 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26689 if test "${ac_cv_header_png_h+set}" = set; then
26690 echo $ECHO_N "(cached) $ECHO_C" >&6
26691 else
26692 if test "$cross_compiling" = yes; then
26693 unset ac_cv_header_png_h
26694
26695 else
26696 cat >conftest.$ac_ext <<_ACEOF
26697 /* confdefs.h. */
26698 _ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702
26703 #include <png.h>
26704 #include <stdio.h>
26705
26706 int main()
26707 {
26708 FILE *f=fopen("conftestval", "w");
26709 if (!f) exit(1);
26710 fprintf(f, "%s",
26711 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26712 exit(0);
26713 }
26714
26715 _ACEOF
26716 rm -f conftest$ac_exeext
26717 if { (ac_try="$ac_link"
26718 case "(($ac_try" in
26719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26720 *) ac_try_echo=$ac_try;;
26721 esac
26722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26723 (eval "$ac_link") 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26727 { (case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26730 esac
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_try") 2>&5
26733 ac_status=$?
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); }; }; then
26736 ac_cv_header_png_h=`cat conftestval`
26737 else
26738 echo "$as_me: program exited with status $ac_status" >&5
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26741
26742 ( exit $ac_status )
26743 ac_cv_header_png_h=no
26744 fi
26745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26746 fi
26747
26748
26749
26750 fi
26751 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26752 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26753 { echo "$as_me:$LINENO: checking for png.h" >&5
26754 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26755 if test "${ac_cv_header_png_h+set}" = set; then
26756 echo $ECHO_N "(cached) $ECHO_C" >&6
26757 else
26758 cat >conftest.$ac_ext <<_ACEOF
26759 /* confdefs.h. */
26760 _ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26764
26765
26766 #include <png.h>
26767 _ACEOF
26768 rm -f conftest.$ac_objext
26769 if { (ac_try="$ac_compile"
26770 case "(($ac_try" in
26771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26772 *) ac_try_echo=$ac_try;;
26773 esac
26774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26775 (eval "$ac_compile") 2>conftest.er1
26776 ac_status=$?
26777 grep -v '^ *+' conftest.er1 >conftest.err
26778 rm -f conftest.er1
26779 cat conftest.err >&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } && {
26782 test -z "$ac_c_werror_flag" ||
26783 test ! -s conftest.err
26784 } && test -s conftest.$ac_objext; then
26785 ac_cv_header_png_h=yes
26786 else
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26789
26790 ac_cv_header_png_h=no
26791 fi
26792
26793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26794 fi
26795 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26796 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26797
26798
26799
26800 if test "$ac_cv_header_png_h" = "yes"; then
26801 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26802 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26803 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 else
26806 ac_check_lib_save_LIBS=$LIBS
26807 LIBS="-lpng -lz -lm $LIBS"
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814
26815 /* Override any GCC internal prototype to avoid an error.
26816 Use char because int might match the return type of a GCC
26817 builtin and then its argument prototype would still apply. */
26818 #ifdef __cplusplus
26819 extern "C"
26820 #endif
26821 char png_check_sig ();
26822 int
26823 main ()
26824 {
26825 return png_check_sig ();
26826 ;
26827 return 0;
26828 }
26829 _ACEOF
26830 rm -f conftest.$ac_objext conftest$ac_exeext
26831 if { (ac_try="$ac_link"
26832 case "(($ac_try" in
26833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26835 esac
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_link") 2>conftest.er1
26838 ac_status=$?
26839 grep -v '^ *+' conftest.er1 >conftest.err
26840 rm -f conftest.er1
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_c_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest$ac_exeext &&
26847 $as_test_x conftest$ac_exeext; then
26848 ac_cv_lib_png_png_check_sig=yes
26849 else
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26852
26853 ac_cv_lib_png_png_check_sig=no
26854 fi
26855
26856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26857 conftest$ac_exeext conftest.$ac_ext
26858 LIBS=$ac_check_lib_save_LIBS
26859 fi
26860 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26861 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26862 if test $ac_cv_lib_png_png_check_sig = yes; then
26863 PNG_LINK=" -lpng -lz"
26864 fi
26865
26866 fi
26867
26868 if test "x$PNG_LINK" = "x" ; then
26869 if test "$wxUSE_LIBPNG" = "sys" ; then
26870 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26871 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26872 { (exit 1); exit 1; }; }
26873 else
26874 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26875 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26876 wxUSE_LIBPNG=builtin
26877 fi
26878 else
26879 wxUSE_LIBPNG=sys
26880 fi
26881 fi
26882 fi
26883 fi
26884
26885
26886 JPEG_LINK=
26887 if test "$wxUSE_LIBJPEG" != "no" ; then
26888 cat >>confdefs.h <<\_ACEOF
26889 #define wxUSE_LIBJPEG 1
26890 _ACEOF
26891
26892
26893 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26894 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26895 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26896 wxUSE_LIBJPEG=sys
26897 fi
26898
26899 if test "$wxUSE_MGL" != 1 ; then
26900 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26901 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26902 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26903 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 else
26906 cat >conftest.$ac_ext <<_ACEOF
26907 /* confdefs.h. */
26908 _ACEOF
26909 cat confdefs.h >>conftest.$ac_ext
26910 cat >>conftest.$ac_ext <<_ACEOF
26911 /* end confdefs.h. */
26912
26913 #undef HAVE_STDLIB_H
26914 #include <stdio.h>
26915 #include <jpeglib.h>
26916
26917 int
26918 main ()
26919 {
26920
26921
26922 ;
26923 return 0;
26924 }
26925 _ACEOF
26926 rm -f conftest.$ac_objext
26927 if { (ac_try="$ac_compile"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26931 esac
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_compile") 2>conftest.er1
26934 ac_status=$?
26935 grep -v '^ *+' conftest.er1 >conftest.err
26936 rm -f conftest.er1
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest.$ac_objext; then
26943 ac_cv_header_jpeglib_h=yes
26944 else
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.$ac_ext >&5
26947
26948 ac_cv_header_jpeglib_h=no
26949
26950 fi
26951
26952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26953
26954 fi
26955
26956 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26957 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26958
26959 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26960 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26961 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26962 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26964 else
26965 ac_check_lib_save_LIBS=$LIBS
26966 LIBS="-ljpeg $LIBS"
26967 cat >conftest.$ac_ext <<_ACEOF
26968 /* confdefs.h. */
26969 _ACEOF
26970 cat confdefs.h >>conftest.$ac_ext
26971 cat >>conftest.$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973
26974 /* Override any GCC internal prototype to avoid an error.
26975 Use char because int might match the return type of a GCC
26976 builtin and then its argument prototype would still apply. */
26977 #ifdef __cplusplus
26978 extern "C"
26979 #endif
26980 char jpeg_read_header ();
26981 int
26982 main ()
26983 {
26984 return jpeg_read_header ();
26985 ;
26986 return 0;
26987 }
26988 _ACEOF
26989 rm -f conftest.$ac_objext conftest$ac_exeext
26990 if { (ac_try="$ac_link"
26991 case "(($ac_try" in
26992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26993 *) ac_try_echo=$ac_try;;
26994 esac
26995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26996 (eval "$ac_link") 2>conftest.er1
26997 ac_status=$?
26998 grep -v '^ *+' conftest.er1 >conftest.err
26999 rm -f conftest.er1
27000 cat conftest.err >&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } && {
27003 test -z "$ac_c_werror_flag" ||
27004 test ! -s conftest.err
27005 } && test -s conftest$ac_exeext &&
27006 $as_test_x conftest$ac_exeext; then
27007 ac_cv_lib_jpeg_jpeg_read_header=yes
27008 else
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27011
27012 ac_cv_lib_jpeg_jpeg_read_header=no
27013 fi
27014
27015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27016 conftest$ac_exeext conftest.$ac_ext
27017 LIBS=$ac_check_lib_save_LIBS
27018 fi
27019 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27020 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27021 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27022 JPEG_LINK=" -ljpeg"
27023 fi
27024
27025 fi
27026
27027 if test "x$JPEG_LINK" = "x" ; then
27028 if test "$wxUSE_LIBJPEG" = "sys" ; then
27029 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27030 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27031 { (exit 1); exit 1; }; }
27032 else
27033 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27034 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27035 wxUSE_LIBJPEG=builtin
27036 fi
27037 else
27038 wxUSE_LIBJPEG=sys
27039
27040 if test "$wxUSE_MSW" = 1; then
27041 { echo "$as_me:$LINENO: checking for boolean" >&5
27042 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27043 if test "${ac_cv_type_boolean+set}" = set; then
27044 echo $ECHO_N "(cached) $ECHO_C" >&6
27045 else
27046 cat >conftest.$ac_ext <<_ACEOF
27047 /* confdefs.h. */
27048 _ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052 #include <windows.h>
27053
27054 typedef boolean ac__type_new_;
27055 int
27056 main ()
27057 {
27058 if ((ac__type_new_ *) 0)
27059 return 0;
27060 if (sizeof (ac__type_new_))
27061 return 0;
27062 ;
27063 return 0;
27064 }
27065 _ACEOF
27066 rm -f conftest.$ac_objext
27067 if { (ac_try="$ac_compile"
27068 case "(($ac_try" in
27069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27070 *) ac_try_echo=$ac_try;;
27071 esac
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_compile") 2>conftest.er1
27074 ac_status=$?
27075 grep -v '^ *+' conftest.er1 >conftest.err
27076 rm -f conftest.er1
27077 cat conftest.err >&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } && {
27080 test -z "$ac_c_werror_flag" ||
27081 test ! -s conftest.err
27082 } && test -s conftest.$ac_objext; then
27083 ac_cv_type_boolean=yes
27084 else
27085 echo "$as_me: failed program was:" >&5
27086 sed 's/^/| /' conftest.$ac_ext >&5
27087
27088 ac_cv_type_boolean=no
27089 fi
27090
27091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27092 fi
27093 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27094 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27095 if test $ac_cv_type_boolean = yes; then
27096
27097 cat >>confdefs.h <<_ACEOF
27098 #define HAVE_BOOLEAN 1
27099 _ACEOF
27100
27101
27102 { echo "$as_me:$LINENO: checking for boolean" >&5
27103 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27104 if test "${ac_cv_type_boolean+set}" = set; then
27105 echo $ECHO_N "(cached) $ECHO_C" >&6
27106 else
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h. */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113
27114 #undef HAVE_BOOLEAN
27115 #include <stdio.h>
27116 #include <jpeglib.h>
27117
27118
27119 typedef boolean ac__type_new_;
27120 int
27121 main ()
27122 {
27123 if ((ac__type_new_ *) 0)
27124 return 0;
27125 if (sizeof (ac__type_new_))
27126 return 0;
27127 ;
27128 return 0;
27129 }
27130 _ACEOF
27131 rm -f conftest.$ac_objext
27132 if { (ac_try="$ac_compile"
27133 case "(($ac_try" in
27134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27135 *) ac_try_echo=$ac_try;;
27136 esac
27137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27138 (eval "$ac_compile") 2>conftest.er1
27139 ac_status=$?
27140 grep -v '^ *+' conftest.er1 >conftest.err
27141 rm -f conftest.er1
27142 cat conftest.err >&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); } && {
27145 test -z "$ac_c_werror_flag" ||
27146 test ! -s conftest.err
27147 } && test -s conftest.$ac_objext; then
27148 ac_cv_type_boolean=yes
27149 else
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27152
27153 ac_cv_type_boolean=no
27154 fi
27155
27156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27157 fi
27158 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27159 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27160
27161 # The cast to long int works around a bug in the HP C Compiler
27162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27163 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27164 # This bug is HP SR number 8606223364.
27165 { echo "$as_me:$LINENO: checking size of boolean" >&5
27166 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27167 if test "${ac_cv_sizeof_boolean+set}" = set; then
27168 echo $ECHO_N "(cached) $ECHO_C" >&6
27169 else
27170 if test "$cross_compiling" = yes; then
27171 # Depending upon the size, compute the lo and hi bounds.
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178
27179 #undef HAVE_BOOLEAN
27180 #include <stdio.h>
27181 #include <jpeglib.h>
27182
27183
27184 typedef boolean ac__type_sizeof_;
27185 int
27186 main ()
27187 {
27188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27189 test_array [0] = 0
27190
27191 ;
27192 return 0;
27193 }
27194 _ACEOF
27195 rm -f conftest.$ac_objext
27196 if { (ac_try="$ac_compile"
27197 case "(($ac_try" in
27198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27200 esac
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_compile") 2>conftest.er1
27203 ac_status=$?
27204 grep -v '^ *+' conftest.er1 >conftest.err
27205 rm -f conftest.er1
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } && {
27209 test -z "$ac_c_werror_flag" ||
27210 test ! -s conftest.err
27211 } && test -s conftest.$ac_objext; then
27212 ac_lo=0 ac_mid=0
27213 while :; do
27214 cat >conftest.$ac_ext <<_ACEOF
27215 /* confdefs.h. */
27216 _ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220
27221 #undef HAVE_BOOLEAN
27222 #include <stdio.h>
27223 #include <jpeglib.h>
27224
27225
27226 typedef boolean ac__type_sizeof_;
27227 int
27228 main ()
27229 {
27230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27231 test_array [0] = 0
27232
27233 ;
27234 return 0;
27235 }
27236 _ACEOF
27237 rm -f conftest.$ac_objext
27238 if { (ac_try="$ac_compile"
27239 case "(($ac_try" in
27240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27241 *) ac_try_echo=$ac_try;;
27242 esac
27243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27244 (eval "$ac_compile") 2>conftest.er1
27245 ac_status=$?
27246 grep -v '^ *+' conftest.er1 >conftest.err
27247 rm -f conftest.er1
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } && {
27251 test -z "$ac_c_werror_flag" ||
27252 test ! -s conftest.err
27253 } && test -s conftest.$ac_objext; then
27254 ac_hi=$ac_mid; break
27255 else
27256 echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.$ac_ext >&5
27258
27259 ac_lo=`expr $ac_mid + 1`
27260 if test $ac_lo -le $ac_mid; then
27261 ac_lo= ac_hi=
27262 break
27263 fi
27264 ac_mid=`expr 2 '*' $ac_mid + 1`
27265 fi
27266
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 done
27269 else
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27272
27273 cat >conftest.$ac_ext <<_ACEOF
27274 /* confdefs.h. */
27275 _ACEOF
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279
27280 #undef HAVE_BOOLEAN
27281 #include <stdio.h>
27282 #include <jpeglib.h>
27283
27284
27285 typedef boolean ac__type_sizeof_;
27286 int
27287 main ()
27288 {
27289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27290 test_array [0] = 0
27291
27292 ;
27293 return 0;
27294 }
27295 _ACEOF
27296 rm -f conftest.$ac_objext
27297 if { (ac_try="$ac_compile"
27298 case "(($ac_try" in
27299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27300 *) ac_try_echo=$ac_try;;
27301 esac
27302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27303 (eval "$ac_compile") 2>conftest.er1
27304 ac_status=$?
27305 grep -v '^ *+' conftest.er1 >conftest.err
27306 rm -f conftest.er1
27307 cat conftest.err >&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } && {
27310 test -z "$ac_c_werror_flag" ||
27311 test ! -s conftest.err
27312 } && test -s conftest.$ac_objext; then
27313 ac_hi=-1 ac_mid=-1
27314 while :; do
27315 cat >conftest.$ac_ext <<_ACEOF
27316 /* confdefs.h. */
27317 _ACEOF
27318 cat confdefs.h >>conftest.$ac_ext
27319 cat >>conftest.$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27321
27322 #undef HAVE_BOOLEAN
27323 #include <stdio.h>
27324 #include <jpeglib.h>
27325
27326
27327 typedef boolean ac__type_sizeof_;
27328 int
27329 main ()
27330 {
27331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27332 test_array [0] = 0
27333
27334 ;
27335 return 0;
27336 }
27337 _ACEOF
27338 rm -f conftest.$ac_objext
27339 if { (ac_try="$ac_compile"
27340 case "(($ac_try" in
27341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27342 *) ac_try_echo=$ac_try;;
27343 esac
27344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27345 (eval "$ac_compile") 2>conftest.er1
27346 ac_status=$?
27347 grep -v '^ *+' conftest.er1 >conftest.err
27348 rm -f conftest.er1
27349 cat conftest.err >&5
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); } && {
27352 test -z "$ac_c_werror_flag" ||
27353 test ! -s conftest.err
27354 } && test -s conftest.$ac_objext; then
27355 ac_lo=$ac_mid; break
27356 else
27357 echo "$as_me: failed program was:" >&5
27358 sed 's/^/| /' conftest.$ac_ext >&5
27359
27360 ac_hi=`expr '(' $ac_mid ')' - 1`
27361 if test $ac_mid -le $ac_hi; then
27362 ac_lo= ac_hi=
27363 break
27364 fi
27365 ac_mid=`expr 2 '*' $ac_mid`
27366 fi
27367
27368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27369 done
27370 else
27371 echo "$as_me: failed program was:" >&5
27372 sed 's/^/| /' conftest.$ac_ext >&5
27373
27374 ac_lo= ac_hi=
27375 fi
27376
27377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27378 fi
27379
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381 # Binary search between lo and hi bounds.
27382 while test "x$ac_lo" != "x$ac_hi"; do
27383 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27384 cat >conftest.$ac_ext <<_ACEOF
27385 /* confdefs.h. */
27386 _ACEOF
27387 cat confdefs.h >>conftest.$ac_ext
27388 cat >>conftest.$ac_ext <<_ACEOF
27389 /* end confdefs.h. */
27390
27391 #undef HAVE_BOOLEAN
27392 #include <stdio.h>
27393 #include <jpeglib.h>
27394
27395
27396 typedef boolean ac__type_sizeof_;
27397 int
27398 main ()
27399 {
27400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27401 test_array [0] = 0
27402
27403 ;
27404 return 0;
27405 }
27406 _ACEOF
27407 rm -f conftest.$ac_objext
27408 if { (ac_try="$ac_compile"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27412 esac
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_compile") 2>conftest.er1
27415 ac_status=$?
27416 grep -v '^ *+' conftest.er1 >conftest.err
27417 rm -f conftest.er1
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest.$ac_objext; then
27424 ac_hi=$ac_mid
27425 else
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.$ac_ext >&5
27428
27429 ac_lo=`expr '(' $ac_mid ')' + 1`
27430 fi
27431
27432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433 done
27434 case $ac_lo in
27435 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27436 '') if test "$ac_cv_type_boolean" = yes; then
27437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27438 See \`config.log' for more details." >&5
27439 echo "$as_me: error: cannot compute sizeof (boolean)
27440 See \`config.log' for more details." >&2;}
27441 { (exit 77); exit 77; }; }
27442 else
27443 ac_cv_sizeof_boolean=0
27444 fi ;;
27445 esac
27446 else
27447 cat >conftest.$ac_ext <<_ACEOF
27448 /* confdefs.h. */
27449 _ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27453
27454 #undef HAVE_BOOLEAN
27455 #include <stdio.h>
27456 #include <jpeglib.h>
27457
27458
27459 typedef boolean ac__type_sizeof_;
27460 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27461 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27462 #include <stdio.h>
27463 #include <stdlib.h>
27464 int
27465 main ()
27466 {
27467
27468 FILE *f = fopen ("conftest.val", "w");
27469 if (! f)
27470 return 1;
27471 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27472 {
27473 long int i = longval ();
27474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27475 return 1;
27476 fprintf (f, "%ld\n", i);
27477 }
27478 else
27479 {
27480 unsigned long int i = ulongval ();
27481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27482 return 1;
27483 fprintf (f, "%lu\n", i);
27484 }
27485 return ferror (f) || fclose (f) != 0;
27486
27487 ;
27488 return 0;
27489 }
27490 _ACEOF
27491 rm -f conftest$ac_exeext
27492 if { (ac_try="$ac_link"
27493 case "(($ac_try" in
27494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27495 *) ac_try_echo=$ac_try;;
27496 esac
27497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27498 (eval "$ac_link") 2>&5
27499 ac_status=$?
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27502 { (case "(($ac_try" in
27503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27504 *) ac_try_echo=$ac_try;;
27505 esac
27506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27507 (eval "$ac_try") 2>&5
27508 ac_status=$?
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; }; then
27511 ac_cv_sizeof_boolean=`cat conftest.val`
27512 else
27513 echo "$as_me: program exited with status $ac_status" >&5
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.$ac_ext >&5
27516
27517 ( exit $ac_status )
27518 if test "$ac_cv_type_boolean" = yes; then
27519 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27520 See \`config.log' for more details." >&5
27521 echo "$as_me: error: cannot compute sizeof (boolean)
27522 See \`config.log' for more details." >&2;}
27523 { (exit 77); exit 77; }; }
27524 else
27525 ac_cv_sizeof_boolean=0
27526 fi
27527 fi
27528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27529 fi
27530 rm -f conftest.val
27531 fi
27532 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27533 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27534
27535
27536
27537 cat >>confdefs.h <<_ACEOF
27538 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27539 _ACEOF
27540
27541
27542 cat >>confdefs.h <<_ACEOF
27543 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27544 _ACEOF
27545
27546
27547 fi
27548
27549 fi
27550 fi
27551 fi
27552 fi
27553 fi
27554
27555
27556 TIFF_LINK=
27557 TIFF_PREREQ_LINKS=-lm
27558 if test "$wxUSE_LIBTIFF" != "no" ; then
27559 cat >>confdefs.h <<\_ACEOF
27560 #define wxUSE_LIBTIFF 1
27561 _ACEOF
27562
27563
27564 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27565 if test "$wxUSE_LIBJPEG" = "sys"; then
27566 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27567 fi
27568 if test "$wxUSE_ZLIB" = "sys"; then
27569 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27570 fi
27571 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27572 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27573 if test "${ac_cv_header_tiffio_h+set}" = set; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 else
27576 cat >conftest.$ac_ext <<_ACEOF
27577 /* confdefs.h. */
27578 _ACEOF
27579 cat confdefs.h >>conftest.$ac_ext
27580 cat >>conftest.$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27582
27583
27584
27585 #include <tiffio.h>
27586 _ACEOF
27587 rm -f conftest.$ac_objext
27588 if { (ac_try="$ac_compile"
27589 case "(($ac_try" in
27590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 *) ac_try_echo=$ac_try;;
27592 esac
27593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27594 (eval "$ac_compile") 2>conftest.er1
27595 ac_status=$?
27596 grep -v '^ *+' conftest.er1 >conftest.err
27597 rm -f conftest.er1
27598 cat conftest.err >&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } && {
27601 test -z "$ac_c_werror_flag" ||
27602 test ! -s conftest.err
27603 } && test -s conftest.$ac_objext; then
27604 ac_cv_header_tiffio_h=yes
27605 else
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27608
27609 ac_cv_header_tiffio_h=no
27610 fi
27611
27612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613 fi
27614 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27615 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27616 if test $ac_cv_header_tiffio_h = yes; then
27617
27618 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27619 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27620 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27623 ac_check_lib_save_LIBS=$LIBS
27624 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27625 cat >conftest.$ac_ext <<_ACEOF
27626 /* confdefs.h. */
27627 _ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631
27632 /* Override any GCC internal prototype to avoid an error.
27633 Use char because int might match the return type of a GCC
27634 builtin and then its argument prototype would still apply. */
27635 #ifdef __cplusplus
27636 extern "C"
27637 #endif
27638 char TIFFError ();
27639 int
27640 main ()
27641 {
27642 return TIFFError ();
27643 ;
27644 return 0;
27645 }
27646 _ACEOF
27647 rm -f conftest.$ac_objext conftest$ac_exeext
27648 if { (ac_try="$ac_link"
27649 case "(($ac_try" in
27650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27651 *) ac_try_echo=$ac_try;;
27652 esac
27653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27654 (eval "$ac_link") 2>conftest.er1
27655 ac_status=$?
27656 grep -v '^ *+' conftest.er1 >conftest.err
27657 rm -f conftest.er1
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); } && {
27661 test -z "$ac_c_werror_flag" ||
27662 test ! -s conftest.err
27663 } && test -s conftest$ac_exeext &&
27664 $as_test_x conftest$ac_exeext; then
27665 ac_cv_lib_tiff_TIFFError=yes
27666 else
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27669
27670 ac_cv_lib_tiff_TIFFError=no
27671 fi
27672
27673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27674 conftest$ac_exeext conftest.$ac_ext
27675 LIBS=$ac_check_lib_save_LIBS
27676 fi
27677 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27678 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27679 if test $ac_cv_lib_tiff_TIFFError = yes; then
27680 TIFF_LINK=" -ltiff"
27681 fi
27682
27683
27684 fi
27685
27686
27687
27688 if test "x$TIFF_LINK" = "x" ; then
27689 if test "$wxUSE_LIBTIFF" = "sys" ; then
27690 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27691 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27692 { (exit 1); exit 1; }; }
27693 else
27694 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27695 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27696 wxUSE_LIBTIFF=builtin
27697 fi
27698 else
27699 wxUSE_LIBTIFF=sys
27700 fi
27701 fi
27702 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27703 if test "$wxUSE_LIBJPEG" = "no"; then
27704 ac_configure_args="$ac_configure_args --disable-jpeg"
27705 fi
27706 subdirs="$subdirs src/tiff"
27707
27708 fi
27709 fi
27710
27711
27712 if test "$wxUSE_WCHAR_T" != "yes"; then
27713 if test "$wxUSE_EXPAT" != "no"; then
27714 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27715 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27716 wxUSE_EXPAT=no
27717 fi
27718 if test "$wxUSE_XML" != "no"; then
27719 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27720 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27721 wxUSE_XML=no
27722 fi
27723 fi
27724
27725 if test "$wxUSE_EXPAT" != "no"; then
27726 wxUSE_XML=yes
27727 cat >>confdefs.h <<\_ACEOF
27728 #define wxUSE_EXPAT 1
27729 _ACEOF
27730
27731 cat >>confdefs.h <<\_ACEOF
27732 #define wxUSE_XML 1
27733 _ACEOF
27734
27735
27736 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27737 { echo "$as_me:$LINENO: checking for expat.h" >&5
27738 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27739 if test "${ac_cv_header_expat_h+set}" = set; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27741 else
27742 cat >conftest.$ac_ext <<_ACEOF
27743 /* confdefs.h. */
27744 _ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748
27749
27750 #include <expat.h>
27751 _ACEOF
27752 rm -f conftest.$ac_objext
27753 if { (ac_try="$ac_compile"
27754 case "(($ac_try" in
27755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27756 *) ac_try_echo=$ac_try;;
27757 esac
27758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27759 (eval "$ac_compile") 2>conftest.er1
27760 ac_status=$?
27761 grep -v '^ *+' conftest.er1 >conftest.err
27762 rm -f conftest.er1
27763 cat conftest.err >&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); } && {
27766 test -z "$ac_c_werror_flag" ||
27767 test ! -s conftest.err
27768 } && test -s conftest.$ac_objext; then
27769 ac_cv_header_expat_h=yes
27770 else
27771 echo "$as_me: failed program was:" >&5
27772 sed 's/^/| /' conftest.$ac_ext >&5
27773
27774 ac_cv_header_expat_h=no
27775 fi
27776
27777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27778 fi
27779 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27780 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27781 if test $ac_cv_header_expat_h = yes; then
27782 found_expat_h=1
27783 fi
27784
27785
27786 if test "x$found_expat_h" = "x1"; then
27787 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27788 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27789 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27790 echo $ECHO_N "(cached) $ECHO_C" >&6
27791 else
27792
27793 ac_ext=cpp
27794 ac_cpp='$CXXCPP $CPPFLAGS'
27795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27798
27799 cat >conftest.$ac_ext <<_ACEOF
27800 /* confdefs.h. */
27801 _ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805 #include <expat.h>
27806 int
27807 main ()
27808 {
27809
27810 ;
27811 return 0;
27812 }
27813 _ACEOF
27814 rm -f conftest.$ac_objext
27815 if { (ac_try="$ac_compile"
27816 case "(($ac_try" in
27817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27819 esac
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_compile") 2>conftest.er1
27822 ac_status=$?
27823 grep -v '^ *+' conftest.er1 >conftest.err
27824 rm -f conftest.er1
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } && {
27828 test -z "$ac_cxx_werror_flag" ||
27829 test ! -s conftest.err
27830 } && test -s conftest.$ac_objext; then
27831 wx_cv_expat_is_not_broken=yes
27832 else
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.$ac_ext >&5
27835
27836 wx_cv_expat_is_not_broken=no
27837
27838 fi
27839
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841 ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846
27847
27848
27849 fi
27850 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27851 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27852 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27853 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27854 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27855 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27856 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 else
27858 ac_check_lib_save_LIBS=$LIBS
27859 LIBS="-lexpat $LIBS"
27860 cat >conftest.$ac_ext <<_ACEOF
27861 /* confdefs.h. */
27862 _ACEOF
27863 cat confdefs.h >>conftest.$ac_ext
27864 cat >>conftest.$ac_ext <<_ACEOF
27865 /* end confdefs.h. */
27866
27867 /* Override any GCC internal prototype to avoid an error.
27868 Use char because int might match the return type of a GCC
27869 builtin and then its argument prototype would still apply. */
27870 #ifdef __cplusplus
27871 extern "C"
27872 #endif
27873 char XML_ParserCreate ();
27874 int
27875 main ()
27876 {
27877 return XML_ParserCreate ();
27878 ;
27879 return 0;
27880 }
27881 _ACEOF
27882 rm -f conftest.$ac_objext conftest$ac_exeext
27883 if { (ac_try="$ac_link"
27884 case "(($ac_try" in
27885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27886 *) ac_try_echo=$ac_try;;
27887 esac
27888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27889 (eval "$ac_link") 2>conftest.er1
27890 ac_status=$?
27891 grep -v '^ *+' conftest.er1 >conftest.err
27892 rm -f conftest.er1
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } && {
27896 test -z "$ac_c_werror_flag" ||
27897 test ! -s conftest.err
27898 } && test -s conftest$ac_exeext &&
27899 $as_test_x conftest$ac_exeext; then
27900 ac_cv_lib_expat_XML_ParserCreate=yes
27901 else
27902 echo "$as_me: failed program was:" >&5
27903 sed 's/^/| /' conftest.$ac_ext >&5
27904
27905 ac_cv_lib_expat_XML_ParserCreate=no
27906 fi
27907
27908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27909 conftest$ac_exeext conftest.$ac_ext
27910 LIBS=$ac_check_lib_save_LIBS
27911 fi
27912 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27913 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27914 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27915 EXPAT_LINK=" -lexpat"
27916 fi
27917
27918 fi
27919 fi
27920 if test "x$EXPAT_LINK" = "x" ; then
27921 if test "$wxUSE_EXPAT" = "sys" ; then
27922 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27923 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27924 { (exit 1); exit 1; }; }
27925 else
27926 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27927 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27928 wxUSE_EXPAT=builtin
27929 fi
27930 else
27931 wxUSE_EXPAT=sys
27932 fi
27933 fi
27934 if test "$wxUSE_EXPAT" = "builtin" ; then
27935 subdirs="$subdirs src/expat"
27936
27937 fi
27938 fi
27939
27940
27941
27942 if test "$wxUSE_LIBMSPACK" != "no"; then
27943 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27944 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27945 if test "${ac_cv_header_mspack_h+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 else
27948 cat >conftest.$ac_ext <<_ACEOF
27949 /* confdefs.h. */
27950 _ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27954
27955
27956 #include <mspack.h>
27957 _ACEOF
27958 rm -f conftest.$ac_objext
27959 if { (ac_try="$ac_compile"
27960 case "(($ac_try" in
27961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27963 esac
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_compile") 2>conftest.er1
27966 ac_status=$?
27967 grep -v '^ *+' conftest.er1 >conftest.err
27968 rm -f conftest.er1
27969 cat conftest.err >&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && {
27972 test -z "$ac_c_werror_flag" ||
27973 test ! -s conftest.err
27974 } && test -s conftest.$ac_objext; then
27975 ac_cv_header_mspack_h=yes
27976 else
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27979
27980 ac_cv_header_mspack_h=no
27981 fi
27982
27983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27984 fi
27985 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27986 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27987 if test $ac_cv_header_mspack_h = yes; then
27988 found_mspack_h=1
27989 fi
27990
27991
27992 if test "x$found_mspack_h" = "x1"; then
27993 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27994 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27995 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27996 echo $ECHO_N "(cached) $ECHO_C" >&6
27997 else
27998 ac_check_lib_save_LIBS=$LIBS
27999 LIBS="-lmspack $LIBS"
28000 cat >conftest.$ac_ext <<_ACEOF
28001 /* confdefs.h. */
28002 _ACEOF
28003 cat confdefs.h >>conftest.$ac_ext
28004 cat >>conftest.$ac_ext <<_ACEOF
28005 /* end confdefs.h. */
28006
28007 /* Override any GCC internal prototype to avoid an error.
28008 Use char because int might match the return type of a GCC
28009 builtin and then its argument prototype would still apply. */
28010 #ifdef __cplusplus
28011 extern "C"
28012 #endif
28013 char mspack_create_chm_decompressor ();
28014 int
28015 main ()
28016 {
28017 return mspack_create_chm_decompressor ();
28018 ;
28019 return 0;
28020 }
28021 _ACEOF
28022 rm -f conftest.$ac_objext conftest$ac_exeext
28023 if { (ac_try="$ac_link"
28024 case "(($ac_try" in
28025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28026 *) ac_try_echo=$ac_try;;
28027 esac
28028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28029 (eval "$ac_link") 2>conftest.er1
28030 ac_status=$?
28031 grep -v '^ *+' conftest.er1 >conftest.err
28032 rm -f conftest.er1
28033 cat conftest.err >&5
28034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035 (exit $ac_status); } && {
28036 test -z "$ac_c_werror_flag" ||
28037 test ! -s conftest.err
28038 } && test -s conftest$ac_exeext &&
28039 $as_test_x conftest$ac_exeext; then
28040 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28041 else
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28044
28045 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28046 fi
28047
28048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28049 conftest$ac_exeext conftest.$ac_ext
28050 LIBS=$ac_check_lib_save_LIBS
28051 fi
28052 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28053 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28054 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28055 MSPACK_LINK=" -lmspack"
28056 fi
28057
28058 fi
28059 if test "x$MSPACK_LINK" = "x" ; then
28060 wxUSE_LIBMSPACK=no
28061 fi
28062 fi
28063
28064 if test "$wxUSE_LIBMSPACK" != "no"; then
28065 cat >>confdefs.h <<\_ACEOF
28066 #define wxUSE_LIBMSPACK 1
28067 _ACEOF
28068
28069 fi
28070
28071
28072
28073 AFMINSTALL=
28074 WIN32INSTALL=
28075
28076 TOOLKIT=
28077 TOOLKIT_INCLUDE=
28078 WIDGET_SET=
28079
28080 if test "$USE_WIN32" = 1 ; then
28081
28082 for ac_header in w32api.h
28083 do
28084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28085 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28088 echo $ECHO_N "(cached) $ECHO_C" >&6
28089 else
28090 cat >conftest.$ac_ext <<_ACEOF
28091 /* confdefs.h. */
28092 _ACEOF
28093 cat confdefs.h >>conftest.$ac_ext
28094 cat >>conftest.$ac_ext <<_ACEOF
28095 /* end confdefs.h. */
28096
28097
28098 #include <$ac_header>
28099 _ACEOF
28100 rm -f conftest.$ac_objext
28101 if { (ac_try="$ac_compile"
28102 case "(($ac_try" in
28103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28104 *) ac_try_echo=$ac_try;;
28105 esac
28106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28107 (eval "$ac_compile") 2>conftest.er1
28108 ac_status=$?
28109 grep -v '^ *+' conftest.er1 >conftest.err
28110 rm -f conftest.er1
28111 cat conftest.err >&5
28112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113 (exit $ac_status); } && {
28114 test -z "$ac_c_werror_flag" ||
28115 test ! -s conftest.err
28116 } && test -s conftest.$ac_objext; then
28117 eval "$as_ac_Header=yes"
28118 else
28119 echo "$as_me: failed program was:" >&5
28120 sed 's/^/| /' conftest.$ac_ext >&5
28121
28122 eval "$as_ac_Header=no"
28123 fi
28124
28125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28126 fi
28127 ac_res=`eval echo '${'$as_ac_Header'}'`
28128 { echo "$as_me:$LINENO: result: $ac_res" >&5
28129 echo "${ECHO_T}$ac_res" >&6; }
28130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28131 cat >>confdefs.h <<_ACEOF
28132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28133 _ACEOF
28134
28135 fi
28136
28137 done
28138
28139 { echo "$as_me:$LINENO: checking for windows.h" >&5
28140 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28141 if test "${ac_cv_header_windows_h+set}" = set; then
28142 echo $ECHO_N "(cached) $ECHO_C" >&6
28143 else
28144 cat >conftest.$ac_ext <<_ACEOF
28145 /* confdefs.h. */
28146 _ACEOF
28147 cat confdefs.h >>conftest.$ac_ext
28148 cat >>conftest.$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28150
28151
28152 #include <windows.h>
28153 _ACEOF
28154 rm -f conftest.$ac_objext
28155 if { (ac_try="$ac_compile"
28156 case "(($ac_try" in
28157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28158 *) ac_try_echo=$ac_try;;
28159 esac
28160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28161 (eval "$ac_compile") 2>conftest.er1
28162 ac_status=$?
28163 grep -v '^ *+' conftest.er1 >conftest.err
28164 rm -f conftest.er1
28165 cat conftest.err >&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } && {
28168 test -z "$ac_c_werror_flag" ||
28169 test ! -s conftest.err
28170 } && test -s conftest.$ac_objext; then
28171 ac_cv_header_windows_h=yes
28172 else
28173 echo "$as_me: failed program was:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28175
28176 ac_cv_header_windows_h=no
28177 fi
28178
28179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28180 fi
28181 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28182 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28183 if test $ac_cv_header_windows_h = yes; then
28184 :
28185 else
28186
28187 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28188 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28189 { (exit 1); exit 1; }; }
28190
28191 fi
28192
28193
28194
28195 case "${host}" in
28196 x86_64-*-mingw32* )
28197 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28198 ;;
28199 * )
28200 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28201 ;;
28202 esac
28203 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28204 LIBS="$LIBS -loleacc"
28205 fi
28206
28207 case "${host}" in
28208 *-*-cygwin* )
28209 LIBS="$LIBS -lkernel32 -luser32"
28210 esac
28211
28212 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28213 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28214
28215 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28216
28217 WIN32INSTALL=win32install
28218
28219 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28220 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28221 if test "${ac_cv_header_pbt_h+set}" = set; then
28222 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 else
28224 cat >conftest.$ac_ext <<_ACEOF
28225 /* confdefs.h. */
28226 _ACEOF
28227 cat confdefs.h >>conftest.$ac_ext
28228 cat >>conftest.$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230
28231
28232 #include <pbt.h>
28233 _ACEOF
28234 rm -f conftest.$ac_objext
28235 if { (ac_try="$ac_compile"
28236 case "(($ac_try" in
28237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28238 *) ac_try_echo=$ac_try;;
28239 esac
28240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28241 (eval "$ac_compile") 2>conftest.er1
28242 ac_status=$?
28243 grep -v '^ *+' conftest.er1 >conftest.err
28244 rm -f conftest.er1
28245 cat conftest.err >&5
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); } && {
28248 test -z "$ac_c_werror_flag" ||
28249 test ! -s conftest.err
28250 } && test -s conftest.$ac_objext; then
28251 ac_cv_header_pbt_h=yes
28252 else
28253 echo "$as_me: failed program was:" >&5
28254 sed 's/^/| /' conftest.$ac_ext >&5
28255
28256 ac_cv_header_pbt_h=no
28257 fi
28258
28259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28260 fi
28261 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28262 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28263 if test $ac_cv_header_pbt_h = yes; then
28264 :
28265 else
28266 cat >>confdefs.h <<\_ACEOF
28267 #define NEED_PBT_H 1
28268 _ACEOF
28269
28270 fi
28271
28272
28273 fi
28274
28275 if test "$wxUSE_GUI" = "yes"; then
28276 USE_GUI=1
28277
28278 GUI_TK_LIBRARY=
28279
28280 WXGTK12=
28281 WXGTK127=
28282 WXGTK2=
28283 WXGPE=
28284
28285 if test "$wxUSE_COCOA" = 1 ; then
28286 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28287 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28288 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28289 wxUSE_PRINTING_ARCHITECTURE=no
28290 fi
28291 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28292 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28293 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28294 wxUSE_DRAG_AND_DROP=no
28295 fi
28296 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28297 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28298 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28299 wxUSE_DRAGIMAGE=no
28300 fi
28301 fi
28302
28303 if test "$wxUSE_MSW" = 1 ; then
28304 TOOLKIT=MSW
28305 GUIDIST=MSW_DIST
28306
28307 case "${host}" in
28308 *-*-mingw32* )
28309 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28310 esac
28311 fi
28312
28313 if test "$wxUSE_GTK" = 1; then
28314 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28315 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28316
28317 gtk_version_cached=1
28318 if test "${wx_cv_lib_gtk+set}" = set; then
28319 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 else
28321
28322 gtk_version_cached=0
28323 { echo "$as_me:$LINENO: result: " >&5
28324 echo "${ECHO_T}" >&6; }
28325
28326 GTK_MODULES=
28327 if test "$wxUSE_THREADS" = "yes"; then
28328 GTK_MODULES=gthread
28329 fi
28330
28331 wx_cv_lib_gtk=
28332 if test "x$wxGTK_VERSION" != "x1"
28333 then
28334 case "${host}" in
28335 *-*-solaris2* )
28336 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28337 enable_gtktest=no
28338 fi
28339 esac
28340
28341 # Check whether --enable-gtktest was given.
28342 if test "${enable_gtktest+set}" = set; then
28343 enableval=$enable_gtktest;
28344 else
28345 enable_gtktest=yes
28346 fi
28347
28348
28349 pkg_config_args=gtk+-2.0
28350 for module in . $GTK_MODULES
28351 do
28352 case "$module" in
28353 gthread)
28354 pkg_config_args="$pkg_config_args gthread-2.0"
28355 ;;
28356 esac
28357 done
28358
28359 no_gtk=""
28360
28361 # Extract the first word of "pkg-config", so it can be a program name with args.
28362 set dummy pkg-config; ac_word=$2
28363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28365 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28366 echo $ECHO_N "(cached) $ECHO_C" >&6
28367 else
28368 case $PKG_CONFIG in
28369 [\\/]* | ?:[\\/]*)
28370 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28371 ;;
28372 *)
28373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28374 for as_dir in $PATH
28375 do
28376 IFS=$as_save_IFS
28377 test -z "$as_dir" && as_dir=.
28378 for ac_exec_ext in '' $ac_executable_extensions; do
28379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28380 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28382 break 2
28383 fi
28384 done
28385 done
28386 IFS=$as_save_IFS
28387
28388 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28389 ;;
28390 esac
28391 fi
28392 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28393 if test -n "$PKG_CONFIG"; then
28394 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28395 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28396 else
28397 { echo "$as_me:$LINENO: result: no" >&5
28398 echo "${ECHO_T}no" >&6; }
28399 fi
28400
28401
28402
28403 if test x$PKG_CONFIG != xno ; then
28404 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28405 :
28406 else
28407 echo "*** pkg-config too old; version 0.7 or better required."
28408 no_gtk=yes
28409 PKG_CONFIG=no
28410 fi
28411 else
28412 no_gtk=yes
28413 fi
28414
28415 min_gtk_version=2.4.0
28416 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28417 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28418
28419 if test x$PKG_CONFIG != xno ; then
28420 ## don't try to run the test against uninstalled libtool libs
28421 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28422 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28423 enable_gtktest=no
28424 fi
28425
28426 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28427 :
28428 else
28429 no_gtk=yes
28430 fi
28431 fi
28432
28433 if test x"$no_gtk" = x ; then
28434 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28435 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28436 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28438 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28440 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28442 if test "x$enable_gtktest" = "xyes" ; then
28443 ac_save_CFLAGS="$CFLAGS"
28444 ac_save_LIBS="$LIBS"
28445 CFLAGS="$CFLAGS $GTK_CFLAGS"
28446 LIBS="$GTK_LIBS $LIBS"
28447 rm -f conf.gtktest
28448 if test "$cross_compiling" = yes; then
28449 echo $ac_n "cross compiling; assumed OK... $ac_c"
28450 else
28451 cat >conftest.$ac_ext <<_ACEOF
28452 /* confdefs.h. */
28453 _ACEOF
28454 cat confdefs.h >>conftest.$ac_ext
28455 cat >>conftest.$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28457
28458 #include <gtk/gtk.h>
28459 #include <stdio.h>
28460 #include <stdlib.h>
28461
28462 int
28463 main ()
28464 {
28465 int major, minor, micro;
28466 char *tmp_version;
28467
28468 system ("touch conf.gtktest");
28469
28470 /* HP/UX 9 (%@#!) writes to sscanf strings */
28471 tmp_version = g_strdup("$min_gtk_version");
28472 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28473 printf("%s, bad version string\n", "$min_gtk_version");
28474 exit(1);
28475 }
28476
28477 if ((gtk_major_version != $gtk_config_major_version) ||
28478 (gtk_minor_version != $gtk_config_minor_version) ||
28479 (gtk_micro_version != $gtk_config_micro_version))
28480 {
28481 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28482 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28483 gtk_major_version, gtk_minor_version, gtk_micro_version);
28484 printf ("*** was found! If pkg-config was correct, then it is best\n");
28485 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28486 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28487 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28488 printf("*** required on your system.\n");
28489 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28490 printf("*** to point to the correct configuration files\n");
28491 }
28492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28493 (gtk_minor_version != GTK_MINOR_VERSION) ||
28494 (gtk_micro_version != GTK_MICRO_VERSION))
28495 {
28496 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28498 printf("*** library (version %d.%d.%d)\n",
28499 gtk_major_version, gtk_minor_version, gtk_micro_version);
28500 }
28501 else
28502 {
28503 if ((gtk_major_version > major) ||
28504 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28505 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28506 {
28507 return 0;
28508 }
28509 else
28510 {
28511 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28512 gtk_major_version, gtk_minor_version, gtk_micro_version);
28513 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28514 major, minor, micro);
28515 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28516 printf("***\n");
28517 printf("*** If you have already installed a sufficiently new version, this error\n");
28518 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28519 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28520 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28521 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28522 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28523 printf("*** so that the correct libraries are found at run-time))\n");
28524 }
28525 }
28526 return 1;
28527 }
28528
28529 _ACEOF
28530 rm -f conftest$ac_exeext
28531 if { (ac_try="$ac_link"
28532 case "(($ac_try" in
28533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28534 *) ac_try_echo=$ac_try;;
28535 esac
28536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28537 (eval "$ac_link") 2>&5
28538 ac_status=$?
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28541 { (case "(($ac_try" in
28542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28543 *) ac_try_echo=$ac_try;;
28544 esac
28545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28546 (eval "$ac_try") 2>&5
28547 ac_status=$?
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); }; }; then
28550 :
28551 else
28552 echo "$as_me: program exited with status $ac_status" >&5
28553 echo "$as_me: failed program was:" >&5
28554 sed 's/^/| /' conftest.$ac_ext >&5
28555
28556 ( exit $ac_status )
28557 no_gtk=yes
28558 fi
28559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28560 fi
28561
28562
28563 CFLAGS="$ac_save_CFLAGS"
28564 LIBS="$ac_save_LIBS"
28565 fi
28566 fi
28567 if test "x$no_gtk" = x ; then
28568 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28569 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28570 wx_cv_lib_gtk=2.0
28571 else
28572 { echo "$as_me:$LINENO: result: no" >&5
28573 echo "${ECHO_T}no" >&6; }
28574 if test "$PKG_CONFIG" = "no" ; then
28575 echo "*** A new enough version of pkg-config was not found."
28576 echo "*** See http://pkgconfig.sourceforge.net"
28577 else
28578 if test -f conf.gtktest ; then
28579 :
28580 else
28581 echo "*** Could not run GTK+ test program, checking why..."
28582 ac_save_CFLAGS="$CFLAGS"
28583 ac_save_LIBS="$LIBS"
28584 CFLAGS="$CFLAGS $GTK_CFLAGS"
28585 LIBS="$LIBS $GTK_LIBS"
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592
28593 #include <gtk/gtk.h>
28594 #include <stdio.h>
28595
28596 int
28597 main ()
28598 {
28599 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28600 ;
28601 return 0;
28602 }
28603 _ACEOF
28604 rm -f conftest.$ac_objext conftest$ac_exeext
28605 if { (ac_try="$ac_link"
28606 case "(($ac_try" in
28607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28608 *) ac_try_echo=$ac_try;;
28609 esac
28610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28611 (eval "$ac_link") 2>conftest.er1
28612 ac_status=$?
28613 grep -v '^ *+' conftest.er1 >conftest.err
28614 rm -f conftest.er1
28615 cat conftest.err >&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); } && {
28618 test -z "$ac_c_werror_flag" ||
28619 test ! -s conftest.err
28620 } && test -s conftest$ac_exeext &&
28621 $as_test_x conftest$ac_exeext; then
28622 echo "*** The test program compiled, but did not run. This usually means"
28623 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28624 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28625 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28626 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28627 echo "*** is required on your system"
28628 echo "***"
28629 echo "*** If you have an old version installed, it is best to remove it, although"
28630 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28631 else
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.$ac_ext >&5
28634
28635 echo "*** The test program failed to compile or link. See the file config.log for the"
28636 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28637 fi
28638
28639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28640 conftest$ac_exeext conftest.$ac_ext
28641 CFLAGS="$ac_save_CFLAGS"
28642 LIBS="$ac_save_LIBS"
28643 fi
28644 fi
28645 GTK_CFLAGS=""
28646 GTK_LIBS=""
28647 :
28648 fi
28649
28650
28651 rm -f conf.gtktest
28652
28653
28654 case "${host}" in
28655 *-*-solaris2* )
28656 if test "$wxUSE_SHARED" != "yes"; then
28657 GTK_LIBS="$GTK_LIBS -lX11"
28658 fi
28659 esac
28660 fi
28661
28662 if test -z "$wx_cv_lib_gtk"; then
28663 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28664
28665 # Check whether --with-gtk-prefix was given.
28666 if test "${with_gtk_prefix+set}" = set; then
28667 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28668 else
28669 gtk_config_prefix=""
28670 fi
28671
28672
28673 # Check whether --with-gtk-exec-prefix was given.
28674 if test "${with_gtk_exec_prefix+set}" = set; then
28675 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28676 else
28677 gtk_config_exec_prefix=""
28678 fi
28679
28680 # Check whether --enable-gtktest was given.
28681 if test "${enable_gtktest+set}" = set; then
28682 enableval=$enable_gtktest;
28683 else
28684 enable_gtktest=yes
28685 fi
28686
28687
28688 for module in . $GTK_MODULES
28689 do
28690 case "$module" in
28691 gthread)
28692 gtk_config_args="$gtk_config_args gthread"
28693 ;;
28694 esac
28695 done
28696
28697 if test x$gtk_config_exec_prefix != x ; then
28698 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28699 if test x${GTK_CONFIG+set} != xset ; then
28700 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28701 fi
28702 fi
28703 if test x$gtk_config_prefix != x ; then
28704 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28705 if test x${GTK_CONFIG+set} != xset ; then
28706 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28707 fi
28708 fi
28709
28710 # Extract the first word of "gtk-config", so it can be a program name with args.
28711 set dummy gtk-config; ac_word=$2
28712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28714 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28716 else
28717 case $GTK_CONFIG in
28718 [\\/]* | ?:[\\/]*)
28719 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28720 ;;
28721 *)
28722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28723 for as_dir in $PATH
28724 do
28725 IFS=$as_save_IFS
28726 test -z "$as_dir" && as_dir=.
28727 for ac_exec_ext in '' $ac_executable_extensions; do
28728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28729 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28731 break 2
28732 fi
28733 done
28734 done
28735 IFS=$as_save_IFS
28736
28737 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28738 ;;
28739 esac
28740 fi
28741 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28742 if test -n "$GTK_CONFIG"; then
28743 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28744 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28745 else
28746 { echo "$as_me:$LINENO: result: no" >&5
28747 echo "${ECHO_T}no" >&6; }
28748 fi
28749
28750
28751 min_gtk_version=1.2.7
28752 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28753 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28754 no_gtk=""
28755 if test "$GTK_CONFIG" = "no" ; then
28756 no_gtk=yes
28757 else
28758 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28759 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28760 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28762 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28764 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28766 if test "x$enable_gtktest" = "xyes" ; then
28767 ac_save_CFLAGS="$CFLAGS"
28768 ac_save_LIBS="$LIBS"
28769 CFLAGS="$CFLAGS $GTK_CFLAGS"
28770 LIBS="$GTK_LIBS $LIBS"
28771 rm -f conf.gtktest
28772 if test "$cross_compiling" = yes; then
28773 echo $ac_n "cross compiling; assumed OK... $ac_c"
28774 else
28775 cat >conftest.$ac_ext <<_ACEOF
28776 /* confdefs.h. */
28777 _ACEOF
28778 cat confdefs.h >>conftest.$ac_ext
28779 cat >>conftest.$ac_ext <<_ACEOF
28780 /* end confdefs.h. */
28781
28782 #include <gtk/gtk.h>
28783 #include <stdio.h>
28784 #include <stdlib.h>
28785
28786 int
28787 main ()
28788 {
28789 int major, minor, micro;
28790 char *tmp_version;
28791
28792 system ("touch conf.gtktest");
28793
28794 /* HP/UX 9 (%@#!) writes to sscanf strings */
28795 tmp_version = g_strdup("$min_gtk_version");
28796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28797 printf("%s, bad version string\n", "$min_gtk_version");
28798 exit(1);
28799 }
28800
28801 if ((gtk_major_version != $gtk_config_major_version) ||
28802 (gtk_minor_version != $gtk_config_minor_version) ||
28803 (gtk_micro_version != $gtk_config_micro_version))
28804 {
28805 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28807 gtk_major_version, gtk_minor_version, gtk_micro_version);
28808 printf ("*** was found! If gtk-config was correct, then it is best\n");
28809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28812 printf("*** required on your system.\n");
28813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28815 printf("*** before re-running configure\n");
28816 }
28817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28819 (gtk_minor_version != GTK_MINOR_VERSION) ||
28820 (gtk_micro_version != GTK_MICRO_VERSION))
28821 {
28822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28824 printf("*** library (version %d.%d.%d)\n",
28825 gtk_major_version, gtk_minor_version, gtk_micro_version);
28826 }
28827 #endif /* defined (GTK_MAJOR_VERSION) ... */
28828 else
28829 {
28830 if ((gtk_major_version > major) ||
28831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28833 {
28834 return 0;
28835 }
28836 else
28837 {
28838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28839 gtk_major_version, gtk_minor_version, gtk_micro_version);
28840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28841 major, minor, micro);
28842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28843 printf("***\n");
28844 printf("*** If you have already installed a sufficiently new version, this error\n");
28845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28849 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28850 printf("*** so that the correct libraries are found at run-time))\n");
28851 }
28852 }
28853 return 1;
28854 }
28855
28856 _ACEOF
28857 rm -f conftest$ac_exeext
28858 if { (ac_try="$ac_link"
28859 case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28862 esac
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_link") 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28868 { (case "(($ac_try" in
28869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28870 *) ac_try_echo=$ac_try;;
28871 esac
28872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28873 (eval "$ac_try") 2>&5
28874 ac_status=$?
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28877 :
28878 else
28879 echo "$as_me: program exited with status $ac_status" >&5
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883 ( exit $ac_status )
28884 no_gtk=yes
28885 fi
28886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28887 fi
28888
28889
28890 CFLAGS="$ac_save_CFLAGS"
28891 LIBS="$ac_save_LIBS"
28892 fi
28893 fi
28894 if test "x$no_gtk" = x ; then
28895 { echo "$as_me:$LINENO: result: yes" >&5
28896 echo "${ECHO_T}yes" >&6; }
28897 wx_cv_lib_gtk=1.2.7
28898 else
28899 { echo "$as_me:$LINENO: result: no" >&5
28900 echo "${ECHO_T}no" >&6; }
28901 if test "$GTK_CONFIG" = "no" ; then
28902 echo "*** The gtk-config script installed by GTK could not be found"
28903 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28904 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28905 echo "*** full path to gtk-config."
28906 else
28907 if test -f conf.gtktest ; then
28908 :
28909 else
28910 echo "*** Could not run GTK test program, checking why..."
28911 CFLAGS="$CFLAGS $GTK_CFLAGS"
28912 LIBS="$LIBS $GTK_LIBS"
28913 cat >conftest.$ac_ext <<_ACEOF
28914 /* confdefs.h. */
28915 _ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28919
28920 #include <gtk/gtk.h>
28921 #include <stdio.h>
28922
28923 int
28924 main ()
28925 {
28926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28927 ;
28928 return 0;
28929 }
28930 _ACEOF
28931 rm -f conftest.$ac_objext conftest$ac_exeext
28932 if { (ac_try="$ac_link"
28933 case "(($ac_try" in
28934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28935 *) ac_try_echo=$ac_try;;
28936 esac
28937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28938 (eval "$ac_link") 2>conftest.er1
28939 ac_status=$?
28940 grep -v '^ *+' conftest.er1 >conftest.err
28941 rm -f conftest.er1
28942 cat conftest.err >&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); } && {
28945 test -z "$ac_c_werror_flag" ||
28946 test ! -s conftest.err
28947 } && test -s conftest$ac_exeext &&
28948 $as_test_x conftest$ac_exeext; then
28949 echo "*** The test program compiled, but did not run. This usually means"
28950 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28951 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28952 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28953 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28954 echo "*** is required on your system"
28955 echo "***"
28956 echo "*** If you have an old version installed, it is best to remove it, although"
28957 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28958 echo "***"
28959 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28960 echo "*** came with the system with the command"
28961 echo "***"
28962 echo "*** rpm --erase --nodeps gtk gtk-devel"
28963 else
28964 echo "$as_me: failed program was:" >&5
28965 sed 's/^/| /' conftest.$ac_ext >&5
28966
28967 echo "*** The test program failed to compile or link. See the file config.log for the"
28968 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28969 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28970 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28971 fi
28972
28973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28974 conftest$ac_exeext conftest.$ac_ext
28975 CFLAGS="$ac_save_CFLAGS"
28976 LIBS="$ac_save_LIBS"
28977 fi
28978 fi
28979 GTK_CFLAGS=""
28980 GTK_LIBS=""
28981 :
28982 fi
28983
28984
28985 rm -f conf.gtktest
28986
28987
28988 if test -z "$wx_cv_lib_gtk"; then
28989
28990 # Check whether --with-gtk-prefix was given.
28991 if test "${with_gtk_prefix+set}" = set; then
28992 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28993 else
28994 gtk_config_prefix=""
28995 fi
28996
28997
28998 # Check whether --with-gtk-exec-prefix was given.
28999 if test "${with_gtk_exec_prefix+set}" = set; then
29000 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29001 else
29002 gtk_config_exec_prefix=""
29003 fi
29004
29005 # Check whether --enable-gtktest was given.
29006 if test "${enable_gtktest+set}" = set; then
29007 enableval=$enable_gtktest;
29008 else
29009 enable_gtktest=yes
29010 fi
29011
29012
29013 for module in . $GTK_MODULES
29014 do
29015 case "$module" in
29016 gthread)
29017 gtk_config_args="$gtk_config_args gthread"
29018 ;;
29019 esac
29020 done
29021
29022 if test x$gtk_config_exec_prefix != x ; then
29023 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29024 if test x${GTK_CONFIG+set} != xset ; then
29025 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29026 fi
29027 fi
29028 if test x$gtk_config_prefix != x ; then
29029 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29030 if test x${GTK_CONFIG+set} != xset ; then
29031 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29032 fi
29033 fi
29034
29035 # Extract the first word of "gtk-config", so it can be a program name with args.
29036 set dummy gtk-config; ac_word=$2
29037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29039 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 else
29042 case $GTK_CONFIG in
29043 [\\/]* | ?:[\\/]*)
29044 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29045 ;;
29046 *)
29047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29048 for as_dir in $PATH
29049 do
29050 IFS=$as_save_IFS
29051 test -z "$as_dir" && as_dir=.
29052 for ac_exec_ext in '' $ac_executable_extensions; do
29053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29054 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29056 break 2
29057 fi
29058 done
29059 done
29060 IFS=$as_save_IFS
29061
29062 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29063 ;;
29064 esac
29065 fi
29066 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29067 if test -n "$GTK_CONFIG"; then
29068 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29069 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29070 else
29071 { echo "$as_me:$LINENO: result: no" >&5
29072 echo "${ECHO_T}no" >&6; }
29073 fi
29074
29075
29076 min_gtk_version=1.2.3
29077 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29078 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29079 no_gtk=""
29080 if test "$GTK_CONFIG" = "no" ; then
29081 no_gtk=yes
29082 else
29083 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29084 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29085 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29087 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29089 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29091 if test "x$enable_gtktest" = "xyes" ; then
29092 ac_save_CFLAGS="$CFLAGS"
29093 ac_save_LIBS="$LIBS"
29094 CFLAGS="$CFLAGS $GTK_CFLAGS"
29095 LIBS="$GTK_LIBS $LIBS"
29096 rm -f conf.gtktest
29097 if test "$cross_compiling" = yes; then
29098 echo $ac_n "cross compiling; assumed OK... $ac_c"
29099 else
29100 cat >conftest.$ac_ext <<_ACEOF
29101 /* confdefs.h. */
29102 _ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106
29107 #include <gtk/gtk.h>
29108 #include <stdio.h>
29109 #include <stdlib.h>
29110
29111 int
29112 main ()
29113 {
29114 int major, minor, micro;
29115 char *tmp_version;
29116
29117 system ("touch conf.gtktest");
29118
29119 /* HP/UX 9 (%@#!) writes to sscanf strings */
29120 tmp_version = g_strdup("$min_gtk_version");
29121 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29122 printf("%s, bad version string\n", "$min_gtk_version");
29123 exit(1);
29124 }
29125
29126 if ((gtk_major_version != $gtk_config_major_version) ||
29127 (gtk_minor_version != $gtk_config_minor_version) ||
29128 (gtk_micro_version != $gtk_config_micro_version))
29129 {
29130 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29131 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29132 gtk_major_version, gtk_minor_version, gtk_micro_version);
29133 printf ("*** was found! If gtk-config was correct, then it is best\n");
29134 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29135 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29136 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29137 printf("*** required on your system.\n");
29138 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29139 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29140 printf("*** before re-running configure\n");
29141 }
29142 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29143 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29144 (gtk_minor_version != GTK_MINOR_VERSION) ||
29145 (gtk_micro_version != GTK_MICRO_VERSION))
29146 {
29147 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29148 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29149 printf("*** library (version %d.%d.%d)\n",
29150 gtk_major_version, gtk_minor_version, gtk_micro_version);
29151 }
29152 #endif /* defined (GTK_MAJOR_VERSION) ... */
29153 else
29154 {
29155 if ((gtk_major_version > major) ||
29156 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29157 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29158 {
29159 return 0;
29160 }
29161 else
29162 {
29163 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29164 gtk_major_version, gtk_minor_version, gtk_micro_version);
29165 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29166 major, minor, micro);
29167 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29168 printf("***\n");
29169 printf("*** If you have already installed a sufficiently new version, this error\n");
29170 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29171 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29172 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29173 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29174 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29175 printf("*** so that the correct libraries are found at run-time))\n");
29176 }
29177 }
29178 return 1;
29179 }
29180
29181 _ACEOF
29182 rm -f conftest$ac_exeext
29183 if { (ac_try="$ac_link"
29184 case "(($ac_try" in
29185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29187 esac
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_link") 2>&5
29190 ac_status=$?
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29193 { (case "(($ac_try" in
29194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29195 *) ac_try_echo=$ac_try;;
29196 esac
29197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29198 (eval "$ac_try") 2>&5
29199 ac_status=$?
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); }; }; then
29202 :
29203 else
29204 echo "$as_me: program exited with status $ac_status" >&5
29205 echo "$as_me: failed program was:" >&5
29206 sed 's/^/| /' conftest.$ac_ext >&5
29207
29208 ( exit $ac_status )
29209 no_gtk=yes
29210 fi
29211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29212 fi
29213
29214
29215 CFLAGS="$ac_save_CFLAGS"
29216 LIBS="$ac_save_LIBS"
29217 fi
29218 fi
29219 if test "x$no_gtk" = x ; then
29220 { echo "$as_me:$LINENO: result: yes" >&5
29221 echo "${ECHO_T}yes" >&6; }
29222 wx_cv_lib_gtk=1.2.3
29223 else
29224 { echo "$as_me:$LINENO: result: no" >&5
29225 echo "${ECHO_T}no" >&6; }
29226 if test "$GTK_CONFIG" = "no" ; then
29227 echo "*** The gtk-config script installed by GTK could not be found"
29228 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29229 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29230 echo "*** full path to gtk-config."
29231 else
29232 if test -f conf.gtktest ; then
29233 :
29234 else
29235 echo "*** Could not run GTK test program, checking why..."
29236 CFLAGS="$CFLAGS $GTK_CFLAGS"
29237 LIBS="$LIBS $GTK_LIBS"
29238 cat >conftest.$ac_ext <<_ACEOF
29239 /* confdefs.h. */
29240 _ACEOF
29241 cat confdefs.h >>conftest.$ac_ext
29242 cat >>conftest.$ac_ext <<_ACEOF
29243 /* end confdefs.h. */
29244
29245 #include <gtk/gtk.h>
29246 #include <stdio.h>
29247
29248 int
29249 main ()
29250 {
29251 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29252 ;
29253 return 0;
29254 }
29255 _ACEOF
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (ac_try="$ac_link"
29258 case "(($ac_try" in
29259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29260 *) ac_try_echo=$ac_try;;
29261 esac
29262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29263 (eval "$ac_link") 2>conftest.er1
29264 ac_status=$?
29265 grep -v '^ *+' conftest.er1 >conftest.err
29266 rm -f conftest.er1
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } && {
29270 test -z "$ac_c_werror_flag" ||
29271 test ! -s conftest.err
29272 } && test -s conftest$ac_exeext &&
29273 $as_test_x conftest$ac_exeext; then
29274 echo "*** The test program compiled, but did not run. This usually means"
29275 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29276 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29277 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29278 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29279 echo "*** is required on your system"
29280 echo "***"
29281 echo "*** If you have an old version installed, it is best to remove it, although"
29282 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29283 echo "***"
29284 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29285 echo "*** came with the system with the command"
29286 echo "***"
29287 echo "*** rpm --erase --nodeps gtk gtk-devel"
29288 else
29289 echo "$as_me: failed program was:" >&5
29290 sed 's/^/| /' conftest.$ac_ext >&5
29291
29292 echo "*** The test program failed to compile or link. See the file config.log for the"
29293 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29294 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29295 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29296 fi
29297
29298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29299 conftest$ac_exeext conftest.$ac_ext
29300 CFLAGS="$ac_save_CFLAGS"
29301 LIBS="$ac_save_LIBS"
29302 fi
29303 fi
29304 GTK_CFLAGS=""
29305 GTK_LIBS=""
29306 :
29307 fi
29308
29309
29310 rm -f conf.gtktest
29311
29312 fi
29313 fi
29314 fi
29315
29316 if test -z "$wx_cv_lib_gtk"; then
29317 wx_cv_lib_gtk=none
29318 else
29319 wx_cv_cflags_gtk=$GTK_CFLAGS
29320 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29321 fi
29322
29323
29324 fi
29325
29326
29327 if test "$gtk_version_cached" = 1; then
29328 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29329 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29330 fi
29331
29332 case "$wx_cv_lib_gtk" in
29333 2.0) WXGTK2=1
29334 TOOLKIT_VERSION=2
29335 ;;
29336 1.2.7) WXGTK127=1
29337 WXGTK12=1
29338 ;;
29339 1.2.3) WXGTK12=1
29340 ;;
29341 *) { { echo "$as_me:$LINENO: error:
29342 The development files for GTK+ were not found. For GTK+ 2, please
29343 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29344 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29345 and that the version is 1.2.3 or above. Also check that the
29346 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29347 --libs' are in the LD_LIBRARY_PATH or equivalent.
29348 " >&5
29349 echo "$as_me: error:
29350 The development files for GTK+ were not found. For GTK+ 2, please
29351 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29352 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29353 and that the version is 1.2.3 or above. Also check that the
29354 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29355 --libs' are in the LD_LIBRARY_PATH or equivalent.
29356 " >&2;}
29357 { (exit 1); exit 1; }; }
29358 ;;
29359 esac
29360
29361 if test "$WXGTK2" = 1; then
29362 save_CFLAGS="$CFLAGS"
29363 save_LIBS="$LIBS"
29364 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29365 LIBS="$LIBS $wx_cv_libs_gtk"
29366
29367 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29368 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29369 cat >conftest.$ac_ext <<_ACEOF
29370 /* confdefs.h. */
29371 _ACEOF
29372 cat confdefs.h >>conftest.$ac_ext
29373 cat >>conftest.$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29375
29376 #include <gtk/gtk.h>
29377
29378 int
29379 main ()
29380 {
29381
29382 #if !GTK_CHECK_VERSION(2,10,0)
29383 Not GTK+ 2.10
29384 #endif
29385
29386 ;
29387 return 0;
29388 }
29389 _ACEOF
29390 rm -f conftest.$ac_objext
29391 if { (ac_try="$ac_compile"
29392 case "(($ac_try" in
29393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29394 *) ac_try_echo=$ac_try;;
29395 esac
29396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29397 (eval "$ac_compile") 2>conftest.er1
29398 ac_status=$?
29399 grep -v '^ *+' conftest.er1 >conftest.err
29400 rm -f conftest.er1
29401 cat conftest.err >&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } && {
29404 test -z "$ac_c_werror_flag" ||
29405 test ! -s conftest.err
29406 } && test -s conftest.$ac_objext; then
29407
29408 cat >>confdefs.h <<\_ACEOF
29409 #define __WXGTK210__ 1
29410 _ACEOF
29411
29412 cat >>confdefs.h <<\_ACEOF
29413 #define __WXGTK26__ 1
29414 _ACEOF
29415
29416 { echo "$as_me:$LINENO: result: yes" >&5
29417 echo "${ECHO_T}yes" >&6; }
29418 ac_wxgtk210=1
29419
29420 else
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29423
29424
29425 { echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6; }
29427 ac_wxgtk210=0
29428
29429 fi
29430
29431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29432
29433 if test "$ac_wxgtk210" = 0; then
29434 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29435 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29436 cat >conftest.$ac_ext <<_ACEOF
29437 /* confdefs.h. */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442
29443 #include <gtk/gtk.h>
29444
29445 int
29446 main ()
29447 {
29448
29449 #if !GTK_CHECK_VERSION(2,6,0)
29450 Not GTK+ 2.6
29451 #endif
29452
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext
29458 if { (ac_try="$ac_compile"
29459 case "(($ac_try" in
29460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29461 *) ac_try_echo=$ac_try;;
29462 esac
29463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29464 (eval "$ac_compile") 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } && {
29471 test -z "$ac_c_werror_flag" ||
29472 test ! -s conftest.err
29473 } && test -s conftest.$ac_objext; then
29474
29475 cat >>confdefs.h <<\_ACEOF
29476 #define __WXGTK26__ 1
29477 _ACEOF
29478
29479 { echo "$as_me:$LINENO: result: yes" >&5
29480 echo "${ECHO_T}yes" >&6; }
29481 ac_wxgtk26=1
29482
29483 else
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29486
29487
29488 { echo "$as_me:$LINENO: result: no" >&5
29489 echo "${ECHO_T}no" >&6; }
29490 ac_wxgtk26=0
29491
29492 fi
29493
29494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29495 fi
29496
29497 CFLAGS="$save_CFLAGS"
29498 LIBS="$save_LIBS"
29499 else
29500 if test "$wxUSE_UNICODE" = "yes"; then
29501 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29502 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29503 wxUSE_UNICODE=no
29504 fi
29505
29506 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29507 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29508 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29509 echo $ECHO_N "(cached) $ECHO_C" >&6
29510 else
29511 ac_check_lib_save_LIBS=$LIBS
29512 LIBS="-lgdk $LIBS"
29513 cat >conftest.$ac_ext <<_ACEOF
29514 /* confdefs.h. */
29515 _ACEOF
29516 cat confdefs.h >>conftest.$ac_ext
29517 cat >>conftest.$ac_ext <<_ACEOF
29518 /* end confdefs.h. */
29519
29520 /* Override any GCC internal prototype to avoid an error.
29521 Use char because int might match the return type of a GCC
29522 builtin and then its argument prototype would still apply. */
29523 #ifdef __cplusplus
29524 extern "C"
29525 #endif
29526 char gdk_im_open ();
29527 int
29528 main ()
29529 {
29530 return gdk_im_open ();
29531 ;
29532 return 0;
29533 }
29534 _ACEOF
29535 rm -f conftest.$ac_objext conftest$ac_exeext
29536 if { (ac_try="$ac_link"
29537 case "(($ac_try" in
29538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29539 *) ac_try_echo=$ac_try;;
29540 esac
29541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29542 (eval "$ac_link") 2>conftest.er1
29543 ac_status=$?
29544 grep -v '^ *+' conftest.er1 >conftest.err
29545 rm -f conftest.er1
29546 cat conftest.err >&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); } && {
29549 test -z "$ac_c_werror_flag" ||
29550 test ! -s conftest.err
29551 } && test -s conftest$ac_exeext &&
29552 $as_test_x conftest$ac_exeext; then
29553 ac_cv_lib_gdk_gdk_im_open=yes
29554 else
29555 echo "$as_me: failed program was:" >&5
29556 sed 's/^/| /' conftest.$ac_ext >&5
29557
29558 ac_cv_lib_gdk_gdk_im_open=no
29559 fi
29560
29561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29562 conftest$ac_exeext conftest.$ac_ext
29563 LIBS=$ac_check_lib_save_LIBS
29564 fi
29565 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29566 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29567 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29568 cat >>confdefs.h <<\_ACEOF
29569 #define HAVE_XIM 1
29570 _ACEOF
29571
29572 fi
29573
29574
29575 if test "$USE_DARWIN" != 1; then
29576
29577 for ac_func in poll
29578 do
29579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29583 echo $ECHO_N "(cached) $ECHO_C" >&6
29584 else
29585 cat >conftest.$ac_ext <<_ACEOF
29586 /* confdefs.h. */
29587 _ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29593 #define $ac_func innocuous_$ac_func
29594
29595 /* System header to define __stub macros and hopefully few prototypes,
29596 which can conflict with char $ac_func (); below.
29597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29598 <limits.h> exists even on freestanding compilers. */
29599
29600 #ifdef __STDC__
29601 # include <limits.h>
29602 #else
29603 # include <assert.h>
29604 #endif
29605
29606 #undef $ac_func
29607
29608 /* Override any GCC internal prototype to avoid an error.
29609 Use char because int might match the return type of a GCC
29610 builtin and then its argument prototype would still apply. */
29611 #ifdef __cplusplus
29612 extern "C"
29613 #endif
29614 char $ac_func ();
29615 /* The GNU C library defines this for functions which it implements
29616 to always fail with ENOSYS. Some functions are actually named
29617 something starting with __ and the normal name is an alias. */
29618 #if defined __stub_$ac_func || defined __stub___$ac_func
29619 choke me
29620 #endif
29621
29622 int
29623 main ()
29624 {
29625 return $ac_func ();
29626 ;
29627 return 0;
29628 }
29629 _ACEOF
29630 rm -f conftest.$ac_objext conftest$ac_exeext
29631 if { (ac_try="$ac_link"
29632 case "(($ac_try" in
29633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29634 *) ac_try_echo=$ac_try;;
29635 esac
29636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29637 (eval "$ac_link") 2>conftest.er1
29638 ac_status=$?
29639 grep -v '^ *+' conftest.er1 >conftest.err
29640 rm -f conftest.er1
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } && {
29644 test -z "$ac_c_werror_flag" ||
29645 test ! -s conftest.err
29646 } && test -s conftest$ac_exeext &&
29647 $as_test_x conftest$ac_exeext; then
29648 eval "$as_ac_var=yes"
29649 else
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.$ac_ext >&5
29652
29653 eval "$as_ac_var=no"
29654 fi
29655
29656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29657 conftest$ac_exeext conftest.$ac_ext
29658 fi
29659 ac_res=`eval echo '${'$as_ac_var'}'`
29660 { echo "$as_me:$LINENO: result: $ac_res" >&5
29661 echo "${ECHO_T}$ac_res" >&6; }
29662 if test `eval echo '${'$as_ac_var'}'` = yes; then
29663 cat >>confdefs.h <<_ACEOF
29664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29665 _ACEOF
29666
29667 fi
29668 done
29669
29670 fi
29671 fi
29672
29673 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29674 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29675
29676 AFMINSTALL=afminstall
29677 TOOLKIT=GTK
29678 GUIDIST=GTK_DIST
29679
29680 if test "$wxUSE_GPE" = "yes"; then
29681 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29682 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29683
29684 ac_find_libraries=
29685 for ac_dir in $SEARCH_LIB;
29686 do
29687 for ac_extension in a so sl dylib dll.a; do
29688 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29689 ac_find_libraries=$ac_dir
29690 break 2
29691 fi
29692 done
29693 done
29694
29695 if test "$ac_find_libraries" != "" ; then
29696
29697 if test "$ac_find_libraries" = "default location"; then
29698 ac_path_to_link=""
29699 else
29700 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29701 result=$?
29702 if test $result = 0; then
29703 ac_path_to_link=""
29704 else
29705 ac_path_to_link=" -L$ac_find_libraries"
29706 fi
29707 fi
29708
29709 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29710 WXGPE=1
29711 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29712 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29713 else
29714 { echo "$as_me:$LINENO: result: not found" >&5
29715 echo "${ECHO_T}not found" >&6; }
29716 fi
29717
29718 fi
29719 fi
29720
29721 if test "$wxUSE_MGL" = 1; then
29722 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29723 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29724 if test "x$MGL_ROOT" = x ; then
29725 { echo "$as_me:$LINENO: result: not found" >&5
29726 echo "${ECHO_T}not found" >&6; }
29727 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29728 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29729 { (exit 1); exit 1; }; }
29730 else
29731 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29732 echo "${ECHO_T}$MGL_ROOT" >&6; }
29733 fi
29734
29735 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29736 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29737 case "${host}" in
29738 *-*-linux* )
29739 if test "x$wxUSE_SHARED" = xyes ; then
29740 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29741 else
29742 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29743 fi
29744 ;;
29745 *-pc-msdosdjgpp )
29746 mgl_os_candidates="dos32/dj2"
29747 ;;
29748 *)
29749 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29750 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29751 { (exit 1); exit 1; }; }
29752 esac
29753
29754 mgl_lib_type=""
29755 mgl_os=""
29756
29757 for mgl_os_i in $mgl_os_candidates ; do
29758 if test "x$mgl_os" = x ; then
29759 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29760 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29761 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29762 mgl_lib_type=debug
29763 mgl_os=$mgl_os_i
29764 fi
29765 fi
29766 if test "x$mgl_lib_type" = x ; then
29767 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29768 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29769 mgl_lib_type=release
29770 mgl_os=$mgl_os_i
29771 fi
29772 fi
29773 fi
29774 done
29775
29776 if test "x$mgl_os" = x ; then
29777 { echo "$as_me:$LINENO: result: not found" >&5
29778 echo "${ECHO_T}not found" >&6; }
29779 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29780 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29781 { (exit 1); exit 1; }; }
29782 fi
29783 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29784 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29785
29786 wxUSE_UNIVERSAL="yes"
29787
29788 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29789 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29790
29791 AFMINSTALL=afminstall
29792 TOOLKIT=MGL
29793 GUIDIST=MGL_DIST
29794 fi
29795
29796 if test "$wxUSE_DFB" = 1; then
29797
29798
29799 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29800 if test -n "$ac_tool_prefix"; then
29801 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29802 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808 case $PKG_CONFIG in
29809 [\\/]* | ?:[\\/]*)
29810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29811 ;;
29812 *)
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29815 do
29816 IFS=$as_save_IFS
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29822 break 2
29823 fi
29824 done
29825 done
29826 IFS=$as_save_IFS
29827
29828 ;;
29829 esac
29830 fi
29831 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29832 if test -n "$PKG_CONFIG"; then
29833 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29834 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29835 else
29836 { echo "$as_me:$LINENO: result: no" >&5
29837 echo "${ECHO_T}no" >&6; }
29838 fi
29839
29840
29841 fi
29842 if test -z "$ac_cv_path_PKG_CONFIG"; then
29843 ac_pt_PKG_CONFIG=$PKG_CONFIG
29844 # Extract the first word of "pkg-config", so it can be a program name with args.
29845 set dummy pkg-config; ac_word=$2
29846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29848 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29849 echo $ECHO_N "(cached) $ECHO_C" >&6
29850 else
29851 case $ac_pt_PKG_CONFIG in
29852 [\\/]* | ?:[\\/]*)
29853 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29854 ;;
29855 *)
29856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29857 for as_dir in $PATH
29858 do
29859 IFS=$as_save_IFS
29860 test -z "$as_dir" && as_dir=.
29861 for ac_exec_ext in '' $ac_executable_extensions; do
29862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29863 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29865 break 2
29866 fi
29867 done
29868 done
29869 IFS=$as_save_IFS
29870
29871 ;;
29872 esac
29873 fi
29874 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29875 if test -n "$ac_pt_PKG_CONFIG"; then
29876 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29877 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29878 else
29879 { echo "$as_me:$LINENO: result: no" >&5
29880 echo "${ECHO_T}no" >&6; }
29881 fi
29882
29883 if test "x$ac_pt_PKG_CONFIG" = x; then
29884 PKG_CONFIG=""
29885 else
29886 case $cross_compiling:$ac_tool_warned in
29887 yes:)
29888 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29889 whose name does not start with the host triplet. If you think this
29890 configuration is useful to you, please write to autoconf@gnu.org." >&5
29891 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29892 whose name does not start with the host triplet. If you think this
29893 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29894 ac_tool_warned=yes ;;
29895 esac
29896 PKG_CONFIG=$ac_pt_PKG_CONFIG
29897 fi
29898 else
29899 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29900 fi
29901
29902 fi
29903 if test -n "$PKG_CONFIG"; then
29904 _pkg_min_version=0.9.0
29905 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29906 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29907 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29908 { echo "$as_me:$LINENO: result: yes" >&5
29909 echo "${ECHO_T}yes" >&6; }
29910 else
29911 { echo "$as_me:$LINENO: result: no" >&5
29912 echo "${ECHO_T}no" >&6; }
29913 PKG_CONFIG=""
29914 fi
29915
29916 fi
29917
29918
29919 pkg_failed=no
29920 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29921 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29922
29923 if test -n "$PKG_CONFIG"; then
29924 if test -n "$DIRECTFB_CFLAGS"; then
29925 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29926 else
29927 if test -n "$PKG_CONFIG" && \
29928 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29929 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29930 ac_status=$?
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); }; then
29933 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29934 else
29935 pkg_failed=yes
29936 fi
29937 fi
29938 else
29939 pkg_failed=untried
29940 fi
29941 if test -n "$PKG_CONFIG"; then
29942 if test -n "$DIRECTFB_LIBS"; then
29943 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29944 else
29945 if test -n "$PKG_CONFIG" && \
29946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29947 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; then
29951 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29952 else
29953 pkg_failed=yes
29954 fi
29955 fi
29956 else
29957 pkg_failed=untried
29958 fi
29959
29960
29961
29962 if test $pkg_failed = yes; then
29963
29964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29965 _pkg_short_errors_supported=yes
29966 else
29967 _pkg_short_errors_supported=no
29968 fi
29969 if test $_pkg_short_errors_supported = yes; then
29970 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29971 else
29972 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29973 fi
29974 # Put the nasty error message in config.log where it belongs
29975 echo "$DIRECTFB_PKG_ERRORS" >&5
29976
29977
29978 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29979 echo "$as_me: error: DirectFB not found." >&2;}
29980 { (exit 1); exit 1; }; }
29981
29982
29983 elif test $pkg_failed = untried; then
29984
29985 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29986 echo "$as_me: error: DirectFB not found." >&2;}
29987 { (exit 1); exit 1; }; }
29988
29989
29990 else
29991 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29992 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29993 { echo "$as_me:$LINENO: result: yes" >&5
29994 echo "${ECHO_T}yes" >&6; }
29995
29996 wxUSE_UNIVERSAL="yes"
29997 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29998 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29999 TOOLKIT=DFB
30000 GUIDIST=DFB_DIST
30001
30002 fi
30003 fi
30004
30005 if test "$wxUSE_MICROWIN" = 1; then
30006 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30007 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30008 if test "x$MICROWINDOWS" = x ; then
30009 { echo "$as_me:$LINENO: result: not found" >&5
30010 echo "${ECHO_T}not found" >&6; }
30011 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30012 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30013 { (exit 1); exit 1; }; }
30014 else
30015 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30016 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30017 fi
30018
30019 if test -f $MICROWINDOWS/lib/libmwin.a; then
30020 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30021 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30022 else
30023 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30024 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30025 { (exit 1); exit 1; }; }
30026 fi
30027
30028 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30029 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30030
30031 wxUSE_UNIVERSAL="yes"
30032
30033 AFMINSTALL=afminstall
30034 TOOLKIT=MICROWIN
30035 GUIDIST=MICROWIN_DIST
30036
30037 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30038 fi
30039
30040 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30041 { echo "$as_me:$LINENO: checking for X" >&5
30042 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30043
30044
30045 # Check whether --with-x was given.
30046 if test "${with_x+set}" = set; then
30047 withval=$with_x;
30048 fi
30049
30050 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30051 if test "x$with_x" = xno; then
30052 # The user explicitly disabled X.
30053 have_x=disabled
30054 else
30055 case $x_includes,$x_libraries in #(
30056 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30057 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30058 { (exit 1); exit 1; }; };; #(
30059 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30060 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 else
30062 # One or both of the vars are not set, and there is no cached value.
30063 ac_x_includes=no ac_x_libraries=no
30064 rm -f -r conftest.dir
30065 if mkdir conftest.dir; then
30066 cd conftest.dir
30067 cat >Imakefile <<'_ACEOF'
30068 incroot:
30069 @echo incroot='${INCROOT}'
30070 usrlibdir:
30071 @echo usrlibdir='${USRLIBDIR}'
30072 libdir:
30073 @echo libdir='${LIBDIR}'
30074 _ACEOF
30075 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30076 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30077 for ac_var in incroot usrlibdir libdir; do
30078 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30079 done
30080 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30081 for ac_extension in a so sl; do
30082 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30083 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30084 ac_im_usrlibdir=$ac_im_libdir; break
30085 fi
30086 done
30087 # Screen out bogus values from the imake configuration. They are
30088 # bogus both because they are the default anyway, and because
30089 # using them would break gcc on systems where it needs fixed includes.
30090 case $ac_im_incroot in
30091 /usr/include) ac_x_includes= ;;
30092 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30093 esac
30094 case $ac_im_usrlibdir in
30095 /usr/lib | /lib) ;;
30096 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30097 esac
30098 fi
30099 cd ..
30100 rm -f -r conftest.dir
30101 fi
30102
30103 # Standard set of common directories for X headers.
30104 # Check X11 before X11Rn because it is often a symlink to the current release.
30105 ac_x_header_dirs='
30106 /usr/X11/include
30107 /usr/X11R6/include
30108 /usr/X11R5/include
30109 /usr/X11R4/include
30110
30111 /usr/include/X11
30112 /usr/include/X11R6
30113 /usr/include/X11R5
30114 /usr/include/X11R4
30115
30116 /usr/local/X11/include
30117 /usr/local/X11R6/include
30118 /usr/local/X11R5/include
30119 /usr/local/X11R4/include
30120
30121 /usr/local/include/X11
30122 /usr/local/include/X11R6
30123 /usr/local/include/X11R5
30124 /usr/local/include/X11R4
30125
30126 /usr/X386/include
30127 /usr/x386/include
30128 /usr/XFree86/include/X11
30129
30130 /usr/include
30131 /usr/local/include
30132 /usr/unsupported/include
30133 /usr/athena/include
30134 /usr/local/x11r5/include
30135 /usr/lpp/Xamples/include
30136
30137 /usr/openwin/include
30138 /usr/openwin/share/include'
30139
30140 if test "$ac_x_includes" = no; then
30141 # Guess where to find include files, by looking for Xlib.h.
30142 # First, try using that file with no special directory specified.
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <X11/Xlib.h>
30150 _ACEOF
30151 if { (ac_try="$ac_cpp conftest.$ac_ext"
30152 case "(($ac_try" in
30153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30154 *) ac_try_echo=$ac_try;;
30155 esac
30156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30158 ac_status=$?
30159 grep -v '^ *+' conftest.er1 >conftest.err
30160 rm -f conftest.er1
30161 cat conftest.err >&5
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); } >/dev/null && {
30164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30165 test ! -s conftest.err
30166 }; then
30167 # We can compile using X headers with no special include directory.
30168 ac_x_includes=
30169 else
30170 echo "$as_me: failed program was:" >&5
30171 sed 's/^/| /' conftest.$ac_ext >&5
30172
30173 for ac_dir in $ac_x_header_dirs; do
30174 if test -r "$ac_dir/X11/Xlib.h"; then
30175 ac_x_includes=$ac_dir
30176 break
30177 fi
30178 done
30179 fi
30180
30181 rm -f conftest.err conftest.$ac_ext
30182 fi # $ac_x_includes = no
30183
30184 if test "$ac_x_libraries" = no; then
30185 # Check for the libraries.
30186 # See if we find them without any special options.
30187 # Don't add to $LIBS permanently.
30188 ac_save_LIBS=$LIBS
30189 LIBS="-lX11 $LIBS"
30190 cat >conftest.$ac_ext <<_ACEOF
30191 /* confdefs.h. */
30192 _ACEOF
30193 cat confdefs.h >>conftest.$ac_ext
30194 cat >>conftest.$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30196 #include <X11/Xlib.h>
30197 int
30198 main ()
30199 {
30200 XrmInitialize ()
30201 ;
30202 return 0;
30203 }
30204 _ACEOF
30205 rm -f conftest.$ac_objext conftest$ac_exeext
30206 if { (ac_try="$ac_link"
30207 case "(($ac_try" in
30208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30209 *) ac_try_echo=$ac_try;;
30210 esac
30211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30212 (eval "$ac_link") 2>conftest.er1
30213 ac_status=$?
30214 grep -v '^ *+' conftest.er1 >conftest.err
30215 rm -f conftest.er1
30216 cat conftest.err >&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } && {
30219 test -z "$ac_c_werror_flag" ||
30220 test ! -s conftest.err
30221 } && test -s conftest$ac_exeext &&
30222 $as_test_x conftest$ac_exeext; then
30223 LIBS=$ac_save_LIBS
30224 # We can link X programs with no special library path.
30225 ac_x_libraries=
30226 else
30227 echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30229
30230 LIBS=$ac_save_LIBS
30231 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30232 do
30233 # Don't even attempt the hair of trying to link an X program!
30234 for ac_extension in a so sl; do
30235 if test -r "$ac_dir/libX11.$ac_extension"; then
30236 ac_x_libraries=$ac_dir
30237 break 2
30238 fi
30239 done
30240 done
30241 fi
30242
30243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30244 conftest$ac_exeext conftest.$ac_ext
30245 fi # $ac_x_libraries = no
30246
30247 case $ac_x_includes,$ac_x_libraries in #(
30248 no,* | *,no | *\'*)
30249 # Didn't find X, or a directory has "'" in its name.
30250 ac_cv_have_x="have_x=no";; #(
30251 *)
30252 # Record where we found X for the cache.
30253 ac_cv_have_x="have_x=yes\
30254 ac_x_includes='$ac_x_includes'\
30255 ac_x_libraries='$ac_x_libraries'"
30256 esac
30257 fi
30258 ;; #(
30259 *) have_x=yes;;
30260 esac
30261 eval "$ac_cv_have_x"
30262 fi # $with_x != no
30263
30264 if test "$have_x" != yes; then
30265 { echo "$as_me:$LINENO: result: $have_x" >&5
30266 echo "${ECHO_T}$have_x" >&6; }
30267 no_x=yes
30268 else
30269 # If each of the values was on the command line, it overrides each guess.
30270 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30271 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30272 # Update the cache value to reflect the command line values.
30273 ac_cv_have_x="have_x=yes\
30274 ac_x_includes='$x_includes'\
30275 ac_x_libraries='$x_libraries'"
30276 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30277 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30278 fi
30279
30280 if test "$no_x" = yes; then
30281 # Not all programs may use this symbol, but it does not hurt to define it.
30282
30283 cat >>confdefs.h <<\_ACEOF
30284 #define X_DISPLAY_MISSING 1
30285 _ACEOF
30286
30287 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30288 else
30289 if test -n "$x_includes"; then
30290 X_CFLAGS="$X_CFLAGS -I$x_includes"
30291 fi
30292
30293 # It would also be nice to do this for all -L options, not just this one.
30294 if test -n "$x_libraries"; then
30295 X_LIBS="$X_LIBS -L$x_libraries"
30296 # For Solaris; some versions of Sun CC require a space after -R and
30297 # others require no space. Words are not sufficient . . . .
30298 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30299 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30300 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30301 ac_xsave_c_werror_flag=$ac_c_werror_flag
30302 ac_c_werror_flag=yes
30303 cat >conftest.$ac_ext <<_ACEOF
30304 /* confdefs.h. */
30305 _ACEOF
30306 cat confdefs.h >>conftest.$ac_ext
30307 cat >>conftest.$ac_ext <<_ACEOF
30308 /* end confdefs.h. */
30309
30310 int
30311 main ()
30312 {
30313
30314 ;
30315 return 0;
30316 }
30317 _ACEOF
30318 rm -f conftest.$ac_objext conftest$ac_exeext
30319 if { (ac_try="$ac_link"
30320 case "(($ac_try" in
30321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30322 *) ac_try_echo=$ac_try;;
30323 esac
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325 (eval "$ac_link") 2>conftest.er1
30326 ac_status=$?
30327 grep -v '^ *+' conftest.er1 >conftest.err
30328 rm -f conftest.er1
30329 cat conftest.err >&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } && {
30332 test -z "$ac_c_werror_flag" ||
30333 test ! -s conftest.err
30334 } && test -s conftest$ac_exeext &&
30335 $as_test_x conftest$ac_exeext; then
30336 { echo "$as_me:$LINENO: result: no" >&5
30337 echo "${ECHO_T}no" >&6; }
30338 X_LIBS="$X_LIBS -R$x_libraries"
30339 else
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30342
30343 LIBS="$ac_xsave_LIBS -R $x_libraries"
30344 cat >conftest.$ac_ext <<_ACEOF
30345 /* confdefs.h. */
30346 _ACEOF
30347 cat confdefs.h >>conftest.$ac_ext
30348 cat >>conftest.$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30350
30351 int
30352 main ()
30353 {
30354
30355 ;
30356 return 0;
30357 }
30358 _ACEOF
30359 rm -f conftest.$ac_objext conftest$ac_exeext
30360 if { (ac_try="$ac_link"
30361 case "(($ac_try" in
30362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30363 *) ac_try_echo=$ac_try;;
30364 esac
30365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30366 (eval "$ac_link") 2>conftest.er1
30367 ac_status=$?
30368 grep -v '^ *+' conftest.er1 >conftest.err
30369 rm -f conftest.er1
30370 cat conftest.err >&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } && {
30373 test -z "$ac_c_werror_flag" ||
30374 test ! -s conftest.err
30375 } && test -s conftest$ac_exeext &&
30376 $as_test_x conftest$ac_exeext; then
30377 { echo "$as_me:$LINENO: result: yes" >&5
30378 echo "${ECHO_T}yes" >&6; }
30379 X_LIBS="$X_LIBS -R $x_libraries"
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 { echo "$as_me:$LINENO: result: neither works" >&5
30385 echo "${ECHO_T}neither works" >&6; }
30386 fi
30387
30388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30389 conftest$ac_exeext conftest.$ac_ext
30390 fi
30391
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 ac_c_werror_flag=$ac_xsave_c_werror_flag
30395 LIBS=$ac_xsave_LIBS
30396 fi
30397
30398 # Check for system-dependent libraries X programs must link with.
30399 # Do this before checking for the system-independent R6 libraries
30400 # (-lICE), since we may need -lsocket or whatever for X linking.
30401
30402 if test "$ISC" = yes; then
30403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30404 else
30405 # Martyn Johnson says this is needed for Ultrix, if the X
30406 # libraries were built with DECnet support. And Karl Berry says
30407 # the Alpha needs dnet_stub (dnet does not exist).
30408 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30409 cat >conftest.$ac_ext <<_ACEOF
30410 /* confdefs.h. */
30411 _ACEOF
30412 cat confdefs.h >>conftest.$ac_ext
30413 cat >>conftest.$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415
30416 /* Override any GCC internal prototype to avoid an error.
30417 Use char because int might match the return type of a GCC
30418 builtin and then its argument prototype would still apply. */
30419 #ifdef __cplusplus
30420 extern "C"
30421 #endif
30422 char XOpenDisplay ();
30423 int
30424 main ()
30425 {
30426 return XOpenDisplay ();
30427 ;
30428 return 0;
30429 }
30430 _ACEOF
30431 rm -f conftest.$ac_objext conftest$ac_exeext
30432 if { (ac_try="$ac_link"
30433 case "(($ac_try" in
30434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30435 *) ac_try_echo=$ac_try;;
30436 esac
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438 (eval "$ac_link") 2>conftest.er1
30439 ac_status=$?
30440 grep -v '^ *+' conftest.er1 >conftest.err
30441 rm -f conftest.er1
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } && {
30445 test -z "$ac_c_werror_flag" ||
30446 test ! -s conftest.err
30447 } && test -s conftest$ac_exeext &&
30448 $as_test_x conftest$ac_exeext; then
30449 :
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30453
30454 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30455 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30456 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 else
30459 ac_check_lib_save_LIBS=$LIBS
30460 LIBS="-ldnet $LIBS"
30461 cat >conftest.$ac_ext <<_ACEOF
30462 /* confdefs.h. */
30463 _ACEOF
30464 cat confdefs.h >>conftest.$ac_ext
30465 cat >>conftest.$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30467
30468 /* Override any GCC internal prototype to avoid an error.
30469 Use char because int might match the return type of a GCC
30470 builtin and then its argument prototype would still apply. */
30471 #ifdef __cplusplus
30472 extern "C"
30473 #endif
30474 char dnet_ntoa ();
30475 int
30476 main ()
30477 {
30478 return dnet_ntoa ();
30479 ;
30480 return 0;
30481 }
30482 _ACEOF
30483 rm -f conftest.$ac_objext conftest$ac_exeext
30484 if { (ac_try="$ac_link"
30485 case "(($ac_try" in
30486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30487 *) ac_try_echo=$ac_try;;
30488 esac
30489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30490 (eval "$ac_link") 2>conftest.er1
30491 ac_status=$?
30492 grep -v '^ *+' conftest.er1 >conftest.err
30493 rm -f conftest.er1
30494 cat conftest.err >&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); } && {
30497 test -z "$ac_c_werror_flag" ||
30498 test ! -s conftest.err
30499 } && test -s conftest$ac_exeext &&
30500 $as_test_x conftest$ac_exeext; then
30501 ac_cv_lib_dnet_dnet_ntoa=yes
30502 else
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30505
30506 ac_cv_lib_dnet_dnet_ntoa=no
30507 fi
30508
30509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30510 conftest$ac_exeext conftest.$ac_ext
30511 LIBS=$ac_check_lib_save_LIBS
30512 fi
30513 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30514 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30515 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30516 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30517 fi
30518
30519 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30520 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30521 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30522 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30523 echo $ECHO_N "(cached) $ECHO_C" >&6
30524 else
30525 ac_check_lib_save_LIBS=$LIBS
30526 LIBS="-ldnet_stub $LIBS"
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h. */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533
30534 /* Override any GCC internal prototype to avoid an error.
30535 Use char because int might match the return type of a GCC
30536 builtin and then its argument prototype would still apply. */
30537 #ifdef __cplusplus
30538 extern "C"
30539 #endif
30540 char dnet_ntoa ();
30541 int
30542 main ()
30543 {
30544 return dnet_ntoa ();
30545 ;
30546 return 0;
30547 }
30548 _ACEOF
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (ac_try="$ac_link"
30551 case "(($ac_try" in
30552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30553 *) ac_try_echo=$ac_try;;
30554 esac
30555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30556 (eval "$ac_link") 2>conftest.er1
30557 ac_status=$?
30558 grep -v '^ *+' conftest.er1 >conftest.err
30559 rm -f conftest.er1
30560 cat conftest.err >&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } && {
30563 test -z "$ac_c_werror_flag" ||
30564 test ! -s conftest.err
30565 } && test -s conftest$ac_exeext &&
30566 $as_test_x conftest$ac_exeext; then
30567 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30568 else
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.$ac_ext >&5
30571
30572 ac_cv_lib_dnet_stub_dnet_ntoa=no
30573 fi
30574
30575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30576 conftest$ac_exeext conftest.$ac_ext
30577 LIBS=$ac_check_lib_save_LIBS
30578 fi
30579 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30580 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30581 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30582 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30583 fi
30584
30585 fi
30586 fi
30587
30588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30589 conftest$ac_exeext conftest.$ac_ext
30590 LIBS="$ac_xsave_LIBS"
30591
30592 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30593 # to get the SysV transport functions.
30594 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30595 # needs -lnsl.
30596 # The nsl library prevents programs from opening the X display
30597 # on Irix 5.2, according to T.E. Dickey.
30598 # The functions gethostbyname, getservbyname, and inet_addr are
30599 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30600 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30601 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30602 if test "${ac_cv_func_gethostbyname+set}" = set; then
30603 echo $ECHO_N "(cached) $ECHO_C" >&6
30604 else
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30613 #define gethostbyname innocuous_gethostbyname
30614
30615 /* System header to define __stub macros and hopefully few prototypes,
30616 which can conflict with char gethostbyname (); below.
30617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30618 <limits.h> exists even on freestanding compilers. */
30619
30620 #ifdef __STDC__
30621 # include <limits.h>
30622 #else
30623 # include <assert.h>
30624 #endif
30625
30626 #undef gethostbyname
30627
30628 /* Override any GCC internal prototype to avoid an error.
30629 Use char because int might match the return type of a GCC
30630 builtin and then its argument prototype would still apply. */
30631 #ifdef __cplusplus
30632 extern "C"
30633 #endif
30634 char gethostbyname ();
30635 /* The GNU C library defines this for functions which it implements
30636 to always fail with ENOSYS. Some functions are actually named
30637 something starting with __ and the normal name is an alias. */
30638 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30639 choke me
30640 #endif
30641
30642 int
30643 main ()
30644 {
30645 return gethostbyname ();
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 rm -f conftest.$ac_objext conftest$ac_exeext
30651 if { (ac_try="$ac_link"
30652 case "(($ac_try" in
30653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30654 *) ac_try_echo=$ac_try;;
30655 esac
30656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30657 (eval "$ac_link") 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } && {
30664 test -z "$ac_c_werror_flag" ||
30665 test ! -s conftest.err
30666 } && test -s conftest$ac_exeext &&
30667 $as_test_x conftest$ac_exeext; then
30668 ac_cv_func_gethostbyname=yes
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30672
30673 ac_cv_func_gethostbyname=no
30674 fi
30675
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30680 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30681
30682 if test $ac_cv_func_gethostbyname = no; then
30683 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30684 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30685 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30687 else
30688 ac_check_lib_save_LIBS=$LIBS
30689 LIBS="-lnsl $LIBS"
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696
30697 /* Override any GCC internal prototype to avoid an error.
30698 Use char because int might match the return type of a GCC
30699 builtin and then its argument prototype would still apply. */
30700 #ifdef __cplusplus
30701 extern "C"
30702 #endif
30703 char gethostbyname ();
30704 int
30705 main ()
30706 {
30707 return gethostbyname ();
30708 ;
30709 return 0;
30710 }
30711 _ACEOF
30712 rm -f conftest.$ac_objext conftest$ac_exeext
30713 if { (ac_try="$ac_link"
30714 case "(($ac_try" in
30715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30716 *) ac_try_echo=$ac_try;;
30717 esac
30718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30719 (eval "$ac_link") 2>conftest.er1
30720 ac_status=$?
30721 grep -v '^ *+' conftest.er1 >conftest.err
30722 rm -f conftest.er1
30723 cat conftest.err >&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } && {
30726 test -z "$ac_c_werror_flag" ||
30727 test ! -s conftest.err
30728 } && test -s conftest$ac_exeext &&
30729 $as_test_x conftest$ac_exeext; then
30730 ac_cv_lib_nsl_gethostbyname=yes
30731 else
30732 echo "$as_me: failed program was:" >&5
30733 sed 's/^/| /' conftest.$ac_ext >&5
30734
30735 ac_cv_lib_nsl_gethostbyname=no
30736 fi
30737
30738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30739 conftest$ac_exeext conftest.$ac_ext
30740 LIBS=$ac_check_lib_save_LIBS
30741 fi
30742 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30743 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30744 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30745 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30746 fi
30747
30748 if test $ac_cv_lib_nsl_gethostbyname = no; then
30749 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30750 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30751 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30752 echo $ECHO_N "(cached) $ECHO_C" >&6
30753 else
30754 ac_check_lib_save_LIBS=$LIBS
30755 LIBS="-lbsd $LIBS"
30756 cat >conftest.$ac_ext <<_ACEOF
30757 /* confdefs.h. */
30758 _ACEOF
30759 cat confdefs.h >>conftest.$ac_ext
30760 cat >>conftest.$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30762
30763 /* Override any GCC internal prototype to avoid an error.
30764 Use char because int might match the return type of a GCC
30765 builtin and then its argument prototype would still apply. */
30766 #ifdef __cplusplus
30767 extern "C"
30768 #endif
30769 char gethostbyname ();
30770 int
30771 main ()
30772 {
30773 return gethostbyname ();
30774 ;
30775 return 0;
30776 }
30777 _ACEOF
30778 rm -f conftest.$ac_objext conftest$ac_exeext
30779 if { (ac_try="$ac_link"
30780 case "(($ac_try" in
30781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30782 *) ac_try_echo=$ac_try;;
30783 esac
30784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30785 (eval "$ac_link") 2>conftest.er1
30786 ac_status=$?
30787 grep -v '^ *+' conftest.er1 >conftest.err
30788 rm -f conftest.er1
30789 cat conftest.err >&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } && {
30792 test -z "$ac_c_werror_flag" ||
30793 test ! -s conftest.err
30794 } && test -s conftest$ac_exeext &&
30795 $as_test_x conftest$ac_exeext; then
30796 ac_cv_lib_bsd_gethostbyname=yes
30797 else
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30800
30801 ac_cv_lib_bsd_gethostbyname=no
30802 fi
30803
30804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30805 conftest$ac_exeext conftest.$ac_ext
30806 LIBS=$ac_check_lib_save_LIBS
30807 fi
30808 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30809 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30810 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30812 fi
30813
30814 fi
30815 fi
30816
30817 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30818 # socket/setsockopt and other routines are undefined under SCO ODT
30819 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30820 # on later versions), says Simon Leinen: it contains gethostby*
30821 # variants that don't use the name server (or something). -lsocket
30822 # must be given before -lnsl if both are needed. We assume that
30823 # if connect needs -lnsl, so does gethostbyname.
30824 { echo "$as_me:$LINENO: checking for connect" >&5
30825 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30826 if test "${ac_cv_func_connect+set}" = set; then
30827 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 else
30829 cat >conftest.$ac_ext <<_ACEOF
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30837 #define connect innocuous_connect
30838
30839 /* System header to define __stub macros and hopefully few prototypes,
30840 which can conflict with char connect (); below.
30841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30842 <limits.h> exists even on freestanding compilers. */
30843
30844 #ifdef __STDC__
30845 # include <limits.h>
30846 #else
30847 # include <assert.h>
30848 #endif
30849
30850 #undef connect
30851
30852 /* Override any GCC internal prototype to avoid an error.
30853 Use char because int might match the return type of a GCC
30854 builtin and then its argument prototype would still apply. */
30855 #ifdef __cplusplus
30856 extern "C"
30857 #endif
30858 char connect ();
30859 /* The GNU C library defines this for functions which it implements
30860 to always fail with ENOSYS. Some functions are actually named
30861 something starting with __ and the normal name is an alias. */
30862 #if defined __stub_connect || defined __stub___connect
30863 choke me
30864 #endif
30865
30866 int
30867 main ()
30868 {
30869 return connect ();
30870 ;
30871 return 0;
30872 }
30873 _ACEOF
30874 rm -f conftest.$ac_objext conftest$ac_exeext
30875 if { (ac_try="$ac_link"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30879 esac
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_link") 2>conftest.er1
30882 ac_status=$?
30883 grep -v '^ *+' conftest.er1 >conftest.err
30884 rm -f conftest.er1
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest$ac_exeext &&
30891 $as_test_x conftest$ac_exeext; then
30892 ac_cv_func_connect=yes
30893 else
30894 echo "$as_me: failed program was:" >&5
30895 sed 's/^/| /' conftest.$ac_ext >&5
30896
30897 ac_cv_func_connect=no
30898 fi
30899
30900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30901 conftest$ac_exeext conftest.$ac_ext
30902 fi
30903 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30904 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30905
30906 if test $ac_cv_func_connect = no; then
30907 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30908 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30909 if test "${ac_cv_lib_socket_connect+set}" = set; then
30910 echo $ECHO_N "(cached) $ECHO_C" >&6
30911 else
30912 ac_check_lib_save_LIBS=$LIBS
30913 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30914 cat >conftest.$ac_ext <<_ACEOF
30915 /* confdefs.h. */
30916 _ACEOF
30917 cat confdefs.h >>conftest.$ac_ext
30918 cat >>conftest.$ac_ext <<_ACEOF
30919 /* end confdefs.h. */
30920
30921 /* Override any GCC internal prototype to avoid an error.
30922 Use char because int might match the return type of a GCC
30923 builtin and then its argument prototype would still apply. */
30924 #ifdef __cplusplus
30925 extern "C"
30926 #endif
30927 char connect ();
30928 int
30929 main ()
30930 {
30931 return connect ();
30932 ;
30933 return 0;
30934 }
30935 _ACEOF
30936 rm -f conftest.$ac_objext conftest$ac_exeext
30937 if { (ac_try="$ac_link"
30938 case "(($ac_try" in
30939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30940 *) ac_try_echo=$ac_try;;
30941 esac
30942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 (eval "$ac_link") 2>conftest.er1
30944 ac_status=$?
30945 grep -v '^ *+' conftest.er1 >conftest.err
30946 rm -f conftest.er1
30947 cat conftest.err >&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); } && {
30950 test -z "$ac_c_werror_flag" ||
30951 test ! -s conftest.err
30952 } && test -s conftest$ac_exeext &&
30953 $as_test_x conftest$ac_exeext; then
30954 ac_cv_lib_socket_connect=yes
30955 else
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30958
30959 ac_cv_lib_socket_connect=no
30960 fi
30961
30962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30963 conftest$ac_exeext conftest.$ac_ext
30964 LIBS=$ac_check_lib_save_LIBS
30965 fi
30966 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30967 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30968 if test $ac_cv_lib_socket_connect = yes; then
30969 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30970 fi
30971
30972 fi
30973
30974 # Guillermo Gomez says -lposix is necessary on A/UX.
30975 { echo "$as_me:$LINENO: checking for remove" >&5
30976 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30977 if test "${ac_cv_func_remove+set}" = set; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30979 else
30980 cat >conftest.$ac_ext <<_ACEOF
30981 /* confdefs.h. */
30982 _ACEOF
30983 cat confdefs.h >>conftest.$ac_ext
30984 cat >>conftest.$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30986 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30988 #define remove innocuous_remove
30989
30990 /* System header to define __stub macros and hopefully few prototypes,
30991 which can conflict with char remove (); below.
30992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30993 <limits.h> exists even on freestanding compilers. */
30994
30995 #ifdef __STDC__
30996 # include <limits.h>
30997 #else
30998 # include <assert.h>
30999 #endif
31000
31001 #undef remove
31002
31003 /* Override any GCC internal prototype to avoid an error.
31004 Use char because int might match the return type of a GCC
31005 builtin and then its argument prototype would still apply. */
31006 #ifdef __cplusplus
31007 extern "C"
31008 #endif
31009 char remove ();
31010 /* The GNU C library defines this for functions which it implements
31011 to always fail with ENOSYS. Some functions are actually named
31012 something starting with __ and the normal name is an alias. */
31013 #if defined __stub_remove || defined __stub___remove
31014 choke me
31015 #endif
31016
31017 int
31018 main ()
31019 {
31020 return remove ();
31021 ;
31022 return 0;
31023 }
31024 _ACEOF
31025 rm -f conftest.$ac_objext conftest$ac_exeext
31026 if { (ac_try="$ac_link"
31027 case "(($ac_try" in
31028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31029 *) ac_try_echo=$ac_try;;
31030 esac
31031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31032 (eval "$ac_link") 2>conftest.er1
31033 ac_status=$?
31034 grep -v '^ *+' conftest.er1 >conftest.err
31035 rm -f conftest.er1
31036 cat conftest.err >&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); } && {
31039 test -z "$ac_c_werror_flag" ||
31040 test ! -s conftest.err
31041 } && test -s conftest$ac_exeext &&
31042 $as_test_x conftest$ac_exeext; then
31043 ac_cv_func_remove=yes
31044 else
31045 echo "$as_me: failed program was:" >&5
31046 sed 's/^/| /' conftest.$ac_ext >&5
31047
31048 ac_cv_func_remove=no
31049 fi
31050
31051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31052 conftest$ac_exeext conftest.$ac_ext
31053 fi
31054 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31055 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31056
31057 if test $ac_cv_func_remove = no; then
31058 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31059 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31060 if test "${ac_cv_lib_posix_remove+set}" = set; then
31061 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 else
31063 ac_check_lib_save_LIBS=$LIBS
31064 LIBS="-lposix $LIBS"
31065 cat >conftest.$ac_ext <<_ACEOF
31066 /* confdefs.h. */
31067 _ACEOF
31068 cat confdefs.h >>conftest.$ac_ext
31069 cat >>conftest.$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31071
31072 /* Override any GCC internal prototype to avoid an error.
31073 Use char because int might match the return type of a GCC
31074 builtin and then its argument prototype would still apply. */
31075 #ifdef __cplusplus
31076 extern "C"
31077 #endif
31078 char remove ();
31079 int
31080 main ()
31081 {
31082 return remove ();
31083 ;
31084 return 0;
31085 }
31086 _ACEOF
31087 rm -f conftest.$ac_objext conftest$ac_exeext
31088 if { (ac_try="$ac_link"
31089 case "(($ac_try" in
31090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31091 *) ac_try_echo=$ac_try;;
31092 esac
31093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31094 (eval "$ac_link") 2>conftest.er1
31095 ac_status=$?
31096 grep -v '^ *+' conftest.er1 >conftest.err
31097 rm -f conftest.er1
31098 cat conftest.err >&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); } && {
31101 test -z "$ac_c_werror_flag" ||
31102 test ! -s conftest.err
31103 } && test -s conftest$ac_exeext &&
31104 $as_test_x conftest$ac_exeext; then
31105 ac_cv_lib_posix_remove=yes
31106 else
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.$ac_ext >&5
31109
31110 ac_cv_lib_posix_remove=no
31111 fi
31112
31113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31114 conftest$ac_exeext conftest.$ac_ext
31115 LIBS=$ac_check_lib_save_LIBS
31116 fi
31117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31118 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31119 if test $ac_cv_lib_posix_remove = yes; then
31120 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31121 fi
31122
31123 fi
31124
31125 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31126 { echo "$as_me:$LINENO: checking for shmat" >&5
31127 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31128 if test "${ac_cv_func_shmat+set}" = set; then
31129 echo $ECHO_N "(cached) $ECHO_C" >&6
31130 else
31131 cat >conftest.$ac_ext <<_ACEOF
31132 /* confdefs.h. */
31133 _ACEOF
31134 cat confdefs.h >>conftest.$ac_ext
31135 cat >>conftest.$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31137 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31139 #define shmat innocuous_shmat
31140
31141 /* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char shmat (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31145
31146 #ifdef __STDC__
31147 # include <limits.h>
31148 #else
31149 # include <assert.h>
31150 #endif
31151
31152 #undef shmat
31153
31154 /* Override any GCC internal prototype to avoid an error.
31155 Use char because int might match the return type of a GCC
31156 builtin and then its argument prototype would still apply. */
31157 #ifdef __cplusplus
31158 extern "C"
31159 #endif
31160 char shmat ();
31161 /* The GNU C library defines this for functions which it implements
31162 to always fail with ENOSYS. Some functions are actually named
31163 something starting with __ and the normal name is an alias. */
31164 #if defined __stub_shmat || defined __stub___shmat
31165 choke me
31166 #endif
31167
31168 int
31169 main ()
31170 {
31171 return shmat ();
31172 ;
31173 return 0;
31174 }
31175 _ACEOF
31176 rm -f conftest.$ac_objext conftest$ac_exeext
31177 if { (ac_try="$ac_link"
31178 case "(($ac_try" in
31179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31180 *) ac_try_echo=$ac_try;;
31181 esac
31182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31183 (eval "$ac_link") 2>conftest.er1
31184 ac_status=$?
31185 grep -v '^ *+' conftest.er1 >conftest.err
31186 rm -f conftest.er1
31187 cat conftest.err >&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } && {
31190 test -z "$ac_c_werror_flag" ||
31191 test ! -s conftest.err
31192 } && test -s conftest$ac_exeext &&
31193 $as_test_x conftest$ac_exeext; then
31194 ac_cv_func_shmat=yes
31195 else
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31198
31199 ac_cv_func_shmat=no
31200 fi
31201
31202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31203 conftest$ac_exeext conftest.$ac_ext
31204 fi
31205 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31206 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31207
31208 if test $ac_cv_func_shmat = no; then
31209 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31210 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31211 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31213 else
31214 ac_check_lib_save_LIBS=$LIBS
31215 LIBS="-lipc $LIBS"
31216 cat >conftest.$ac_ext <<_ACEOF
31217 /* confdefs.h. */
31218 _ACEOF
31219 cat confdefs.h >>conftest.$ac_ext
31220 cat >>conftest.$ac_ext <<_ACEOF
31221 /* end confdefs.h. */
31222
31223 /* Override any GCC internal prototype to avoid an error.
31224 Use char because int might match the return type of a GCC
31225 builtin and then its argument prototype would still apply. */
31226 #ifdef __cplusplus
31227 extern "C"
31228 #endif
31229 char shmat ();
31230 int
31231 main ()
31232 {
31233 return shmat ();
31234 ;
31235 return 0;
31236 }
31237 _ACEOF
31238 rm -f conftest.$ac_objext conftest$ac_exeext
31239 if { (ac_try="$ac_link"
31240 case "(($ac_try" in
31241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31242 *) ac_try_echo=$ac_try;;
31243 esac
31244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31245 (eval "$ac_link") 2>conftest.er1
31246 ac_status=$?
31247 grep -v '^ *+' conftest.er1 >conftest.err
31248 rm -f conftest.er1
31249 cat conftest.err >&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); } && {
31252 test -z "$ac_c_werror_flag" ||
31253 test ! -s conftest.err
31254 } && test -s conftest$ac_exeext &&
31255 $as_test_x conftest$ac_exeext; then
31256 ac_cv_lib_ipc_shmat=yes
31257 else
31258 echo "$as_me: failed program was:" >&5
31259 sed 's/^/| /' conftest.$ac_ext >&5
31260
31261 ac_cv_lib_ipc_shmat=no
31262 fi
31263
31264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31265 conftest$ac_exeext conftest.$ac_ext
31266 LIBS=$ac_check_lib_save_LIBS
31267 fi
31268 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31269 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31270 if test $ac_cv_lib_ipc_shmat = yes; then
31271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31272 fi
31273
31274 fi
31275 fi
31276
31277 # Check for libraries that X11R6 Xt/Xaw programs need.
31278 ac_save_LDFLAGS=$LDFLAGS
31279 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31281 # check for ICE first), but we must link in the order -lSM -lICE or
31282 # we get undefined symbols. So assume we have SM if we have ICE.
31283 # These have to be linked with before -lX11, unlike the other
31284 # libraries we check for below, so use a different variable.
31285 # John Interrante, Karl Berry
31286 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31287 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31288 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31290 else
31291 ac_check_lib_save_LIBS=$LIBS
31292 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31293 cat >conftest.$ac_ext <<_ACEOF
31294 /* confdefs.h. */
31295 _ACEOF
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31299
31300 /* Override any GCC internal prototype to avoid an error.
31301 Use char because int might match the return type of a GCC
31302 builtin and then its argument prototype would still apply. */
31303 #ifdef __cplusplus
31304 extern "C"
31305 #endif
31306 char IceConnectionNumber ();
31307 int
31308 main ()
31309 {
31310 return IceConnectionNumber ();
31311 ;
31312 return 0;
31313 }
31314 _ACEOF
31315 rm -f conftest.$ac_objext conftest$ac_exeext
31316 if { (ac_try="$ac_link"
31317 case "(($ac_try" in
31318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31319 *) ac_try_echo=$ac_try;;
31320 esac
31321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31322 (eval "$ac_link") 2>conftest.er1
31323 ac_status=$?
31324 grep -v '^ *+' conftest.er1 >conftest.err
31325 rm -f conftest.er1
31326 cat conftest.err >&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); } && {
31329 test -z "$ac_c_werror_flag" ||
31330 test ! -s conftest.err
31331 } && test -s conftest$ac_exeext &&
31332 $as_test_x conftest$ac_exeext; then
31333 ac_cv_lib_ICE_IceConnectionNumber=yes
31334 else
31335 echo "$as_me: failed program was:" >&5
31336 sed 's/^/| /' conftest.$ac_ext >&5
31337
31338 ac_cv_lib_ICE_IceConnectionNumber=no
31339 fi
31340
31341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31342 conftest$ac_exeext conftest.$ac_ext
31343 LIBS=$ac_check_lib_save_LIBS
31344 fi
31345 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31346 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31347 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31348 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31349 fi
31350
31351 LDFLAGS=$ac_save_LDFLAGS
31352
31353 fi
31354
31355
31356 if test "$no_x" = "yes"; then
31357 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31358 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31359 { (exit 1); exit 1; }; }
31360 fi
31361
31362 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31363 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31364 AFMINSTALL=afminstall
31365 COMPILED_X_PROGRAM=0
31366
31367 fi
31368
31369 if test "$wxUSE_X11" = 1; then
31370 if test "$wxUSE_NANOX" = "yes"; then
31371 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31372 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31373 if test "x$MICROWIN" = x ; then
31374 { echo "$as_me:$LINENO: result: not found" >&5
31375 echo "${ECHO_T}not found" >&6; }
31376 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31377 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31378 { (exit 1); exit 1; }; }
31379 else
31380 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31381 echo "${ECHO_T}$MICROWIN" >&6; }
31382 cat >>confdefs.h <<\_ACEOF
31383 #define wxUSE_NANOX 1
31384 _ACEOF
31385
31386 fi
31387 fi
31388
31389 if test "$wxUSE_UNICODE" = "yes"; then
31390
31391
31392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31393 if test -n "$ac_tool_prefix"; then
31394 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31395 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 else
31401 case $PKG_CONFIG in
31402 [\\/]* | ?:[\\/]*)
31403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31404 ;;
31405 *)
31406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31407 for as_dir in $PATH
31408 do
31409 IFS=$as_save_IFS
31410 test -z "$as_dir" && as_dir=.
31411 for ac_exec_ext in '' $ac_executable_extensions; do
31412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31415 break 2
31416 fi
31417 done
31418 done
31419 IFS=$as_save_IFS
31420
31421 ;;
31422 esac
31423 fi
31424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31425 if test -n "$PKG_CONFIG"; then
31426 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31427 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31428 else
31429 { echo "$as_me:$LINENO: result: no" >&5
31430 echo "${ECHO_T}no" >&6; }
31431 fi
31432
31433
31434 fi
31435 if test -z "$ac_cv_path_PKG_CONFIG"; then
31436 ac_pt_PKG_CONFIG=$PKG_CONFIG
31437 # Extract the first word of "pkg-config", so it can be a program name with args.
31438 set dummy pkg-config; ac_word=$2
31439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31441 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31443 else
31444 case $ac_pt_PKG_CONFIG in
31445 [\\/]* | ?:[\\/]*)
31446 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31447 ;;
31448 *)
31449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31450 for as_dir in $PATH
31451 do
31452 IFS=$as_save_IFS
31453 test -z "$as_dir" && as_dir=.
31454 for ac_exec_ext in '' $ac_executable_extensions; do
31455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31456 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31458 break 2
31459 fi
31460 done
31461 done
31462 IFS=$as_save_IFS
31463
31464 ;;
31465 esac
31466 fi
31467 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31468 if test -n "$ac_pt_PKG_CONFIG"; then
31469 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31470 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31471 else
31472 { echo "$as_me:$LINENO: result: no" >&5
31473 echo "${ECHO_T}no" >&6; }
31474 fi
31475
31476 if test "x$ac_pt_PKG_CONFIG" = x; then
31477 PKG_CONFIG=""
31478 else
31479 case $cross_compiling:$ac_tool_warned in
31480 yes:)
31481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31482 whose name does not start with the host triplet. If you think this
31483 configuration is useful to you, please write to autoconf@gnu.org." >&5
31484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31485 whose name does not start with the host triplet. If you think this
31486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31487 ac_tool_warned=yes ;;
31488 esac
31489 PKG_CONFIG=$ac_pt_PKG_CONFIG
31490 fi
31491 else
31492 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31493 fi
31494
31495 fi
31496 if test -n "$PKG_CONFIG"; then
31497 _pkg_min_version=0.9.0
31498 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31499 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31500 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31501 { echo "$as_me:$LINENO: result: yes" >&5
31502 echo "${ECHO_T}yes" >&6; }
31503 else
31504 { echo "$as_me:$LINENO: result: no" >&5
31505 echo "${ECHO_T}no" >&6; }
31506 PKG_CONFIG=""
31507 fi
31508
31509 fi
31510
31511
31512 pkg_failed=no
31513 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31514 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31515
31516 if test -n "$PKG_CONFIG"; then
31517 if test -n "$PANGOX_CFLAGS"; then
31518 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31519 else
31520 if test -n "$PKG_CONFIG" && \
31521 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31522 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31523 ac_status=$?
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); }; then
31526 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31527 else
31528 pkg_failed=yes
31529 fi
31530 fi
31531 else
31532 pkg_failed=untried
31533 fi
31534 if test -n "$PKG_CONFIG"; then
31535 if test -n "$PANGOX_LIBS"; then
31536 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31537 else
31538 if test -n "$PKG_CONFIG" && \
31539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31540 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31541 ac_status=$?
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; then
31544 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31545 else
31546 pkg_failed=yes
31547 fi
31548 fi
31549 else
31550 pkg_failed=untried
31551 fi
31552
31553
31554
31555 if test $pkg_failed = yes; then
31556
31557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31558 _pkg_short_errors_supported=yes
31559 else
31560 _pkg_short_errors_supported=no
31561 fi
31562 if test $_pkg_short_errors_supported = yes; then
31563 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31564 else
31565 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31566 fi
31567 # Put the nasty error message in config.log where it belongs
31568 echo "$PANGOX_PKG_ERRORS" >&5
31569
31570
31571 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31572 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31573 { (exit 1); exit 1; }; }
31574
31575
31576 elif test $pkg_failed = untried; then
31577
31578 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31579 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31580 { (exit 1); exit 1; }; }
31581
31582
31583 else
31584 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31585 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31586 { echo "$as_me:$LINENO: result: yes" >&5
31587 echo "${ECHO_T}yes" >&6; }
31588
31589 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31590 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31591 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31592
31593 fi
31594
31595 pkg_failed=no
31596 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31597 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31598
31599 if test -n "$PKG_CONFIG"; then
31600 if test -n "$PANGOFT2_CFLAGS"; then
31601 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31602 else
31603 if test -n "$PKG_CONFIG" && \
31604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31605 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31606 ac_status=$?
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; then
31609 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31610 else
31611 pkg_failed=yes
31612 fi
31613 fi
31614 else
31615 pkg_failed=untried
31616 fi
31617 if test -n "$PKG_CONFIG"; then
31618 if test -n "$PANGOFT2_LIBS"; then
31619 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31620 else
31621 if test -n "$PKG_CONFIG" && \
31622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31623 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31624 ac_status=$?
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); }; then
31627 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31628 else
31629 pkg_failed=yes
31630 fi
31631 fi
31632 else
31633 pkg_failed=untried
31634 fi
31635
31636
31637
31638 if test $pkg_failed = yes; then
31639
31640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31641 _pkg_short_errors_supported=yes
31642 else
31643 _pkg_short_errors_supported=no
31644 fi
31645 if test $_pkg_short_errors_supported = yes; then
31646 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31647 else
31648 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31649 fi
31650 # Put the nasty error message in config.log where it belongs
31651 echo "$PANGOFT2_PKG_ERRORS" >&5
31652
31653
31654 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31655 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31656 wxUSE_PRINTING_ARCHITECTURE="no"
31657
31658
31659 elif test $pkg_failed = untried; then
31660
31661 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31662 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31663 wxUSE_PRINTING_ARCHITECTURE="no"
31664
31665
31666 else
31667 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31668 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31669 { echo "$as_me:$LINENO: result: yes" >&5
31670 echo "${ECHO_T}yes" >&6; }
31671
31672 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31673 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31674 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31675
31676 fi
31677
31678 pkg_failed=no
31679 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31680 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31681
31682 if test -n "$PKG_CONFIG"; then
31683 if test -n "$PANGOXFT_CFLAGS"; then
31684 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31685 else
31686 if test -n "$PKG_CONFIG" && \
31687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31688 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31689 ac_status=$?
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; then
31692 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31693 else
31694 pkg_failed=yes
31695 fi
31696 fi
31697 else
31698 pkg_failed=untried
31699 fi
31700 if test -n "$PKG_CONFIG"; then
31701 if test -n "$PANGOXFT_LIBS"; then
31702 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31703 else
31704 if test -n "$PKG_CONFIG" && \
31705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31706 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31707 ac_status=$?
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; then
31710 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31711 else
31712 pkg_failed=yes
31713 fi
31714 fi
31715 else
31716 pkg_failed=untried
31717 fi
31718
31719
31720
31721 if test $pkg_failed = yes; then
31722
31723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31724 _pkg_short_errors_supported=yes
31725 else
31726 _pkg_short_errors_supported=no
31727 fi
31728 if test $_pkg_short_errors_supported = yes; then
31729 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31730 else
31731 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31732 fi
31733 # Put the nasty error message in config.log where it belongs
31734 echo "$PANGOXFT_PKG_ERRORS" >&5
31735
31736
31737 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31738 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31739
31740
31741 elif test $pkg_failed = untried; then
31742
31743 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31744 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31745
31746
31747 else
31748 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31749 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31750 { echo "$as_me:$LINENO: result: yes" >&5
31751 echo "${ECHO_T}yes" >&6; }
31752
31753 cat >>confdefs.h <<\_ACEOF
31754 #define HAVE_PANGO_XFT 1
31755 _ACEOF
31756
31757 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31758 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31760
31761 fi
31762 save_LIBS="$LIBS"
31763 LIBS="$LIBS $PANGOX_LIBS"
31764
31765 for ac_func in pango_font_family_is_monospace
31766 do
31767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31768 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31770 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31771 echo $ECHO_N "(cached) $ECHO_C" >&6
31772 else
31773 cat >conftest.$ac_ext <<_ACEOF
31774 /* confdefs.h. */
31775 _ACEOF
31776 cat confdefs.h >>conftest.$ac_ext
31777 cat >>conftest.$ac_ext <<_ACEOF
31778 /* end confdefs.h. */
31779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31781 #define $ac_func innocuous_$ac_func
31782
31783 /* System header to define __stub macros and hopefully few prototypes,
31784 which can conflict with char $ac_func (); below.
31785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31786 <limits.h> exists even on freestanding compilers. */
31787
31788 #ifdef __STDC__
31789 # include <limits.h>
31790 #else
31791 # include <assert.h>
31792 #endif
31793
31794 #undef $ac_func
31795
31796 /* Override any GCC internal prototype to avoid an error.
31797 Use char because int might match the return type of a GCC
31798 builtin and then its argument prototype would still apply. */
31799 #ifdef __cplusplus
31800 extern "C"
31801 #endif
31802 char $ac_func ();
31803 /* The GNU C library defines this for functions which it implements
31804 to always fail with ENOSYS. Some functions are actually named
31805 something starting with __ and the normal name is an alias. */
31806 #if defined __stub_$ac_func || defined __stub___$ac_func
31807 choke me
31808 #endif
31809
31810 int
31811 main ()
31812 {
31813 return $ac_func ();
31814 ;
31815 return 0;
31816 }
31817 _ACEOF
31818 rm -f conftest.$ac_objext conftest$ac_exeext
31819 if { (ac_try="$ac_link"
31820 case "(($ac_try" in
31821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31822 *) ac_try_echo=$ac_try;;
31823 esac
31824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31825 (eval "$ac_link") 2>conftest.er1
31826 ac_status=$?
31827 grep -v '^ *+' conftest.er1 >conftest.err
31828 rm -f conftest.er1
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } && {
31832 test -z "$ac_c_werror_flag" ||
31833 test ! -s conftest.err
31834 } && test -s conftest$ac_exeext &&
31835 $as_test_x conftest$ac_exeext; then
31836 eval "$as_ac_var=yes"
31837 else
31838 echo "$as_me: failed program was:" >&5
31839 sed 's/^/| /' conftest.$ac_ext >&5
31840
31841 eval "$as_ac_var=no"
31842 fi
31843
31844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31845 conftest$ac_exeext conftest.$ac_ext
31846 fi
31847 ac_res=`eval echo '${'$as_ac_var'}'`
31848 { echo "$as_me:$LINENO: result: $ac_res" >&5
31849 echo "${ECHO_T}$ac_res" >&6; }
31850 if test `eval echo '${'$as_ac_var'}'` = yes; then
31851 cat >>confdefs.h <<_ACEOF
31852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31853 _ACEOF
31854
31855 fi
31856 done
31857
31858 LIBS="$save_LIBS"
31859 fi
31860
31861 wxUSE_UNIVERSAL="yes"
31862
31863 if test "$wxUSE_NANOX" = "yes"; then
31864 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31865 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"
31866 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31867 else
31868 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31869 fi
31870
31871 TOOLKIT=X11
31872 GUIDIST=X11_DIST
31873 fi
31874
31875 if test "$wxUSE_MOTIF" = 1; then
31876 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31877 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31878
31879 ac_find_includes=
31880 for ac_dir in $SEARCH_INCLUDE /usr/include;
31881 do
31882 if test -f "$ac_dir/Xm/Xm.h"; then
31883 ac_find_includes=$ac_dir
31884 break
31885 fi
31886 done
31887
31888 if test "$ac_find_includes" != "" ; then
31889 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31890 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31891
31892 if test "x$ac_find_includes" = "x/usr/include"; then
31893 ac_path_to_include=""
31894 else
31895 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31896 result=$?
31897 if test $result = 0; then
31898 ac_path_to_include=""
31899 else
31900 ac_path_to_include=" -I$ac_find_includes"
31901 fi
31902 fi
31903
31904 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31905 else
31906 save_CFLAGS=$CFLAGS
31907 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31908
31909 cat >conftest.$ac_ext <<_ACEOF
31910 /* confdefs.h. */
31911 _ACEOF
31912 cat confdefs.h >>conftest.$ac_ext
31913 cat >>conftest.$ac_ext <<_ACEOF
31914 /* end confdefs.h. */
31915
31916 #include <Xm/Xm.h>
31917
31918 int
31919 main ()
31920 {
31921
31922 int version;
31923 version = xmUseVersion;
31924
31925 ;
31926 return 0;
31927 }
31928 _ACEOF
31929 rm -f conftest.$ac_objext
31930 if { (ac_try="$ac_compile"
31931 case "(($ac_try" in
31932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31933 *) ac_try_echo=$ac_try;;
31934 esac
31935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31936 (eval "$ac_compile") 2>conftest.er1
31937 ac_status=$?
31938 grep -v '^ *+' conftest.er1 >conftest.err
31939 rm -f conftest.er1
31940 cat conftest.err >&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } && {
31943 test -z "$ac_c_werror_flag" ||
31944 test ! -s conftest.err
31945 } && test -s conftest.$ac_objext; then
31946
31947 { echo "$as_me:$LINENO: result: found in default search path" >&5
31948 echo "${ECHO_T}found in default search path" >&6; }
31949 COMPILED_X_PROGRAM=1
31950
31951 else
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.$ac_ext >&5
31954
31955
31956 { echo "$as_me:$LINENO: result: no" >&5
31957 echo "${ECHO_T}no" >&6; }
31958 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31959 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31960 { (exit 1); exit 1; }; }
31961
31962
31963 fi
31964
31965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31966
31967 CFLAGS=$save_CFLAGS
31968 fi
31969
31970
31971 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31972 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31973
31974 ac_find_libraries=
31975 for ac_dir in $SEARCH_LIB;
31976 do
31977 for ac_extension in a so sl dylib dll.a; do
31978 if test -f "$ac_dir/libXm.$ac_extension"; then
31979 ac_find_libraries=$ac_dir
31980 break 2
31981 fi
31982 done
31983 done
31984
31985
31986 if test "x$ac_find_libraries" != "x" ; then
31987 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31988 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31989
31990
31991 if test "$ac_find_libraries" = "default location"; then
31992 ac_path_to_link=""
31993 else
31994 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31995 result=$?
31996 if test $result = 0; then
31997 ac_path_to_link=""
31998 else
31999 ac_path_to_link=" -L$ac_find_libraries"
32000 fi
32001 fi
32002
32003 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32004 else
32005 save_CFLAGS=$CFLAGS
32006 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32007 save_LIBS="$LIBS"
32008 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32009
32010 cat >conftest.$ac_ext <<_ACEOF
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016
32017 #include <Xm/Xm.h>
32018
32019 int
32020 main ()
32021 {
32022
32023 int version;
32024 version = xmUseVersion;
32025
32026 ;
32027 return 0;
32028 }
32029 _ACEOF
32030 rm -f conftest.$ac_objext conftest$ac_exeext
32031 if { (ac_try="$ac_link"
32032 case "(($ac_try" in
32033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32034 *) ac_try_echo=$ac_try;;
32035 esac
32036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 (eval "$ac_link") 2>conftest.er1
32038 ac_status=$?
32039 grep -v '^ *+' conftest.er1 >conftest.err
32040 rm -f conftest.er1
32041 cat conftest.err >&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); } && {
32044 test -z "$ac_c_werror_flag" ||
32045 test ! -s conftest.err
32046 } && test -s conftest$ac_exeext &&
32047 $as_test_x conftest$ac_exeext; then
32048
32049 { echo "$as_me:$LINENO: result: found in default search path" >&5
32050 echo "${ECHO_T}found in default search path" >&6; }
32051 COMPILED_X_PROGRAM=1
32052
32053 else
32054 echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.$ac_ext >&5
32056
32057
32058 { echo "$as_me:$LINENO: result: no" >&5
32059 echo "${ECHO_T}no" >&6; }
32060 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32061 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32062 { (exit 1); exit 1; }; }
32063
32064
32065 fi
32066
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32069
32070 CFLAGS=$save_CFLAGS
32071 LIBS="$save_LIBS"
32072 fi
32073
32074 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32075 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32076 libp_link=""
32077 libsm_ice_link=""
32078 libs_found=0
32079 for libp in "" " -lXp"; do
32080 if test "$libs_found" = 0; then
32081 for libsm_ice in "" " -lSM -lICE"; do
32082 if test "$libs_found" = 0; then
32083 save_LIBS="$LIBS"
32084 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32085 save_CFLAGS=$CFLAGS
32086 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32087
32088 cat >conftest.$ac_ext <<_ACEOF
32089 /* confdefs.h. */
32090 _ACEOF
32091 cat confdefs.h >>conftest.$ac_ext
32092 cat >>conftest.$ac_ext <<_ACEOF
32093 /* end confdefs.h. */
32094
32095 #include <Xm/Xm.h>
32096 #include <Xm/List.h>
32097
32098 int
32099 main ()
32100 {
32101
32102 XmString string = NULL;
32103 Widget w = NULL;
32104 int position = 0;
32105 XmListAddItem(w, string, position);
32106
32107 ;
32108 return 0;
32109 }
32110 _ACEOF
32111 rm -f conftest.$ac_objext conftest$ac_exeext
32112 if { (ac_try="$ac_link"
32113 case "(($ac_try" in
32114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32115 *) ac_try_echo=$ac_try;;
32116 esac
32117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32118 (eval "$ac_link") 2>conftest.er1
32119 ac_status=$?
32120 grep -v '^ *+' conftest.er1 >conftest.err
32121 rm -f conftest.er1
32122 cat conftest.err >&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); } && {
32125 test -z "$ac_c_werror_flag" ||
32126 test ! -s conftest.err
32127 } && test -s conftest$ac_exeext &&
32128 $as_test_x conftest$ac_exeext; then
32129
32130 libp_link="$libp"
32131 libsm_ice_link="$libsm_ice"
32132 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32133 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32134 libs_found=1
32135
32136 else
32137 echo "$as_me: failed program was:" >&5
32138 sed 's/^/| /' conftest.$ac_ext >&5
32139
32140
32141
32142 fi
32143
32144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32145 conftest$ac_exeext conftest.$ac_ext
32146
32147 LIBS="$save_LIBS"
32148 CFLAGS=$save_CFLAGS
32149 fi
32150 done
32151 fi
32152 done
32153
32154 if test "$libs_found" = 0; then
32155 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32156 echo "${ECHO_T}can't find the right libraries" >&6; }
32157 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32158 echo "$as_me: error: can't link a simple motif program" >&2;}
32159 { (exit 1); exit 1; }; }
32160 fi
32161
32162 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32163 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32164 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32165 echo $ECHO_N "(cached) $ECHO_C" >&6
32166 else
32167 ac_check_lib_save_LIBS=$LIBS
32168 LIBS="-lSgm $LIBS"
32169 cat >conftest.$ac_ext <<_ACEOF
32170 /* confdefs.h. */
32171 _ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32175
32176 /* Override any GCC internal prototype to avoid an error.
32177 Use char because int might match the return type of a GCC
32178 builtin and then its argument prototype would still apply. */
32179 #ifdef __cplusplus
32180 extern "C"
32181 #endif
32182 char SgCreateList ();
32183 int
32184 main ()
32185 {
32186 return SgCreateList ();
32187 ;
32188 return 0;
32189 }
32190 _ACEOF
32191 rm -f conftest.$ac_objext conftest$ac_exeext
32192 if { (ac_try="$ac_link"
32193 case "(($ac_try" in
32194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32195 *) ac_try_echo=$ac_try;;
32196 esac
32197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32198 (eval "$ac_link") 2>conftest.er1
32199 ac_status=$?
32200 grep -v '^ *+' conftest.er1 >conftest.err
32201 rm -f conftest.er1
32202 cat conftest.err >&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } && {
32205 test -z "$ac_c_werror_flag" ||
32206 test ! -s conftest.err
32207 } && test -s conftest$ac_exeext &&
32208 $as_test_x conftest$ac_exeext; then
32209 ac_cv_lib_Sgm_SgCreateList=yes
32210 else
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.$ac_ext >&5
32213
32214 ac_cv_lib_Sgm_SgCreateList=no
32215 fi
32216
32217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32218 conftest$ac_exeext conftest.$ac_ext
32219 LIBS=$ac_check_lib_save_LIBS
32220 fi
32221 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32222 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32223 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32224 libsgm_link=" -lSgm"
32225 fi
32226
32227
32228 save_CFLAGS=$CFLAGS
32229 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32230
32231 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32232 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32233 if test "${wx_cv_lib_motif2+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32235 else
32236 cat >conftest.$ac_ext <<_ACEOF
32237 /* confdefs.h. */
32238 _ACEOF
32239 cat confdefs.h >>conftest.$ac_ext
32240 cat >>conftest.$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242
32243 #include <Xm/Xm.h>
32244
32245 int
32246 main ()
32247 {
32248
32249 #if XmVersion < 2000
32250 Not Motif 2
32251 #endif
32252
32253 ;
32254 return 0;
32255 }
32256 _ACEOF
32257 rm -f conftest.$ac_objext
32258 if { (ac_try="$ac_compile"
32259 case "(($ac_try" in
32260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32261 *) ac_try_echo=$ac_try;;
32262 esac
32263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32264 (eval "$ac_compile") 2>conftest.er1
32265 ac_status=$?
32266 grep -v '^ *+' conftest.er1 >conftest.err
32267 rm -f conftest.er1
32268 cat conftest.err >&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } && {
32271 test -z "$ac_c_werror_flag" ||
32272 test ! -s conftest.err
32273 } && test -s conftest.$ac_objext; then
32274 wx_cv_lib_motif2="yes"
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32278
32279 wx_cv_lib_motif2="no"
32280 fi
32281
32282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32283 fi
32284 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32285 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32286 if test "$wx_cv_lib_motif2" = "yes"; then
32287 cat >>confdefs.h <<\_ACEOF
32288 #define __WXMOTIF20__ 1
32289 _ACEOF
32290
32291 else
32292 cat >>confdefs.h <<\_ACEOF
32293 #define __WXMOTIF20__ 0
32294 _ACEOF
32295
32296 fi
32297
32298 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32299 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32300 if test "${wx_cv_lib_lesstif+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 else
32303 cat >conftest.$ac_ext <<_ACEOF
32304 /* confdefs.h. */
32305 _ACEOF
32306 cat confdefs.h >>conftest.$ac_ext
32307 cat >>conftest.$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32309
32310 #include <Xm/Xm.h>
32311
32312 int
32313 main ()
32314 {
32315
32316 #if !defined(LesstifVersion) || LesstifVersion <= 0
32317 Not Lesstif
32318 #endif
32319
32320 ;
32321 return 0;
32322 }
32323 _ACEOF
32324 rm -f conftest.$ac_objext
32325 if { (ac_try="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32329 esac
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 wx_cv_lib_lesstif="yes"
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32345
32346 wx_cv_lib_lesstif="no"
32347 fi
32348
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350
32351 fi
32352 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32353 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32354 if test "$wx_cv_lib_lesstif" = "yes"; then
32355 cat >>confdefs.h <<\_ACEOF
32356 #define __WXLESSTIF__ 1
32357 _ACEOF
32358
32359 else
32360 cat >>confdefs.h <<\_ACEOF
32361 #define __WXLESSTIF__ 0
32362 _ACEOF
32363
32364 fi
32365
32366 CFLAGS=$save_CFLAGS
32367
32368 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32369 TOOLKIT=MOTIF
32370 GUIDIST=MOTIF_DIST
32371 fi
32372
32373 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32374 if test "$wxUSE_LIBXPM" = "sys"; then
32375 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32376 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32377
32378 ac_find_libraries=
32379 for ac_dir in $SEARCH_LIB;
32380 do
32381 for ac_extension in a so sl dylib dll.a; do
32382 if test -f "$ac_dir/libXpm.$ac_extension"; then
32383 ac_find_libraries=$ac_dir
32384 break 2
32385 fi
32386 done
32387 done
32388
32389 if test "$ac_find_libraries" != "" ; then
32390
32391 if test "$ac_find_libraries" = "default location"; then
32392 ac_path_to_link=""
32393 else
32394 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32395 result=$?
32396 if test $result = 0; then
32397 ac_path_to_link=""
32398 else
32399 ac_path_to_link=" -L$ac_find_libraries"
32400 fi
32401 fi
32402
32403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32404 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32405 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32406
32407 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32408 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32409 if test "${wx_cv_x11_xpm_h+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32411 else
32412
32413 save_CFLAGS=$CFLAGS
32414 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32415
32416 cat >conftest.$ac_ext <<_ACEOF
32417 /* confdefs.h. */
32418 _ACEOF
32419 cat confdefs.h >>conftest.$ac_ext
32420 cat >>conftest.$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32422
32423 #include <X11/xpm.h>
32424
32425 int
32426 main ()
32427 {
32428
32429 int version;
32430 version = XpmLibraryVersion();
32431
32432 ;
32433 return 0;
32434 }
32435 _ACEOF
32436 rm -f conftest.$ac_objext
32437 if { (ac_try="$ac_compile"
32438 case "(($ac_try" in
32439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32440 *) ac_try_echo=$ac_try;;
32441 esac
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_compile") 2>conftest.er1
32444 ac_status=$?
32445 grep -v '^ *+' conftest.er1 >conftest.err
32446 rm -f conftest.er1
32447 cat conftest.err >&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); } && {
32450 test -z "$ac_c_werror_flag" ||
32451 test ! -s conftest.err
32452 } && test -s conftest.$ac_objext; then
32453 wx_cv_x11_xpm_h=yes
32454 else
32455 echo "$as_me: failed program was:" >&5
32456 sed 's/^/| /' conftest.$ac_ext >&5
32457
32458 wx_cv_x11_xpm_h=no
32459
32460 fi
32461
32462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32463
32464 CFLAGS=$save_CFLAGS
32465
32466
32467 fi
32468 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32469 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32470
32471 if test $wx_cv_x11_xpm_h = "yes"; then
32472 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32473 cat >>confdefs.h <<\_ACEOF
32474 #define wxHAVE_LIB_XPM 1
32475 _ACEOF
32476
32477 else
32478 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32479 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32480 fi
32481 fi
32482
32483 fi
32484
32485 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32486 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32487 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 else
32490 ac_check_lib_save_LIBS=$LIBS
32491 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32492 cat >conftest.$ac_ext <<_ACEOF
32493 /* confdefs.h. */
32494 _ACEOF
32495 cat confdefs.h >>conftest.$ac_ext
32496 cat >>conftest.$ac_ext <<_ACEOF
32497 /* end confdefs.h. */
32498
32499 /* Override any GCC internal prototype to avoid an error.
32500 Use char because int might match the return type of a GCC
32501 builtin and then its argument prototype would still apply. */
32502 #ifdef __cplusplus
32503 extern "C"
32504 #endif
32505 char XShapeQueryExtension ();
32506 int
32507 main ()
32508 {
32509 return XShapeQueryExtension ();
32510 ;
32511 return 0;
32512 }
32513 _ACEOF
32514 rm -f conftest.$ac_objext conftest$ac_exeext
32515 if { (ac_try="$ac_link"
32516 case "(($ac_try" in
32517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32518 *) ac_try_echo=$ac_try;;
32519 esac
32520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32521 (eval "$ac_link") 2>conftest.er1
32522 ac_status=$?
32523 grep -v '^ *+' conftest.er1 >conftest.err
32524 rm -f conftest.er1
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } && {
32528 test -z "$ac_c_werror_flag" ||
32529 test ! -s conftest.err
32530 } && test -s conftest$ac_exeext &&
32531 $as_test_x conftest$ac_exeext; then
32532 ac_cv_lib_Xext_XShapeQueryExtension=yes
32533 else
32534 echo "$as_me: failed program was:" >&5
32535 sed 's/^/| /' conftest.$ac_ext >&5
32536
32537 ac_cv_lib_Xext_XShapeQueryExtension=no
32538 fi
32539
32540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32541 conftest$ac_exeext conftest.$ac_ext
32542 LIBS=$ac_check_lib_save_LIBS
32543 fi
32544 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32545 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32546 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32547
32548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32549 wxHAVE_XEXT_LIB=1
32550
32551 fi
32552
32553
32554 if test "$wxHAVE_XEXT_LIB" = 1; then
32555 save_CFLAGS="$CFLAGS"
32556 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32557
32558 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32559 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32560 cat >conftest.$ac_ext <<_ACEOF
32561 /* confdefs.h. */
32562 _ACEOF
32563 cat confdefs.h >>conftest.$ac_ext
32564 cat >>conftest.$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32566
32567 #include <X11/Xlib.h>
32568 #include <X11/extensions/shape.h>
32569
32570 int
32571 main ()
32572 {
32573
32574 int dummy1, dummy2;
32575 XShapeQueryExtension((Display*)NULL,
32576 (int*)NULL, (int*)NULL);
32577
32578 ;
32579 return 0;
32580 }
32581 _ACEOF
32582 rm -f conftest.$ac_objext
32583 if { (ac_try="$ac_compile"
32584 case "(($ac_try" in
32585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32586 *) ac_try_echo=$ac_try;;
32587 esac
32588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32589 (eval "$ac_compile") 2>conftest.er1
32590 ac_status=$?
32591 grep -v '^ *+' conftest.er1 >conftest.err
32592 rm -f conftest.er1
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } && {
32596 test -z "$ac_c_werror_flag" ||
32597 test ! -s conftest.err
32598 } && test -s conftest.$ac_objext; then
32599
32600 cat >>confdefs.h <<\_ACEOF
32601 #define HAVE_XSHAPE 1
32602 _ACEOF
32603
32604 { echo "$as_me:$LINENO: result: found" >&5
32605 echo "${ECHO_T}found" >&6; }
32606
32607 else
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32610
32611
32612 { echo "$as_me:$LINENO: result: not found" >&5
32613 echo "${ECHO_T}not found" >&6; }
32614
32615 fi
32616
32617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32618 CFLAGS="$save_CFLAGS"
32619
32620 fi
32621 fi
32622
32623 if test "$wxUSE_OSX_CARBON" = 1; then
32624 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32625 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32626 if test "$GCC" = yes; then
32627 { echo "$as_me:$LINENO: result: gcc" >&5
32628 echo "${ECHO_T}gcc" >&6; }
32629 CPPFLAGS_PASCAL="-fpascal-strings"
32630 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32631 { echo "$as_me:$LINENO: result: xlc" >&5
32632 echo "${ECHO_T}xlc" >&6; }
32633 CPPFLAGS_PASCAL="-qmacpstr"
32634 else
32635 { echo "$as_me:$LINENO: result: none" >&5
32636 echo "${ECHO_T}none" >&6; }
32637 fi
32638
32639 if test "x$wxUSE_UNIX" = "xyes"; then
32640 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32641 else
32642 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32643 fi
32644
32645 TOOLKIT=OSX_CARBON
32646 GUIDIST=OSX_CARBON_DIST
32647 WXBASEPORT="_carbon"
32648 fi
32649
32650 if test "$wxUSE_OSX_COCOA" = 1; then
32651 TOOLKIT=OSX_COCOA
32652 GUIDIST=OSX_COCOA_DIST
32653 fi
32654
32655 if test "$wxUSE_COCOA" = 1; then
32656 TOOLKIT=COCOA
32657 GUIDIST=COCOA_DIST
32658 fi
32659
32660 if test "$wxUSE_PM" = 1; then
32661 TOOLKIT=PM
32662 GUIDIST=PM_DIST
32663 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32664 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32665 if test "${wx_cv_spbcdata+set}" = set; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 else
32668
32669 cat >conftest.$ac_ext <<_ACEOF
32670 /* confdefs.h. */
32671 _ACEOF
32672 cat confdefs.h >>conftest.$ac_ext
32673 cat >>conftest.$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32675
32676 #define INCL_PM
32677 #include <os2.h>
32678
32679 int
32680 main ()
32681 {
32682
32683 SPBCDATA test;
32684
32685 ;
32686 return 0;
32687 }
32688 _ACEOF
32689 rm -f conftest.$ac_objext
32690 if { (ac_try="$ac_compile"
32691 case "(($ac_try" in
32692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32693 *) ac_try_echo=$ac_try;;
32694 esac
32695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32696 (eval "$ac_compile") 2>conftest.er1
32697 ac_status=$?
32698 grep -v '^ *+' conftest.er1 >conftest.err
32699 rm -f conftest.er1
32700 cat conftest.err >&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } && {
32703 test -z "$ac_c_werror_flag" ||
32704 test ! -s conftest.err
32705 } && test -s conftest.$ac_objext; then
32706 wx_cv_spbcdata=yes
32707 else
32708 echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.$ac_ext >&5
32710
32711 wx_cv_spbcdata=no
32712
32713 fi
32714
32715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716
32717
32718 fi
32719 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32720 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32721
32722 if test $wx_cv_spbcdata = "yes"; then
32723 cat >>confdefs.h <<\_ACEOF
32724 #define HAVE_SPBCDATA 1
32725 _ACEOF
32726
32727 fi
32728 fi
32729
32730 if test "$TOOLKIT" = "PM" ; then
32731 TOOLKIT_DIR="os2"
32732 else
32733 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32734 fi
32735
32736 if test "$wxUSE_UNIVERSAL" = "yes"; then
32737 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32738 WIDGET_SET=univ
32739 fi
32740
32741 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32742 DISTDIR="wx\$(TOOLKIT)"
32743 else
32744 USE_GUI=0
32745
32746 TOOLKIT_DIR="base"
32747
32748 if test "$USE_WIN32" = 1 ; then
32749 TOOLKIT="MSW"
32750 fi
32751
32752 GUIDIST="BASE_DIST"
32753 DISTDIR="wxBase"
32754 fi
32755
32756
32757
32758 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32759 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32760 wxUSE_UNICODE_UTF8=yes
32761 elif test "$USE_OS2" = 1 ; then
32762 wxUSE_UNICODE_UTF8=yes
32763 else
32764 wxUSE_UNICODE_UTF8=no
32765 fi
32766 fi
32767
32768
32769 if test "$wxUSE_GUI" = "yes"; then
32770 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32771
32772 for ac_header in X11/Xlib.h
32773 do
32774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32779 else
32780 cat >conftest.$ac_ext <<_ACEOF
32781 /* confdefs.h. */
32782 _ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32786
32787
32788 #include <$ac_header>
32789 _ACEOF
32790 rm -f conftest.$ac_objext
32791 if { (ac_try="$ac_compile"
32792 case "(($ac_try" in
32793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32794 *) ac_try_echo=$ac_try;;
32795 esac
32796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32797 (eval "$ac_compile") 2>conftest.er1
32798 ac_status=$?
32799 grep -v '^ *+' conftest.er1 >conftest.err
32800 rm -f conftest.er1
32801 cat conftest.err >&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } && {
32804 test -z "$ac_c_werror_flag" ||
32805 test ! -s conftest.err
32806 } && test -s conftest.$ac_objext; then
32807 eval "$as_ac_Header=yes"
32808 else
32809 echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.$ac_ext >&5
32811
32812 eval "$as_ac_Header=no"
32813 fi
32814
32815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32816 fi
32817 ac_res=`eval echo '${'$as_ac_Header'}'`
32818 { echo "$as_me:$LINENO: result: $ac_res" >&5
32819 echo "${ECHO_T}$ac_res" >&6; }
32820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32821 cat >>confdefs.h <<_ACEOF
32822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32823 _ACEOF
32824
32825 fi
32826
32827 done
32828
32829
32830 for ac_header in X11/XKBlib.h
32831 do
32832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32836 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 else
32838 cat >conftest.$ac_ext <<_ACEOF
32839 /* confdefs.h. */
32840 _ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32844
32845 #if HAVE_X11_XLIB_H
32846 #include <X11/Xlib.h>
32847 #endif
32848
32849
32850 #include <$ac_header>
32851 _ACEOF
32852 rm -f conftest.$ac_objext
32853 if { (ac_try="$ac_compile"
32854 case "(($ac_try" in
32855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32856 *) ac_try_echo=$ac_try;;
32857 esac
32858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32859 (eval "$ac_compile") 2>conftest.er1
32860 ac_status=$?
32861 grep -v '^ *+' conftest.er1 >conftest.err
32862 rm -f conftest.er1
32863 cat conftest.err >&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } && {
32866 test -z "$ac_c_werror_flag" ||
32867 test ! -s conftest.err
32868 } && test -s conftest.$ac_objext; then
32869 eval "$as_ac_Header=yes"
32870 else
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.$ac_ext >&5
32873
32874 eval "$as_ac_Header=no"
32875 fi
32876
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 fi
32879 ac_res=`eval echo '${'$as_ac_Header'}'`
32880 { echo "$as_me:$LINENO: result: $ac_res" >&5
32881 echo "${ECHO_T}$ac_res" >&6; }
32882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32883 cat >>confdefs.h <<_ACEOF
32884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32885 _ACEOF
32886
32887 fi
32888
32889 done
32890
32891 fi
32892 fi
32893
32894
32895
32896 if test "$wxUSE_DISPLAY" = "yes"; then
32897 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32898 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32899 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32900
32901 ac_find_libraries=
32902 for ac_dir in $SEARCH_LIB;
32903 do
32904 for ac_extension in a so sl dylib dll.a; do
32905 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32906 ac_find_libraries=$ac_dir
32907 break 2
32908 fi
32909 done
32910 done
32911
32912 if test "$ac_find_libraries" != "" ; then
32913
32914 if test "$ac_find_libraries" = "default location"; then
32915 ac_path_to_link=""
32916 else
32917 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32918 result=$?
32919 if test $result = 0; then
32920 ac_path_to_link=""
32921 else
32922 ac_path_to_link=" -L$ac_find_libraries"
32923 fi
32924 fi
32925
32926 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32927 LDFLAGS="$LDFLAGS $ac_path_to_link"
32928 fi
32929 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32930 { echo "$as_me:$LINENO: result: yes" >&5
32931 echo "${ECHO_T}yes" >&6; }
32932
32933 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32934 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32935
32936 ac_find_libraries=
32937 for ac_dir in $SEARCH_LIB;
32938 do
32939 for ac_extension in a so sl dylib dll.a; do
32940 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32941 ac_find_libraries=$ac_dir
32942 break 2
32943 fi
32944 done
32945 done
32946
32947 if test "$ac_find_libraries" != "" ; then
32948 { echo "$as_me:$LINENO: result: yes" >&5
32949 echo "${ECHO_T}yes" >&6; }
32950
32951 for ac_header in X11/extensions/xf86vmode.h
32952 do
32953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32954 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 else
32959 cat >conftest.$ac_ext <<_ACEOF
32960 /* confdefs.h. */
32961 _ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965
32966 #if HAVE_X11_XLIB_H
32967 #include <X11/Xlib.h>
32968 #endif
32969
32970
32971 #include <$ac_header>
32972 _ACEOF
32973 rm -f conftest.$ac_objext
32974 if { (ac_try="$ac_compile"
32975 case "(($ac_try" in
32976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32977 *) ac_try_echo=$ac_try;;
32978 esac
32979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32980 (eval "$ac_compile") 2>conftest.er1
32981 ac_status=$?
32982 grep -v '^ *+' conftest.er1 >conftest.err
32983 rm -f conftest.er1
32984 cat conftest.err >&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } && {
32987 test -z "$ac_c_werror_flag" ||
32988 test ! -s conftest.err
32989 } && test -s conftest.$ac_objext; then
32990 eval "$as_ac_Header=yes"
32991 else
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32994
32995 eval "$as_ac_Header=no"
32996 fi
32997
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 fi
33000 ac_res=`eval echo '${'$as_ac_Header'}'`
33001 { echo "$as_me:$LINENO: result: $ac_res" >&5
33002 echo "${ECHO_T}$ac_res" >&6; }
33003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33004 cat >>confdefs.h <<_ACEOF
33005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33006 _ACEOF
33007
33008 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33009
33010 fi
33011
33012 done
33013
33014 else
33015 { echo "$as_me:$LINENO: result: no" >&5
33016 echo "${ECHO_T}no" >&6; }
33017 fi
33018
33019 else
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33022 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33023 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33024 wxUSE_DISPLAY="no"
33025 fi
33026 elif test "$wxUSE_MSW" = 1; then
33027 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33028 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33029 if test "${ac_cv_header_ddraw_h+set}" = set; then
33030 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 else
33032 cat >conftest.$ac_ext <<_ACEOF
33033 /* confdefs.h. */
33034 _ACEOF
33035 cat confdefs.h >>conftest.$ac_ext
33036 cat >>conftest.$ac_ext <<_ACEOF
33037 /* end confdefs.h. */
33038 #include <windows.h>
33039
33040 #include <ddraw.h>
33041 _ACEOF
33042 rm -f conftest.$ac_objext
33043 if { (ac_try="$ac_compile"
33044 case "(($ac_try" in
33045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33046 *) ac_try_echo=$ac_try;;
33047 esac
33048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33049 (eval "$ac_compile") 2>conftest.er1
33050 ac_status=$?
33051 grep -v '^ *+' conftest.er1 >conftest.err
33052 rm -f conftest.er1
33053 cat conftest.err >&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } && {
33056 test -z "$ac_c_werror_flag" ||
33057 test ! -s conftest.err
33058 } && test -s conftest.$ac_objext; then
33059 ac_cv_header_ddraw_h=yes
33060 else
33061 echo "$as_me: failed program was:" >&5
33062 sed 's/^/| /' conftest.$ac_ext >&5
33063
33064 ac_cv_header_ddraw_h=no
33065 fi
33066
33067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33068 fi
33069 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33070 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33071
33072
33073 fi
33074 fi
33075
33076 if test "$wxUSE_DETECT_SM" = "yes"; then
33077 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33078 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33079 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33080
33081 ac_find_libraries=
33082 for ac_dir in $SEARCH_LIB;
33083 do
33084 for ac_extension in a so sl dylib dll.a; do
33085 if test -f "$ac_dir/libSM.$ac_extension"; then
33086 ac_find_libraries=$ac_dir
33087 break 2
33088 fi
33089 done
33090 done
33091
33092 if test "$ac_find_libraries" != "" ; then
33093
33094 if test "$ac_find_libraries" = "default location"; then
33095 ac_path_to_link=""
33096 else
33097 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33098 result=$?
33099 if test $result = 0; then
33100 ac_path_to_link=""
33101 else
33102 ac_path_to_link=" -L$ac_find_libraries"
33103 fi
33104 fi
33105
33106 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33107 LDFLAGS="$LDFLAGS $ac_path_to_link"
33108 fi
33109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33110 { echo "$as_me:$LINENO: result: yes" >&5
33111 echo "${ECHO_T}yes" >&6; }
33112 else
33113 { echo "$as_me:$LINENO: result: no" >&5
33114 echo "${ECHO_T}no" >&6; }
33115 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33116 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33117 wxUSE_DETECT_SM="no"
33118 fi
33119 else
33120 wxUSE_DETECT_SM="no"
33121 fi
33122 fi
33123
33124
33125
33126 USE_OPENGL=0
33127 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33128
33129
33130 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33131 OPENGL_LIBS="-framework OpenGL -framework AGL"
33132 elif test "$wxUSE_MSW" = 1; then
33133 OPENGL_LIBS="-lopengl32 -lglu32"
33134 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33135
33136 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33137 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33138
33139 ac_find_includes=
33140 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33141 do
33142 if test -f "$ac_dir/GL/gl.h"; then
33143 ac_find_includes=$ac_dir
33144 break
33145 fi
33146 done
33147
33148 if test "$ac_find_includes" != "" ; then
33149 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33150 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33151
33152 if test "x$ac_find_includes" = "x/usr/include"; then
33153 ac_path_to_include=""
33154 else
33155 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33156 result=$?
33157 if test $result = 0; then
33158 ac_path_to_include=""
33159 else
33160 ac_path_to_include=" -I$ac_find_includes"
33161 fi
33162 fi
33163
33164 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33165 else
33166 { echo "$as_me:$LINENO: result: not found" >&5
33167 echo "${ECHO_T}not found" >&6; }
33168 fi
33169
33170 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33171 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33172 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33173 echo $ECHO_N "(cached) $ECHO_C" >&6
33174 else
33175 cat >conftest.$ac_ext <<_ACEOF
33176 /* confdefs.h. */
33177 _ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33181
33182
33183 #include <GL/gl.h>
33184 _ACEOF
33185 rm -f conftest.$ac_objext
33186 if { (ac_try="$ac_compile"
33187 case "(($ac_try" in
33188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33190 esac
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_compile") 2>conftest.er1
33193 ac_status=$?
33194 grep -v '^ *+' conftest.er1 >conftest.err
33195 rm -f conftest.er1
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest.$ac_objext; then
33202 ac_cv_header_GL_gl_h=yes
33203 else
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.$ac_ext >&5
33206
33207 ac_cv_header_GL_gl_h=no
33208 fi
33209
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 fi
33212 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33213 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33214 if test $ac_cv_header_GL_gl_h = yes; then
33215
33216 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33217 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33218 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33219 echo $ECHO_N "(cached) $ECHO_C" >&6
33220 else
33221 cat >conftest.$ac_ext <<_ACEOF
33222 /* confdefs.h. */
33223 _ACEOF
33224 cat confdefs.h >>conftest.$ac_ext
33225 cat >>conftest.$ac_ext <<_ACEOF
33226 /* end confdefs.h. */
33227
33228
33229 #include <GL/glu.h>
33230 _ACEOF
33231 rm -f conftest.$ac_objext
33232 if { (ac_try="$ac_compile"
33233 case "(($ac_try" in
33234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33235 *) ac_try_echo=$ac_try;;
33236 esac
33237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33238 (eval "$ac_compile") 2>conftest.er1
33239 ac_status=$?
33240 grep -v '^ *+' conftest.er1 >conftest.err
33241 rm -f conftest.er1
33242 cat conftest.err >&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } && {
33245 test -z "$ac_c_werror_flag" ||
33246 test ! -s conftest.err
33247 } && test -s conftest.$ac_objext; then
33248 ac_cv_header_GL_glu_h=yes
33249 else
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.$ac_ext >&5
33252
33253 ac_cv_header_GL_glu_h=no
33254 fi
33255
33256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33257 fi
33258 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33259 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33260 if test $ac_cv_header_GL_glu_h = yes; then
33261
33262 found_gl=0
33263
33264 { echo "$as_me:$LINENO: checking for -lGL" >&5
33265 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33266
33267 ac_find_libraries=
33268 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33269 do
33270 for ac_extension in a so sl dylib dll.a; do
33271 if test -f "$ac_dir/libGL.$ac_extension"; then
33272 ac_find_libraries=$ac_dir
33273 break 2
33274 fi
33275 done
33276 done
33277
33278 if test "$ac_find_libraries" != "" ; then
33279 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33280 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33281
33282
33283 if test "$ac_find_libraries" = "default location"; then
33284 ac_path_to_link=""
33285 else
33286 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33287 result=$?
33288 if test $result = 0; then
33289 ac_path_to_link=""
33290 else
33291 ac_path_to_link=" -L$ac_find_libraries"
33292 fi
33293 fi
33294
33295 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33296 LDFLAGS_GL="$ac_path_to_link"
33297 fi
33298
33299 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33300 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33301
33302 ac_find_libraries=
33303 for ac_dir in $SEARCH_LIB;
33304 do
33305 for ac_extension in a so sl dylib dll.a; do
33306 if test -f "$ac_dir/libGLU.$ac_extension"; then
33307 ac_find_libraries=$ac_dir
33308 break 2
33309 fi
33310 done
33311 done
33312
33313 if test "$ac_find_libraries" != "" ; then
33314
33315 if test "$ac_find_libraries" = "default location"; then
33316 ac_path_to_link=""
33317 else
33318 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33319 result=$?
33320 if test $result = 0; then
33321 ac_path_to_link=""
33322 else
33323 ac_path_to_link=" -L$ac_find_libraries"
33324 fi
33325 fi
33326
33327 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33328 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33329 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33330 fi
33331
33332 found_gl=1
33333 OPENGL_LIBS="-lGL -lGLU"
33334 { echo "$as_me:$LINENO: result: yes" >&5
33335 echo "${ECHO_T}yes" >&6; }
33336 else
33337 { echo "$as_me:$LINENO: result: no" >&5
33338 echo "${ECHO_T}no" >&6; }
33339 fi
33340 else
33341 { echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6; }
33343 fi
33344
33345 if test "$found_gl" != 1; then
33346 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33347 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33348
33349 ac_find_libraries=
33350 for ac_dir in $SEARCH_LIB;
33351 do
33352 for ac_extension in a so sl dylib dll.a; do
33353 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33354 ac_find_libraries=$ac_dir
33355 break 2
33356 fi
33357 done
33358 done
33359
33360 if test "$ac_find_libraries" != "" ; then
33361
33362 if test "$ac_find_libraries" = "default location"; then
33363 ac_path_to_link=""
33364 else
33365 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33366 result=$?
33367 if test $result = 0; then
33368 ac_path_to_link=""
33369 else
33370 ac_path_to_link=" -L$ac_find_libraries"
33371 fi
33372 fi
33373
33374 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33375 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33376 { echo "$as_me:$LINENO: result: yes" >&5
33377 echo "${ECHO_T}yes" >&6; }
33378 else
33379 { echo "$as_me:$LINENO: result: no" >&5
33380 echo "${ECHO_T}no" >&6; }
33381 fi
33382 fi
33383
33384 fi
33385
33386
33387
33388 fi
33389
33390
33391
33392 if test "x$OPENGL_LIBS" = "x"; then
33393 if test "$wxUSE_OPENGL" = "yes"; then
33394 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33395 echo "$as_me: error: OpenGL libraries not available" >&2;}
33396 { (exit 1); exit 1; }; }
33397 else
33398 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33399 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33400 wxUSE_OPENGL=no
33401 USE_OPENGL=0
33402 fi
33403 fi
33404 else
33405 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33406 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33407 wxUSE_OPENGL="no"
33408 fi
33409
33410 if test "$wxUSE_OPENGL" = "auto"; then
33411 wxUSE_OPENGL=yes
33412 fi
33413
33414 if test "$wxUSE_OPENGL" = "yes"; then
33415 USE_OPENGL=1
33416 cat >>confdefs.h <<\_ACEOF
33417 #define wxUSE_OPENGL 1
33418 _ACEOF
33419
33420 cat >>confdefs.h <<\_ACEOF
33421 #define wxUSE_GLCANVAS 1
33422 _ACEOF
33423
33424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33425 fi
33426 fi
33427
33428
33429 if test -n "$TOOLKIT" ; then
33430 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33431 fi
33432
33433
33434
33435 if test "$wxUSE_SHARED" = "yes"; then
33436 case "${host}" in
33437 *-pc-msdosdjgpp )
33438 wxUSE_SHARED=no
33439 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33440 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33441 ;;
33442 esac
33443 fi
33444
33445 if test "$wxUSE_SHARED" = "yes"; then
33446
33447
33448 case "${host}" in
33449 *-*-cygwin* | *-*-mingw* )
33450 wx_cv_version_script=no
33451 ;;
33452
33453 *)
33454 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33455 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33456 if test "${wx_cv_version_script+set}" = set; then
33457 echo $ECHO_N "(cached) $ECHO_C" >&6
33458 else
33459
33460 echo "VER_1 { *; };" >conftest.sym
33461 echo "int main() { return 0; }" >conftest.cpp
33462
33463 if { ac_try='
33464 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33465 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33467 (eval $ac_try) 2>&5
33468 ac_status=$?
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); }; } ; then
33471 if test -s conftest.stderr ; then
33472 wx_cv_version_script=no
33473 else
33474 wx_cv_version_script=yes
33475 fi
33476 else
33477 wx_cv_version_script=no
33478 fi
33479
33480 if test $wx_cv_version_script = yes
33481 then
33482 echo "struct B { virtual ~B() { } }; \
33483 struct D : public B { }; \
33484 void F() { D d; }" > conftest.cpp
33485
33486 if { ac_try='
33487 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33488 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33491 ac_status=$?
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; } &&
33494 { ac_try='
33495 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33496 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33498 (eval $ac_try) 2>&5
33499 ac_status=$?
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); }; }
33502 then
33503 if { ac_try='
33504 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33505 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33507 (eval $ac_try) 2>&5
33508 ac_status=$?
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); }; }
33511 then
33512 wx_cv_version_script=yes
33513 else
33514 wx_cv_version_script=no
33515 fi
33516 fi
33517 fi
33518
33519 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33520 rm -f conftest1.output conftest2.output conftest3.output
33521
33522 fi
33523 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33524 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33525
33526 if test $wx_cv_version_script = yes ; then
33527 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33528 fi
33529 ;;
33530 esac
33531
33532
33533 if test "$wxUSE_VISIBILITY" != "no"; then
33534
33535
33536 if test -n "$GCC"; then
33537 CFLAGS_VISIBILITY="-fvisibility=hidden"
33538 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33539 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33540 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33541 if test "${wx_cv_cc_visibility+set}" = set; then
33542 echo $ECHO_N "(cached) $ECHO_C" >&6
33543 else
33544
33545 wx_save_CXXFLAGS="$CXXFLAGS"
33546 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33547 ac_ext=cpp
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33552
33553 cat >conftest.$ac_ext <<_ACEOF
33554 /* confdefs.h. */
33555 _ACEOF
33556 cat confdefs.h >>conftest.$ac_ext
33557 cat >>conftest.$ac_ext <<_ACEOF
33558 /* end confdefs.h. */
33559
33560 /* we need gcc >= 4.0, older versions with visibility support
33561 didn't have class visibility: */
33562 #if defined(__GNUC__) && __GNUC__ < 4
33563 error this gcc is too old;
33564 #endif
33565
33566 /* visibility only makes sense for ELF shared libs: */
33567 #if !defined(__ELF__) && !defined(__APPLE__)
33568 error this platform has no visibility;
33569 #endif
33570
33571 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33572 extern __attribute__((__visibility__("default"))) int exportedvar;
33573 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33574 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33575 class __attribute__((__visibility__("default"))) Foo {
33576 Foo() {}
33577 };
33578
33579 int
33580 main ()
33581 {
33582
33583 ;
33584 return 0;
33585 }
33586 _ACEOF
33587 rm -f conftest.$ac_objext
33588 if { (ac_try="$ac_compile"
33589 case "(($ac_try" in
33590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33591 *) ac_try_echo=$ac_try;;
33592 esac
33593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33594 (eval "$ac_compile") 2>conftest.er1
33595 ac_status=$?
33596 grep -v '^ *+' conftest.er1 >conftest.err
33597 rm -f conftest.er1
33598 cat conftest.err >&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); } && {
33601 test -z "$ac_cxx_werror_flag" ||
33602 test ! -s conftest.err
33603 } && test -s conftest.$ac_objext; then
33604 wx_cv_cc_visibility=yes
33605 else
33606 echo "$as_me: failed program was:" >&5
33607 sed 's/^/| /' conftest.$ac_ext >&5
33608
33609 wx_cv_cc_visibility=no
33610 fi
33611
33612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33613 ac_ext=c
33614 ac_cpp='$CPP $CPPFLAGS'
33615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33618
33619 CXXFLAGS="$wx_save_CXXFLAGS"
33620 fi
33621
33622 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33623 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33624 if test $wx_cv_cc_visibility = yes; then
33625 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33626 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33627 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33629 else
33630
33631 wx_save_CXXFLAGS="$CXXFLAGS"
33632 wx_save_LDFLAGS="$LDFLAGS"
33633 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33634 LDFLAGS="$LDFLAGS -shared -fPIC"
33635 ac_ext=cpp
33636 ac_cpp='$CXXCPP $CPPFLAGS'
33637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33640
33641 cat >conftest.$ac_ext <<_ACEOF
33642 /* confdefs.h. */
33643 _ACEOF
33644 cat confdefs.h >>conftest.$ac_ext
33645 cat >>conftest.$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33647
33648 #include <string>
33649
33650 int
33651 main ()
33652 {
33653
33654 std::string s("hello");
33655 return s.length();
33656
33657 ;
33658 return 0;
33659 }
33660 _ACEOF
33661 rm -f conftest.$ac_objext conftest$ac_exeext
33662 if { (ac_try="$ac_link"
33663 case "(($ac_try" in
33664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33665 *) ac_try_echo=$ac_try;;
33666 esac
33667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33668 (eval "$ac_link") 2>conftest.er1
33669 ac_status=$?
33670 grep -v '^ *+' conftest.er1 >conftest.err
33671 rm -f conftest.er1
33672 cat conftest.err >&5
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); } && {
33675 test -z "$ac_cxx_werror_flag" ||
33676 test ! -s conftest.err
33677 } && test -s conftest$ac_exeext &&
33678 $as_test_x conftest$ac_exeext; then
33679 wx_cv_cc_broken_libstdcxx_visibility=no
33680 else
33681 echo "$as_me: failed program was:" >&5
33682 sed 's/^/| /' conftest.$ac_ext >&5
33683
33684 wx_cv_cc_broken_libstdcxx_visibility=yes
33685 fi
33686
33687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33688 conftest$ac_exeext conftest.$ac_ext
33689 ac_ext=c
33690 ac_cpp='$CPP $CPPFLAGS'
33691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33694
33695 CXXFLAGS="$wx_save_CXXFLAGS"
33696 LDFLAGS="$wx_save_LDFLAGS"
33697 fi
33698
33699 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33700 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33701
33702 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33703 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33704 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33705 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33706 echo $ECHO_N "(cached) $ECHO_C" >&6
33707 else
33708
33709 ac_ext=cpp
33710 ac_cpp='$CXXCPP $CPPFLAGS'
33711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33714
33715 cat >conftest.$ac_ext <<_ACEOF
33716 /* confdefs.h. */
33717 _ACEOF
33718 cat confdefs.h >>conftest.$ac_ext
33719 cat >>conftest.$ac_ext <<_ACEOF
33720 /* end confdefs.h. */
33721
33722 #pragma GCC visibility push(default)
33723 #include <string>
33724 #pragma GCC visibility pop
33725
33726 int
33727 main ()
33728 {
33729
33730 std::string s("hello");
33731 return s.length();
33732
33733 ;
33734 return 0;
33735 }
33736 _ACEOF
33737 rm -f conftest.$ac_objext conftest$ac_exeext
33738 if { (ac_try="$ac_link"
33739 case "(($ac_try" in
33740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33741 *) ac_try_echo=$ac_try;;
33742 esac
33743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33744 (eval "$ac_link") 2>conftest.er1
33745 ac_status=$?
33746 grep -v '^ *+' conftest.er1 >conftest.err
33747 rm -f conftest.er1
33748 cat conftest.err >&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); } && {
33751 test -z "$ac_cxx_werror_flag" ||
33752 test ! -s conftest.err
33753 } && test -s conftest$ac_exeext &&
33754 $as_test_x conftest$ac_exeext; then
33755 wx_cv_cc_visibility_workaround=no
33756 else
33757 echo "$as_me: failed program was:" >&5
33758 sed 's/^/| /' conftest.$ac_ext >&5
33759
33760 wx_cv_cc_visibility_workaround=yes
33761 fi
33762
33763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33764 conftest$ac_exeext conftest.$ac_ext
33765 ac_ext=c
33766 ac_cpp='$CPP $CPPFLAGS'
33767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33770
33771
33772 fi
33773
33774 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33775 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33776
33777 if test $wx_cv_cc_visibility_workaround = no; then
33778 wx_cv_cc_visibility=no
33779 fi
33780 fi
33781 fi
33782
33783 if test $wx_cv_cc_visibility = yes; then
33784 cat >>confdefs.h <<\_ACEOF
33785 #define HAVE_VISIBILITY 1
33786 _ACEOF
33787
33788 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33789 cat >>confdefs.h <<\_ACEOF
33790 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33791 _ACEOF
33792
33793 fi
33794 else
33795 CFLAGS_VISIBILITY=""
33796 CXXFLAGS_VISIBILITY=""
33797 fi
33798
33799
33800 fi
33801
33802 fi
33803
33804 if test "x$SUNCXX" = xyes; then
33805 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33806 WXCONFIG_RPATH="-R\$libdir"
33807 else
33808 case "${host}" in
33809 *-*-linux* | *-*-gnu* )
33810 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33811 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33812 ;;
33813
33814 *-*-solaris2* )
33815
33816 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33817
33818 saveLdflags="$LDFLAGS"
33819 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33820 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33821 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33822 cat >conftest.$ac_ext <<_ACEOF
33823 /* confdefs.h. */
33824 _ACEOF
33825 cat confdefs.h >>conftest.$ac_ext
33826 cat >>conftest.$ac_ext <<_ACEOF
33827 /* end confdefs.h. */
33828
33829 int
33830 main ()
33831 {
33832
33833 ;
33834 return 0;
33835 }
33836 _ACEOF
33837 rm -f conftest.$ac_objext conftest$ac_exeext
33838 if { (ac_try="$ac_link"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33842 esac
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_link") 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest$ac_exeext &&
33854 $as_test_x conftest$ac_exeext; then
33855
33856 { echo "$as_me:$LINENO: result: yes" >&5
33857 echo "${ECHO_T}yes" >&6; }
33858 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33859 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33860
33861 else
33862 echo "$as_me: failed program was:" >&5
33863 sed 's/^/| /' conftest.$ac_ext >&5
33864
33865
33866 { echo "$as_me:$LINENO: result: no" >&5
33867 echo "${ECHO_T}no" >&6; }
33868 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33869 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33870 LDFLAGS="$saveLdflags -Wl,-R,/"
33871 cat >conftest.$ac_ext <<_ACEOF
33872 /* confdefs.h. */
33873 _ACEOF
33874 cat confdefs.h >>conftest.$ac_ext
33875 cat >>conftest.$ac_ext <<_ACEOF
33876 /* end confdefs.h. */
33877
33878 int
33879 main ()
33880 {
33881
33882 ;
33883 return 0;
33884 }
33885 _ACEOF
33886 rm -f conftest.$ac_objext conftest$ac_exeext
33887 if { (ac_try="$ac_link"
33888 case "(($ac_try" in
33889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33890 *) ac_try_echo=$ac_try;;
33891 esac
33892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33893 (eval "$ac_link") 2>conftest.er1
33894 ac_status=$?
33895 grep -v '^ *+' conftest.er1 >conftest.err
33896 rm -f conftest.er1
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } && {
33900 test -z "$ac_c_werror_flag" ||
33901 test ! -s conftest.err
33902 } && test -s conftest$ac_exeext &&
33903 $as_test_x conftest$ac_exeext; then
33904
33905 { echo "$as_me:$LINENO: result: yes" >&5
33906 echo "${ECHO_T}yes" >&6; }
33907 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33908 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33909
33910 else
33911 echo "$as_me: failed program was:" >&5
33912 sed 's/^/| /' conftest.$ac_ext >&5
33913
33914
33915 { echo "$as_me:$LINENO: result: no" >&5
33916 echo "${ECHO_T}no" >&6; }
33917
33918 fi
33919
33920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33921 conftest$ac_exeext conftest.$ac_ext
33922
33923 fi
33924
33925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33926 conftest$ac_exeext conftest.$ac_ext
33927 LDFLAGS="$saveLdflags"
33928 ;;
33929
33930 *-*-darwin* )
33931 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
33932 if test "$install_name_tool" -a -x "$install_name_tool"; then
33933 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33934 cat <<EOF >change-install-names
33935 #!/bin/sh
33936 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33937 for i in \${libnames} ; do
33938 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33939 for dep in \${libnames} ; do
33940 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33941 done
33942 done
33943 EOF
33944 chmod +x change-install-names
33945 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33946 fi
33947
33948 HEADER_PAD_OPTION="-headerpad_max_install_names"
33949 ;;
33950
33951 *-*-cygwin* | *-*-mingw32* )
33952 ;;
33953
33954 *-*-hpux* )
33955 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33956 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33957 ;;
33958
33959 esac
33960 fi
33961
33962 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33963
33964 if test $wxUSE_RPATH = "no"; then
33965 SAMPLES_RPATH_FLAG=''
33966 DYLIB_PATH_POSTLINK=''
33967 WXCONFIG_RPATH=''
33968 fi
33969
33970 SHARED=1
33971
33972 else
33973
33974 config_linkage_component="-static"
33975 SHARED=0
33976
33977 fi
33978
33979
33980 UNICODE=0
33981 lib_unicode_suffix=
33982 WX_CHARTYPE="ansi"
33983 if test "$wxUSE_UNICODE" = "yes"; then
33984 lib_unicode_suffix=u
33985 WX_CHARTYPE="unicode"
33986 UNICODE=1
33987 fi
33988
33989 lib_debug_suffix=
33990 WX_DEBUGTYPE="release"
33991 DEBUG_FLAG=0
33992 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33993 lib_debug_suffix=d
33994 WX_DEBUGTYPE="debug"
33995 DEBUG_FLAG=1
33996 fi
33997
33998 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33999 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34000
34001 DEBUG_INFO=0
34002 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34003 DEBUG_INFO=1
34004 fi
34005
34006 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34007
34008 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34009
34010 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34011
34012
34013 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34014 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34015 else
34016 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34017 fi
34018 if test "${TOOLKIT_DIR}" = "os2"; then
34019 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34020 else
34021 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34022 fi
34023
34024
34025
34026 if test "$wxUSE_COCOA" = 1; then
34027
34028 ac_ext=c
34029 ac_cpp='$CPP $CPPFLAGS'
34030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34033
34034 ac_ext=m
34035
34036 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34037 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34038 cat >conftest.$ac_ext <<_ACEOF
34039 /* confdefs.h. */
34040 _ACEOF
34041 cat confdefs.h >>conftest.$ac_ext
34042 cat >>conftest.$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34044 #include <AppKit/NSEvent.h>
34045 #include <CoreFoundation/CoreFoundation.h>
34046
34047 int
34048 main ()
34049 {
34050
34051 ;
34052 return 0;
34053 }
34054 _ACEOF
34055 rm -f conftest.$ac_objext
34056 if { (ac_try="$ac_compile"
34057 case "(($ac_try" in
34058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34059 *) ac_try_echo=$ac_try;;
34060 esac
34061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34062 (eval "$ac_compile") 2>conftest.er1
34063 ac_status=$?
34064 grep -v '^ *+' conftest.er1 >conftest.err
34065 rm -f conftest.er1
34066 cat conftest.err >&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } && {
34069 test -z "$ac_c_werror_flag" ||
34070 test ! -s conftest.err
34071 } && test -s conftest.$ac_objext; then
34072 { echo "$as_me:$LINENO: result: no" >&5
34073 echo "${ECHO_T}no" >&6; }
34074 else
34075 echo "$as_me: failed program was:" >&5
34076 sed 's/^/| /' conftest.$ac_ext >&5
34077
34078 { echo "$as_me:$LINENO: result: yes" >&5
34079 echo "${ECHO_T}yes" >&6; }
34080 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34081 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34082 cat >conftest.$ac_ext <<_ACEOF
34083 /* confdefs.h. */
34084 _ACEOF
34085 cat confdefs.h >>conftest.$ac_ext
34086 cat >>conftest.$ac_ext <<_ACEOF
34087 /* end confdefs.h. */
34088 #define __Point__ 1
34089 #include <AppKit/NSEvent.h>
34090 #include <CoreFoundation/CoreFoundation.h>
34091
34092 int
34093 main ()
34094 {
34095
34096 ;
34097 return 0;
34098 }
34099 _ACEOF
34100 rm -f conftest.$ac_objext
34101 if { (ac_try="$ac_compile"
34102 case "(($ac_try" in
34103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34104 *) ac_try_echo=$ac_try;;
34105 esac
34106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34107 (eval "$ac_compile") 2>conftest.er1
34108 ac_status=$?
34109 grep -v '^ *+' conftest.er1 >conftest.err
34110 rm -f conftest.er1
34111 cat conftest.err >&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); } && {
34114 test -z "$ac_c_werror_flag" ||
34115 test ! -s conftest.err
34116 } && test -s conftest.$ac_objext; then
34117 { echo "$as_me:$LINENO: result: yes" >&5
34118 echo "${ECHO_T}yes" >&6; }
34119 cat >>confdefs.h <<\_ACEOF
34120 #define __Point__ 1
34121 _ACEOF
34122
34123
34124 else
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.$ac_ext >&5
34127
34128 { { echo "$as_me:$LINENO: error: no
34129 See \`config.log' for more details." >&5
34130 echo "$as_me: error: no
34131 See \`config.log' for more details." >&2;}
34132 { (exit 1); exit 1; }; }
34133
34134 fi
34135
34136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34137
34138 fi
34139
34140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34141 ac_ext=c
34142 ac_cpp='$CPP $CPPFLAGS'
34143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34146
34147 fi
34148
34149
34150 { echo "$as_me:$LINENO: checking for mode_t" >&5
34151 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34152 if test "${ac_cv_type_mode_t+set}" = set; then
34153 echo $ECHO_N "(cached) $ECHO_C" >&6
34154 else
34155 cat >conftest.$ac_ext <<_ACEOF
34156 /* confdefs.h. */
34157 _ACEOF
34158 cat confdefs.h >>conftest.$ac_ext
34159 cat >>conftest.$ac_ext <<_ACEOF
34160 /* end confdefs.h. */
34161 $ac_includes_default
34162 typedef mode_t ac__type_new_;
34163 int
34164 main ()
34165 {
34166 if ((ac__type_new_ *) 0)
34167 return 0;
34168 if (sizeof (ac__type_new_))
34169 return 0;
34170 ;
34171 return 0;
34172 }
34173 _ACEOF
34174 rm -f conftest.$ac_objext
34175 if { (ac_try="$ac_compile"
34176 case "(($ac_try" in
34177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34178 *) ac_try_echo=$ac_try;;
34179 esac
34180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34181 (eval "$ac_compile") 2>conftest.er1
34182 ac_status=$?
34183 grep -v '^ *+' conftest.er1 >conftest.err
34184 rm -f conftest.er1
34185 cat conftest.err >&5
34186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34187 (exit $ac_status); } && {
34188 test -z "$ac_c_werror_flag" ||
34189 test ! -s conftest.err
34190 } && test -s conftest.$ac_objext; then
34191 ac_cv_type_mode_t=yes
34192 else
34193 echo "$as_me: failed program was:" >&5
34194 sed 's/^/| /' conftest.$ac_ext >&5
34195
34196 ac_cv_type_mode_t=no
34197 fi
34198
34199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34200 fi
34201 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34202 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34203 if test $ac_cv_type_mode_t = yes; then
34204 :
34205 else
34206
34207 cat >>confdefs.h <<_ACEOF
34208 #define mode_t int
34209 _ACEOF
34210
34211 fi
34212
34213 { echo "$as_me:$LINENO: checking for off_t" >&5
34214 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34215 if test "${ac_cv_type_off_t+set}" = set; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34217 else
34218 cat >conftest.$ac_ext <<_ACEOF
34219 /* confdefs.h. */
34220 _ACEOF
34221 cat confdefs.h >>conftest.$ac_ext
34222 cat >>conftest.$ac_ext <<_ACEOF
34223 /* end confdefs.h. */
34224 $ac_includes_default
34225 typedef off_t ac__type_new_;
34226 int
34227 main ()
34228 {
34229 if ((ac__type_new_ *) 0)
34230 return 0;
34231 if (sizeof (ac__type_new_))
34232 return 0;
34233 ;
34234 return 0;
34235 }
34236 _ACEOF
34237 rm -f conftest.$ac_objext
34238 if { (ac_try="$ac_compile"
34239 case "(($ac_try" in
34240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34241 *) ac_try_echo=$ac_try;;
34242 esac
34243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34244 (eval "$ac_compile") 2>conftest.er1
34245 ac_status=$?
34246 grep -v '^ *+' conftest.er1 >conftest.err
34247 rm -f conftest.er1
34248 cat conftest.err >&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); } && {
34251 test -z "$ac_c_werror_flag" ||
34252 test ! -s conftest.err
34253 } && test -s conftest.$ac_objext; then
34254 ac_cv_type_off_t=yes
34255 else
34256 echo "$as_me: failed program was:" >&5
34257 sed 's/^/| /' conftest.$ac_ext >&5
34258
34259 ac_cv_type_off_t=no
34260 fi
34261
34262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34263 fi
34264 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34265 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34266 if test $ac_cv_type_off_t = yes; then
34267 :
34268 else
34269
34270 cat >>confdefs.h <<_ACEOF
34271 #define off_t long int
34272 _ACEOF
34273
34274 fi
34275
34276 { echo "$as_me:$LINENO: checking for pid_t" >&5
34277 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34278 if test "${ac_cv_type_pid_t+set}" = set; then
34279 echo $ECHO_N "(cached) $ECHO_C" >&6
34280 else
34281 cat >conftest.$ac_ext <<_ACEOF
34282 /* confdefs.h. */
34283 _ACEOF
34284 cat confdefs.h >>conftest.$ac_ext
34285 cat >>conftest.$ac_ext <<_ACEOF
34286 /* end confdefs.h. */
34287 $ac_includes_default
34288 typedef pid_t ac__type_new_;
34289 int
34290 main ()
34291 {
34292 if ((ac__type_new_ *) 0)
34293 return 0;
34294 if (sizeof (ac__type_new_))
34295 return 0;
34296 ;
34297 return 0;
34298 }
34299 _ACEOF
34300 rm -f conftest.$ac_objext
34301 if { (ac_try="$ac_compile"
34302 case "(($ac_try" in
34303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34304 *) ac_try_echo=$ac_try;;
34305 esac
34306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34307 (eval "$ac_compile") 2>conftest.er1
34308 ac_status=$?
34309 grep -v '^ *+' conftest.er1 >conftest.err
34310 rm -f conftest.er1
34311 cat conftest.err >&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); } && {
34314 test -z "$ac_c_werror_flag" ||
34315 test ! -s conftest.err
34316 } && test -s conftest.$ac_objext; then
34317 ac_cv_type_pid_t=yes
34318 else
34319 echo "$as_me: failed program was:" >&5
34320 sed 's/^/| /' conftest.$ac_ext >&5
34321
34322 ac_cv_type_pid_t=no
34323 fi
34324
34325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34326 fi
34327 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34328 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34329 if test $ac_cv_type_pid_t = yes; then
34330 :
34331 else
34332
34333 cat >>confdefs.h <<_ACEOF
34334 #define pid_t int
34335 _ACEOF
34336
34337 fi
34338
34339 { echo "$as_me:$LINENO: checking for size_t" >&5
34340 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34341 if test "${ac_cv_type_size_t+set}" = set; then
34342 echo $ECHO_N "(cached) $ECHO_C" >&6
34343 else
34344 cat >conftest.$ac_ext <<_ACEOF
34345 /* confdefs.h. */
34346 _ACEOF
34347 cat confdefs.h >>conftest.$ac_ext
34348 cat >>conftest.$ac_ext <<_ACEOF
34349 /* end confdefs.h. */
34350 $ac_includes_default
34351 typedef size_t ac__type_new_;
34352 int
34353 main ()
34354 {
34355 if ((ac__type_new_ *) 0)
34356 return 0;
34357 if (sizeof (ac__type_new_))
34358 return 0;
34359 ;
34360 return 0;
34361 }
34362 _ACEOF
34363 rm -f conftest.$ac_objext
34364 if { (ac_try="$ac_compile"
34365 case "(($ac_try" in
34366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34367 *) ac_try_echo=$ac_try;;
34368 esac
34369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34370 (eval "$ac_compile") 2>conftest.er1
34371 ac_status=$?
34372 grep -v '^ *+' conftest.er1 >conftest.err
34373 rm -f conftest.er1
34374 cat conftest.err >&5
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); } && {
34377 test -z "$ac_c_werror_flag" ||
34378 test ! -s conftest.err
34379 } && test -s conftest.$ac_objext; then
34380 ac_cv_type_size_t=yes
34381 else
34382 echo "$as_me: failed program was:" >&5
34383 sed 's/^/| /' conftest.$ac_ext >&5
34384
34385 ac_cv_type_size_t=no
34386 fi
34387
34388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34389 fi
34390 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34391 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34392 if test $ac_cv_type_size_t = yes; then
34393 :
34394 else
34395
34396 cat >>confdefs.h <<_ACEOF
34397 #define size_t unsigned int
34398 _ACEOF
34399
34400 fi
34401
34402
34403 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34404 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34405 if test "${ac_cv_type_ssize_t+set}" = set; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 else
34408 cat >conftest.$ac_ext <<_ACEOF
34409 /* confdefs.h. */
34410 _ACEOF
34411 cat confdefs.h >>conftest.$ac_ext
34412 cat >>conftest.$ac_ext <<_ACEOF
34413 /* end confdefs.h. */
34414 $ac_includes_default
34415 typedef ssize_t ac__type_new_;
34416 int
34417 main ()
34418 {
34419 if ((ac__type_new_ *) 0)
34420 return 0;
34421 if (sizeof (ac__type_new_))
34422 return 0;
34423 ;
34424 return 0;
34425 }
34426 _ACEOF
34427 rm -f conftest.$ac_objext
34428 if { (ac_try="$ac_compile"
34429 case "(($ac_try" in
34430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34431 *) ac_try_echo=$ac_try;;
34432 esac
34433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34434 (eval "$ac_compile") 2>conftest.er1
34435 ac_status=$?
34436 grep -v '^ *+' conftest.er1 >conftest.err
34437 rm -f conftest.er1
34438 cat conftest.err >&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); } && {
34441 test -z "$ac_c_werror_flag" ||
34442 test ! -s conftest.err
34443 } && test -s conftest.$ac_objext; then
34444 ac_cv_type_ssize_t=yes
34445 else
34446 echo "$as_me: failed program was:" >&5
34447 sed 's/^/| /' conftest.$ac_ext >&5
34448
34449 ac_cv_type_ssize_t=no
34450 fi
34451
34452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 fi
34454 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34455 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34456 if test $ac_cv_type_ssize_t = yes; then
34457
34458 cat >>confdefs.h <<_ACEOF
34459 #define HAVE_SSIZE_T 1
34460 _ACEOF
34461
34462
34463 fi
34464
34465
34466 ac_ext=cpp
34467 ac_cpp='$CXXCPP $CPPFLAGS'
34468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34471 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34472 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34473 if test "${wx_cv_size_t_is_uint+set}" = set; then
34474 echo $ECHO_N "(cached) $ECHO_C" >&6
34475 else
34476
34477 cat >conftest.$ac_ext <<_ACEOF
34478 /* confdefs.h. */
34479 _ACEOF
34480 cat confdefs.h >>conftest.$ac_ext
34481 cat >>conftest.$ac_ext <<_ACEOF
34482 /* end confdefs.h. */
34483 #include <stddef.h>
34484 int
34485 main ()
34486 {
34487
34488 return 0; }
34489
34490 struct Foo { void foo(size_t); void foo(unsigned int); };
34491
34492 int bar() {
34493
34494 ;
34495 return 0;
34496 }
34497 _ACEOF
34498 rm -f conftest.$ac_objext
34499 if { (ac_try="$ac_compile"
34500 case "(($ac_try" in
34501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34502 *) ac_try_echo=$ac_try;;
34503 esac
34504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34505 (eval "$ac_compile") 2>conftest.er1
34506 ac_status=$?
34507 grep -v '^ *+' conftest.er1 >conftest.err
34508 rm -f conftest.er1
34509 cat conftest.err >&5
34510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34511 (exit $ac_status); } && {
34512 test -z "$ac_cxx_werror_flag" ||
34513 test ! -s conftest.err
34514 } && test -s conftest.$ac_objext; then
34515 wx_cv_size_t_is_uint=no
34516 else
34517 echo "$as_me: failed program was:" >&5
34518 sed 's/^/| /' conftest.$ac_ext >&5
34519
34520 wx_cv_size_t_is_uint=yes
34521
34522 fi
34523
34524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34525
34526
34527 fi
34528 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34529 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34530
34531 if test "$wx_cv_size_t_is_uint" = "yes"; then
34532 cat >>confdefs.h <<\_ACEOF
34533 #define wxSIZE_T_IS_UINT 1
34534 _ACEOF
34535
34536 else
34537 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34538 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34539 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34540 echo $ECHO_N "(cached) $ECHO_C" >&6
34541 else
34542 cat >conftest.$ac_ext <<_ACEOF
34543 /* confdefs.h. */
34544 _ACEOF
34545 cat confdefs.h >>conftest.$ac_ext
34546 cat >>conftest.$ac_ext <<_ACEOF
34547 /* end confdefs.h. */
34548 #include <stddef.h>
34549 int
34550 main ()
34551 {
34552
34553 return 0; }
34554
34555 struct Foo { void foo(size_t); void foo(unsigned long); };
34556
34557 int bar() {
34558
34559 ;
34560 return 0;
34561 }
34562 _ACEOF
34563 rm -f conftest.$ac_objext
34564 if { (ac_try="$ac_compile"
34565 case "(($ac_try" in
34566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34567 *) ac_try_echo=$ac_try;;
34568 esac
34569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34570 (eval "$ac_compile") 2>conftest.er1
34571 ac_status=$?
34572 grep -v '^ *+' conftest.er1 >conftest.err
34573 rm -f conftest.er1
34574 cat conftest.err >&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); } && {
34577 test -z "$ac_cxx_werror_flag" ||
34578 test ! -s conftest.err
34579 } && test -s conftest.$ac_objext; then
34580 wx_cv_size_t_is_ulong=no
34581 else
34582 echo "$as_me: failed program was:" >&5
34583 sed 's/^/| /' conftest.$ac_ext >&5
34584
34585 wx_cv_size_t_is_ulong=yes
34586
34587 fi
34588
34589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34590
34591 fi
34592 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34593 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34594
34595 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34596 cat >>confdefs.h <<\_ACEOF
34597 #define wxSIZE_T_IS_ULONG 1
34598 _ACEOF
34599
34600 fi
34601 fi
34602
34603 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34604 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34605 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 else
34608 cat >conftest.$ac_ext <<_ACEOF
34609 /* confdefs.h. */
34610 _ACEOF
34611 cat confdefs.h >>conftest.$ac_ext
34612 cat >>conftest.$ac_ext <<_ACEOF
34613 /* end confdefs.h. */
34614 #include <wchar.h>
34615 int
34616 main ()
34617 {
34618
34619 return 0; }
34620
34621 struct Foo { void foo(wchar_t);
34622 void foo(unsigned short);
34623 void foo(unsigned int);
34624 void foo(unsigned long); };
34625
34626 int bar() {
34627
34628 ;
34629 return 0;
34630 }
34631 _ACEOF
34632 rm -f conftest.$ac_objext
34633 if { (ac_try="$ac_compile"
34634 case "(($ac_try" in
34635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34636 *) ac_try_echo=$ac_try;;
34637 esac
34638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34639 (eval "$ac_compile") 2>conftest.er1
34640 ac_status=$?
34641 grep -v '^ *+' conftest.er1 >conftest.err
34642 rm -f conftest.er1
34643 cat conftest.err >&5
34644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34645 (exit $ac_status); } && {
34646 test -z "$ac_cxx_werror_flag" ||
34647 test ! -s conftest.err
34648 } && test -s conftest.$ac_objext; then
34649 wx_cv_wchar_t_is_separate_type=yes
34650 else
34651 echo "$as_me: failed program was:" >&5
34652 sed 's/^/| /' conftest.$ac_ext >&5
34653
34654 wx_cv_wchar_t_is_separate_type=no
34655
34656 fi
34657
34658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34659
34660 fi
34661 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34662 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34663
34664 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34665 cat >>confdefs.h <<\_ACEOF
34666 #define wxWCHAR_T_IS_REAL_TYPE 1
34667 _ACEOF
34668
34669 else
34670 cat >>confdefs.h <<\_ACEOF
34671 #define wxWCHAR_T_IS_REAL_TYPE 0
34672 _ACEOF
34673
34674 fi
34675
34676 ac_ext=c
34677 ac_cpp='$CPP $CPPFLAGS'
34678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34681
34682
34683 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34684 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34685 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34686 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 else
34688
34689 cat >conftest.$ac_ext <<_ACEOF
34690 /* confdefs.h. */
34691 _ACEOF
34692 cat confdefs.h >>conftest.$ac_ext
34693 cat >>conftest.$ac_ext <<_ACEOF
34694 /* end confdefs.h. */
34695 #include <pwd.h>
34696 int
34697 main ()
34698 {
34699
34700 char *p;
34701 struct passwd *pw;
34702 p = pw->pw_gecos;
34703
34704 ;
34705 return 0;
34706 }
34707 _ACEOF
34708 rm -f conftest.$ac_objext
34709 if { (ac_try="$ac_compile"
34710 case "(($ac_try" in
34711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34712 *) ac_try_echo=$ac_try;;
34713 esac
34714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34715 (eval "$ac_compile") 2>conftest.er1
34716 ac_status=$?
34717 grep -v '^ *+' conftest.er1 >conftest.err
34718 rm -f conftest.er1
34719 cat conftest.err >&5
34720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34721 (exit $ac_status); } && {
34722 test -z "$ac_c_werror_flag" ||
34723 test ! -s conftest.err
34724 } && test -s conftest.$ac_objext; then
34725
34726 wx_cv_struct_pw_gecos=yes
34727
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34731
34732
34733 wx_cv_struct_pw_gecos=no
34734
34735
34736 fi
34737
34738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34739
34740
34741 fi
34742 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34743 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34744
34745 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34746 cat >>confdefs.h <<\_ACEOF
34747 #define HAVE_PW_GECOS 1
34748 _ACEOF
34749
34750 fi
34751
34752
34753 if test "$wxUSE_WCHAR_T" = "yes"; then
34754 cat >>confdefs.h <<\_ACEOF
34755 #define wxUSE_WCHAR_T 1
34756 _ACEOF
34757
34758
34759 WCSLEN_FOUND=0
34760 WCHAR_LINK=
34761
34762 for ac_func in wcslen
34763 do
34764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34765 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34768 echo $ECHO_N "(cached) $ECHO_C" >&6
34769 else
34770 cat >conftest.$ac_ext <<_ACEOF
34771 /* confdefs.h. */
34772 _ACEOF
34773 cat confdefs.h >>conftest.$ac_ext
34774 cat >>conftest.$ac_ext <<_ACEOF
34775 /* end confdefs.h. */
34776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34778 #define $ac_func innocuous_$ac_func
34779
34780 /* System header to define __stub macros and hopefully few prototypes,
34781 which can conflict with char $ac_func (); below.
34782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34783 <limits.h> exists even on freestanding compilers. */
34784
34785 #ifdef __STDC__
34786 # include <limits.h>
34787 #else
34788 # include <assert.h>
34789 #endif
34790
34791 #undef $ac_func
34792
34793 /* Override any GCC internal prototype to avoid an error.
34794 Use char because int might match the return type of a GCC
34795 builtin and then its argument prototype would still apply. */
34796 #ifdef __cplusplus
34797 extern "C"
34798 #endif
34799 char $ac_func ();
34800 /* The GNU C library defines this for functions which it implements
34801 to always fail with ENOSYS. Some functions are actually named
34802 something starting with __ and the normal name is an alias. */
34803 #if defined __stub_$ac_func || defined __stub___$ac_func
34804 choke me
34805 #endif
34806
34807 int
34808 main ()
34809 {
34810 return $ac_func ();
34811 ;
34812 return 0;
34813 }
34814 _ACEOF
34815 rm -f conftest.$ac_objext conftest$ac_exeext
34816 if { (ac_try="$ac_link"
34817 case "(($ac_try" in
34818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34819 *) ac_try_echo=$ac_try;;
34820 esac
34821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34822 (eval "$ac_link") 2>conftest.er1
34823 ac_status=$?
34824 grep -v '^ *+' conftest.er1 >conftest.err
34825 rm -f conftest.er1
34826 cat conftest.err >&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); } && {
34829 test -z "$ac_c_werror_flag" ||
34830 test ! -s conftest.err
34831 } && test -s conftest$ac_exeext &&
34832 $as_test_x conftest$ac_exeext; then
34833 eval "$as_ac_var=yes"
34834 else
34835 echo "$as_me: failed program was:" >&5
34836 sed 's/^/| /' conftest.$ac_ext >&5
34837
34838 eval "$as_ac_var=no"
34839 fi
34840
34841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34842 conftest$ac_exeext conftest.$ac_ext
34843 fi
34844 ac_res=`eval echo '${'$as_ac_var'}'`
34845 { echo "$as_me:$LINENO: result: $ac_res" >&5
34846 echo "${ECHO_T}$ac_res" >&6; }
34847 if test `eval echo '${'$as_ac_var'}'` = yes; then
34848 cat >>confdefs.h <<_ACEOF
34849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34850 _ACEOF
34851 WCSLEN_FOUND=1
34852 fi
34853 done
34854
34855
34856 if test "$WCSLEN_FOUND" = 0; then
34857 if test "$TOOLKIT" = "MSW"; then
34858 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34859 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34860 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34861 echo $ECHO_N "(cached) $ECHO_C" >&6
34862 else
34863 ac_check_lib_save_LIBS=$LIBS
34864 LIBS="-lmsvcrt $LIBS"
34865 cat >conftest.$ac_ext <<_ACEOF
34866 /* confdefs.h. */
34867 _ACEOF
34868 cat confdefs.h >>conftest.$ac_ext
34869 cat >>conftest.$ac_ext <<_ACEOF
34870 /* end confdefs.h. */
34871
34872 /* Override any GCC internal prototype to avoid an error.
34873 Use char because int might match the return type of a GCC
34874 builtin and then its argument prototype would still apply. */
34875 #ifdef __cplusplus
34876 extern "C"
34877 #endif
34878 char wcslen ();
34879 int
34880 main ()
34881 {
34882 return wcslen ();
34883 ;
34884 return 0;
34885 }
34886 _ACEOF
34887 rm -f conftest.$ac_objext conftest$ac_exeext
34888 if { (ac_try="$ac_link"
34889 case "(($ac_try" in
34890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34891 *) ac_try_echo=$ac_try;;
34892 esac
34893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34894 (eval "$ac_link") 2>conftest.er1
34895 ac_status=$?
34896 grep -v '^ *+' conftest.er1 >conftest.err
34897 rm -f conftest.er1
34898 cat conftest.err >&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } && {
34901 test -z "$ac_c_werror_flag" ||
34902 test ! -s conftest.err
34903 } && test -s conftest$ac_exeext &&
34904 $as_test_x conftest$ac_exeext; then
34905 ac_cv_lib_msvcrt_wcslen=yes
34906 else
34907 echo "$as_me: failed program was:" >&5
34908 sed 's/^/| /' conftest.$ac_ext >&5
34909
34910 ac_cv_lib_msvcrt_wcslen=no
34911 fi
34912
34913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34914 conftest$ac_exeext conftest.$ac_ext
34915 LIBS=$ac_check_lib_save_LIBS
34916 fi
34917 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34918 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34919 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34920 WCHAR_OK=1
34921 fi
34922
34923 else
34924 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34925 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34926 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34927 echo $ECHO_N "(cached) $ECHO_C" >&6
34928 else
34929 ac_check_lib_save_LIBS=$LIBS
34930 LIBS="-lw $LIBS"
34931 cat >conftest.$ac_ext <<_ACEOF
34932 /* confdefs.h. */
34933 _ACEOF
34934 cat confdefs.h >>conftest.$ac_ext
34935 cat >>conftest.$ac_ext <<_ACEOF
34936 /* end confdefs.h. */
34937
34938 /* Override any GCC internal prototype to avoid an error.
34939 Use char because int might match the return type of a GCC
34940 builtin and then its argument prototype would still apply. */
34941 #ifdef __cplusplus
34942 extern "C"
34943 #endif
34944 char wcslen ();
34945 int
34946 main ()
34947 {
34948 return wcslen ();
34949 ;
34950 return 0;
34951 }
34952 _ACEOF
34953 rm -f conftest.$ac_objext conftest$ac_exeext
34954 if { (ac_try="$ac_link"
34955 case "(($ac_try" in
34956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34957 *) ac_try_echo=$ac_try;;
34958 esac
34959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34960 (eval "$ac_link") 2>conftest.er1
34961 ac_status=$?
34962 grep -v '^ *+' conftest.er1 >conftest.err
34963 rm -f conftest.er1
34964 cat conftest.err >&5
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); } && {
34967 test -z "$ac_c_werror_flag" ||
34968 test ! -s conftest.err
34969 } && test -s conftest$ac_exeext &&
34970 $as_test_x conftest$ac_exeext; then
34971 ac_cv_lib_w_wcslen=yes
34972 else
34973 echo "$as_me: failed program was:" >&5
34974 sed 's/^/| /' conftest.$ac_ext >&5
34975
34976 ac_cv_lib_w_wcslen=no
34977 fi
34978
34979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34980 conftest$ac_exeext conftest.$ac_ext
34981 LIBS=$ac_check_lib_save_LIBS
34982 fi
34983 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34984 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34985 if test $ac_cv_lib_w_wcslen = yes; then
34986
34987 WCHAR_LINK=" -lw"
34988 WCSLEN_FOUND=1
34989
34990 fi
34991
34992 fi
34993 fi
34994
34995 if test "$WCSLEN_FOUND" = 1; then
34996 cat >>confdefs.h <<\_ACEOF
34997 #define HAVE_WCSLEN 1
34998 _ACEOF
34999
35000 fi
35001
35002
35003
35004
35005
35006
35007 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35008 do
35009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35014 else
35015 cat >conftest.$ac_ext <<_ACEOF
35016 /* confdefs.h. */
35017 _ACEOF
35018 cat confdefs.h >>conftest.$ac_ext
35019 cat >>conftest.$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35023 #define $ac_func innocuous_$ac_func
35024
35025 /* System header to define __stub macros and hopefully few prototypes,
35026 which can conflict with char $ac_func (); below.
35027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35028 <limits.h> exists even on freestanding compilers. */
35029
35030 #ifdef __STDC__
35031 # include <limits.h>
35032 #else
35033 # include <assert.h>
35034 #endif
35035
35036 #undef $ac_func
35037
35038 /* Override any GCC internal prototype to avoid an error.
35039 Use char because int might match the return type of a GCC
35040 builtin and then its argument prototype would still apply. */
35041 #ifdef __cplusplus
35042 extern "C"
35043 #endif
35044 char $ac_func ();
35045 /* The GNU C library defines this for functions which it implements
35046 to always fail with ENOSYS. Some functions are actually named
35047 something starting with __ and the normal name is an alias. */
35048 #if defined __stub_$ac_func || defined __stub___$ac_func
35049 choke me
35050 #endif
35051
35052 int
35053 main ()
35054 {
35055 return $ac_func ();
35056 ;
35057 return 0;
35058 }
35059 _ACEOF
35060 rm -f conftest.$ac_objext conftest$ac_exeext
35061 if { (ac_try="$ac_link"
35062 case "(($ac_try" in
35063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35064 *) ac_try_echo=$ac_try;;
35065 esac
35066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35067 (eval "$ac_link") 2>conftest.er1
35068 ac_status=$?
35069 grep -v '^ *+' conftest.er1 >conftest.err
35070 rm -f conftest.er1
35071 cat conftest.err >&5
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); } && {
35074 test -z "$ac_c_werror_flag" ||
35075 test ! -s conftest.err
35076 } && test -s conftest$ac_exeext &&
35077 $as_test_x conftest$ac_exeext; then
35078 eval "$as_ac_var=yes"
35079 else
35080 echo "$as_me: failed program was:" >&5
35081 sed 's/^/| /' conftest.$ac_ext >&5
35082
35083 eval "$as_ac_var=no"
35084 fi
35085
35086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35087 conftest$ac_exeext conftest.$ac_ext
35088 fi
35089 ac_res=`eval echo '${'$as_ac_var'}'`
35090 { echo "$as_me:$LINENO: result: $ac_res" >&5
35091 echo "${ECHO_T}$ac_res" >&6; }
35092 if test `eval echo '${'$as_ac_var'}'` = yes; then
35093 cat >>confdefs.h <<_ACEOF
35094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35095 _ACEOF
35096
35097 fi
35098 done
35099
35100
35101 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35102 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35103 fi
35104
35105 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35106 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35107 if test "${ac_cv_type_mbstate_t+set}" = set; then
35108 echo $ECHO_N "(cached) $ECHO_C" >&6
35109 else
35110 cat >conftest.$ac_ext <<_ACEOF
35111 /* confdefs.h. */
35112 _ACEOF
35113 cat confdefs.h >>conftest.$ac_ext
35114 cat >>conftest.$ac_ext <<_ACEOF
35115 /* end confdefs.h. */
35116 #include <wchar.h>
35117
35118 typedef mbstate_t ac__type_new_;
35119 int
35120 main ()
35121 {
35122 if ((ac__type_new_ *) 0)
35123 return 0;
35124 if (sizeof (ac__type_new_))
35125 return 0;
35126 ;
35127 return 0;
35128 }
35129 _ACEOF
35130 rm -f conftest.$ac_objext
35131 if { (ac_try="$ac_compile"
35132 case "(($ac_try" in
35133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35134 *) ac_try_echo=$ac_try;;
35135 esac
35136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35137 (eval "$ac_compile") 2>conftest.er1
35138 ac_status=$?
35139 grep -v '^ *+' conftest.er1 >conftest.err
35140 rm -f conftest.er1
35141 cat conftest.err >&5
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); } && {
35144 test -z "$ac_c_werror_flag" ||
35145 test ! -s conftest.err
35146 } && test -s conftest.$ac_objext; then
35147 ac_cv_type_mbstate_t=yes
35148 else
35149 echo "$as_me: failed program was:" >&5
35150 sed 's/^/| /' conftest.$ac_ext >&5
35151
35152 ac_cv_type_mbstate_t=no
35153 fi
35154
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156 fi
35157 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35158 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35159 if test $ac_cv_type_mbstate_t = yes; then
35160
35161 cat >>confdefs.h <<_ACEOF
35162 #define HAVE_MBSTATE_T 1
35163 _ACEOF
35164
35165
35166 for ac_func in wcsrtombs
35167 do
35168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35169 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35171 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35172 echo $ECHO_N "(cached) $ECHO_C" >&6
35173 else
35174 cat >conftest.$ac_ext <<_ACEOF
35175 /* confdefs.h. */
35176 _ACEOF
35177 cat confdefs.h >>conftest.$ac_ext
35178 cat >>conftest.$ac_ext <<_ACEOF
35179 /* end confdefs.h. */
35180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35182 #define $ac_func innocuous_$ac_func
35183
35184 /* System header to define __stub macros and hopefully few prototypes,
35185 which can conflict with char $ac_func (); below.
35186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35187 <limits.h> exists even on freestanding compilers. */
35188
35189 #ifdef __STDC__
35190 # include <limits.h>
35191 #else
35192 # include <assert.h>
35193 #endif
35194
35195 #undef $ac_func
35196
35197 /* Override any GCC internal prototype to avoid an error.
35198 Use char because int might match the return type of a GCC
35199 builtin and then its argument prototype would still apply. */
35200 #ifdef __cplusplus
35201 extern "C"
35202 #endif
35203 char $ac_func ();
35204 /* The GNU C library defines this for functions which it implements
35205 to always fail with ENOSYS. Some functions are actually named
35206 something starting with __ and the normal name is an alias. */
35207 #if defined __stub_$ac_func || defined __stub___$ac_func
35208 choke me
35209 #endif
35210
35211 int
35212 main ()
35213 {
35214 return $ac_func ();
35215 ;
35216 return 0;
35217 }
35218 _ACEOF
35219 rm -f conftest.$ac_objext conftest$ac_exeext
35220 if { (ac_try="$ac_link"
35221 case "(($ac_try" in
35222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35223 *) ac_try_echo=$ac_try;;
35224 esac
35225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35226 (eval "$ac_link") 2>conftest.er1
35227 ac_status=$?
35228 grep -v '^ *+' conftest.er1 >conftest.err
35229 rm -f conftest.er1
35230 cat conftest.err >&5
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); } && {
35233 test -z "$ac_c_werror_flag" ||
35234 test ! -s conftest.err
35235 } && test -s conftest$ac_exeext &&
35236 $as_test_x conftest$ac_exeext; then
35237 eval "$as_ac_var=yes"
35238 else
35239 echo "$as_me: failed program was:" >&5
35240 sed 's/^/| /' conftest.$ac_ext >&5
35241
35242 eval "$as_ac_var=no"
35243 fi
35244
35245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35246 conftest$ac_exeext conftest.$ac_ext
35247 fi
35248 ac_res=`eval echo '${'$as_ac_var'}'`
35249 { echo "$as_me:$LINENO: result: $ac_res" >&5
35250 echo "${ECHO_T}$ac_res" >&6; }
35251 if test `eval echo '${'$as_ac_var'}'` = yes; then
35252 cat >>confdefs.h <<_ACEOF
35253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35254 _ACEOF
35255
35256 fi
35257 done
35258
35259 fi
35260
35261 else
35262 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35263 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35264 fi
35265
35266
35267
35268
35269 for ac_func in snprintf vsnprintf vsscanf
35270 do
35271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35275 echo $ECHO_N "(cached) $ECHO_C" >&6
35276 else
35277 cat >conftest.$ac_ext <<_ACEOF
35278 /* confdefs.h. */
35279 _ACEOF
35280 cat confdefs.h >>conftest.$ac_ext
35281 cat >>conftest.$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35285 #define $ac_func innocuous_$ac_func
35286
35287 /* System header to define __stub macros and hopefully few prototypes,
35288 which can conflict with char $ac_func (); below.
35289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35290 <limits.h> exists even on freestanding compilers. */
35291
35292 #ifdef __STDC__
35293 # include <limits.h>
35294 #else
35295 # include <assert.h>
35296 #endif
35297
35298 #undef $ac_func
35299
35300 /* Override any GCC internal prototype to avoid an error.
35301 Use char because int might match the return type of a GCC
35302 builtin and then its argument prototype would still apply. */
35303 #ifdef __cplusplus
35304 extern "C"
35305 #endif
35306 char $ac_func ();
35307 /* The GNU C library defines this for functions which it implements
35308 to always fail with ENOSYS. Some functions are actually named
35309 something starting with __ and the normal name is an alias. */
35310 #if defined __stub_$ac_func || defined __stub___$ac_func
35311 choke me
35312 #endif
35313
35314 int
35315 main ()
35316 {
35317 return $ac_func ();
35318 ;
35319 return 0;
35320 }
35321 _ACEOF
35322 rm -f conftest.$ac_objext conftest$ac_exeext
35323 if { (ac_try="$ac_link"
35324 case "(($ac_try" in
35325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35326 *) ac_try_echo=$ac_try;;
35327 esac
35328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35329 (eval "$ac_link") 2>conftest.er1
35330 ac_status=$?
35331 grep -v '^ *+' conftest.er1 >conftest.err
35332 rm -f conftest.er1
35333 cat conftest.err >&5
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); } && {
35336 test -z "$ac_c_werror_flag" ||
35337 test ! -s conftest.err
35338 } && test -s conftest$ac_exeext &&
35339 $as_test_x conftest$ac_exeext; then
35340 eval "$as_ac_var=yes"
35341 else
35342 echo "$as_me: failed program was:" >&5
35343 sed 's/^/| /' conftest.$ac_ext >&5
35344
35345 eval "$as_ac_var=no"
35346 fi
35347
35348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35349 conftest$ac_exeext conftest.$ac_ext
35350 fi
35351 ac_res=`eval echo '${'$as_ac_var'}'`
35352 { echo "$as_me:$LINENO: result: $ac_res" >&5
35353 echo "${ECHO_T}$ac_res" >&6; }
35354 if test `eval echo '${'$as_ac_var'}'` = yes; then
35355 cat >>confdefs.h <<_ACEOF
35356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35357 _ACEOF
35358
35359 fi
35360 done
35361
35362
35363 ac_ext=cpp
35364 ac_cpp='$CXXCPP $CPPFLAGS'
35365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35368
35369 if test "$ac_cv_func_vsnprintf" = "yes"; then
35370 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35371 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35372 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35373 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 else
35375
35376 cat >conftest.$ac_ext <<_ACEOF
35377 /* confdefs.h. */
35378 _ACEOF
35379 cat confdefs.h >>conftest.$ac_ext
35380 cat >>conftest.$ac_ext <<_ACEOF
35381 /* end confdefs.h. */
35382
35383 #include <stdio.h>
35384 #include <stdarg.h>
35385 #ifdef __MSL__
35386 #if __MSL__ >= 0x6000
35387 namespace std {}
35388 using namespace std;
35389 #endif
35390 #endif
35391
35392 int
35393 main ()
35394 {
35395
35396 char *buf;
35397 va_list ap;
35398 vsnprintf(buf, 10u, "%s", ap);
35399
35400 ;
35401 return 0;
35402 }
35403 _ACEOF
35404 rm -f conftest.$ac_objext
35405 if { (ac_try="$ac_compile"
35406 case "(($ac_try" in
35407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35408 *) ac_try_echo=$ac_try;;
35409 esac
35410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35411 (eval "$ac_compile") 2>conftest.er1
35412 ac_status=$?
35413 grep -v '^ *+' conftest.er1 >conftest.err
35414 rm -f conftest.er1
35415 cat conftest.err >&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); } && {
35418 test -z "$ac_cxx_werror_flag" ||
35419 test ! -s conftest.err
35420 } && test -s conftest.$ac_objext; then
35421 wx_cv_func_vsnprintf_decl=yes
35422 else
35423 echo "$as_me: failed program was:" >&5
35424 sed 's/^/| /' conftest.$ac_ext >&5
35425
35426 wx_cv_func_vsnprintf_decl=no
35427
35428 fi
35429
35430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35431
35432
35433 fi
35434 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35435 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35436
35437 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35438 cat >>confdefs.h <<\_ACEOF
35439 #define HAVE_VSNPRINTF_DECL 1
35440 _ACEOF
35441
35442
35443 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35444 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35445 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35446 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 else
35448
35449 cat >conftest.$ac_ext <<_ACEOF
35450 /* confdefs.h. */
35451 _ACEOF
35452 cat confdefs.h >>conftest.$ac_ext
35453 cat >>conftest.$ac_ext <<_ACEOF
35454 /* end confdefs.h. */
35455
35456 #include <stdio.h>
35457 #include <stdarg.h>
35458 #ifdef __MSL__
35459 #if __MSL__ >= 0x6000
35460 namespace std {}
35461 using namespace std;
35462 #endif
35463 #endif
35464
35465 int
35466 main ()
35467 {
35468
35469 char *buf;
35470 va_list ap;
35471 const char *fmt = "%s";
35472 vsnprintf(buf, 10u, fmt, ap);
35473
35474 ;
35475 return 0;
35476 }
35477 _ACEOF
35478 rm -f conftest.$ac_objext
35479 if { (ac_try="$ac_compile"
35480 case "(($ac_try" in
35481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35482 *) ac_try_echo=$ac_try;;
35483 esac
35484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35485 (eval "$ac_compile") 2>conftest.er1
35486 ac_status=$?
35487 grep -v '^ *+' conftest.er1 >conftest.err
35488 rm -f conftest.er1
35489 cat conftest.err >&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); } && {
35492 test -z "$ac_cxx_werror_flag" ||
35493 test ! -s conftest.err
35494 } && test -s conftest.$ac_objext; then
35495 wx_cv_func_broken_vsnprintf_decl=no
35496 else
35497 echo "$as_me: failed program was:" >&5
35498 sed 's/^/| /' conftest.$ac_ext >&5
35499
35500 wx_cv_func_broken_vsnprintf_decl=yes
35501
35502 fi
35503
35504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35505
35506
35507 fi
35508 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35509 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35510
35511 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35512 cat >>confdefs.h <<\_ACEOF
35513 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35514 _ACEOF
35515
35516 fi
35517 fi
35518 fi
35519
35520 if test "$ac_cv_func_snprintf" = "yes"; then
35521 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35522 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35523 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35524 echo $ECHO_N "(cached) $ECHO_C" >&6
35525 else
35526
35527 cat >conftest.$ac_ext <<_ACEOF
35528 /* confdefs.h. */
35529 _ACEOF
35530 cat confdefs.h >>conftest.$ac_ext
35531 cat >>conftest.$ac_ext <<_ACEOF
35532 /* end confdefs.h. */
35533
35534 #include <stdio.h>
35535 #include <stdarg.h>
35536 #ifdef __MSL__
35537 #if __MSL__ >= 0x6000
35538 namespace std {}
35539 using namespace std;
35540 #endif
35541 #endif
35542
35543 int
35544 main ()
35545 {
35546
35547 char *buf;
35548 snprintf(buf, 10u, "%s", "wx");
35549
35550 ;
35551 return 0;
35552 }
35553 _ACEOF
35554 rm -f conftest.$ac_objext
35555 if { (ac_try="$ac_compile"
35556 case "(($ac_try" in
35557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35558 *) ac_try_echo=$ac_try;;
35559 esac
35560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35561 (eval "$ac_compile") 2>conftest.er1
35562 ac_status=$?
35563 grep -v '^ *+' conftest.er1 >conftest.err
35564 rm -f conftest.er1
35565 cat conftest.err >&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); } && {
35568 test -z "$ac_cxx_werror_flag" ||
35569 test ! -s conftest.err
35570 } && test -s conftest.$ac_objext; then
35571 wx_cv_func_snprintf_decl=yes
35572 else
35573 echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.$ac_ext >&5
35575
35576 wx_cv_func_snprintf_decl=no
35577
35578 fi
35579
35580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35581
35582
35583 fi
35584 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35585 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35586
35587 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35588 cat >>confdefs.h <<\_ACEOF
35589 #define HAVE_SNPRINTF_DECL 1
35590 _ACEOF
35591
35592 fi
35593
35594 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35595
35596 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35597 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35598 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35600 else
35601
35602 if test "$cross_compiling" = yes; then
35603
35604 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35605 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35606 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35607 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35608 wx_cv_func_snprintf_pos_params=no
35609
35610
35611 else
35612 cat >conftest.$ac_ext <<_ACEOF
35613 /* confdefs.h. */
35614 _ACEOF
35615 cat confdefs.h >>conftest.$ac_ext
35616 cat >>conftest.$ac_ext <<_ACEOF
35617 /* end confdefs.h. */
35618
35619 #include <stdio.h>
35620
35621 int main (void)
35622 {
35623 char buffer[128];
35624 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35625 if (strcmp ("2 3 1", buffer) == 0)
35626 exit (0);
35627 exit (1);
35628 }
35629
35630 _ACEOF
35631 rm -f conftest$ac_exeext
35632 if { (ac_try="$ac_link"
35633 case "(($ac_try" in
35634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35635 *) ac_try_echo=$ac_try;;
35636 esac
35637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35638 (eval "$ac_link") 2>&5
35639 ac_status=$?
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35642 { (case "(($ac_try" in
35643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35644 *) ac_try_echo=$ac_try;;
35645 esac
35646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35647 (eval "$ac_try") 2>&5
35648 ac_status=$?
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; }; then
35651 wx_cv_func_snprintf_pos_params=no
35652 else
35653 echo "$as_me: program exited with status $ac_status" >&5
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.$ac_ext >&5
35656
35657 ( exit $ac_status )
35658 wx_cv_func_snprintf_pos_params=yes
35659 fi
35660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35661 fi
35662
35663
35664
35665
35666 fi
35667 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35668 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35669
35670 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35671 cat >>confdefs.h <<\_ACEOF
35672 #define HAVE_UNIX98_PRINTF 1
35673 _ACEOF
35674
35675 fi
35676 fi
35677 fi
35678
35679 if test "$ac_cv_func_vsscanf" = "yes"; then
35680 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35681 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35682 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35683 echo $ECHO_N "(cached) $ECHO_C" >&6
35684 else
35685
35686 cat >conftest.$ac_ext <<_ACEOF
35687 /* confdefs.h. */
35688 _ACEOF
35689 cat confdefs.h >>conftest.$ac_ext
35690 cat >>conftest.$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35692
35693 #include <stdio.h>
35694 #include <stdarg.h>
35695 #ifdef __MSL__
35696 #if __MSL__ >= 0x6000
35697 namespace std {}
35698 using namespace std;
35699 #endif
35700 #endif
35701
35702 int
35703 main ()
35704 {
35705
35706 char *buf;
35707 va_list args;
35708 vsscanf(buf, "%s", args);
35709
35710 ;
35711 return 0;
35712 }
35713 _ACEOF
35714 rm -f conftest.$ac_objext
35715 if { (ac_try="$ac_compile"
35716 case "(($ac_try" in
35717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35718 *) ac_try_echo=$ac_try;;
35719 esac
35720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35721 (eval "$ac_compile") 2>conftest.er1
35722 ac_status=$?
35723 grep -v '^ *+' conftest.er1 >conftest.err
35724 rm -f conftest.er1
35725 cat conftest.err >&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); } && {
35728 test -z "$ac_cxx_werror_flag" ||
35729 test ! -s conftest.err
35730 } && test -s conftest.$ac_objext; then
35731 wx_cv_func_vsscanf_decl=yes
35732 else
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.$ac_ext >&5
35735
35736 wx_cv_func_vsscanf_decl=no
35737
35738 fi
35739
35740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35741
35742
35743 fi
35744 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35745 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35746
35747 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35748 cat >>confdefs.h <<\_ACEOF
35749 #define HAVE_VSSCANF_DECL 1
35750 _ACEOF
35751
35752 fi
35753 fi
35754 ac_ext=c
35755 ac_cpp='$CPP $CPPFLAGS'
35756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35759
35760
35761 if test "$wxUSE_UNICODE" = yes; then
35762
35763 wchar_headers="#include <stdio.h>
35764 #include <wchar.h>"
35765 case "${host}" in
35766 *-*-solaris2* )
35767
35768 for ac_header in widec.h
35769 do
35770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35774 echo $ECHO_N "(cached) $ECHO_C" >&6
35775 else
35776 cat >conftest.$ac_ext <<_ACEOF
35777 /* confdefs.h. */
35778 _ACEOF
35779 cat confdefs.h >>conftest.$ac_ext
35780 cat >>conftest.$ac_ext <<_ACEOF
35781 /* end confdefs.h. */
35782 $ac_includes_default
35783
35784 #include <$ac_header>
35785 _ACEOF
35786 rm -f conftest.$ac_objext
35787 if { (ac_try="$ac_compile"
35788 case "(($ac_try" in
35789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35790 *) ac_try_echo=$ac_try;;
35791 esac
35792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35793 (eval "$ac_compile") 2>conftest.er1
35794 ac_status=$?
35795 grep -v '^ *+' conftest.er1 >conftest.err
35796 rm -f conftest.er1
35797 cat conftest.err >&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && {
35800 test -z "$ac_c_werror_flag" ||
35801 test ! -s conftest.err
35802 } && test -s conftest.$ac_objext; then
35803 eval "$as_ac_Header=yes"
35804 else
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35807
35808 eval "$as_ac_Header=no"
35809 fi
35810
35811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35812 fi
35813 ac_res=`eval echo '${'$as_ac_Header'}'`
35814 { echo "$as_me:$LINENO: result: $ac_res" >&5
35815 echo "${ECHO_T}$ac_res" >&6; }
35816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35817 cat >>confdefs.h <<_ACEOF
35818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35819 _ACEOF
35820
35821 fi
35822
35823 done
35824
35825 if test "$ac_cv_header_widec_h" = "yes"; then
35826 wchar_headers="$wchar_headers
35827 #include <widec.h>"
35828 fi
35829 esac
35830
35831
35832 for wx_func in putws fputws wprintf vswprintf vswscanf
35833 do
35834 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35835 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35836 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35838 else
35839
35840 cat >conftest.$ac_ext <<_ACEOF
35841
35842 /* confdefs.h. */
35843 _ACEOF
35844 cat confdefs.h >>conftest.$ac_ext
35845 cat >>conftest.$ac_ext <<_ACEOF
35846 /* end confdefs.h. */
35847
35848 $wchar_headers
35849 $ac_includes_default
35850
35851 int
35852 main ()
35853 {
35854
35855 #ifndef $wx_func
35856 &$wx_func;
35857 #endif
35858
35859
35860 ;
35861 return 0;
35862 }
35863
35864 _ACEOF
35865 rm -f conftest.$ac_objext conftest$ac_exeext
35866 if { (ac_try="$ac_link"
35867 case "(($ac_try" in
35868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35869 *) ac_try_echo=$ac_try;;
35870 esac
35871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35872 (eval "$ac_link") 2>conftest.er1
35873 ac_status=$?
35874 grep -v '^ *+' conftest.er1 >conftest.err
35875 rm -f conftest.er1
35876 cat conftest.err >&5
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); } && {
35879 test -z "$ac_c_werror_flag" ||
35880 test ! -s conftest.err
35881 } && test -s conftest$ac_exeext &&
35882 $as_test_x conftest$ac_exeext; then
35883 eval wx_cv_func_$wx_func=yes
35884 else
35885 echo "$as_me: failed program was:" >&5
35886 sed 's/^/| /' conftest.$ac_ext >&5
35887
35888 eval wx_cv_func_$wx_func=no
35889 fi
35890
35891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35892 conftest$ac_exeext conftest.$ac_ext
35893
35894 fi
35895 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35896 { echo "$as_me:$LINENO: result: $ac_res" >&5
35897 echo "${ECHO_T}$ac_res" >&6; }
35898
35899 if eval test \$wx_cv_func_$wx_func = yes
35900 then
35901 cat >>confdefs.h <<_ACEOF
35902 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35903 _ACEOF
35904
35905
35906 else
35907 :
35908
35909 fi
35910 done
35911
35912
35913 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35914 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35915 cat >conftest.$ac_ext <<_ACEOF
35916 /* confdefs.h. */
35917 _ACEOF
35918 cat confdefs.h >>conftest.$ac_ext
35919 cat >>conftest.$ac_ext <<_ACEOF
35920 /* end confdefs.h. */
35921 #include <wchar.h>
35922 int
35923 main ()
35924 {
35925 &_vsnwprintf;
35926 ;
35927 return 0;
35928 }
35929 _ACEOF
35930 rm -f conftest.$ac_objext
35931 if { (ac_try="$ac_compile"
35932 case "(($ac_try" in
35933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35934 *) ac_try_echo=$ac_try;;
35935 esac
35936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35937 (eval "$ac_compile") 2>conftest.er1
35938 ac_status=$?
35939 grep -v '^ *+' conftest.er1 >conftest.err
35940 rm -f conftest.er1
35941 cat conftest.err >&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } && {
35944 test -z "$ac_c_werror_flag" ||
35945 test ! -s conftest.err
35946 } && test -s conftest.$ac_objext; then
35947 { echo "$as_me:$LINENO: result: yes" >&5
35948 echo "${ECHO_T}yes" >&6; }
35949 cat >>confdefs.h <<\_ACEOF
35950 #define HAVE__VSNWPRINTF 1
35951 _ACEOF
35952
35953 else
35954 echo "$as_me: failed program was:" >&5
35955 sed 's/^/| /' conftest.$ac_ext >&5
35956
35957 { echo "$as_me:$LINENO: result: no" >&5
35958 echo "${ECHO_T}no" >&6; }
35959 fi
35960
35961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35962 fi
35963
35964 if test "$wxUSE_FILE" = "yes"; then
35965
35966 for wx_func in fsync
35967 do
35968 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35969 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35970 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35971 echo $ECHO_N "(cached) $ECHO_C" >&6
35972 else
35973
35974 cat >conftest.$ac_ext <<_ACEOF
35975
35976 /* confdefs.h. */
35977 _ACEOF
35978 cat confdefs.h >>conftest.$ac_ext
35979 cat >>conftest.$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35981
35982
35983 $ac_includes_default
35984
35985 int
35986 main ()
35987 {
35988
35989 #ifndef $wx_func
35990 &$wx_func;
35991 #endif
35992
35993
35994 ;
35995 return 0;
35996 }
35997
35998 _ACEOF
35999 rm -f conftest.$ac_objext conftest$ac_exeext
36000 if { (ac_try="$ac_link"
36001 case "(($ac_try" in
36002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36003 *) ac_try_echo=$ac_try;;
36004 esac
36005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36006 (eval "$ac_link") 2>conftest.er1
36007 ac_status=$?
36008 grep -v '^ *+' conftest.er1 >conftest.err
36009 rm -f conftest.er1
36010 cat conftest.err >&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); } && {
36013 test -z "$ac_c_werror_flag" ||
36014 test ! -s conftest.err
36015 } && test -s conftest$ac_exeext &&
36016 $as_test_x conftest$ac_exeext; then
36017 eval wx_cv_func_$wx_func=yes
36018 else
36019 echo "$as_me: failed program was:" >&5
36020 sed 's/^/| /' conftest.$ac_ext >&5
36021
36022 eval wx_cv_func_$wx_func=no
36023 fi
36024
36025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36026 conftest$ac_exeext conftest.$ac_ext
36027
36028 fi
36029 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36030 { echo "$as_me:$LINENO: result: $ac_res" >&5
36031 echo "${ECHO_T}$ac_res" >&6; }
36032
36033 if eval test \$wx_cv_func_$wx_func = yes
36034 then
36035 cat >>confdefs.h <<_ACEOF
36036 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36037 _ACEOF
36038
36039
36040 else
36041 :
36042
36043 fi
36044 done
36045
36046 fi
36047
36048 ac_ext=cpp
36049 ac_cpp='$CXXCPP $CPPFLAGS'
36050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36053
36054
36055 for wx_func in round
36056 do
36057 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36058 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36059 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36060 echo $ECHO_N "(cached) $ECHO_C" >&6
36061 else
36062
36063 cat >conftest.$ac_ext <<_ACEOF
36064
36065 /* confdefs.h. */
36066 _ACEOF
36067 cat confdefs.h >>conftest.$ac_ext
36068 cat >>conftest.$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070
36071 #include <math.h>
36072 $ac_includes_default
36073
36074 int
36075 main ()
36076 {
36077
36078 #ifndef $wx_func
36079 &$wx_func;
36080 #endif
36081
36082
36083 ;
36084 return 0;
36085 }
36086
36087 _ACEOF
36088 rm -f conftest.$ac_objext conftest$ac_exeext
36089 if { (ac_try="$ac_link"
36090 case "(($ac_try" in
36091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36092 *) ac_try_echo=$ac_try;;
36093 esac
36094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36095 (eval "$ac_link") 2>conftest.er1
36096 ac_status=$?
36097 grep -v '^ *+' conftest.er1 >conftest.err
36098 rm -f conftest.er1
36099 cat conftest.err >&5
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); } && {
36102 test -z "$ac_cxx_werror_flag" ||
36103 test ! -s conftest.err
36104 } && test -s conftest$ac_exeext &&
36105 $as_test_x conftest$ac_exeext; then
36106 eval wx_cv_func_$wx_func=yes
36107 else
36108 echo "$as_me: failed program was:" >&5
36109 sed 's/^/| /' conftest.$ac_ext >&5
36110
36111 eval wx_cv_func_$wx_func=no
36112 fi
36113
36114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36115 conftest$ac_exeext conftest.$ac_ext
36116
36117 fi
36118 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36119 { echo "$as_me:$LINENO: result: $ac_res" >&5
36120 echo "${ECHO_T}$ac_res" >&6; }
36121
36122 if eval test \$wx_cv_func_$wx_func = yes
36123 then
36124 cat >>confdefs.h <<_ACEOF
36125 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36126 _ACEOF
36127
36128
36129 else
36130 :
36131
36132 fi
36133 done
36134
36135 ac_ext=c
36136 ac_cpp='$CPP $CPPFLAGS'
36137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36140
36141
36142 if test "$TOOLKIT" != "MSW"; then
36143
36144 if test "$wxUSE_LIBICONV" != "no" ; then
36145
36146
36147
36148 # Check whether --with-libiconv-prefix was given.
36149 if test "${with_libiconv_prefix+set}" = set; then
36150 withval=$with_libiconv_prefix;
36151 for dir in `echo "$withval" | tr : ' '`; do
36152 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36153 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36154 done
36155
36156 fi
36157
36158
36159 { echo "$as_me:$LINENO: checking for iconv" >&5
36160 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36161 if test "${am_cv_func_iconv+set}" = set; then
36162 echo $ECHO_N "(cached) $ECHO_C" >&6
36163 else
36164
36165 am_cv_func_iconv="no, consider installing GNU libiconv"
36166 am_cv_lib_iconv=no
36167 cat >conftest.$ac_ext <<_ACEOF
36168 /* confdefs.h. */
36169 _ACEOF
36170 cat confdefs.h >>conftest.$ac_ext
36171 cat >>conftest.$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36173 #include <stdlib.h>
36174 #include <iconv.h>
36175 int
36176 main ()
36177 {
36178 iconv_t cd = iconv_open("","");
36179 iconv(cd,NULL,NULL,NULL,NULL);
36180 iconv_close(cd);
36181 ;
36182 return 0;
36183 }
36184 _ACEOF
36185 rm -f conftest.$ac_objext conftest$ac_exeext
36186 if { (ac_try="$ac_link"
36187 case "(($ac_try" in
36188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36189 *) ac_try_echo=$ac_try;;
36190 esac
36191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36192 (eval "$ac_link") 2>conftest.er1
36193 ac_status=$?
36194 grep -v '^ *+' conftest.er1 >conftest.err
36195 rm -f conftest.er1
36196 cat conftest.err >&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } && {
36199 test -z "$ac_c_werror_flag" ||
36200 test ! -s conftest.err
36201 } && test -s conftest$ac_exeext &&
36202 $as_test_x conftest$ac_exeext; then
36203 am_cv_func_iconv=yes
36204 else
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36207
36208
36209 fi
36210
36211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36212 conftest$ac_exeext conftest.$ac_ext
36213 if test "$am_cv_func_iconv" != yes; then
36214 am_save_LIBS="$LIBS"
36215 LIBS="$LIBS -liconv"
36216 cat >conftest.$ac_ext <<_ACEOF
36217 /* confdefs.h. */
36218 _ACEOF
36219 cat confdefs.h >>conftest.$ac_ext
36220 cat >>conftest.$ac_ext <<_ACEOF
36221 /* end confdefs.h. */
36222 #include <stdlib.h>
36223 #include <iconv.h>
36224 int
36225 main ()
36226 {
36227 iconv_t cd = iconv_open("","");
36228 iconv(cd,NULL,NULL,NULL,NULL);
36229 iconv_close(cd);
36230 ;
36231 return 0;
36232 }
36233 _ACEOF
36234 rm -f conftest.$ac_objext conftest$ac_exeext
36235 if { (ac_try="$ac_link"
36236 case "(($ac_try" in
36237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36238 *) ac_try_echo=$ac_try;;
36239 esac
36240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36241 (eval "$ac_link") 2>conftest.er1
36242 ac_status=$?
36243 grep -v '^ *+' conftest.er1 >conftest.err
36244 rm -f conftest.er1
36245 cat conftest.err >&5
36246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36247 (exit $ac_status); } && {
36248 test -z "$ac_c_werror_flag" ||
36249 test ! -s conftest.err
36250 } && test -s conftest$ac_exeext &&
36251 $as_test_x conftest$ac_exeext; then
36252 am_cv_lib_iconv=yes
36253 am_cv_func_iconv=yes
36254 else
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36257
36258
36259 fi
36260
36261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36262 conftest$ac_exeext conftest.$ac_ext
36263 LIBS="$am_save_LIBS"
36264 fi
36265
36266 fi
36267 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36268 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36269 if test "$am_cv_func_iconv" = yes; then
36270
36271 cat >>confdefs.h <<\_ACEOF
36272 #define HAVE_ICONV 1
36273 _ACEOF
36274
36275 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36276 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36277 if test "${wx_cv_func_iconv_const+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286
36287 #include <stdlib.h>
36288 #include <iconv.h>
36289 extern
36290 #ifdef __cplusplus
36291 "C"
36292 #endif
36293 #if defined(__STDC__) || defined(__cplusplus)
36294 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36295 #else
36296 size_t iconv();
36297 #endif
36298
36299 int
36300 main ()
36301 {
36302
36303 ;
36304 return 0;
36305 }
36306 _ACEOF
36307 rm -f conftest.$ac_objext
36308 if { (ac_try="$ac_compile"
36309 case "(($ac_try" in
36310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36311 *) ac_try_echo=$ac_try;;
36312 esac
36313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36314 (eval "$ac_compile") 2>conftest.er1
36315 ac_status=$?
36316 grep -v '^ *+' conftest.er1 >conftest.err
36317 rm -f conftest.er1
36318 cat conftest.err >&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); } && {
36321 test -z "$ac_c_werror_flag" ||
36322 test ! -s conftest.err
36323 } && test -s conftest.$ac_objext; then
36324 wx_cv_func_iconv_const="no"
36325 else
36326 echo "$as_me: failed program was:" >&5
36327 sed 's/^/| /' conftest.$ac_ext >&5
36328
36329 wx_cv_func_iconv_const="yes"
36330
36331 fi
36332
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36334
36335 fi
36336 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36337 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36338
36339 iconv_const=
36340 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36341 iconv_const="const"
36342 fi
36343
36344
36345 cat >>confdefs.h <<_ACEOF
36346 #define ICONV_CONST $iconv_const
36347 _ACEOF
36348
36349 fi
36350 LIBICONV=
36351 if test "$am_cv_lib_iconv" = yes; then
36352 LIBICONV="-liconv"
36353 fi
36354
36355
36356 LIBS="$LIBICONV $LIBS"
36357 fi
36358
36359 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36360
36361 for ac_func in sigaction
36362 do
36363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36364 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36366 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36367 echo $ECHO_N "(cached) $ECHO_C" >&6
36368 else
36369 cat >conftest.$ac_ext <<_ACEOF
36370 /* confdefs.h. */
36371 _ACEOF
36372 cat confdefs.h >>conftest.$ac_ext
36373 cat >>conftest.$ac_ext <<_ACEOF
36374 /* end confdefs.h. */
36375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36377 #define $ac_func innocuous_$ac_func
36378
36379 /* System header to define __stub macros and hopefully few prototypes,
36380 which can conflict with char $ac_func (); below.
36381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36382 <limits.h> exists even on freestanding compilers. */
36383
36384 #ifdef __STDC__
36385 # include <limits.h>
36386 #else
36387 # include <assert.h>
36388 #endif
36389
36390 #undef $ac_func
36391
36392 /* Override any GCC internal prototype to avoid an error.
36393 Use char because int might match the return type of a GCC
36394 builtin and then its argument prototype would still apply. */
36395 #ifdef __cplusplus
36396 extern "C"
36397 #endif
36398 char $ac_func ();
36399 /* The GNU C library defines this for functions which it implements
36400 to always fail with ENOSYS. Some functions are actually named
36401 something starting with __ and the normal name is an alias. */
36402 #if defined __stub_$ac_func || defined __stub___$ac_func
36403 choke me
36404 #endif
36405
36406 int
36407 main ()
36408 {
36409 return $ac_func ();
36410 ;
36411 return 0;
36412 }
36413 _ACEOF
36414 rm -f conftest.$ac_objext conftest$ac_exeext
36415 if { (ac_try="$ac_link"
36416 case "(($ac_try" in
36417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36418 *) ac_try_echo=$ac_try;;
36419 esac
36420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36421 (eval "$ac_link") 2>conftest.er1
36422 ac_status=$?
36423 grep -v '^ *+' conftest.er1 >conftest.err
36424 rm -f conftest.er1
36425 cat conftest.err >&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } && {
36428 test -z "$ac_c_werror_flag" ||
36429 test ! -s conftest.err
36430 } && test -s conftest$ac_exeext &&
36431 $as_test_x conftest$ac_exeext; then
36432 eval "$as_ac_var=yes"
36433 else
36434 echo "$as_me: failed program was:" >&5
36435 sed 's/^/| /' conftest.$ac_ext >&5
36436
36437 eval "$as_ac_var=no"
36438 fi
36439
36440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36441 conftest$ac_exeext conftest.$ac_ext
36442 fi
36443 ac_res=`eval echo '${'$as_ac_var'}'`
36444 { echo "$as_me:$LINENO: result: $ac_res" >&5
36445 echo "${ECHO_T}$ac_res" >&6; }
36446 if test `eval echo '${'$as_ac_var'}'` = yes; then
36447 cat >>confdefs.h <<_ACEOF
36448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36449 _ACEOF
36450
36451 fi
36452 done
36453
36454
36455 if test "$ac_cv_func_sigaction" = "no"; then
36456 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36457 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36458 wxUSE_ON_FATAL_EXCEPTION=no
36459 fi
36460
36461 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36462 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36463 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36464 if test "${wx_cv_type_sa_handler+set}" = set; then
36465 echo $ECHO_N "(cached) $ECHO_C" >&6
36466 else
36467
36468 ac_ext=cpp
36469 ac_cpp='$CXXCPP $CPPFLAGS'
36470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36473
36474 cat >conftest.$ac_ext <<_ACEOF
36475 /* confdefs.h. */
36476 _ACEOF
36477 cat confdefs.h >>conftest.$ac_ext
36478 cat >>conftest.$ac_ext <<_ACEOF
36479 /* end confdefs.h. */
36480 #include <signal.h>
36481 int
36482 main ()
36483 {
36484
36485 extern void testSigHandler(int);
36486
36487 struct sigaction sa;
36488 sa.sa_handler = testSigHandler;
36489
36490 ;
36491 return 0;
36492 }
36493 _ACEOF
36494 rm -f conftest.$ac_objext
36495 if { (ac_try="$ac_compile"
36496 case "(($ac_try" in
36497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36498 *) ac_try_echo=$ac_try;;
36499 esac
36500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36501 (eval "$ac_compile") 2>conftest.er1
36502 ac_status=$?
36503 grep -v '^ *+' conftest.er1 >conftest.err
36504 rm -f conftest.er1
36505 cat conftest.err >&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } && {
36508 test -z "$ac_cxx_werror_flag" ||
36509 test ! -s conftest.err
36510 } && test -s conftest.$ac_objext; then
36511
36512 wx_cv_type_sa_handler=int
36513
36514 else
36515 echo "$as_me: failed program was:" >&5
36516 sed 's/^/| /' conftest.$ac_ext >&5
36517
36518
36519 wx_cv_type_sa_handler=void
36520
36521 fi
36522
36523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36524 ac_ext=c
36525 ac_cpp='$CPP $CPPFLAGS'
36526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36529
36530
36531 fi
36532 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36533 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36534
36535 cat >>confdefs.h <<_ACEOF
36536 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36537 _ACEOF
36538
36539 fi
36540 fi
36541
36542 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36543 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36544 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36545 if test "${wx_cv_func_backtrace+set}" = set; then
36546 echo $ECHO_N "(cached) $ECHO_C" >&6
36547 else
36548
36549 ac_ext=cpp
36550 ac_cpp='$CXXCPP $CPPFLAGS'
36551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36554
36555 cat >conftest.$ac_ext <<_ACEOF
36556 /* confdefs.h. */
36557 _ACEOF
36558 cat confdefs.h >>conftest.$ac_ext
36559 cat >>conftest.$ac_ext <<_ACEOF
36560 /* end confdefs.h. */
36561 #include <execinfo.h>
36562 int
36563 main ()
36564 {
36565
36566 void *trace[1];
36567 char **messages;
36568
36569 backtrace(trace, 1);
36570 messages = backtrace_symbols(trace, 1);
36571
36572 ;
36573 return 0;
36574 }
36575 _ACEOF
36576 rm -f conftest.$ac_objext
36577 if { (ac_try="$ac_compile"
36578 case "(($ac_try" in
36579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36580 *) ac_try_echo=$ac_try;;
36581 esac
36582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36583 (eval "$ac_compile") 2>conftest.er1
36584 ac_status=$?
36585 grep -v '^ *+' conftest.er1 >conftest.err
36586 rm -f conftest.er1
36587 cat conftest.err >&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); } && {
36590 test -z "$ac_cxx_werror_flag" ||
36591 test ! -s conftest.err
36592 } && test -s conftest.$ac_objext; then
36593 wx_cv_func_backtrace=yes
36594 else
36595 echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.$ac_ext >&5
36597
36598 wx_cv_func_backtrace=no
36599
36600 fi
36601
36602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36603 ac_ext=c
36604 ac_cpp='$CPP $CPPFLAGS'
36605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36608
36609
36610
36611 fi
36612 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36613 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36614
36615
36616 if test "$wx_cv_func_backtrace" = "no"; then
36617 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36618 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36619 wxUSE_STACKWALKER=no
36620 else
36621 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36622 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36623 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626
36627 ac_ext=cpp
36628 ac_cpp='$CXXCPP $CPPFLAGS'
36629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36632
36633 cat >conftest.$ac_ext <<_ACEOF
36634 /* confdefs.h. */
36635 _ACEOF
36636 cat confdefs.h >>conftest.$ac_ext
36637 cat >>conftest.$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36639 #include <cxxabi.h>
36640 int
36641 main ()
36642 {
36643
36644 int rc;
36645 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36646
36647 ;
36648 return 0;
36649 }
36650 _ACEOF
36651 rm -f conftest.$ac_objext conftest$ac_exeext
36652 if { (ac_try="$ac_link"
36653 case "(($ac_try" in
36654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36655 *) ac_try_echo=$ac_try;;
36656 esac
36657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36658 (eval "$ac_link") 2>conftest.er1
36659 ac_status=$?
36660 grep -v '^ *+' conftest.er1 >conftest.err
36661 rm -f conftest.er1
36662 cat conftest.err >&5
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); } && {
36665 test -z "$ac_cxx_werror_flag" ||
36666 test ! -s conftest.err
36667 } && test -s conftest$ac_exeext &&
36668 $as_test_x conftest$ac_exeext; then
36669 wx_cv_func_cxa_demangle=yes
36670 else
36671 echo "$as_me: failed program was:" >&5
36672 sed 's/^/| /' conftest.$ac_ext >&5
36673
36674 wx_cv_func_cxa_demangle=no
36675
36676 fi
36677
36678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36679 conftest$ac_exeext conftest.$ac_ext
36680 ac_ext=c
36681 ac_cpp='$CPP $CPPFLAGS'
36682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36685
36686
36687
36688 fi
36689 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36690 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36691
36692 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36693 cat >>confdefs.h <<\_ACEOF
36694 #define HAVE_CXA_DEMANGLE 1
36695 _ACEOF
36696
36697 fi
36698 fi
36699 fi
36700
36701 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36702 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36703 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36704 wxUSE_STACKWALKER=no
36705 fi
36706
36707
36708
36709
36710 for ac_func in mkstemp mktemp
36711 do
36712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36713 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36715 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36716 echo $ECHO_N "(cached) $ECHO_C" >&6
36717 else
36718 cat >conftest.$ac_ext <<_ACEOF
36719 /* confdefs.h. */
36720 _ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36726 #define $ac_func innocuous_$ac_func
36727
36728 /* System header to define __stub macros and hopefully few prototypes,
36729 which can conflict with char $ac_func (); below.
36730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36731 <limits.h> exists even on freestanding compilers. */
36732
36733 #ifdef __STDC__
36734 # include <limits.h>
36735 #else
36736 # include <assert.h>
36737 #endif
36738
36739 #undef $ac_func
36740
36741 /* Override any GCC internal prototype to avoid an error.
36742 Use char because int might match the return type of a GCC
36743 builtin and then its argument prototype would still apply. */
36744 #ifdef __cplusplus
36745 extern "C"
36746 #endif
36747 char $ac_func ();
36748 /* The GNU C library defines this for functions which it implements
36749 to always fail with ENOSYS. Some functions are actually named
36750 something starting with __ and the normal name is an alias. */
36751 #if defined __stub_$ac_func || defined __stub___$ac_func
36752 choke me
36753 #endif
36754
36755 int
36756 main ()
36757 {
36758 return $ac_func ();
36759 ;
36760 return 0;
36761 }
36762 _ACEOF
36763 rm -f conftest.$ac_objext conftest$ac_exeext
36764 if { (ac_try="$ac_link"
36765 case "(($ac_try" in
36766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36767 *) ac_try_echo=$ac_try;;
36768 esac
36769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36770 (eval "$ac_link") 2>conftest.er1
36771 ac_status=$?
36772 grep -v '^ *+' conftest.er1 >conftest.err
36773 rm -f conftest.er1
36774 cat conftest.err >&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); } && {
36777 test -z "$ac_c_werror_flag" ||
36778 test ! -s conftest.err
36779 } && test -s conftest$ac_exeext &&
36780 $as_test_x conftest$ac_exeext; then
36781 eval "$as_ac_var=yes"
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36785
36786 eval "$as_ac_var=no"
36787 fi
36788
36789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36790 conftest$ac_exeext conftest.$ac_ext
36791 fi
36792 ac_res=`eval echo '${'$as_ac_var'}'`
36793 { echo "$as_me:$LINENO: result: $ac_res" >&5
36794 echo "${ECHO_T}$ac_res" >&6; }
36795 if test `eval echo '${'$as_ac_var'}'` = yes; then
36796 cat >>confdefs.h <<_ACEOF
36797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36798 _ACEOF
36799 break
36800 fi
36801 done
36802
36803
36804 { echo "$as_me:$LINENO: checking for statfs" >&5
36805 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36806 if test "${wx_cv_func_statfs+set}" = set; then
36807 echo $ECHO_N "(cached) $ECHO_C" >&6
36808 else
36809 cat >conftest.$ac_ext <<_ACEOF
36810 /* confdefs.h. */
36811 _ACEOF
36812 cat confdefs.h >>conftest.$ac_ext
36813 cat >>conftest.$ac_ext <<_ACEOF
36814 /* end confdefs.h. */
36815
36816 #if defined(__BSD__)
36817 #include <sys/param.h>
36818 #include <sys/mount.h>
36819 #else
36820 #include <sys/vfs.h>
36821 #endif
36822
36823 int
36824 main ()
36825 {
36826
36827 long l;
36828 struct statfs fs;
36829 statfs("/", &fs);
36830 l = fs.f_bsize;
36831 l += fs.f_blocks;
36832 l += fs.f_bavail;
36833
36834 ;
36835 return 0;
36836 }
36837 _ACEOF
36838 rm -f conftest.$ac_objext
36839 if { (ac_try="$ac_compile"
36840 case "(($ac_try" in
36841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36842 *) ac_try_echo=$ac_try;;
36843 esac
36844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36845 (eval "$ac_compile") 2>conftest.er1
36846 ac_status=$?
36847 grep -v '^ *+' conftest.er1 >conftest.err
36848 rm -f conftest.er1
36849 cat conftest.err >&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } && {
36852 test -z "$ac_c_werror_flag" ||
36853 test ! -s conftest.err
36854 } && test -s conftest.$ac_objext; then
36855 wx_cv_func_statfs=yes
36856 else
36857 echo "$as_me: failed program was:" >&5
36858 sed 's/^/| /' conftest.$ac_ext >&5
36859
36860 wx_cv_func_statfs=no
36861
36862 fi
36863
36864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36865
36866 fi
36867 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36868 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36869
36870 if test "$wx_cv_func_statfs" = "yes"; then
36871 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36872 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36873 if test "${wx_cv_func_statfs_decl+set}" = set; then
36874 echo $ECHO_N "(cached) $ECHO_C" >&6
36875 else
36876 ac_ext=cpp
36877 ac_cpp='$CXXCPP $CPPFLAGS'
36878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36881
36882 cat >conftest.$ac_ext <<_ACEOF
36883 /* confdefs.h. */
36884 _ACEOF
36885 cat confdefs.h >>conftest.$ac_ext
36886 cat >>conftest.$ac_ext <<_ACEOF
36887 /* end confdefs.h. */
36888
36889 #if defined(__BSD__)
36890 #include <sys/param.h>
36891 #include <sys/mount.h>
36892 #else
36893 #include <sys/vfs.h>
36894 #endif
36895
36896 int
36897 main ()
36898 {
36899
36900 struct statfs fs;
36901 statfs("", &fs);
36902
36903 ;
36904 return 0;
36905 }
36906 _ACEOF
36907 rm -f conftest.$ac_objext
36908 if { (ac_try="$ac_compile"
36909 case "(($ac_try" in
36910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36911 *) ac_try_echo=$ac_try;;
36912 esac
36913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36914 (eval "$ac_compile") 2>conftest.er1
36915 ac_status=$?
36916 grep -v '^ *+' conftest.er1 >conftest.err
36917 rm -f conftest.er1
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } && {
36921 test -z "$ac_cxx_werror_flag" ||
36922 test ! -s conftest.err
36923 } && test -s conftest.$ac_objext; then
36924 wx_cv_func_statfs_decl=yes
36925 else
36926 echo "$as_me: failed program was:" >&5
36927 sed 's/^/| /' conftest.$ac_ext >&5
36928
36929 wx_cv_func_statfs_decl=no
36930
36931 fi
36932
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939
36940
36941 fi
36942 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36943 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36944
36945 if test "$wx_cv_func_statfs_decl" = "yes"; then
36946 cat >>confdefs.h <<\_ACEOF
36947 #define HAVE_STATFS_DECL 1
36948 _ACEOF
36949
36950 fi
36951
36952 wx_cv_type_statvfs_t="struct statfs"
36953 cat >>confdefs.h <<\_ACEOF
36954 #define HAVE_STATFS 1
36955 _ACEOF
36956
36957 else
36958 { echo "$as_me:$LINENO: checking for statvfs" >&5
36959 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36960 if test "${wx_cv_func_statvfs+set}" = set; then
36961 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 else
36963 cat >conftest.$ac_ext <<_ACEOF
36964 /* confdefs.h. */
36965 _ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h. */
36969
36970 #include <stddef.h>
36971 #include <sys/statvfs.h>
36972
36973 int
36974 main ()
36975 {
36976
36977 statvfs("/", NULL);
36978
36979 ;
36980 return 0;
36981 }
36982 _ACEOF
36983 rm -f conftest.$ac_objext
36984 if { (ac_try="$ac_compile"
36985 case "(($ac_try" in
36986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36987 *) ac_try_echo=$ac_try;;
36988 esac
36989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36990 (eval "$ac_compile") 2>conftest.er1
36991 ac_status=$?
36992 grep -v '^ *+' conftest.er1 >conftest.err
36993 rm -f conftest.er1
36994 cat conftest.err >&5
36995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36996 (exit $ac_status); } && {
36997 test -z "$ac_c_werror_flag" ||
36998 test ! -s conftest.err
36999 } && test -s conftest.$ac_objext; then
37000 wx_cv_func_statvfs=yes
37001 else
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.$ac_ext >&5
37004
37005 wx_cv_func_statvfs=no
37006
37007 fi
37008
37009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37010
37011 fi
37012 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37013 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37014
37015 if test "$wx_cv_func_statvfs" = "yes"; then
37016 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37017 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37018 if test "${wx_cv_type_statvfs_t+set}" = set; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 else
37021 ac_ext=cpp
37022 ac_cpp='$CXXCPP $CPPFLAGS'
37023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37026
37027 cat >conftest.$ac_ext <<_ACEOF
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033
37034 #include <sys/statvfs.h>
37035
37036 int
37037 main ()
37038 {
37039
37040 long l;
37041 statvfs_t fs;
37042 statvfs("/", &fs);
37043 l = fs.f_bsize;
37044 l += fs.f_blocks;
37045 l += fs.f_bavail;
37046
37047 ;
37048 return 0;
37049 }
37050 _ACEOF
37051 rm -f conftest.$ac_objext
37052 if { (ac_try="$ac_compile"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37056 esac
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_compile") 2>conftest.er1
37059 ac_status=$?
37060 grep -v '^ *+' conftest.er1 >conftest.err
37061 rm -f conftest.er1
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_cxx_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest.$ac_objext; then
37068 wx_cv_type_statvfs_t=statvfs_t
37069 else
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37072
37073
37074 cat >conftest.$ac_ext <<_ACEOF
37075 /* confdefs.h. */
37076 _ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080
37081 #include <sys/statvfs.h>
37082
37083 int
37084 main ()
37085 {
37086
37087 long l;
37088 struct statvfs fs;
37089 statvfs("/", &fs);
37090 l = fs.f_bsize;
37091 l += fs.f_blocks;
37092 l += fs.f_bavail;
37093
37094 ;
37095 return 0;
37096 }
37097 _ACEOF
37098 rm -f conftest.$ac_objext
37099 if { (ac_try="$ac_compile"
37100 case "(($ac_try" in
37101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37102 *) ac_try_echo=$ac_try;;
37103 esac
37104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37105 (eval "$ac_compile") 2>conftest.er1
37106 ac_status=$?
37107 grep -v '^ *+' conftest.er1 >conftest.err
37108 rm -f conftest.er1
37109 cat conftest.err >&5
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); } && {
37112 test -z "$ac_cxx_werror_flag" ||
37113 test ! -s conftest.err
37114 } && test -s conftest.$ac_objext; then
37115 wx_cv_type_statvfs_t="struct statvfs"
37116 else
37117 echo "$as_me: failed program was:" >&5
37118 sed 's/^/| /' conftest.$ac_ext >&5
37119
37120 wx_cv_type_statvfs_t="unknown"
37121
37122 fi
37123
37124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125
37126
37127 fi
37128
37129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37130 ac_ext=c
37131 ac_cpp='$CPP $CPPFLAGS'
37132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37135
37136
37137 fi
37138 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37139 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37140
37141 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37142 cat >>confdefs.h <<\_ACEOF
37143 #define HAVE_STATVFS 1
37144 _ACEOF
37145
37146 fi
37147 else
37148 wx_cv_type_statvfs_t="unknown"
37149 fi
37150 fi
37151
37152 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37153 cat >>confdefs.h <<_ACEOF
37154 #define WX_STATFS_T $wx_cv_type_statvfs_t
37155 _ACEOF
37156
37157 else
37158 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37159 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37160 fi
37161
37162 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37163
37164
37165 for ac_func in fcntl flock
37166 do
37167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37168 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37170 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37172 else
37173 cat >conftest.$ac_ext <<_ACEOF
37174 /* confdefs.h. */
37175 _ACEOF
37176 cat confdefs.h >>conftest.$ac_ext
37177 cat >>conftest.$ac_ext <<_ACEOF
37178 /* end confdefs.h. */
37179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37181 #define $ac_func innocuous_$ac_func
37182
37183 /* System header to define __stub macros and hopefully few prototypes,
37184 which can conflict with char $ac_func (); below.
37185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37186 <limits.h> exists even on freestanding compilers. */
37187
37188 #ifdef __STDC__
37189 # include <limits.h>
37190 #else
37191 # include <assert.h>
37192 #endif
37193
37194 #undef $ac_func
37195
37196 /* Override any GCC internal prototype to avoid an error.
37197 Use char because int might match the return type of a GCC
37198 builtin and then its argument prototype would still apply. */
37199 #ifdef __cplusplus
37200 extern "C"
37201 #endif
37202 char $ac_func ();
37203 /* The GNU C library defines this for functions which it implements
37204 to always fail with ENOSYS. Some functions are actually named
37205 something starting with __ and the normal name is an alias. */
37206 #if defined __stub_$ac_func || defined __stub___$ac_func
37207 choke me
37208 #endif
37209
37210 int
37211 main ()
37212 {
37213 return $ac_func ();
37214 ;
37215 return 0;
37216 }
37217 _ACEOF
37218 rm -f conftest.$ac_objext conftest$ac_exeext
37219 if { (ac_try="$ac_link"
37220 case "(($ac_try" in
37221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37222 *) ac_try_echo=$ac_try;;
37223 esac
37224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37225 (eval "$ac_link") 2>conftest.er1
37226 ac_status=$?
37227 grep -v '^ *+' conftest.er1 >conftest.err
37228 rm -f conftest.er1
37229 cat conftest.err >&5
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); } && {
37232 test -z "$ac_c_werror_flag" ||
37233 test ! -s conftest.err
37234 } && test -s conftest$ac_exeext &&
37235 $as_test_x conftest$ac_exeext; then
37236 eval "$as_ac_var=yes"
37237 else
37238 echo "$as_me: failed program was:" >&5
37239 sed 's/^/| /' conftest.$ac_ext >&5
37240
37241 eval "$as_ac_var=no"
37242 fi
37243
37244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37245 conftest$ac_exeext conftest.$ac_ext
37246 fi
37247 ac_res=`eval echo '${'$as_ac_var'}'`
37248 { echo "$as_me:$LINENO: result: $ac_res" >&5
37249 echo "${ECHO_T}$ac_res" >&6; }
37250 if test `eval echo '${'$as_ac_var'}'` = yes; then
37251 cat >>confdefs.h <<_ACEOF
37252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37253 _ACEOF
37254 break
37255 fi
37256 done
37257
37258
37259 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37260 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37261 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37262 wxUSE_SNGLINST_CHECKER=no
37263 fi
37264 fi
37265
37266
37267
37268 for ac_func in setenv putenv
37269 do
37270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37274 echo $ECHO_N "(cached) $ECHO_C" >&6
37275 else
37276 cat >conftest.$ac_ext <<_ACEOF
37277 /* confdefs.h. */
37278 _ACEOF
37279 cat confdefs.h >>conftest.$ac_ext
37280 cat >>conftest.$ac_ext <<_ACEOF
37281 /* end confdefs.h. */
37282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37284 #define $ac_func innocuous_$ac_func
37285
37286 /* System header to define __stub macros and hopefully few prototypes,
37287 which can conflict with char $ac_func (); below.
37288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37289 <limits.h> exists even on freestanding compilers. */
37290
37291 #ifdef __STDC__
37292 # include <limits.h>
37293 #else
37294 # include <assert.h>
37295 #endif
37296
37297 #undef $ac_func
37298
37299 /* Override any GCC internal prototype to avoid an error.
37300 Use char because int might match the return type of a GCC
37301 builtin and then its argument prototype would still apply. */
37302 #ifdef __cplusplus
37303 extern "C"
37304 #endif
37305 char $ac_func ();
37306 /* The GNU C library defines this for functions which it implements
37307 to always fail with ENOSYS. Some functions are actually named
37308 something starting with __ and the normal name is an alias. */
37309 #if defined __stub_$ac_func || defined __stub___$ac_func
37310 choke me
37311 #endif
37312
37313 int
37314 main ()
37315 {
37316 return $ac_func ();
37317 ;
37318 return 0;
37319 }
37320 _ACEOF
37321 rm -f conftest.$ac_objext conftest$ac_exeext
37322 if { (ac_try="$ac_link"
37323 case "(($ac_try" in
37324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37325 *) ac_try_echo=$ac_try;;
37326 esac
37327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37328 (eval "$ac_link") 2>conftest.er1
37329 ac_status=$?
37330 grep -v '^ *+' conftest.er1 >conftest.err
37331 rm -f conftest.er1
37332 cat conftest.err >&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); } && {
37335 test -z "$ac_c_werror_flag" ||
37336 test ! -s conftest.err
37337 } && test -s conftest$ac_exeext &&
37338 $as_test_x conftest$ac_exeext; then
37339 eval "$as_ac_var=yes"
37340 else
37341 echo "$as_me: failed program was:" >&5
37342 sed 's/^/| /' conftest.$ac_ext >&5
37343
37344 eval "$as_ac_var=no"
37345 fi
37346
37347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37348 conftest$ac_exeext conftest.$ac_ext
37349 fi
37350 ac_res=`eval echo '${'$as_ac_var'}'`
37351 { echo "$as_me:$LINENO: result: $ac_res" >&5
37352 echo "${ECHO_T}$ac_res" >&6; }
37353 if test `eval echo '${'$as_ac_var'}'` = yes; then
37354 cat >>confdefs.h <<_ACEOF
37355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37356 _ACEOF
37357 break
37358 fi
37359 done
37360
37361 if test "$ac_cv_func_setenv" = "yes"; then
37362
37363 for ac_func in unsetenv
37364 do
37365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37369 echo $ECHO_N "(cached) $ECHO_C" >&6
37370 else
37371 cat >conftest.$ac_ext <<_ACEOF
37372 /* confdefs.h. */
37373 _ACEOF
37374 cat confdefs.h >>conftest.$ac_ext
37375 cat >>conftest.$ac_ext <<_ACEOF
37376 /* end confdefs.h. */
37377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37379 #define $ac_func innocuous_$ac_func
37380
37381 /* System header to define __stub macros and hopefully few prototypes,
37382 which can conflict with char $ac_func (); below.
37383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37384 <limits.h> exists even on freestanding compilers. */
37385
37386 #ifdef __STDC__
37387 # include <limits.h>
37388 #else
37389 # include <assert.h>
37390 #endif
37391
37392 #undef $ac_func
37393
37394 /* Override any GCC internal prototype to avoid an error.
37395 Use char because int might match the return type of a GCC
37396 builtin and then its argument prototype would still apply. */
37397 #ifdef __cplusplus
37398 extern "C"
37399 #endif
37400 char $ac_func ();
37401 /* The GNU C library defines this for functions which it implements
37402 to always fail with ENOSYS. Some functions are actually named
37403 something starting with __ and the normal name is an alias. */
37404 #if defined __stub_$ac_func || defined __stub___$ac_func
37405 choke me
37406 #endif
37407
37408 int
37409 main ()
37410 {
37411 return $ac_func ();
37412 ;
37413 return 0;
37414 }
37415 _ACEOF
37416 rm -f conftest.$ac_objext conftest$ac_exeext
37417 if { (ac_try="$ac_link"
37418 case "(($ac_try" in
37419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37420 *) ac_try_echo=$ac_try;;
37421 esac
37422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37423 (eval "$ac_link") 2>conftest.er1
37424 ac_status=$?
37425 grep -v '^ *+' conftest.er1 >conftest.err
37426 rm -f conftest.er1
37427 cat conftest.err >&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } && {
37430 test -z "$ac_c_werror_flag" ||
37431 test ! -s conftest.err
37432 } && test -s conftest$ac_exeext &&
37433 $as_test_x conftest$ac_exeext; then
37434 eval "$as_ac_var=yes"
37435 else
37436 echo "$as_me: failed program was:" >&5
37437 sed 's/^/| /' conftest.$ac_ext >&5
37438
37439 eval "$as_ac_var=no"
37440 fi
37441
37442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37443 conftest$ac_exeext conftest.$ac_ext
37444 fi
37445 ac_res=`eval echo '${'$as_ac_var'}'`
37446 { echo "$as_me:$LINENO: result: $ac_res" >&5
37447 echo "${ECHO_T}$ac_res" >&6; }
37448 if test `eval echo '${'$as_ac_var'}'` = yes; then
37449 cat >>confdefs.h <<_ACEOF
37450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37451 _ACEOF
37452
37453 fi
37454 done
37455
37456 fi
37457
37458 HAVE_SOME_SLEEP_FUNC=0
37459 if test "$USE_BEOS" = 1; then
37460 cat >>confdefs.h <<\_ACEOF
37461 #define HAVE_SLEEP 1
37462 _ACEOF
37463
37464 HAVE_SOME_SLEEP_FUNC=1
37465 fi
37466
37467 if test "$USE_DARWIN" = 1; then
37468 cat >>confdefs.h <<\_ACEOF
37469 #define HAVE_USLEEP 1
37470 _ACEOF
37471
37472 HAVE_SOME_SLEEP_FUNC=1
37473 fi
37474
37475 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37476 POSIX4_LINK=
37477
37478 for ac_func in nanosleep
37479 do
37480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37481 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37483 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37484 echo $ECHO_N "(cached) $ECHO_C" >&6
37485 else
37486 cat >conftest.$ac_ext <<_ACEOF
37487 /* confdefs.h. */
37488 _ACEOF
37489 cat confdefs.h >>conftest.$ac_ext
37490 cat >>conftest.$ac_ext <<_ACEOF
37491 /* end confdefs.h. */
37492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37494 #define $ac_func innocuous_$ac_func
37495
37496 /* System header to define __stub macros and hopefully few prototypes,
37497 which can conflict with char $ac_func (); below.
37498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37499 <limits.h> exists even on freestanding compilers. */
37500
37501 #ifdef __STDC__
37502 # include <limits.h>
37503 #else
37504 # include <assert.h>
37505 #endif
37506
37507 #undef $ac_func
37508
37509 /* Override any GCC internal prototype to avoid an error.
37510 Use char because int might match the return type of a GCC
37511 builtin and then its argument prototype would still apply. */
37512 #ifdef __cplusplus
37513 extern "C"
37514 #endif
37515 char $ac_func ();
37516 /* The GNU C library defines this for functions which it implements
37517 to always fail with ENOSYS. Some functions are actually named
37518 something starting with __ and the normal name is an alias. */
37519 #if defined __stub_$ac_func || defined __stub___$ac_func
37520 choke me
37521 #endif
37522
37523 int
37524 main ()
37525 {
37526 return $ac_func ();
37527 ;
37528 return 0;
37529 }
37530 _ACEOF
37531 rm -f conftest.$ac_objext conftest$ac_exeext
37532 if { (ac_try="$ac_link"
37533 case "(($ac_try" in
37534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37535 *) ac_try_echo=$ac_try;;
37536 esac
37537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37538 (eval "$ac_link") 2>conftest.er1
37539 ac_status=$?
37540 grep -v '^ *+' conftest.er1 >conftest.err
37541 rm -f conftest.er1
37542 cat conftest.err >&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); } && {
37545 test -z "$ac_c_werror_flag" ||
37546 test ! -s conftest.err
37547 } && test -s conftest$ac_exeext &&
37548 $as_test_x conftest$ac_exeext; then
37549 eval "$as_ac_var=yes"
37550 else
37551 echo "$as_me: failed program was:" >&5
37552 sed 's/^/| /' conftest.$ac_ext >&5
37553
37554 eval "$as_ac_var=no"
37555 fi
37556
37557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37558 conftest$ac_exeext conftest.$ac_ext
37559 fi
37560 ac_res=`eval echo '${'$as_ac_var'}'`
37561 { echo "$as_me:$LINENO: result: $ac_res" >&5
37562 echo "${ECHO_T}$ac_res" >&6; }
37563 if test `eval echo '${'$as_ac_var'}'` = yes; then
37564 cat >>confdefs.h <<_ACEOF
37565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37566 _ACEOF
37567 cat >>confdefs.h <<\_ACEOF
37568 #define HAVE_NANOSLEEP 1
37569 _ACEOF
37570
37571 else
37572
37573 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37574 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37575 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37577 else
37578 ac_check_lib_save_LIBS=$LIBS
37579 LIBS="-lposix4 $LIBS"
37580 cat >conftest.$ac_ext <<_ACEOF
37581 /* confdefs.h. */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37586
37587 /* Override any GCC internal prototype to avoid an error.
37588 Use char because int might match the return type of a GCC
37589 builtin and then its argument prototype would still apply. */
37590 #ifdef __cplusplus
37591 extern "C"
37592 #endif
37593 char nanosleep ();
37594 int
37595 main ()
37596 {
37597 return nanosleep ();
37598 ;
37599 return 0;
37600 }
37601 _ACEOF
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (ac_try="$ac_link"
37604 case "(($ac_try" in
37605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37606 *) ac_try_echo=$ac_try;;
37607 esac
37608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37609 (eval "$ac_link") 2>conftest.er1
37610 ac_status=$?
37611 grep -v '^ *+' conftest.er1 >conftest.err
37612 rm -f conftest.er1
37613 cat conftest.err >&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); } && {
37616 test -z "$ac_c_werror_flag" ||
37617 test ! -s conftest.err
37618 } && test -s conftest$ac_exeext &&
37619 $as_test_x conftest$ac_exeext; then
37620 ac_cv_lib_posix4_nanosleep=yes
37621 else
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.$ac_ext >&5
37624
37625 ac_cv_lib_posix4_nanosleep=no
37626 fi
37627
37628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37629 conftest$ac_exeext conftest.$ac_ext
37630 LIBS=$ac_check_lib_save_LIBS
37631 fi
37632 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37633 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37634 if test $ac_cv_lib_posix4_nanosleep = yes; then
37635
37636 cat >>confdefs.h <<\_ACEOF
37637 #define HAVE_NANOSLEEP 1
37638 _ACEOF
37639
37640 POSIX4_LINK=" -lposix4"
37641
37642 else
37643
37644
37645 for wx_func in usleep
37646 do
37647 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37648 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37649 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652
37653 cat >conftest.$ac_ext <<_ACEOF
37654
37655 /* confdefs.h. */
37656 _ACEOF
37657 cat confdefs.h >>conftest.$ac_ext
37658 cat >>conftest.$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37660
37661
37662 $ac_includes_default
37663
37664 int
37665 main ()
37666 {
37667
37668 #ifndef $wx_func
37669 &$wx_func;
37670 #endif
37671
37672
37673 ;
37674 return 0;
37675 }
37676
37677 _ACEOF
37678 rm -f conftest.$ac_objext conftest$ac_exeext
37679 if { (ac_try="$ac_link"
37680 case "(($ac_try" in
37681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37682 *) ac_try_echo=$ac_try;;
37683 esac
37684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37685 (eval "$ac_link") 2>conftest.er1
37686 ac_status=$?
37687 grep -v '^ *+' conftest.er1 >conftest.err
37688 rm -f conftest.er1
37689 cat conftest.err >&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } && {
37692 test -z "$ac_c_werror_flag" ||
37693 test ! -s conftest.err
37694 } && test -s conftest$ac_exeext &&
37695 $as_test_x conftest$ac_exeext; then
37696 eval wx_cv_func_$wx_func=yes
37697 else
37698 echo "$as_me: failed program was:" >&5
37699 sed 's/^/| /' conftest.$ac_ext >&5
37700
37701 eval wx_cv_func_$wx_func=no
37702 fi
37703
37704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37705 conftest$ac_exeext conftest.$ac_ext
37706
37707 fi
37708 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37709 { echo "$as_me:$LINENO: result: $ac_res" >&5
37710 echo "${ECHO_T}$ac_res" >&6; }
37711
37712 if eval test \$wx_cv_func_$wx_func = yes
37713 then
37714 cat >>confdefs.h <<_ACEOF
37715 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37716 _ACEOF
37717
37718
37719 else
37720 :
37721 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37722 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37723
37724 fi
37725 done
37726
37727
37728
37729 fi
37730
37731
37732
37733 fi
37734 done
37735
37736 fi
37737
37738
37739 for wx_func in uname
37740 do
37741 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37742 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37743 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37744 echo $ECHO_N "(cached) $ECHO_C" >&6
37745 else
37746
37747 cat >conftest.$ac_ext <<_ACEOF
37748
37749 /* confdefs.h. */
37750 _ACEOF
37751 cat confdefs.h >>conftest.$ac_ext
37752 cat >>conftest.$ac_ext <<_ACEOF
37753 /* end confdefs.h. */
37754
37755 #include <sys/utsname.h>
37756 $ac_includes_default
37757
37758 int
37759 main ()
37760 {
37761
37762 #ifndef $wx_func
37763 &$wx_func;
37764 #endif
37765
37766
37767 ;
37768 return 0;
37769 }
37770
37771 _ACEOF
37772 rm -f conftest.$ac_objext conftest$ac_exeext
37773 if { (ac_try="$ac_link"
37774 case "(($ac_try" in
37775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37776 *) ac_try_echo=$ac_try;;
37777 esac
37778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37779 (eval "$ac_link") 2>conftest.er1
37780 ac_status=$?
37781 grep -v '^ *+' conftest.er1 >conftest.err
37782 rm -f conftest.er1
37783 cat conftest.err >&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); } && {
37786 test -z "$ac_c_werror_flag" ||
37787 test ! -s conftest.err
37788 } && test -s conftest$ac_exeext &&
37789 $as_test_x conftest$ac_exeext; then
37790 eval wx_cv_func_$wx_func=yes
37791 else
37792 echo "$as_me: failed program was:" >&5
37793 sed 's/^/| /' conftest.$ac_ext >&5
37794
37795 eval wx_cv_func_$wx_func=no
37796 fi
37797
37798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37799 conftest$ac_exeext conftest.$ac_ext
37800
37801 fi
37802 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37803 { echo "$as_me:$LINENO: result: $ac_res" >&5
37804 echo "${ECHO_T}$ac_res" >&6; }
37805
37806 if eval test \$wx_cv_func_$wx_func = yes
37807 then
37808 cat >>confdefs.h <<_ACEOF
37809 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37810 _ACEOF
37811
37812
37813 else
37814 :
37815
37816 fi
37817 done
37818
37819 if test "$wx_cv_func_uname" != yes; then
37820
37821 for wx_func in gethostname
37822 do
37823 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37824 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37825 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37826 echo $ECHO_N "(cached) $ECHO_C" >&6
37827 else
37828
37829 cat >conftest.$ac_ext <<_ACEOF
37830
37831 /* confdefs.h. */
37832 _ACEOF
37833 cat confdefs.h >>conftest.$ac_ext
37834 cat >>conftest.$ac_ext <<_ACEOF
37835 /* end confdefs.h. */
37836
37837
37838 $ac_includes_default
37839
37840 int
37841 main ()
37842 {
37843
37844 #ifndef $wx_func
37845 &$wx_func;
37846 #endif
37847
37848
37849 ;
37850 return 0;
37851 }
37852
37853 _ACEOF
37854 rm -f conftest.$ac_objext conftest$ac_exeext
37855 if { (ac_try="$ac_link"
37856 case "(($ac_try" in
37857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37859 esac
37860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_link") 2>conftest.er1
37862 ac_status=$?
37863 grep -v '^ *+' conftest.er1 >conftest.err
37864 rm -f conftest.er1
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } && {
37868 test -z "$ac_c_werror_flag" ||
37869 test ! -s conftest.err
37870 } && test -s conftest$ac_exeext &&
37871 $as_test_x conftest$ac_exeext; then
37872 eval wx_cv_func_$wx_func=yes
37873 else
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 eval wx_cv_func_$wx_func=no
37878 fi
37879
37880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37881 conftest$ac_exeext conftest.$ac_ext
37882
37883 fi
37884 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37885 { echo "$as_me:$LINENO: result: $ac_res" >&5
37886 echo "${ECHO_T}$ac_res" >&6; }
37887
37888 if eval test \$wx_cv_func_$wx_func = yes
37889 then
37890 cat >>confdefs.h <<_ACEOF
37891 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37892 _ACEOF
37893
37894
37895 else
37896 :
37897
37898 fi
37899 done
37900
37901 fi
37902
37903
37904 for wx_func in strtok_r
37905 do
37906 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37907 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37908 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37909 echo $ECHO_N "(cached) $ECHO_C" >&6
37910 else
37911
37912 cat >conftest.$ac_ext <<_ACEOF
37913
37914 /* confdefs.h. */
37915 _ACEOF
37916 cat confdefs.h >>conftest.$ac_ext
37917 cat >>conftest.$ac_ext <<_ACEOF
37918 /* end confdefs.h. */
37919
37920 #define _REENTRANT
37921 $ac_includes_default
37922
37923 int
37924 main ()
37925 {
37926
37927 #ifndef $wx_func
37928 &$wx_func;
37929 #endif
37930
37931
37932 ;
37933 return 0;
37934 }
37935
37936 _ACEOF
37937 rm -f conftest.$ac_objext conftest$ac_exeext
37938 if { (ac_try="$ac_link"
37939 case "(($ac_try" in
37940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37941 *) ac_try_echo=$ac_try;;
37942 esac
37943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37944 (eval "$ac_link") 2>conftest.er1
37945 ac_status=$?
37946 grep -v '^ *+' conftest.er1 >conftest.err
37947 rm -f conftest.er1
37948 cat conftest.err >&5
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); } && {
37951 test -z "$ac_c_werror_flag" ||
37952 test ! -s conftest.err
37953 } && test -s conftest$ac_exeext &&
37954 $as_test_x conftest$ac_exeext; then
37955 eval wx_cv_func_$wx_func=yes
37956 else
37957 echo "$as_me: failed program was:" >&5
37958 sed 's/^/| /' conftest.$ac_ext >&5
37959
37960 eval wx_cv_func_$wx_func=no
37961 fi
37962
37963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37964 conftest$ac_exeext conftest.$ac_ext
37965
37966 fi
37967 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37968 { echo "$as_me:$LINENO: result: $ac_res" >&5
37969 echo "${ECHO_T}$ac_res" >&6; }
37970
37971 if eval test \$wx_cv_func_$wx_func = yes
37972 then
37973 cat >>confdefs.h <<_ACEOF
37974 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37975 _ACEOF
37976
37977
37978 else
37979 :
37980
37981 fi
37982 done
37983
37984
37985 INET_LINK=
37986
37987 for ac_func in inet_addr
37988 do
37989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37993 echo $ECHO_N "(cached) $ECHO_C" >&6
37994 else
37995 cat >conftest.$ac_ext <<_ACEOF
37996 /* confdefs.h. */
37997 _ACEOF
37998 cat confdefs.h >>conftest.$ac_ext
37999 cat >>conftest.$ac_ext <<_ACEOF
38000 /* end confdefs.h. */
38001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38003 #define $ac_func innocuous_$ac_func
38004
38005 /* System header to define __stub macros and hopefully few prototypes,
38006 which can conflict with char $ac_func (); below.
38007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38008 <limits.h> exists even on freestanding compilers. */
38009
38010 #ifdef __STDC__
38011 # include <limits.h>
38012 #else
38013 # include <assert.h>
38014 #endif
38015
38016 #undef $ac_func
38017
38018 /* Override any GCC internal prototype to avoid an error.
38019 Use char because int might match the return type of a GCC
38020 builtin and then its argument prototype would still apply. */
38021 #ifdef __cplusplus
38022 extern "C"
38023 #endif
38024 char $ac_func ();
38025 /* The GNU C library defines this for functions which it implements
38026 to always fail with ENOSYS. Some functions are actually named
38027 something starting with __ and the normal name is an alias. */
38028 #if defined __stub_$ac_func || defined __stub___$ac_func
38029 choke me
38030 #endif
38031
38032 int
38033 main ()
38034 {
38035 return $ac_func ();
38036 ;
38037 return 0;
38038 }
38039 _ACEOF
38040 rm -f conftest.$ac_objext conftest$ac_exeext
38041 if { (ac_try="$ac_link"
38042 case "(($ac_try" in
38043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38044 *) ac_try_echo=$ac_try;;
38045 esac
38046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38047 (eval "$ac_link") 2>conftest.er1
38048 ac_status=$?
38049 grep -v '^ *+' conftest.er1 >conftest.err
38050 rm -f conftest.er1
38051 cat conftest.err >&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } && {
38054 test -z "$ac_c_werror_flag" ||
38055 test ! -s conftest.err
38056 } && test -s conftest$ac_exeext &&
38057 $as_test_x conftest$ac_exeext; then
38058 eval "$as_ac_var=yes"
38059 else
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.$ac_ext >&5
38062
38063 eval "$as_ac_var=no"
38064 fi
38065
38066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38067 conftest$ac_exeext conftest.$ac_ext
38068 fi
38069 ac_res=`eval echo '${'$as_ac_var'}'`
38070 { echo "$as_me:$LINENO: result: $ac_res" >&5
38071 echo "${ECHO_T}$ac_res" >&6; }
38072 if test `eval echo '${'$as_ac_var'}'` = yes; then
38073 cat >>confdefs.h <<_ACEOF
38074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38075 _ACEOF
38076 cat >>confdefs.h <<\_ACEOF
38077 #define HAVE_INET_ADDR 1
38078 _ACEOF
38079
38080 else
38081
38082 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38083 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38084 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38085 echo $ECHO_N "(cached) $ECHO_C" >&6
38086 else
38087 ac_check_lib_save_LIBS=$LIBS
38088 LIBS="-lnsl $LIBS"
38089 cat >conftest.$ac_ext <<_ACEOF
38090 /* confdefs.h. */
38091 _ACEOF
38092 cat confdefs.h >>conftest.$ac_ext
38093 cat >>conftest.$ac_ext <<_ACEOF
38094 /* end confdefs.h. */
38095
38096 /* Override any GCC internal prototype to avoid an error.
38097 Use char because int might match the return type of a GCC
38098 builtin and then its argument prototype would still apply. */
38099 #ifdef __cplusplus
38100 extern "C"
38101 #endif
38102 char inet_addr ();
38103 int
38104 main ()
38105 {
38106 return inet_addr ();
38107 ;
38108 return 0;
38109 }
38110 _ACEOF
38111 rm -f conftest.$ac_objext conftest$ac_exeext
38112 if { (ac_try="$ac_link"
38113 case "(($ac_try" in
38114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38115 *) ac_try_echo=$ac_try;;
38116 esac
38117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38118 (eval "$ac_link") 2>conftest.er1
38119 ac_status=$?
38120 grep -v '^ *+' conftest.er1 >conftest.err
38121 rm -f conftest.er1
38122 cat conftest.err >&5
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); } && {
38125 test -z "$ac_c_werror_flag" ||
38126 test ! -s conftest.err
38127 } && test -s conftest$ac_exeext &&
38128 $as_test_x conftest$ac_exeext; then
38129 ac_cv_lib_nsl_inet_addr=yes
38130 else
38131 echo "$as_me: failed program was:" >&5
38132 sed 's/^/| /' conftest.$ac_ext >&5
38133
38134 ac_cv_lib_nsl_inet_addr=no
38135 fi
38136
38137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38138 conftest$ac_exeext conftest.$ac_ext
38139 LIBS=$ac_check_lib_save_LIBS
38140 fi
38141 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38142 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38143 if test $ac_cv_lib_nsl_inet_addr = yes; then
38144 INET_LINK="nsl"
38145 else
38146
38147 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38148 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38149 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38152 ac_check_lib_save_LIBS=$LIBS
38153 LIBS="-lresolv $LIBS"
38154 cat >conftest.$ac_ext <<_ACEOF
38155 /* confdefs.h. */
38156 _ACEOF
38157 cat confdefs.h >>conftest.$ac_ext
38158 cat >>conftest.$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38160
38161 /* Override any GCC internal prototype to avoid an error.
38162 Use char because int might match the return type of a GCC
38163 builtin and then its argument prototype would still apply. */
38164 #ifdef __cplusplus
38165 extern "C"
38166 #endif
38167 char inet_addr ();
38168 int
38169 main ()
38170 {
38171 return inet_addr ();
38172 ;
38173 return 0;
38174 }
38175 _ACEOF
38176 rm -f conftest.$ac_objext conftest$ac_exeext
38177 if { (ac_try="$ac_link"
38178 case "(($ac_try" in
38179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38180 *) ac_try_echo=$ac_try;;
38181 esac
38182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38183 (eval "$ac_link") 2>conftest.er1
38184 ac_status=$?
38185 grep -v '^ *+' conftest.er1 >conftest.err
38186 rm -f conftest.er1
38187 cat conftest.err >&5
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); } && {
38190 test -z "$ac_c_werror_flag" ||
38191 test ! -s conftest.err
38192 } && test -s conftest$ac_exeext &&
38193 $as_test_x conftest$ac_exeext; then
38194 ac_cv_lib_resolv_inet_addr=yes
38195 else
38196 echo "$as_me: failed program was:" >&5
38197 sed 's/^/| /' conftest.$ac_ext >&5
38198
38199 ac_cv_lib_resolv_inet_addr=no
38200 fi
38201
38202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38203 conftest$ac_exeext conftest.$ac_ext
38204 LIBS=$ac_check_lib_save_LIBS
38205 fi
38206 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38207 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38208 if test $ac_cv_lib_resolv_inet_addr = yes; then
38209 INET_LINK="resolv"
38210 else
38211
38212 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38213 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38214 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38215 echo $ECHO_N "(cached) $ECHO_C" >&6
38216 else
38217 ac_check_lib_save_LIBS=$LIBS
38218 LIBS="-lsocket $LIBS"
38219 cat >conftest.$ac_ext <<_ACEOF
38220 /* confdefs.h. */
38221 _ACEOF
38222 cat confdefs.h >>conftest.$ac_ext
38223 cat >>conftest.$ac_ext <<_ACEOF
38224 /* end confdefs.h. */
38225
38226 /* Override any GCC internal prototype to avoid an error.
38227 Use char because int might match the return type of a GCC
38228 builtin and then its argument prototype would still apply. */
38229 #ifdef __cplusplus
38230 extern "C"
38231 #endif
38232 char inet_addr ();
38233 int
38234 main ()
38235 {
38236 return inet_addr ();
38237 ;
38238 return 0;
38239 }
38240 _ACEOF
38241 rm -f conftest.$ac_objext conftest$ac_exeext
38242 if { (ac_try="$ac_link"
38243 case "(($ac_try" in
38244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38245 *) ac_try_echo=$ac_try;;
38246 esac
38247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38248 (eval "$ac_link") 2>conftest.er1
38249 ac_status=$?
38250 grep -v '^ *+' conftest.er1 >conftest.err
38251 rm -f conftest.er1
38252 cat conftest.err >&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } && {
38255 test -z "$ac_c_werror_flag" ||
38256 test ! -s conftest.err
38257 } && test -s conftest$ac_exeext &&
38258 $as_test_x conftest$ac_exeext; then
38259 ac_cv_lib_socket_inet_addr=yes
38260 else
38261 echo "$as_me: failed program was:" >&5
38262 sed 's/^/| /' conftest.$ac_ext >&5
38263
38264 ac_cv_lib_socket_inet_addr=no
38265 fi
38266
38267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38268 conftest$ac_exeext conftest.$ac_ext
38269 LIBS=$ac_check_lib_save_LIBS
38270 fi
38271 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38272 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38273 if test $ac_cv_lib_socket_inet_addr = yes; then
38274 INET_LINK="socket"
38275
38276 fi
38277
38278
38279
38280 fi
38281
38282
38283
38284 fi
38285
38286
38287
38288 fi
38289 done
38290
38291
38292
38293 for ac_func in inet_aton
38294 do
38295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38299 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 else
38301 cat >conftest.$ac_ext <<_ACEOF
38302 /* confdefs.h. */
38303 _ACEOF
38304 cat confdefs.h >>conftest.$ac_ext
38305 cat >>conftest.$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38309 #define $ac_func innocuous_$ac_func
38310
38311 /* System header to define __stub macros and hopefully few prototypes,
38312 which can conflict with char $ac_func (); below.
38313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38314 <limits.h> exists even on freestanding compilers. */
38315
38316 #ifdef __STDC__
38317 # include <limits.h>
38318 #else
38319 # include <assert.h>
38320 #endif
38321
38322 #undef $ac_func
38323
38324 /* Override any GCC internal prototype to avoid an error.
38325 Use char because int might match the return type of a GCC
38326 builtin and then its argument prototype would still apply. */
38327 #ifdef __cplusplus
38328 extern "C"
38329 #endif
38330 char $ac_func ();
38331 /* The GNU C library defines this for functions which it implements
38332 to always fail with ENOSYS. Some functions are actually named
38333 something starting with __ and the normal name is an alias. */
38334 #if defined __stub_$ac_func || defined __stub___$ac_func
38335 choke me
38336 #endif
38337
38338 int
38339 main ()
38340 {
38341 return $ac_func ();
38342 ;
38343 return 0;
38344 }
38345 _ACEOF
38346 rm -f conftest.$ac_objext conftest$ac_exeext
38347 if { (ac_try="$ac_link"
38348 case "(($ac_try" in
38349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38350 *) ac_try_echo=$ac_try;;
38351 esac
38352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38353 (eval "$ac_link") 2>conftest.er1
38354 ac_status=$?
38355 grep -v '^ *+' conftest.er1 >conftest.err
38356 rm -f conftest.er1
38357 cat conftest.err >&5
38358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38359 (exit $ac_status); } && {
38360 test -z "$ac_c_werror_flag" ||
38361 test ! -s conftest.err
38362 } && test -s conftest$ac_exeext &&
38363 $as_test_x conftest$ac_exeext; then
38364 eval "$as_ac_var=yes"
38365 else
38366 echo "$as_me: failed program was:" >&5
38367 sed 's/^/| /' conftest.$ac_ext >&5
38368
38369 eval "$as_ac_var=no"
38370 fi
38371
38372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38373 conftest$ac_exeext conftest.$ac_ext
38374 fi
38375 ac_res=`eval echo '${'$as_ac_var'}'`
38376 { echo "$as_me:$LINENO: result: $ac_res" >&5
38377 echo "${ECHO_T}$ac_res" >&6; }
38378 if test `eval echo '${'$as_ac_var'}'` = yes; then
38379 cat >>confdefs.h <<_ACEOF
38380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38381 _ACEOF
38382 cat >>confdefs.h <<\_ACEOF
38383 #define HAVE_INET_ATON 1
38384 _ACEOF
38385
38386 else
38387
38388 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38389 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38390 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38391 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38392 echo $ECHO_N "(cached) $ECHO_C" >&6
38393 else
38394 ac_check_lib_save_LIBS=$LIBS
38395 LIBS="-l$INET_LINK $LIBS"
38396 cat >conftest.$ac_ext <<_ACEOF
38397 /* confdefs.h. */
38398 _ACEOF
38399 cat confdefs.h >>conftest.$ac_ext
38400 cat >>conftest.$ac_ext <<_ACEOF
38401 /* end confdefs.h. */
38402
38403 /* Override any GCC internal prototype to avoid an error.
38404 Use char because int might match the return type of a GCC
38405 builtin and then its argument prototype would still apply. */
38406 #ifdef __cplusplus
38407 extern "C"
38408 #endif
38409 char inet_aton ();
38410 int
38411 main ()
38412 {
38413 return inet_aton ();
38414 ;
38415 return 0;
38416 }
38417 _ACEOF
38418 rm -f conftest.$ac_objext conftest$ac_exeext
38419 if { (ac_try="$ac_link"
38420 case "(($ac_try" in
38421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38422 *) ac_try_echo=$ac_try;;
38423 esac
38424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38425 (eval "$ac_link") 2>conftest.er1
38426 ac_status=$?
38427 grep -v '^ *+' conftest.er1 >conftest.err
38428 rm -f conftest.er1
38429 cat conftest.err >&5
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); } && {
38432 test -z "$ac_c_werror_flag" ||
38433 test ! -s conftest.err
38434 } && test -s conftest$ac_exeext &&
38435 $as_test_x conftest$ac_exeext; then
38436 eval "$as_ac_Lib=yes"
38437 else
38438 echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.$ac_ext >&5
38440
38441 eval "$as_ac_Lib=no"
38442 fi
38443
38444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38445 conftest$ac_exeext conftest.$ac_ext
38446 LIBS=$ac_check_lib_save_LIBS
38447 fi
38448 ac_res=`eval echo '${'$as_ac_Lib'}'`
38449 { echo "$as_me:$LINENO: result: $ac_res" >&5
38450 echo "${ECHO_T}$ac_res" >&6; }
38451 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38452 cat >>confdefs.h <<\_ACEOF
38453 #define HAVE_INET_ATON 1
38454 _ACEOF
38455
38456 fi
38457
38458
38459 fi
38460 done
38461
38462
38463 if test "x$INET_LINK" != "x"; then
38464 cat >>confdefs.h <<\_ACEOF
38465 #define HAVE_INET_ADDR 1
38466 _ACEOF
38467
38468 INET_LINK=" -l$INET_LINK"
38469 fi
38470
38471
38472 for wx_func in fdopen
38473 do
38474 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38475 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38476 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38477 echo $ECHO_N "(cached) $ECHO_C" >&6
38478 else
38479
38480 cat >conftest.$ac_ext <<_ACEOF
38481
38482 /* confdefs.h. */
38483 _ACEOF
38484 cat confdefs.h >>conftest.$ac_ext
38485 cat >>conftest.$ac_ext <<_ACEOF
38486 /* end confdefs.h. */
38487
38488
38489 $ac_includes_default
38490
38491 int
38492 main ()
38493 {
38494
38495 #ifndef $wx_func
38496 &$wx_func;
38497 #endif
38498
38499
38500 ;
38501 return 0;
38502 }
38503
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509 *) ac_try_echo=$ac_try;;
38510 esac
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_link") 2>conftest.er1
38513 ac_status=$?
38514 grep -v '^ *+' conftest.er1 >conftest.err
38515 rm -f conftest.er1
38516 cat conftest.err >&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_c_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest$ac_exeext &&
38522 $as_test_x conftest$ac_exeext; then
38523 eval wx_cv_func_$wx_func=yes
38524 else
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528 eval wx_cv_func_$wx_func=no
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38532 conftest$ac_exeext conftest.$ac_ext
38533
38534 fi
38535 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38536 { echo "$as_me:$LINENO: result: $ac_res" >&5
38537 echo "${ECHO_T}$ac_res" >&6; }
38538
38539 if eval test \$wx_cv_func_$wx_func = yes
38540 then
38541 cat >>confdefs.h <<_ACEOF
38542 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38543 _ACEOF
38544
38545
38546 else
38547 :
38548
38549 fi
38550 done
38551
38552
38553 if test "$wxUSE_TARSTREAM" = "yes"; then
38554
38555 for wx_func in sysconf
38556 do
38557 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38558 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38559 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 else
38562
38563 cat >conftest.$ac_ext <<_ACEOF
38564
38565 /* confdefs.h. */
38566 _ACEOF
38567 cat confdefs.h >>conftest.$ac_ext
38568 cat >>conftest.$ac_ext <<_ACEOF
38569 /* end confdefs.h. */
38570
38571
38572 $ac_includes_default
38573
38574 int
38575 main ()
38576 {
38577
38578 #ifndef $wx_func
38579 &$wx_func;
38580 #endif
38581
38582
38583 ;
38584 return 0;
38585 }
38586
38587 _ACEOF
38588 rm -f conftest.$ac_objext conftest$ac_exeext
38589 if { (ac_try="$ac_link"
38590 case "(($ac_try" in
38591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38592 *) ac_try_echo=$ac_try;;
38593 esac
38594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38595 (eval "$ac_link") 2>conftest.er1
38596 ac_status=$?
38597 grep -v '^ *+' conftest.er1 >conftest.err
38598 rm -f conftest.er1
38599 cat conftest.err >&5
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); } && {
38602 test -z "$ac_c_werror_flag" ||
38603 test ! -s conftest.err
38604 } && test -s conftest$ac_exeext &&
38605 $as_test_x conftest$ac_exeext; then
38606 eval wx_cv_func_$wx_func=yes
38607 else
38608 echo "$as_me: failed program was:" >&5
38609 sed 's/^/| /' conftest.$ac_ext >&5
38610
38611 eval wx_cv_func_$wx_func=no
38612 fi
38613
38614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38615 conftest$ac_exeext conftest.$ac_ext
38616
38617 fi
38618 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38619 { echo "$as_me:$LINENO: result: $ac_res" >&5
38620 echo "${ECHO_T}$ac_res" >&6; }
38621
38622 if eval test \$wx_cv_func_$wx_func = yes
38623 then
38624 cat >>confdefs.h <<_ACEOF
38625 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38626 _ACEOF
38627
38628
38629 else
38630 :
38631
38632 fi
38633 done
38634
38635
38636
38637 for wx_func in getpwuid_r
38638 do
38639 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38640 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38641 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38642 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 else
38644
38645 cat >conftest.$ac_ext <<_ACEOF
38646
38647 /* confdefs.h. */
38648 _ACEOF
38649 cat confdefs.h >>conftest.$ac_ext
38650 cat >>conftest.$ac_ext <<_ACEOF
38651 /* end confdefs.h. */
38652
38653
38654 #define _REENTRANT
38655 #include <pwd.h>
38656
38657 $ac_includes_default
38658
38659 int
38660 main ()
38661 {
38662
38663 #ifndef $wx_func
38664 &$wx_func;
38665 #endif
38666
38667 struct passwd pw, *ppw;
38668 char buf[1024];
38669 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38670
38671
38672 ;
38673 return 0;
38674 }
38675
38676 _ACEOF
38677 rm -f conftest.$ac_objext conftest$ac_exeext
38678 if { (ac_try="$ac_link"
38679 case "(($ac_try" in
38680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38681 *) ac_try_echo=$ac_try;;
38682 esac
38683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38684 (eval "$ac_link") 2>conftest.er1
38685 ac_status=$?
38686 grep -v '^ *+' conftest.er1 >conftest.err
38687 rm -f conftest.er1
38688 cat conftest.err >&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); } && {
38691 test -z "$ac_c_werror_flag" ||
38692 test ! -s conftest.err
38693 } && test -s conftest$ac_exeext &&
38694 $as_test_x conftest$ac_exeext; then
38695 eval wx_cv_func_$wx_func=yes
38696 else
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38699
38700 eval wx_cv_func_$wx_func=no
38701 fi
38702
38703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38704 conftest$ac_exeext conftest.$ac_ext
38705
38706 fi
38707 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38708 { echo "$as_me:$LINENO: result: $ac_res" >&5
38709 echo "${ECHO_T}$ac_res" >&6; }
38710
38711 if eval test \$wx_cv_func_$wx_func = yes
38712 then
38713 cat >>confdefs.h <<_ACEOF
38714 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38715 _ACEOF
38716
38717
38718 else
38719 :
38720
38721 fi
38722 done
38723
38724
38725
38726 for wx_func in getgrgid_r
38727 do
38728 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38729 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38730 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38731 echo $ECHO_N "(cached) $ECHO_C" >&6
38732 else
38733
38734 cat >conftest.$ac_ext <<_ACEOF
38735
38736 /* confdefs.h. */
38737 _ACEOF
38738 cat confdefs.h >>conftest.$ac_ext
38739 cat >>conftest.$ac_ext <<_ACEOF
38740 /* end confdefs.h. */
38741
38742
38743 #define _REENTRANT
38744 #include <grp.h>
38745
38746 $ac_includes_default
38747
38748 int
38749 main ()
38750 {
38751
38752 #ifndef $wx_func
38753 &$wx_func;
38754 #endif
38755
38756 struct group grp, *pgrp;
38757 char buf[1024];
38758 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38759
38760
38761 ;
38762 return 0;
38763 }
38764
38765 _ACEOF
38766 rm -f conftest.$ac_objext conftest$ac_exeext
38767 if { (ac_try="$ac_link"
38768 case "(($ac_try" in
38769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38770 *) ac_try_echo=$ac_try;;
38771 esac
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_link") 2>conftest.er1
38774 ac_status=$?
38775 grep -v '^ *+' conftest.er1 >conftest.err
38776 rm -f conftest.er1
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_c_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest$ac_exeext &&
38783 $as_test_x conftest$ac_exeext; then
38784 eval wx_cv_func_$wx_func=yes
38785 else
38786 echo "$as_me: failed program was:" >&5
38787 sed 's/^/| /' conftest.$ac_ext >&5
38788
38789 eval wx_cv_func_$wx_func=no
38790 fi
38791
38792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38793 conftest$ac_exeext conftest.$ac_ext
38794
38795 fi
38796 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38797 { echo "$as_me:$LINENO: result: $ac_res" >&5
38798 echo "${ECHO_T}$ac_res" >&6; }
38799
38800 if eval test \$wx_cv_func_$wx_func = yes
38801 then
38802 cat >>confdefs.h <<_ACEOF
38803 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38804 _ACEOF
38805
38806
38807 else
38808 :
38809
38810 fi
38811 done
38812
38813 fi
38814
38815 fi
38816
38817
38818
38819 cat >confcache <<\_ACEOF
38820 # This file is a shell script that caches the results of configure
38821 # tests run on this system so they can be shared between configure
38822 # scripts and configure runs, see configure's option --config-cache.
38823 # It is not useful on other systems. If it contains results you don't
38824 # want to keep, you may remove or edit it.
38825 #
38826 # config.status only pays attention to the cache file if you give it
38827 # the --recheck option to rerun configure.
38828 #
38829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38831 # following values.
38832
38833 _ACEOF
38834
38835 # The following way of writing the cache mishandles newlines in values,
38836 # but we know of no workaround that is simple, portable, and efficient.
38837 # So, we kill variables containing newlines.
38838 # Ultrix sh set writes to stderr and can't be redirected directly,
38839 # and sets the high bit in the cache file unless we assign to the vars.
38840 (
38841 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38842 eval ac_val=\$$ac_var
38843 case $ac_val in #(
38844 *${as_nl}*)
38845 case $ac_var in #(
38846 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38847 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38848 esac
38849 case $ac_var in #(
38850 _ | IFS | as_nl) ;; #(
38851 *) $as_unset $ac_var ;;
38852 esac ;;
38853 esac
38854 done
38855
38856 (set) 2>&1 |
38857 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38858 *${as_nl}ac_space=\ *)
38859 # `set' does not quote correctly, so add quotes (double-quote
38860 # substitution turns \\\\ into \\, and sed turns \\ into \).
38861 sed -n \
38862 "s/'/'\\\\''/g;
38863 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38864 ;; #(
38865 *)
38866 # `set' quotes correctly as required by POSIX, so do not add quotes.
38867 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38868 ;;
38869 esac |
38870 sort
38871 ) |
38872 sed '
38873 /^ac_cv_env_/b end
38874 t clear
38875 :clear
38876 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38877 t end
38878 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38879 :end' >>confcache
38880 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38881 if test -w "$cache_file"; then
38882 test "x$cache_file" != "x/dev/null" &&
38883 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38884 echo "$as_me: updating cache $cache_file" >&6;}
38885 cat confcache >$cache_file
38886 else
38887 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38888 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38889 fi
38890 fi
38891 rm -f confcache
38892
38893
38894 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38895
38896
38897 THREADS_LINK=
38898 THREADS_CFLAGS=
38899
38900 if test "$wxUSE_THREADS" = "yes" ; then
38901 if test "$USE_BEOS" = 1; then
38902 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38903 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38904 wxUSE_THREADS="no"
38905 fi
38906 fi
38907
38908 if test "$wxUSE_THREADS" = "yes" ; then
38909
38910
38911 THREAD_OPTS="-pthread"
38912 if test "x$SUNCXX" = xyes; then
38913 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38914 fi
38915
38916 case "${host}" in
38917 *-*-solaris2* | *-*-sunos4* )
38918 if test "x$GCC" = "xyes"; then
38919 THREAD_OPTS="-pthreads $THREAD_OPTS"
38920 fi
38921 ;;
38922 *-*-freebsd*)
38923 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38924 ;;
38925 *-*-darwin* | *-*-cygwin* )
38926 THREAD_OPTS=""
38927 ;;
38928 *-*-aix*)
38929 THREAD_OPTS="pthreads"
38930 ;;
38931 *-hp-hpux* )
38932 if test "x$GCC" = "xyes"; then
38933 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38934 THREAD_OPTS=""
38935 else
38936 THREAD_OPTS="-mt"
38937 fi
38938 ;;
38939
38940 *-*-irix* )
38941 if test "x$GCC" = "xyes"; then
38942 THREAD_OPTS=""
38943 fi
38944 ;;
38945
38946 *-*-*UnixWare*)
38947 if test "x$GCC" != "xyes"; then
38948 THREAD_OPTS="-Ethread"
38949 fi
38950 ;;
38951 esac
38952
38953 THREAD_OPTS="$THREAD_OPTS pthread none"
38954
38955 THREADS_OK=no
38956 for flag in $THREAD_OPTS; do
38957 case $flag in
38958 none)
38959 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38960 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38961 ;;
38962
38963 -*)
38964 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38965 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38966 THREADS_CFLAGS="$flag"
38967 ;;
38968
38969 *)
38970 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38971 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38972 THREADS_LINK="-l$flag"
38973 ;;
38974 esac
38975
38976 save_LIBS="$LIBS"
38977 save_CFLAGS="$CFLAGS"
38978 LIBS="$THREADS_LINK $LIBS"
38979 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38980
38981 cat >conftest.$ac_ext <<_ACEOF
38982 /* confdefs.h. */
38983 _ACEOF
38984 cat confdefs.h >>conftest.$ac_ext
38985 cat >>conftest.$ac_ext <<_ACEOF
38986 /* end confdefs.h. */
38987 #include <pthread.h>
38988 int
38989 main ()
38990 {
38991 pthread_create(0,0,0,0);
38992 ;
38993 return 0;
38994 }
38995 _ACEOF
38996 rm -f conftest.$ac_objext conftest$ac_exeext
38997 if { (ac_try="$ac_link"
38998 case "(($ac_try" in
38999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39000 *) ac_try_echo=$ac_try;;
39001 esac
39002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39003 (eval "$ac_link") 2>conftest.er1
39004 ac_status=$?
39005 grep -v '^ *+' conftest.er1 >conftest.err
39006 rm -f conftest.er1
39007 cat conftest.err >&5
39008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39009 (exit $ac_status); } && {
39010 test -z "$ac_c_werror_flag" ||
39011 test ! -s conftest.err
39012 } && test -s conftest$ac_exeext &&
39013 $as_test_x conftest$ac_exeext; then
39014 THREADS_OK=yes
39015 else
39016 echo "$as_me: failed program was:" >&5
39017 sed 's/^/| /' conftest.$ac_ext >&5
39018
39019
39020 fi
39021
39022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39023 conftest$ac_exeext conftest.$ac_ext
39024
39025 LIBS="$save_LIBS"
39026 CFLAGS="$save_CFLAGS"
39027
39028 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39029 echo "${ECHO_T}$THREADS_OK" >&6; }
39030 if test "x$THREADS_OK" = "xyes"; then
39031 break;
39032 fi
39033
39034 THREADS_LINK=""
39035 THREADS_CFLAGS=""
39036 done
39037
39038 if test "x$THREADS_OK" != "xyes"; then
39039 wxUSE_THREADS=no
39040 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39041 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39042 else
39043 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39044 LIBS="$THREADS_LINK $LIBS"
39045
39046 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39047 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39048 flag=no
39049 case "${host}" in
39050 *-aix*)
39051 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39052 flag="-D_THREAD_SAFE"
39053 ;;
39054 *-freebsd*)
39055 flag="-D_THREAD_SAFE"
39056 ;;
39057 *-hp-hpux* )
39058 flag="-D_REENTRANT"
39059 if test "x$GCC" != "xyes"; then
39060 flag="$flag -D_RWSTD_MULTI_THREAD"
39061 fi
39062 ;;
39063 *solaris* | alpha*-osf*)
39064 flag="-D_REENTRANT"
39065 ;;
39066 esac
39067 { echo "$as_me:$LINENO: result: ${flag}" >&5
39068 echo "${ECHO_T}${flag}" >&6; }
39069 if test "x$flag" != xno; then
39070 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39071 fi
39072
39073 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39074 fi
39075 fi
39076
39077 if test "$wxUSE_THREADS" = "yes" ; then
39078
39079 for ac_func in thr_setconcurrency
39080 do
39081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39082 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39084 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39085 echo $ECHO_N "(cached) $ECHO_C" >&6
39086 else
39087 cat >conftest.$ac_ext <<_ACEOF
39088 /* confdefs.h. */
39089 _ACEOF
39090 cat confdefs.h >>conftest.$ac_ext
39091 cat >>conftest.$ac_ext <<_ACEOF
39092 /* end confdefs.h. */
39093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39095 #define $ac_func innocuous_$ac_func
39096
39097 /* System header to define __stub macros and hopefully few prototypes,
39098 which can conflict with char $ac_func (); below.
39099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39100 <limits.h> exists even on freestanding compilers. */
39101
39102 #ifdef __STDC__
39103 # include <limits.h>
39104 #else
39105 # include <assert.h>
39106 #endif
39107
39108 #undef $ac_func
39109
39110 /* Override any GCC internal prototype to avoid an error.
39111 Use char because int might match the return type of a GCC
39112 builtin and then its argument prototype would still apply. */
39113 #ifdef __cplusplus
39114 extern "C"
39115 #endif
39116 char $ac_func ();
39117 /* The GNU C library defines this for functions which it implements
39118 to always fail with ENOSYS. Some functions are actually named
39119 something starting with __ and the normal name is an alias. */
39120 #if defined __stub_$ac_func || defined __stub___$ac_func
39121 choke me
39122 #endif
39123
39124 int
39125 main ()
39126 {
39127 return $ac_func ();
39128 ;
39129 return 0;
39130 }
39131 _ACEOF
39132 rm -f conftest.$ac_objext conftest$ac_exeext
39133 if { (ac_try="$ac_link"
39134 case "(($ac_try" in
39135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39136 *) ac_try_echo=$ac_try;;
39137 esac
39138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39139 (eval "$ac_link") 2>conftest.er1
39140 ac_status=$?
39141 grep -v '^ *+' conftest.er1 >conftest.err
39142 rm -f conftest.er1
39143 cat conftest.err >&5
39144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39145 (exit $ac_status); } && {
39146 test -z "$ac_c_werror_flag" ||
39147 test ! -s conftest.err
39148 } && test -s conftest$ac_exeext &&
39149 $as_test_x conftest$ac_exeext; then
39150 eval "$as_ac_var=yes"
39151 else
39152 echo "$as_me: failed program was:" >&5
39153 sed 's/^/| /' conftest.$ac_ext >&5
39154
39155 eval "$as_ac_var=no"
39156 fi
39157
39158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39159 conftest$ac_exeext conftest.$ac_ext
39160 fi
39161 ac_res=`eval echo '${'$as_ac_var'}'`
39162 { echo "$as_me:$LINENO: result: $ac_res" >&5
39163 echo "${ECHO_T}$ac_res" >&6; }
39164 if test `eval echo '${'$as_ac_var'}'` = yes; then
39165 cat >>confdefs.h <<_ACEOF
39166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39167 _ACEOF
39168
39169 fi
39170 done
39171
39172
39173 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39174 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39175 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39176 echo $ECHO_N "(cached) $ECHO_C" >&6
39177 else
39178
39179 ac_ext=cpp
39180 ac_cpp='$CXXCPP $CPPFLAGS'
39181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39184
39185 cat >conftest.$ac_ext <<_ACEOF
39186 /* confdefs.h. */
39187 _ACEOF
39188 cat confdefs.h >>conftest.$ac_ext
39189 cat >>conftest.$ac_ext <<_ACEOF
39190 /* end confdefs.h. */
39191 #include <pthread.h>
39192 void ThreadCleanupFunc(void *p);
39193
39194 int
39195 main ()
39196 {
39197
39198 void *p;
39199 pthread_cleanup_push(ThreadCleanupFunc, p);
39200 pthread_cleanup_pop(0);
39201
39202 ;
39203 return 0;
39204 }
39205 _ACEOF
39206 rm -f conftest.$ac_objext
39207 if { (ac_try="$ac_compile"
39208 case "(($ac_try" in
39209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39210 *) ac_try_echo=$ac_try;;
39211 esac
39212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39213 (eval "$ac_compile") 2>conftest.er1
39214 ac_status=$?
39215 grep -v '^ *+' conftest.er1 >conftest.err
39216 rm -f conftest.er1
39217 cat conftest.err >&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); } && {
39220 test -z "$ac_cxx_werror_flag" ||
39221 test ! -s conftest.err
39222 } && test -s conftest.$ac_objext; then
39223
39224 wx_cv_func_pthread_cleanup=yes
39225
39226 else
39227 echo "$as_me: failed program was:" >&5
39228 sed 's/^/| /' conftest.$ac_ext >&5
39229
39230
39231 wx_cv_func_pthread_cleanup=no
39232
39233
39234 fi
39235
39236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39237 ac_ext=c
39238 ac_cpp='$CPP $CPPFLAGS'
39239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39242
39243
39244 fi
39245 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39246 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39247 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39248 cat >>confdefs.h <<\_ACEOF
39249 #define wxHAVE_PTHREAD_CLEANUP 1
39250 _ACEOF
39251
39252 fi
39253
39254
39255 for ac_header in sched.h
39256 do
39257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39261 echo $ECHO_N "(cached) $ECHO_C" >&6
39262 else
39263 cat >conftest.$ac_ext <<_ACEOF
39264 /* confdefs.h. */
39265 _ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39269 $ac_includes_default
39270
39271 #include <$ac_header>
39272 _ACEOF
39273 rm -f conftest.$ac_objext
39274 if { (ac_try="$ac_compile"
39275 case "(($ac_try" in
39276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39277 *) ac_try_echo=$ac_try;;
39278 esac
39279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39280 (eval "$ac_compile") 2>conftest.er1
39281 ac_status=$?
39282 grep -v '^ *+' conftest.er1 >conftest.err
39283 rm -f conftest.er1
39284 cat conftest.err >&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); } && {
39287 test -z "$ac_c_werror_flag" ||
39288 test ! -s conftest.err
39289 } && test -s conftest.$ac_objext; then
39290 eval "$as_ac_Header=yes"
39291 else
39292 echo "$as_me: failed program was:" >&5
39293 sed 's/^/| /' conftest.$ac_ext >&5
39294
39295 eval "$as_ac_Header=no"
39296 fi
39297
39298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39299 fi
39300 ac_res=`eval echo '${'$as_ac_Header'}'`
39301 { echo "$as_me:$LINENO: result: $ac_res" >&5
39302 echo "${ECHO_T}$ac_res" >&6; }
39303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39304 cat >>confdefs.h <<_ACEOF
39305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39306 _ACEOF
39307
39308 fi
39309
39310 done
39311
39312 if test "$ac_cv_header_sched_h" = "yes"; then
39313 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39314 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39315 if test "${ac_cv_func_sched_yield+set}" = set; then
39316 echo $ECHO_N "(cached) $ECHO_C" >&6
39317 else
39318 cat >conftest.$ac_ext <<_ACEOF
39319 /* confdefs.h. */
39320 _ACEOF
39321 cat confdefs.h >>conftest.$ac_ext
39322 cat >>conftest.$ac_ext <<_ACEOF
39323 /* end confdefs.h. */
39324 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39326 #define sched_yield innocuous_sched_yield
39327
39328 /* System header to define __stub macros and hopefully few prototypes,
39329 which can conflict with char sched_yield (); below.
39330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39331 <limits.h> exists even on freestanding compilers. */
39332
39333 #ifdef __STDC__
39334 # include <limits.h>
39335 #else
39336 # include <assert.h>
39337 #endif
39338
39339 #undef sched_yield
39340
39341 /* Override any GCC internal prototype to avoid an error.
39342 Use char because int might match the return type of a GCC
39343 builtin and then its argument prototype would still apply. */
39344 #ifdef __cplusplus
39345 extern "C"
39346 #endif
39347 char sched_yield ();
39348 /* The GNU C library defines this for functions which it implements
39349 to always fail with ENOSYS. Some functions are actually named
39350 something starting with __ and the normal name is an alias. */
39351 #if defined __stub_sched_yield || defined __stub___sched_yield
39352 choke me
39353 #endif
39354
39355 int
39356 main ()
39357 {
39358 return sched_yield ();
39359 ;
39360 return 0;
39361 }
39362 _ACEOF
39363 rm -f conftest.$ac_objext conftest$ac_exeext
39364 if { (ac_try="$ac_link"
39365 case "(($ac_try" in
39366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39367 *) ac_try_echo=$ac_try;;
39368 esac
39369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39370 (eval "$ac_link") 2>conftest.er1
39371 ac_status=$?
39372 grep -v '^ *+' conftest.er1 >conftest.err
39373 rm -f conftest.er1
39374 cat conftest.err >&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); } && {
39377 test -z "$ac_c_werror_flag" ||
39378 test ! -s conftest.err
39379 } && test -s conftest$ac_exeext &&
39380 $as_test_x conftest$ac_exeext; then
39381 ac_cv_func_sched_yield=yes
39382 else
39383 echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39385
39386 ac_cv_func_sched_yield=no
39387 fi
39388
39389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39390 conftest$ac_exeext conftest.$ac_ext
39391 fi
39392 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39393 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39394 if test $ac_cv_func_sched_yield = yes; then
39395 cat >>confdefs.h <<\_ACEOF
39396 #define HAVE_SCHED_YIELD 1
39397 _ACEOF
39398
39399 else
39400
39401 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39402 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39403 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39404 echo $ECHO_N "(cached) $ECHO_C" >&6
39405 else
39406 ac_check_lib_save_LIBS=$LIBS
39407 LIBS="-lposix4 $LIBS"
39408 cat >conftest.$ac_ext <<_ACEOF
39409 /* confdefs.h. */
39410 _ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414
39415 /* Override any GCC internal prototype to avoid an error.
39416 Use char because int might match the return type of a GCC
39417 builtin and then its argument prototype would still apply. */
39418 #ifdef __cplusplus
39419 extern "C"
39420 #endif
39421 char sched_yield ();
39422 int
39423 main ()
39424 {
39425 return sched_yield ();
39426 ;
39427 return 0;
39428 }
39429 _ACEOF
39430 rm -f conftest.$ac_objext conftest$ac_exeext
39431 if { (ac_try="$ac_link"
39432 case "(($ac_try" in
39433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39434 *) ac_try_echo=$ac_try;;
39435 esac
39436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39437 (eval "$ac_link") 2>conftest.er1
39438 ac_status=$?
39439 grep -v '^ *+' conftest.er1 >conftest.err
39440 rm -f conftest.er1
39441 cat conftest.err >&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } && {
39444 test -z "$ac_c_werror_flag" ||
39445 test ! -s conftest.err
39446 } && test -s conftest$ac_exeext &&
39447 $as_test_x conftest$ac_exeext; then
39448 ac_cv_lib_posix4_sched_yield=yes
39449 else
39450 echo "$as_me: failed program was:" >&5
39451 sed 's/^/| /' conftest.$ac_ext >&5
39452
39453 ac_cv_lib_posix4_sched_yield=no
39454 fi
39455
39456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39457 conftest$ac_exeext conftest.$ac_ext
39458 LIBS=$ac_check_lib_save_LIBS
39459 fi
39460 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39461 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39462 if test $ac_cv_lib_posix4_sched_yield = yes; then
39463 cat >>confdefs.h <<\_ACEOF
39464 #define HAVE_SCHED_YIELD 1
39465 _ACEOF
39466 POSIX4_LINK=" -lposix4"
39467 else
39468 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39469 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39470
39471 fi
39472
39473
39474
39475 fi
39476
39477 fi
39478
39479 HAVE_PRIOR_FUNCS=0
39480 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39481 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39482 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 cat >conftest.$ac_ext <<_ACEOF
39486 /* confdefs.h. */
39487 _ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39493 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39494
39495 /* System header to define __stub macros and hopefully few prototypes,
39496 which can conflict with char pthread_attr_getschedpolicy (); below.
39497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39498 <limits.h> exists even on freestanding compilers. */
39499
39500 #ifdef __STDC__
39501 # include <limits.h>
39502 #else
39503 # include <assert.h>
39504 #endif
39505
39506 #undef pthread_attr_getschedpolicy
39507
39508 /* Override any GCC internal prototype to avoid an error.
39509 Use char because int might match the return type of a GCC
39510 builtin and then its argument prototype would still apply. */
39511 #ifdef __cplusplus
39512 extern "C"
39513 #endif
39514 char pthread_attr_getschedpolicy ();
39515 /* The GNU C library defines this for functions which it implements
39516 to always fail with ENOSYS. Some functions are actually named
39517 something starting with __ and the normal name is an alias. */
39518 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39519 choke me
39520 #endif
39521
39522 int
39523 main ()
39524 {
39525 return pthread_attr_getschedpolicy ();
39526 ;
39527 return 0;
39528 }
39529 _ACEOF
39530 rm -f conftest.$ac_objext conftest$ac_exeext
39531 if { (ac_try="$ac_link"
39532 case "(($ac_try" in
39533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39534 *) ac_try_echo=$ac_try;;
39535 esac
39536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39537 (eval "$ac_link") 2>conftest.er1
39538 ac_status=$?
39539 grep -v '^ *+' conftest.er1 >conftest.err
39540 rm -f conftest.er1
39541 cat conftest.err >&5
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); } && {
39544 test -z "$ac_c_werror_flag" ||
39545 test ! -s conftest.err
39546 } && test -s conftest$ac_exeext &&
39547 $as_test_x conftest$ac_exeext; then
39548 ac_cv_func_pthread_attr_getschedpolicy=yes
39549 else
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39552
39553 ac_cv_func_pthread_attr_getschedpolicy=no
39554 fi
39555
39556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39557 conftest$ac_exeext conftest.$ac_ext
39558 fi
39559 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39560 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39561 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39562 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39563 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39564 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39566 else
39567 cat >conftest.$ac_ext <<_ACEOF
39568 /* confdefs.h. */
39569 _ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h. */
39573 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39575 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39576
39577 /* System header to define __stub macros and hopefully few prototypes,
39578 which can conflict with char pthread_attr_setschedparam (); below.
39579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39580 <limits.h> exists even on freestanding compilers. */
39581
39582 #ifdef __STDC__
39583 # include <limits.h>
39584 #else
39585 # include <assert.h>
39586 #endif
39587
39588 #undef pthread_attr_setschedparam
39589
39590 /* Override any GCC internal prototype to avoid an error.
39591 Use char because int might match the return type of a GCC
39592 builtin and then its argument prototype would still apply. */
39593 #ifdef __cplusplus
39594 extern "C"
39595 #endif
39596 char pthread_attr_setschedparam ();
39597 /* The GNU C library defines this for functions which it implements
39598 to always fail with ENOSYS. Some functions are actually named
39599 something starting with __ and the normal name is an alias. */
39600 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39601 choke me
39602 #endif
39603
39604 int
39605 main ()
39606 {
39607 return pthread_attr_setschedparam ();
39608 ;
39609 return 0;
39610 }
39611 _ACEOF
39612 rm -f conftest.$ac_objext conftest$ac_exeext
39613 if { (ac_try="$ac_link"
39614 case "(($ac_try" in
39615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39616 *) ac_try_echo=$ac_try;;
39617 esac
39618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39619 (eval "$ac_link") 2>conftest.er1
39620 ac_status=$?
39621 grep -v '^ *+' conftest.er1 >conftest.err
39622 rm -f conftest.er1
39623 cat conftest.err >&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); } && {
39626 test -z "$ac_c_werror_flag" ||
39627 test ! -s conftest.err
39628 } && test -s conftest$ac_exeext &&
39629 $as_test_x conftest$ac_exeext; then
39630 ac_cv_func_pthread_attr_setschedparam=yes
39631 else
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.$ac_ext >&5
39634
39635 ac_cv_func_pthread_attr_setschedparam=no
39636 fi
39637
39638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39639 conftest$ac_exeext conftest.$ac_ext
39640 fi
39641 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39642 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39643 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39644 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39645 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 else
39649 cat >conftest.$ac_ext <<_ACEOF
39650 /* confdefs.h. */
39651 _ACEOF
39652 cat confdefs.h >>conftest.$ac_ext
39653 cat >>conftest.$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39657 #define sched_get_priority_max innocuous_sched_get_priority_max
39658
39659 /* System header to define __stub macros and hopefully few prototypes,
39660 which can conflict with char sched_get_priority_max (); below.
39661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39662 <limits.h> exists even on freestanding compilers. */
39663
39664 #ifdef __STDC__
39665 # include <limits.h>
39666 #else
39667 # include <assert.h>
39668 #endif
39669
39670 #undef sched_get_priority_max
39671
39672 /* Override any GCC internal prototype to avoid an error.
39673 Use char because int might match the return type of a GCC
39674 builtin and then its argument prototype would still apply. */
39675 #ifdef __cplusplus
39676 extern "C"
39677 #endif
39678 char sched_get_priority_max ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39683 choke me
39684 #endif
39685
39686 int
39687 main ()
39688 {
39689 return sched_get_priority_max ();
39690 ;
39691 return 0;
39692 }
39693 _ACEOF
39694 rm -f conftest.$ac_objext conftest$ac_exeext
39695 if { (ac_try="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39699 esac
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 ac_cv_func_sched_get_priority_max=yes
39713 else
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39716
39717 ac_cv_func_sched_get_priority_max=no
39718 fi
39719
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39722 fi
39723 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39724 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39725 if test $ac_cv_func_sched_get_priority_max = yes; then
39726 HAVE_PRIOR_FUNCS=1
39727 else
39728 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39729 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39730 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39732 else
39733 ac_check_lib_save_LIBS=$LIBS
39734 LIBS="-lposix4 $LIBS"
39735 cat >conftest.$ac_ext <<_ACEOF
39736 /* confdefs.h. */
39737 _ACEOF
39738 cat confdefs.h >>conftest.$ac_ext
39739 cat >>conftest.$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39741
39742 /* Override any GCC internal prototype to avoid an error.
39743 Use char because int might match the return type of a GCC
39744 builtin and then its argument prototype would still apply. */
39745 #ifdef __cplusplus
39746 extern "C"
39747 #endif
39748 char sched_get_priority_max ();
39749 int
39750 main ()
39751 {
39752 return sched_get_priority_max ();
39753 ;
39754 return 0;
39755 }
39756 _ACEOF
39757 rm -f conftest.$ac_objext conftest$ac_exeext
39758 if { (ac_try="$ac_link"
39759 case "(($ac_try" in
39760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39761 *) ac_try_echo=$ac_try;;
39762 esac
39763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39764 (eval "$ac_link") 2>conftest.er1
39765 ac_status=$?
39766 grep -v '^ *+' conftest.er1 >conftest.err
39767 rm -f conftest.er1
39768 cat conftest.err >&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); } && {
39771 test -z "$ac_c_werror_flag" ||
39772 test ! -s conftest.err
39773 } && test -s conftest$ac_exeext &&
39774 $as_test_x conftest$ac_exeext; then
39775 ac_cv_lib_posix4_sched_get_priority_max=yes
39776 else
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.$ac_ext >&5
39779
39780 ac_cv_lib_posix4_sched_get_priority_max=no
39781 fi
39782
39783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39784 conftest$ac_exeext conftest.$ac_ext
39785 LIBS=$ac_check_lib_save_LIBS
39786 fi
39787 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39788 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39789 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39790
39791 HAVE_PRIOR_FUNCS=1
39792 POSIX4_LINK=" -lposix4"
39793
39794 fi
39795
39796
39797 fi
39798
39799
39800 fi
39801
39802
39803 fi
39804
39805
39806 if test "$HAVE_PRIOR_FUNCS" = 1; then
39807 cat >>confdefs.h <<\_ACEOF
39808 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39809 _ACEOF
39810
39811 else
39812 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39813 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39814 fi
39815
39816 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39817 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39818 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39819 echo $ECHO_N "(cached) $ECHO_C" >&6
39820 else
39821 cat >conftest.$ac_ext <<_ACEOF
39822 /* confdefs.h. */
39823 _ACEOF
39824 cat confdefs.h >>conftest.$ac_ext
39825 cat >>conftest.$ac_ext <<_ACEOF
39826 /* end confdefs.h. */
39827 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39829 #define pthread_cancel innocuous_pthread_cancel
39830
39831 /* System header to define __stub macros and hopefully few prototypes,
39832 which can conflict with char pthread_cancel (); below.
39833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39834 <limits.h> exists even on freestanding compilers. */
39835
39836 #ifdef __STDC__
39837 # include <limits.h>
39838 #else
39839 # include <assert.h>
39840 #endif
39841
39842 #undef pthread_cancel
39843
39844 /* Override any GCC internal prototype to avoid an error.
39845 Use char because int might match the return type of a GCC
39846 builtin and then its argument prototype would still apply. */
39847 #ifdef __cplusplus
39848 extern "C"
39849 #endif
39850 char pthread_cancel ();
39851 /* The GNU C library defines this for functions which it implements
39852 to always fail with ENOSYS. Some functions are actually named
39853 something starting with __ and the normal name is an alias. */
39854 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39855 choke me
39856 #endif
39857
39858 int
39859 main ()
39860 {
39861 return pthread_cancel ();
39862 ;
39863 return 0;
39864 }
39865 _ACEOF
39866 rm -f conftest.$ac_objext conftest$ac_exeext
39867 if { (ac_try="$ac_link"
39868 case "(($ac_try" in
39869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39870 *) ac_try_echo=$ac_try;;
39871 esac
39872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39873 (eval "$ac_link") 2>conftest.er1
39874 ac_status=$?
39875 grep -v '^ *+' conftest.er1 >conftest.err
39876 rm -f conftest.er1
39877 cat conftest.err >&5
39878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879 (exit $ac_status); } && {
39880 test -z "$ac_c_werror_flag" ||
39881 test ! -s conftest.err
39882 } && test -s conftest$ac_exeext &&
39883 $as_test_x conftest$ac_exeext; then
39884 ac_cv_func_pthread_cancel=yes
39885 else
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39888
39889 ac_cv_func_pthread_cancel=no
39890 fi
39891
39892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39893 conftest$ac_exeext conftest.$ac_ext
39894 fi
39895 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39896 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39897 if test $ac_cv_func_pthread_cancel = yes; then
39898 cat >>confdefs.h <<\_ACEOF
39899 #define HAVE_PTHREAD_CANCEL 1
39900 _ACEOF
39901
39902 else
39903 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39904 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39905 fi
39906
39907
39908 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39909 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39910 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39912 else
39913 cat >conftest.$ac_ext <<_ACEOF
39914 /* confdefs.h. */
39915 _ACEOF
39916 cat confdefs.h >>conftest.$ac_ext
39917 cat >>conftest.$ac_ext <<_ACEOF
39918 /* end confdefs.h. */
39919 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39921 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39922
39923 /* System header to define __stub macros and hopefully few prototypes,
39924 which can conflict with char pthread_mutex_timedlock (); below.
39925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39926 <limits.h> exists even on freestanding compilers. */
39927
39928 #ifdef __STDC__
39929 # include <limits.h>
39930 #else
39931 # include <assert.h>
39932 #endif
39933
39934 #undef pthread_mutex_timedlock
39935
39936 /* Override any GCC internal prototype to avoid an error.
39937 Use char because int might match the return type of a GCC
39938 builtin and then its argument prototype would still apply. */
39939 #ifdef __cplusplus
39940 extern "C"
39941 #endif
39942 char pthread_mutex_timedlock ();
39943 /* The GNU C library defines this for functions which it implements
39944 to always fail with ENOSYS. Some functions are actually named
39945 something starting with __ and the normal name is an alias. */
39946 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39947 choke me
39948 #endif
39949
39950 int
39951 main ()
39952 {
39953 return pthread_mutex_timedlock ();
39954 ;
39955 return 0;
39956 }
39957 _ACEOF
39958 rm -f conftest.$ac_objext conftest$ac_exeext
39959 if { (ac_try="$ac_link"
39960 case "(($ac_try" in
39961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39962 *) ac_try_echo=$ac_try;;
39963 esac
39964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39965 (eval "$ac_link") 2>conftest.er1
39966 ac_status=$?
39967 grep -v '^ *+' conftest.er1 >conftest.err
39968 rm -f conftest.er1
39969 cat conftest.err >&5
39970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39971 (exit $ac_status); } && {
39972 test -z "$ac_c_werror_flag" ||
39973 test ! -s conftest.err
39974 } && test -s conftest$ac_exeext &&
39975 $as_test_x conftest$ac_exeext; then
39976 ac_cv_func_pthread_mutex_timedlock=yes
39977 else
39978 echo "$as_me: failed program was:" >&5
39979 sed 's/^/| /' conftest.$ac_ext >&5
39980
39981 ac_cv_func_pthread_mutex_timedlock=no
39982 fi
39983
39984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39985 conftest$ac_exeext conftest.$ac_ext
39986 fi
39987 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39988 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39989 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39990 cat >>confdefs.h <<\_ACEOF
39991 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39992 _ACEOF
39993
39994 else
39995 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39996 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39997 fi
39998
39999
40000 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40001 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40002 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40003 echo $ECHO_N "(cached) $ECHO_C" >&6
40004 else
40005 cat >conftest.$ac_ext <<_ACEOF
40006 /* confdefs.h. */
40007 _ACEOF
40008 cat confdefs.h >>conftest.$ac_ext
40009 cat >>conftest.$ac_ext <<_ACEOF
40010 /* end confdefs.h. */
40011 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40013 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40014
40015 /* System header to define __stub macros and hopefully few prototypes,
40016 which can conflict with char pthread_attr_setstacksize (); below.
40017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40018 <limits.h> exists even on freestanding compilers. */
40019
40020 #ifdef __STDC__
40021 # include <limits.h>
40022 #else
40023 # include <assert.h>
40024 #endif
40025
40026 #undef pthread_attr_setstacksize
40027
40028 /* Override any GCC internal prototype to avoid an error.
40029 Use char because int might match the return type of a GCC
40030 builtin and then its argument prototype would still apply. */
40031 #ifdef __cplusplus
40032 extern "C"
40033 #endif
40034 char pthread_attr_setstacksize ();
40035 /* The GNU C library defines this for functions which it implements
40036 to always fail with ENOSYS. Some functions are actually named
40037 something starting with __ and the normal name is an alias. */
40038 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40039 choke me
40040 #endif
40041
40042 int
40043 main ()
40044 {
40045 return pthread_attr_setstacksize ();
40046 ;
40047 return 0;
40048 }
40049 _ACEOF
40050 rm -f conftest.$ac_objext conftest$ac_exeext
40051 if { (ac_try="$ac_link"
40052 case "(($ac_try" in
40053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40054 *) ac_try_echo=$ac_try;;
40055 esac
40056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40057 (eval "$ac_link") 2>conftest.er1
40058 ac_status=$?
40059 grep -v '^ *+' conftest.er1 >conftest.err
40060 rm -f conftest.er1
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } && {
40064 test -z "$ac_c_werror_flag" ||
40065 test ! -s conftest.err
40066 } && test -s conftest$ac_exeext &&
40067 $as_test_x conftest$ac_exeext; then
40068 ac_cv_func_pthread_attr_setstacksize=yes
40069 else
40070 echo "$as_me: failed program was:" >&5
40071 sed 's/^/| /' conftest.$ac_ext >&5
40072
40073 ac_cv_func_pthread_attr_setstacksize=no
40074 fi
40075
40076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40077 conftest$ac_exeext conftest.$ac_ext
40078 fi
40079 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40080 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40081 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40082 cat >>confdefs.h <<\_ACEOF
40083 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40084 _ACEOF
40085
40086 fi
40087
40088
40089
40090 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40091 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40092 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40093 echo $ECHO_N "(cached) $ECHO_C" >&6
40094 else
40095
40096 cat >conftest.$ac_ext <<_ACEOF
40097 /* confdefs.h. */
40098 _ACEOF
40099 cat confdefs.h >>conftest.$ac_ext
40100 cat >>conftest.$ac_ext <<_ACEOF
40101 /* end confdefs.h. */
40102 #include <pthread.h>
40103 int
40104 main ()
40105 {
40106
40107 pthread_mutexattr_t attr;
40108 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40109
40110 ;
40111 return 0;
40112 }
40113 _ACEOF
40114 rm -f conftest.$ac_objext
40115 if { (ac_try="$ac_compile"
40116 case "(($ac_try" in
40117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40118 *) ac_try_echo=$ac_try;;
40119 esac
40120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40121 (eval "$ac_compile") 2>conftest.er1
40122 ac_status=$?
40123 grep -v '^ *+' conftest.er1 >conftest.err
40124 rm -f conftest.er1
40125 cat conftest.err >&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); } && {
40128 test -z "$ac_c_werror_flag" ||
40129 test ! -s conftest.err
40130 } && test -s conftest.$ac_objext; then
40131 wx_cv_type_pthread_mutexattr_t=yes
40132 else
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40135
40136 wx_cv_type_pthread_mutexattr_t=no
40137
40138 fi
40139
40140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40141
40142 fi
40143 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40144 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40145
40146 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40147 cat >>confdefs.h <<\_ACEOF
40148 #define HAVE_PTHREAD_MUTEXATTR_T 1
40149 _ACEOF
40150
40151
40152 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40153 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40154 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40155 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 else
40157
40158 cat >conftest.$ac_ext <<_ACEOF
40159 /* confdefs.h. */
40160 _ACEOF
40161 cat confdefs.h >>conftest.$ac_ext
40162 cat >>conftest.$ac_ext <<_ACEOF
40163 /* end confdefs.h. */
40164 #include <pthread.h>
40165 int
40166 main ()
40167 {
40168
40169 pthread_mutexattr_t attr;
40170 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40171
40172 ;
40173 return 0;
40174 }
40175 _ACEOF
40176 rm -f conftest.$ac_objext
40177 if { (ac_try="$ac_compile"
40178 case "(($ac_try" in
40179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40180 *) ac_try_echo=$ac_try;;
40181 esac
40182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40183 (eval "$ac_compile") 2>conftest.er1
40184 ac_status=$?
40185 grep -v '^ *+' conftest.er1 >conftest.err
40186 rm -f conftest.er1
40187 cat conftest.err >&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } && {
40190 test -z "$ac_c_werror_flag" ||
40191 test ! -s conftest.err
40192 } && test -s conftest.$ac_objext; then
40193 wx_cv_func_pthread_mutexattr_settype_decl=yes
40194 else
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.$ac_ext >&5
40197
40198 wx_cv_func_pthread_mutexattr_settype_decl=no
40199
40200 fi
40201
40202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40203
40204 fi
40205 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40206 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40207 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40208 cat >>confdefs.h <<\_ACEOF
40209 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40210 _ACEOF
40211
40212 fi
40213 else
40214 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40215 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40216 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40217 echo $ECHO_N "(cached) $ECHO_C" >&6
40218 else
40219
40220 cat >conftest.$ac_ext <<_ACEOF
40221 /* confdefs.h. */
40222 _ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h. */
40226 #include <pthread.h>
40227 int
40228 main ()
40229 {
40230
40231 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40232
40233 ;
40234 return 0;
40235 }
40236 _ACEOF
40237 rm -f conftest.$ac_objext
40238 if { (ac_try="$ac_compile"
40239 case "(($ac_try" in
40240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40241 *) ac_try_echo=$ac_try;;
40242 esac
40243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40244 (eval "$ac_compile") 2>conftest.er1
40245 ac_status=$?
40246 grep -v '^ *+' conftest.er1 >conftest.err
40247 rm -f conftest.er1
40248 cat conftest.err >&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } && {
40251 test -z "$ac_c_werror_flag" ||
40252 test ! -s conftest.err
40253 } && test -s conftest.$ac_objext; then
40254
40255 wx_cv_type_pthread_rec_mutex_init=yes
40256
40257 else
40258 echo "$as_me: failed program was:" >&5
40259 sed 's/^/| /' conftest.$ac_ext >&5
40260
40261
40262 wx_cv_type_pthread_rec_mutex_init=no
40263
40264
40265 fi
40266
40267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40268
40269 fi
40270 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40271 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40272 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40273 cat >>confdefs.h <<\_ACEOF
40274 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40275 _ACEOF
40276
40277 else
40278 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40279 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40280 fi
40281 fi
40282
40283 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40284 if test "$USE_NETBSD" = 1; then
40285 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40286 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40287 wxUSE_COMPILER_TLS=no
40288 else
40289 wxUSE_COMPILER_TLS=yes
40290 fi
40291 fi
40292
40293 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40294 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40295 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40296 if test "${wx_cv_cc___thread+set}" = set; then
40297 echo $ECHO_N "(cached) $ECHO_C" >&6
40298 else
40299
40300 cat >conftest.$ac_ext <<_ACEOF
40301 /* confdefs.h. */
40302 _ACEOF
40303 cat confdefs.h >>conftest.$ac_ext
40304 cat >>conftest.$ac_ext <<_ACEOF
40305 /* end confdefs.h. */
40306 #include <pthread.h>
40307 int
40308 main ()
40309 {
40310
40311 static __thread int n = 0;
40312 static __thread int *p = 0;
40313
40314 ;
40315 return 0;
40316 }
40317 _ACEOF
40318 rm -f conftest.$ac_objext
40319 if { (ac_try="$ac_compile"
40320 case "(($ac_try" in
40321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40322 *) ac_try_echo=$ac_try;;
40323 esac
40324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40325 (eval "$ac_compile") 2>conftest.er1
40326 ac_status=$?
40327 grep -v '^ *+' conftest.er1 >conftest.err
40328 rm -f conftest.er1
40329 cat conftest.err >&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); } && {
40332 test -z "$ac_c_werror_flag" ||
40333 test ! -s conftest.err
40334 } && test -s conftest.$ac_objext; then
40335 wx_cv_cc___thread=yes
40336 else
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.$ac_ext >&5
40339
40340 wx_cv_cc___thread=no
40341
40342 fi
40343
40344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40345
40346
40347 fi
40348 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40349 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40350
40351 if test "$wx_cv_cc___thread" = "yes"; then
40352
40353 GXX_VERSION=""
40354
40355
40356
40357 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40358 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40359
40360 if test "x$GCC" = "xyes" ; then
40361
40362 if test -z "" ; then
40363
40364 ax_gcc_option_test="int main()
40365 {
40366 return 0;
40367 }"
40368
40369 else
40370
40371 ax_gcc_option_test=""
40372
40373 fi
40374
40375
40376 # Dump the test program to file
40377 cat <<EOF > conftest.c
40378 $ax_gcc_option_test
40379 EOF
40380
40381 # Dump back the file to the log, useful for debugging purposes
40382 { ac_try='cat conftest.c 1>&5'
40383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40384 (eval $ac_try) 2>&5
40385 ac_status=$?
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); }; }
40388
40389 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40391 (eval $ac_try) 2>&5
40392 ac_status=$?
40393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40394 (exit $ac_status); }; } ; then
40395
40396 { echo "$as_me:$LINENO: result: yes" >&5
40397 echo "${ECHO_T}yes" >&6; }
40398
40399 ax_gcc_version_option=yes
40400
40401
40402 else
40403
40404 { echo "$as_me:$LINENO: result: no" >&5
40405 echo "${ECHO_T}no" >&6; }
40406
40407 ax_gcc_version_option=no
40408
40409
40410 fi
40411
40412
40413 else
40414
40415 { echo "$as_me:$LINENO: result: no gcc available" >&5
40416 echo "${ECHO_T}no gcc available" >&6; }
40417
40418 fi
40419
40420
40421 if test "x$GXX" = "xyes"; then
40422
40423 if test "x$ax_gxx_version_option" != "no"; then
40424
40425 { echo "$as_me:$LINENO: checking gxx version" >&5
40426 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40427 if test "${ax_cv_gxx_version+set}" = set; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 else
40430
40431 ax_cv_gxx_version="`$CXX -dumpversion`"
40432 if test "x$ax_cv_gxx_version" = "x"; then
40433
40434 ax_cv_gxx_version=""
40435
40436 fi
40437
40438
40439 fi
40440 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40441 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40442 GXX_VERSION=$ax_cv_gxx_version
40443
40444 fi
40445
40446
40447 fi
40448
40449
40450
40451 if test -n "$ax_cv_gxx_version"; then
40452 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40453 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40454 case "$ax_cv_gxx_version" in
40455 1.* | 2.* | 3.* )
40456 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40457 echo "${ECHO_T}no, it's broken" >&6; }
40458 wx_cv_cc___thread=no
40459 ;;
40460 *)
40461 { echo "$as_me:$LINENO: result: yes, it works" >&5
40462 echo "${ECHO_T}yes, it works" >&6; }
40463 ;;
40464 esac
40465 fi
40466 fi
40467
40468 if test "$wx_cv_cc___thread" = "yes"; then
40469 cat >>confdefs.h <<\_ACEOF
40470 #define HAVE___THREAD_KEYWORD 1
40471 _ACEOF
40472
40473 fi
40474 fi
40475 fi
40476
40477 else
40478 if test "$wxUSE_THREADS" = "yes" ; then
40479 case "${host}" in
40480 x86_64-*-mingw32* )
40481 ;;
40482 *-*-mingw32* )
40483 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40484 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40485 if test "${wx_cv_cflags_mthread+set}" = set; then
40486 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 else
40488
40489 CFLAGS_OLD="$CFLAGS"
40490 CFLAGS="-mthreads $CFLAGS"
40491 cat >conftest.$ac_ext <<_ACEOF
40492 /* confdefs.h. */
40493 _ACEOF
40494 cat confdefs.h >>conftest.$ac_ext
40495 cat >>conftest.$ac_ext <<_ACEOF
40496 /* end confdefs.h. */
40497
40498 int
40499 main ()
40500 {
40501
40502 ;
40503 return 0;
40504 }
40505 _ACEOF
40506 rm -f conftest.$ac_objext
40507 if { (ac_try="$ac_compile"
40508 case "(($ac_try" in
40509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40510 *) ac_try_echo=$ac_try;;
40511 esac
40512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40513 (eval "$ac_compile") 2>conftest.er1
40514 ac_status=$?
40515 grep -v '^ *+' conftest.er1 >conftest.err
40516 rm -f conftest.er1
40517 cat conftest.err >&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } && {
40520 test -z "$ac_c_werror_flag" ||
40521 test ! -s conftest.err
40522 } && test -s conftest.$ac_objext; then
40523 wx_cv_cflags_mthread=yes
40524 else
40525 echo "$as_me: failed program was:" >&5
40526 sed 's/^/| /' conftest.$ac_ext >&5
40527
40528 wx_cv_cflags_mthread=no
40529
40530 fi
40531
40532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40533
40534
40535 fi
40536 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40537 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40538
40539 if test "$wx_cv_cflags_mthread" = "yes"; then
40540 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40541 LDFLAGS="$LDFLAGS -mthreads"
40542 else
40543 CFLAGS="$CFLAGS_OLD"
40544 fi
40545 ;;
40546 *-pc-os2*emx )
40547 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40548 LDFLAGS="$LDFLAGS -Zmt"
40549 ;;
40550 esac
40551 fi
40552 fi
40553
40554 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40555 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40556 if test "${ac_cv_func_localtime_r+set}" = set; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40558 else
40559 cat >conftest.$ac_ext <<_ACEOF
40560 /* confdefs.h. */
40561 _ACEOF
40562 cat confdefs.h >>conftest.$ac_ext
40563 cat >>conftest.$ac_ext <<_ACEOF
40564 /* end confdefs.h. */
40565 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40567 #define localtime_r innocuous_localtime_r
40568
40569 /* System header to define __stub macros and hopefully few prototypes,
40570 which can conflict with char localtime_r (); below.
40571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40572 <limits.h> exists even on freestanding compilers. */
40573
40574 #ifdef __STDC__
40575 # include <limits.h>
40576 #else
40577 # include <assert.h>
40578 #endif
40579
40580 #undef localtime_r
40581
40582 /* Override any GCC internal prototype to avoid an error.
40583 Use char because int might match the return type of a GCC
40584 builtin and then its argument prototype would still apply. */
40585 #ifdef __cplusplus
40586 extern "C"
40587 #endif
40588 char localtime_r ();
40589 /* The GNU C library defines this for functions which it implements
40590 to always fail with ENOSYS. Some functions are actually named
40591 something starting with __ and the normal name is an alias. */
40592 #if defined __stub_localtime_r || defined __stub___localtime_r
40593 choke me
40594 #endif
40595
40596 int
40597 main ()
40598 {
40599 return localtime_r ();
40600 ;
40601 return 0;
40602 }
40603 _ACEOF
40604 rm -f conftest.$ac_objext conftest$ac_exeext
40605 if { (ac_try="$ac_link"
40606 case "(($ac_try" in
40607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40608 *) ac_try_echo=$ac_try;;
40609 esac
40610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40611 (eval "$ac_link") 2>conftest.er1
40612 ac_status=$?
40613 grep -v '^ *+' conftest.er1 >conftest.err
40614 rm -f conftest.er1
40615 cat conftest.err >&5
40616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617 (exit $ac_status); } && {
40618 test -z "$ac_c_werror_flag" ||
40619 test ! -s conftest.err
40620 } && test -s conftest$ac_exeext &&
40621 $as_test_x conftest$ac_exeext; then
40622 ac_cv_func_localtime_r=yes
40623 else
40624 echo "$as_me: failed program was:" >&5
40625 sed 's/^/| /' conftest.$ac_ext >&5
40626
40627 ac_cv_func_localtime_r=no
40628 fi
40629
40630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40631 conftest$ac_exeext conftest.$ac_ext
40632 fi
40633 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40634 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40635 if test $ac_cv_func_localtime_r = yes; then
40636 cat >>confdefs.h <<\_ACEOF
40637 #define HAVE_LOCALTIME_R 1
40638 _ACEOF
40639
40640 fi
40641
40642 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40643 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40644 if test "${ac_cv_func_gmtime_r+set}" = set; then
40645 echo $ECHO_N "(cached) $ECHO_C" >&6
40646 else
40647 cat >conftest.$ac_ext <<_ACEOF
40648 /* confdefs.h. */
40649 _ACEOF
40650 cat confdefs.h >>conftest.$ac_ext
40651 cat >>conftest.$ac_ext <<_ACEOF
40652 /* end confdefs.h. */
40653 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40655 #define gmtime_r innocuous_gmtime_r
40656
40657 /* System header to define __stub macros and hopefully few prototypes,
40658 which can conflict with char gmtime_r (); below.
40659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40660 <limits.h> exists even on freestanding compilers. */
40661
40662 #ifdef __STDC__
40663 # include <limits.h>
40664 #else
40665 # include <assert.h>
40666 #endif
40667
40668 #undef gmtime_r
40669
40670 /* Override any GCC internal prototype to avoid an error.
40671 Use char because int might match the return type of a GCC
40672 builtin and then its argument prototype would still apply. */
40673 #ifdef __cplusplus
40674 extern "C"
40675 #endif
40676 char gmtime_r ();
40677 /* The GNU C library defines this for functions which it implements
40678 to always fail with ENOSYS. Some functions are actually named
40679 something starting with __ and the normal name is an alias. */
40680 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40681 choke me
40682 #endif
40683
40684 int
40685 main ()
40686 {
40687 return gmtime_r ();
40688 ;
40689 return 0;
40690 }
40691 _ACEOF
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (ac_try="$ac_link"
40694 case "(($ac_try" in
40695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40696 *) ac_try_echo=$ac_try;;
40697 esac
40698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40699 (eval "$ac_link") 2>conftest.er1
40700 ac_status=$?
40701 grep -v '^ *+' conftest.er1 >conftest.err
40702 rm -f conftest.er1
40703 cat conftest.err >&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); } && {
40706 test -z "$ac_c_werror_flag" ||
40707 test ! -s conftest.err
40708 } && test -s conftest$ac_exeext &&
40709 $as_test_x conftest$ac_exeext; then
40710 ac_cv_func_gmtime_r=yes
40711 else
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.$ac_ext >&5
40714
40715 ac_cv_func_gmtime_r=no
40716 fi
40717
40718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40719 conftest$ac_exeext conftest.$ac_ext
40720 fi
40721 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40722 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40723 if test $ac_cv_func_gmtime_r = yes; then
40724 cat >>confdefs.h <<\_ACEOF
40725 #define HAVE_GMTIME_R 1
40726 _ACEOF
40727
40728 fi
40729
40730
40731
40732
40733 ac_ext=c
40734 ac_cpp='$CPP $CPPFLAGS'
40735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40738
40739 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40740 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40741
40742 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40743 echo $ECHO_N "(cached) $ECHO_C" >&6
40744 else
40745
40746
40747 ################################################################
40748
40749 ac_cv_func_which_gethostbyname_r=unknown
40750
40751 #
40752 # ONE ARGUMENT (sanity check)
40753 #
40754
40755 # This should fail, as there is no variant of gethostbyname_r() that takes
40756 # a single argument. If it actually compiles, then we can assume that
40757 # netdb.h is not declaring the function, and the compiler is thereby
40758 # assuming an implicit prototype. In which case, we're out of luck.
40759 #
40760 cat >conftest.$ac_ext <<_ACEOF
40761 /* confdefs.h. */
40762 _ACEOF
40763 cat confdefs.h >>conftest.$ac_ext
40764 cat >>conftest.$ac_ext <<_ACEOF
40765 /* end confdefs.h. */
40766 #include <netdb.h>
40767 int
40768 main ()
40769 {
40770
40771 char *name = "www.gnu.org";
40772 (void)gethostbyname_r(name) /* ; */
40773
40774 ;
40775 return 0;
40776 }
40777 _ACEOF
40778 rm -f conftest.$ac_objext
40779 if { (ac_try="$ac_compile"
40780 case "(($ac_try" in
40781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40782 *) ac_try_echo=$ac_try;;
40783 esac
40784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40785 (eval "$ac_compile") 2>conftest.er1
40786 ac_status=$?
40787 grep -v '^ *+' conftest.er1 >conftest.err
40788 rm -f conftest.er1
40789 cat conftest.err >&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } && {
40792 test -z "$ac_c_werror_flag" ||
40793 test ! -s conftest.err
40794 } && test -s conftest.$ac_objext; then
40795 ac_cv_func_which_gethostbyname_r=no
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40799
40800
40801 fi
40802
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40804
40805 #
40806 # SIX ARGUMENTS
40807 # (e.g. Linux)
40808 #
40809
40810 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40811
40812 cat >conftest.$ac_ext <<_ACEOF
40813 /* confdefs.h. */
40814 _ACEOF
40815 cat confdefs.h >>conftest.$ac_ext
40816 cat >>conftest.$ac_ext <<_ACEOF
40817 /* end confdefs.h. */
40818 #include <netdb.h>
40819 int
40820 main ()
40821 {
40822
40823 char *name = "www.gnu.org";
40824 struct hostent ret, *retp;
40825 char buf[1024];
40826 int buflen = 1024;
40827 int my_h_errno;
40828 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40829
40830 ;
40831 return 0;
40832 }
40833 _ACEOF
40834 rm -f conftest.$ac_objext
40835 if { (ac_try="$ac_compile"
40836 case "(($ac_try" in
40837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40838 *) ac_try_echo=$ac_try;;
40839 esac
40840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40841 (eval "$ac_compile") 2>conftest.er1
40842 ac_status=$?
40843 grep -v '^ *+' conftest.er1 >conftest.err
40844 rm -f conftest.er1
40845 cat conftest.err >&5
40846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847 (exit $ac_status); } && {
40848 test -z "$ac_c_werror_flag" ||
40849 test ! -s conftest.err
40850 } && test -s conftest.$ac_objext; then
40851 ac_cv_func_which_gethostbyname_r=six
40852 else
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40855
40856
40857 fi
40858
40859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40860
40861 fi
40862
40863 #
40864 # FIVE ARGUMENTS
40865 # (e.g. Solaris)
40866 #
40867
40868 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40869
40870 cat >conftest.$ac_ext <<_ACEOF
40871 /* confdefs.h. */
40872 _ACEOF
40873 cat confdefs.h >>conftest.$ac_ext
40874 cat >>conftest.$ac_ext <<_ACEOF
40875 /* end confdefs.h. */
40876 #include <netdb.h>
40877 int
40878 main ()
40879 {
40880
40881 char *name = "www.gnu.org";
40882 struct hostent ret;
40883 char buf[1024];
40884 int buflen = 1024;
40885 int my_h_errno;
40886 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40887
40888 ;
40889 return 0;
40890 }
40891 _ACEOF
40892 rm -f conftest.$ac_objext
40893 if { (ac_try="$ac_compile"
40894 case "(($ac_try" in
40895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40896 *) ac_try_echo=$ac_try;;
40897 esac
40898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40899 (eval "$ac_compile") 2>conftest.er1
40900 ac_status=$?
40901 grep -v '^ *+' conftest.er1 >conftest.err
40902 rm -f conftest.er1
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } && {
40906 test -z "$ac_c_werror_flag" ||
40907 test ! -s conftest.err
40908 } && test -s conftest.$ac_objext; then
40909 ac_cv_func_which_gethostbyname_r=five
40910 else
40911 echo "$as_me: failed program was:" >&5
40912 sed 's/^/| /' conftest.$ac_ext >&5
40913
40914
40915 fi
40916
40917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40918
40919 fi
40920
40921 #
40922 # THREE ARGUMENTS
40923 # (e.g. AIX, HP-UX, Tru64)
40924 #
40925
40926 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40927
40928 cat >conftest.$ac_ext <<_ACEOF
40929 /* confdefs.h. */
40930 _ACEOF
40931 cat confdefs.h >>conftest.$ac_ext
40932 cat >>conftest.$ac_ext <<_ACEOF
40933 /* end confdefs.h. */
40934 #include <netdb.h>
40935 int
40936 main ()
40937 {
40938
40939 char *name = "www.gnu.org";
40940 struct hostent ret;
40941 struct hostent_data data;
40942 (void)gethostbyname_r(name, &ret, &data) /* ; */
40943
40944 ;
40945 return 0;
40946 }
40947 _ACEOF
40948 rm -f conftest.$ac_objext
40949 if { (ac_try="$ac_compile"
40950 case "(($ac_try" in
40951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40952 *) ac_try_echo=$ac_try;;
40953 esac
40954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40955 (eval "$ac_compile") 2>conftest.er1
40956 ac_status=$?
40957 grep -v '^ *+' conftest.er1 >conftest.err
40958 rm -f conftest.er1
40959 cat conftest.err >&5
40960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40961 (exit $ac_status); } && {
40962 test -z "$ac_c_werror_flag" ||
40963 test ! -s conftest.err
40964 } && test -s conftest.$ac_objext; then
40965 ac_cv_func_which_gethostbyname_r=three
40966 else
40967 echo "$as_me: failed program was:" >&5
40968 sed 's/^/| /' conftest.$ac_ext >&5
40969
40970
40971 fi
40972
40973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40974
40975 fi
40976
40977 ################################################################
40978
40979
40980 fi
40981
40982 case "$ac_cv_func_which_gethostbyname_r" in
40983 three)
40984 { echo "$as_me:$LINENO: result: three" >&5
40985 echo "${ECHO_T}three" >&6; }
40986 cat >>confdefs.h <<\_ACEOF
40987 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40988 _ACEOF
40989
40990 ;;
40991
40992 five)
40993 { echo "$as_me:$LINENO: result: five" >&5
40994 echo "${ECHO_T}five" >&6; }
40995 cat >>confdefs.h <<\_ACEOF
40996 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40997 _ACEOF
40998
40999 ;;
41000
41001 six)
41002 { echo "$as_me:$LINENO: result: six" >&5
41003 echo "${ECHO_T}six" >&6; }
41004 cat >>confdefs.h <<\_ACEOF
41005 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41006 _ACEOF
41007
41008 ;;
41009
41010 no)
41011 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41012 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41013 ;;
41014
41015 unknown)
41016 { echo "$as_me:$LINENO: result: can't tell" >&5
41017 echo "${ECHO_T}can't tell" >&6; }
41018 ;;
41019
41020 *)
41021 { { echo "$as_me:$LINENO: error: internal error" >&5
41022 echo "$as_me: error: internal error" >&2;}
41023 { (exit 1); exit 1; }; }
41024 ;;
41025 esac
41026
41027 ac_ext=c
41028 ac_cpp='$CPP $CPPFLAGS'
41029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41032
41033
41034
41035 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41036 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41037 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41038 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41039 if test "${ac_cv_func_gethostbyname+set}" = set; then
41040 echo $ECHO_N "(cached) $ECHO_C" >&6
41041 else
41042 cat >conftest.$ac_ext <<_ACEOF
41043 /* confdefs.h. */
41044 _ACEOF
41045 cat confdefs.h >>conftest.$ac_ext
41046 cat >>conftest.$ac_ext <<_ACEOF
41047 /* end confdefs.h. */
41048 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41050 #define gethostbyname innocuous_gethostbyname
41051
41052 /* System header to define __stub macros and hopefully few prototypes,
41053 which can conflict with char gethostbyname (); below.
41054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41055 <limits.h> exists even on freestanding compilers. */
41056
41057 #ifdef __STDC__
41058 # include <limits.h>
41059 #else
41060 # include <assert.h>
41061 #endif
41062
41063 #undef gethostbyname
41064
41065 /* Override any GCC internal prototype to avoid an error.
41066 Use char because int might match the return type of a GCC
41067 builtin and then its argument prototype would still apply. */
41068 #ifdef __cplusplus
41069 extern "C"
41070 #endif
41071 char gethostbyname ();
41072 /* The GNU C library defines this for functions which it implements
41073 to always fail with ENOSYS. Some functions are actually named
41074 something starting with __ and the normal name is an alias. */
41075 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41076 choke me
41077 #endif
41078
41079 int
41080 main ()
41081 {
41082 return gethostbyname ();
41083 ;
41084 return 0;
41085 }
41086 _ACEOF
41087 rm -f conftest.$ac_objext conftest$ac_exeext
41088 if { (ac_try="$ac_link"
41089 case "(($ac_try" in
41090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41091 *) ac_try_echo=$ac_try;;
41092 esac
41093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41094 (eval "$ac_link") 2>conftest.er1
41095 ac_status=$?
41096 grep -v '^ *+' conftest.er1 >conftest.err
41097 rm -f conftest.er1
41098 cat conftest.err >&5
41099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41100 (exit $ac_status); } && {
41101 test -z "$ac_c_werror_flag" ||
41102 test ! -s conftest.err
41103 } && test -s conftest$ac_exeext &&
41104 $as_test_x conftest$ac_exeext; then
41105 ac_cv_func_gethostbyname=yes
41106 else
41107 echo "$as_me: failed program was:" >&5
41108 sed 's/^/| /' conftest.$ac_ext >&5
41109
41110 ac_cv_func_gethostbyname=no
41111 fi
41112
41113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41114 conftest$ac_exeext conftest.$ac_ext
41115 fi
41116 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41117 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41118 if test $ac_cv_func_gethostbyname = yes; then
41119 cat >>confdefs.h <<\_ACEOF
41120 #define HAVE_GETHOSTBYNAME 1
41121 _ACEOF
41122
41123 fi
41124
41125 fi
41126
41127 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41128 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41129 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41130 echo $ECHO_N "(cached) $ECHO_C" >&6
41131 else
41132
41133 ac_ext=cpp
41134 ac_cpp='$CXXCPP $CPPFLAGS'
41135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41138
41139
41140 cat >conftest.$ac_ext <<_ACEOF
41141 /* confdefs.h. */
41142 _ACEOF
41143 cat confdefs.h >>conftest.$ac_ext
41144 cat >>conftest.$ac_ext <<_ACEOF
41145 /* end confdefs.h. */
41146 #include <netdb.h>
41147 int
41148 main ()
41149 {
41150
41151 char *name;
41152 char *proto;
41153 struct servent *se, *res;
41154 char buffer[2048];
41155 int buflen = 2048;
41156 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41157
41158 ;
41159 return 0;
41160 }
41161 _ACEOF
41162 rm -f conftest.$ac_objext
41163 if { (ac_try="$ac_compile"
41164 case "(($ac_try" in
41165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41166 *) ac_try_echo=$ac_try;;
41167 esac
41168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41169 (eval "$ac_compile") 2>conftest.er1
41170 ac_status=$?
41171 grep -v '^ *+' conftest.er1 >conftest.err
41172 rm -f conftest.er1
41173 cat conftest.err >&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); } && {
41176 test -z "$ac_cxx_werror_flag" ||
41177 test ! -s conftest.err
41178 } && test -s conftest.$ac_objext; then
41179 ac_cv_func_which_getservbyname_r=six
41180 else
41181 echo "$as_me: failed program was:" >&5
41182 sed 's/^/| /' conftest.$ac_ext >&5
41183
41184
41185 cat >conftest.$ac_ext <<_ACEOF
41186 /* confdefs.h. */
41187 _ACEOF
41188 cat confdefs.h >>conftest.$ac_ext
41189 cat >>conftest.$ac_ext <<_ACEOF
41190 /* end confdefs.h. */
41191 #include <netdb.h>
41192 int
41193 main ()
41194 {
41195
41196 char *name;
41197 char *proto;
41198 struct servent *se;
41199 char buffer[2048];
41200 int buflen = 2048;
41201 (void) getservbyname_r(name, proto, se, buffer, buflen)
41202
41203 ;
41204 return 0;
41205 }
41206 _ACEOF
41207 rm -f conftest.$ac_objext
41208 if { (ac_try="$ac_compile"
41209 case "(($ac_try" in
41210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41211 *) ac_try_echo=$ac_try;;
41212 esac
41213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41214 (eval "$ac_compile") 2>conftest.er1
41215 ac_status=$?
41216 grep -v '^ *+' conftest.er1 >conftest.err
41217 rm -f conftest.er1
41218 cat conftest.err >&5
41219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41220 (exit $ac_status); } && {
41221 test -z "$ac_cxx_werror_flag" ||
41222 test ! -s conftest.err
41223 } && test -s conftest.$ac_objext; then
41224 ac_cv_func_which_getservbyname_r=five
41225 else
41226 echo "$as_me: failed program was:" >&5
41227 sed 's/^/| /' conftest.$ac_ext >&5
41228
41229
41230 cat >conftest.$ac_ext <<_ACEOF
41231 /* confdefs.h. */
41232 _ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41236 #include <netdb.h>
41237 int
41238 main ()
41239 {
41240
41241 char *name;
41242 char *proto;
41243 struct servent *se;
41244 struct servent_data data;
41245 (void) getservbyname_r(name, proto, se, &data);
41246
41247 ;
41248 return 0;
41249 }
41250 _ACEOF
41251 rm -f conftest.$ac_objext
41252 if { (ac_try="$ac_compile"
41253 case "(($ac_try" in
41254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41255 *) ac_try_echo=$ac_try;;
41256 esac
41257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41258 (eval "$ac_compile") 2>conftest.er1
41259 ac_status=$?
41260 grep -v '^ *+' conftest.er1 >conftest.err
41261 rm -f conftest.er1
41262 cat conftest.err >&5
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); } && {
41265 test -z "$ac_cxx_werror_flag" ||
41266 test ! -s conftest.err
41267 } && test -s conftest.$ac_objext; then
41268 ac_cv_func_which_getservbyname_r=four
41269 else
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.$ac_ext >&5
41272
41273 ac_cv_func_which_getservbyname_r=no
41274
41275 fi
41276
41277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41278
41279
41280 fi
41281
41282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41283
41284
41285 fi
41286
41287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41288 ac_ext=c
41289 ac_cpp='$CPP $CPPFLAGS'
41290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41293
41294
41295
41296 fi
41297 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41298 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41299
41300 if test $ac_cv_func_which_getservbyname_r = six; then
41301 cat >>confdefs.h <<\_ACEOF
41302 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41303 _ACEOF
41304
41305 elif test $ac_cv_func_which_getservbyname_r = five; then
41306 cat >>confdefs.h <<\_ACEOF
41307 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41308 _ACEOF
41309
41310 elif test $ac_cv_func_which_getservbyname_r = four; then
41311 cat >>confdefs.h <<\_ACEOF
41312 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41313 _ACEOF
41314
41315 fi
41316
41317
41318 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41319 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41320
41321 for ac_func in getservbyname
41322 do
41323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41327 echo $ECHO_N "(cached) $ECHO_C" >&6
41328 else
41329 cat >conftest.$ac_ext <<_ACEOF
41330 /* confdefs.h. */
41331 _ACEOF
41332 cat confdefs.h >>conftest.$ac_ext
41333 cat >>conftest.$ac_ext <<_ACEOF
41334 /* end confdefs.h. */
41335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41337 #define $ac_func innocuous_$ac_func
41338
41339 /* System header to define __stub macros and hopefully few prototypes,
41340 which can conflict with char $ac_func (); below.
41341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41342 <limits.h> exists even on freestanding compilers. */
41343
41344 #ifdef __STDC__
41345 # include <limits.h>
41346 #else
41347 # include <assert.h>
41348 #endif
41349
41350 #undef $ac_func
41351
41352 /* Override any GCC internal prototype to avoid an error.
41353 Use char because int might match the return type of a GCC
41354 builtin and then its argument prototype would still apply. */
41355 #ifdef __cplusplus
41356 extern "C"
41357 #endif
41358 char $ac_func ();
41359 /* The GNU C library defines this for functions which it implements
41360 to always fail with ENOSYS. Some functions are actually named
41361 something starting with __ and the normal name is an alias. */
41362 #if defined __stub_$ac_func || defined __stub___$ac_func
41363 choke me
41364 #endif
41365
41366 int
41367 main ()
41368 {
41369 return $ac_func ();
41370 ;
41371 return 0;
41372 }
41373 _ACEOF
41374 rm -f conftest.$ac_objext conftest$ac_exeext
41375 if { (ac_try="$ac_link"
41376 case "(($ac_try" in
41377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41378 *) ac_try_echo=$ac_try;;
41379 esac
41380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41381 (eval "$ac_link") 2>conftest.er1
41382 ac_status=$?
41383 grep -v '^ *+' conftest.er1 >conftest.err
41384 rm -f conftest.er1
41385 cat conftest.err >&5
41386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41387 (exit $ac_status); } && {
41388 test -z "$ac_c_werror_flag" ||
41389 test ! -s conftest.err
41390 } && test -s conftest$ac_exeext &&
41391 $as_test_x conftest$ac_exeext; then
41392 eval "$as_ac_var=yes"
41393 else
41394 echo "$as_me: failed program was:" >&5
41395 sed 's/^/| /' conftest.$ac_ext >&5
41396
41397 eval "$as_ac_var=no"
41398 fi
41399
41400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41401 conftest$ac_exeext conftest.$ac_ext
41402 fi
41403 ac_res=`eval echo '${'$as_ac_var'}'`
41404 { echo "$as_me:$LINENO: result: $ac_res" >&5
41405 echo "${ECHO_T}$ac_res" >&6; }
41406 if test `eval echo '${'$as_ac_var'}'` = yes; then
41407 cat >>confdefs.h <<_ACEOF
41408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41409 _ACEOF
41410 cat >>confdefs.h <<\_ACEOF
41411 #define HAVE_GETSERVBYNAME 1
41412 _ACEOF
41413
41414 fi
41415 done
41416
41417 fi
41418
41419 if test "$wxUSE_THREADS" = "yes"; then
41420 cat >>confdefs.h <<\_ACEOF
41421 #define wxUSE_THREADS 1
41422 _ACEOF
41423
41424
41425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41426 else
41427 if test "$wx_cv_func_strtok_r" = "yes"; then
41428 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41429 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41430 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41431 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41432 { echo "$as_me:$LINENO: result: yes" >&5
41433 echo "${ECHO_T}yes" >&6; }
41434 else
41435 { echo "$as_me:$LINENO: result: no" >&5
41436 echo "${ECHO_T}no" >&6; }
41437 fi
41438 fi
41439 fi
41440
41441 if test "$WXGTK2" = 1 ; then
41442 cat >>confdefs.h <<_ACEOF
41443 #define __WXGTK20__ $WXGTK2
41444 _ACEOF
41445
41446 WXGTK12=1
41447 fi
41448
41449 if test "$WXGTK12" = 1 ; then
41450 cat >>confdefs.h <<_ACEOF
41451 #define __WXGTK12__ $WXGTK12
41452 _ACEOF
41453
41454 fi
41455
41456 if test "$WXGTK127" = 1 ; then
41457 cat >>confdefs.h <<_ACEOF
41458 #define __WXGTK127__ $WXGTK127
41459 _ACEOF
41460
41461 fi
41462
41463 if test "$WXGPE" = 1 ; then
41464 cat >>confdefs.h <<_ACEOF
41465 #define __WXGPE__ $WXGPE
41466 _ACEOF
41467
41468 fi
41469
41470 DEBUG_CFLAGS=
41471 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41472 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41473 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41474 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41475 DEBUG_CFLAGS="-g"
41476 fi
41477
41478 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41479 wxUSE_DEBUG_INFO=yes
41480 if test "$GCC" = yes; then
41481 DEBUG_CFLAGS="-ggdb"
41482 fi
41483 fi
41484
41485 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41486 cat >>confdefs.h <<\_ACEOF
41487 #define WXDEBUG 1
41488 _ACEOF
41489
41490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41491 else
41492 if test "$wxUSE_GTK" = 1 ; then
41493 if test "x$wxGTK_VERSION" = "x1" ; then
41494 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41495 fi
41496 fi
41497 fi
41498
41499 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41500 cat >>confdefs.h <<\_ACEOF
41501 #define wxUSE_MEMORY_TRACING 1
41502 _ACEOF
41503
41504 cat >>confdefs.h <<\_ACEOF
41505 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41506 _ACEOF
41507
41508 cat >>confdefs.h <<\_ACEOF
41509 #define wxUSE_DEBUG_NEW_ALWAYS 1
41510 _ACEOF
41511
41512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41513 fi
41514
41515 if test "$wxUSE_DMALLOC" = "yes" ; then
41516 DMALLOC_LIBS="-ldmallocthcxx"
41517 fi
41518
41519 PROFILE_FLAGS=
41520 if test "$wxUSE_PROFILE" = "yes" ; then
41521 PROFILE_FLAGS=" -pg"
41522 fi
41523
41524 if test "$GCC" = "yes" ; then
41525 if test "$wxUSE_NO_RTTI" = "yes" ; then
41526 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41527 fi
41528 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41529 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41530 fi
41531 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41532 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41533 fi
41534
41535 case "${host}" in
41536 powerpc*-*-aix* )
41537 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41538 ;;
41539 *-hppa* )
41540 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41541 ;;
41542 esac
41543 fi
41544
41545 OPTIMISE_CFLAGS=
41546 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41547 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41548 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41549 else
41550 if test "$wxUSE_OPTIMISE" = "no" ; then
41551 if test "$GCC" = yes ; then
41552 OPTIMISE_CFLAGS="-O0"
41553 fi
41554 else
41555 if test "$GCC" = yes ; then
41556 case "${host}" in
41557 *-pc-os2_emx | *-pc-os2-emx )
41558 OPTIMISE_CFLAGS="-O2"
41559 ;;
41560 *)
41561 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41562 ;;
41563 esac
41564 else
41565 OPTIMISE_CFLAGS="-O"
41566 fi
41567 fi
41568 fi
41569
41570
41571 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41572 cat >>confdefs.h <<\_ACEOF
41573 #define WXWIN_COMPATIBILITY_2_6 1
41574 _ACEOF
41575
41576
41577 WXWIN_COMPATIBILITY_2_8="yes"
41578 fi
41579
41580 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41581 cat >>confdefs.h <<\_ACEOF
41582 #define WXWIN_COMPATIBILITY_2_8 1
41583 _ACEOF
41584
41585 fi
41586
41587
41588 if test "$wxUSE_GUI" = "yes"; then
41589 cat >>confdefs.h <<\_ACEOF
41590 #define wxUSE_GUI 1
41591 _ACEOF
41592
41593
41594 fi
41595
41596
41597 if test "$wxUSE_UNIX" = "yes"; then
41598 cat >>confdefs.h <<\_ACEOF
41599 #define wxUSE_UNIX 1
41600 _ACEOF
41601
41602 fi
41603
41604
41605 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41606
41607 HAVE_DL_FUNCS=0
41608 HAVE_SHL_FUNCS=0
41609 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41610 if test "$USE_DOS" = 1; then
41611 HAVE_DL_FUNCS=0
41612 else
41613
41614 for ac_func in dlopen
41615 do
41616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41619 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41620 echo $ECHO_N "(cached) $ECHO_C" >&6
41621 else
41622 cat >conftest.$ac_ext <<_ACEOF
41623 /* confdefs.h. */
41624 _ACEOF
41625 cat confdefs.h >>conftest.$ac_ext
41626 cat >>conftest.$ac_ext <<_ACEOF
41627 /* end confdefs.h. */
41628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41630 #define $ac_func innocuous_$ac_func
41631
41632 /* System header to define __stub macros and hopefully few prototypes,
41633 which can conflict with char $ac_func (); below.
41634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41635 <limits.h> exists even on freestanding compilers. */
41636
41637 #ifdef __STDC__
41638 # include <limits.h>
41639 #else
41640 # include <assert.h>
41641 #endif
41642
41643 #undef $ac_func
41644
41645 /* Override any GCC internal prototype to avoid an error.
41646 Use char because int might match the return type of a GCC
41647 builtin and then its argument prototype would still apply. */
41648 #ifdef __cplusplus
41649 extern "C"
41650 #endif
41651 char $ac_func ();
41652 /* The GNU C library defines this for functions which it implements
41653 to always fail with ENOSYS. Some functions are actually named
41654 something starting with __ and the normal name is an alias. */
41655 #if defined __stub_$ac_func || defined __stub___$ac_func
41656 choke me
41657 #endif
41658
41659 int
41660 main ()
41661 {
41662 return $ac_func ();
41663 ;
41664 return 0;
41665 }
41666 _ACEOF
41667 rm -f conftest.$ac_objext conftest$ac_exeext
41668 if { (ac_try="$ac_link"
41669 case "(($ac_try" in
41670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41671 *) ac_try_echo=$ac_try;;
41672 esac
41673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41674 (eval "$ac_link") 2>conftest.er1
41675 ac_status=$?
41676 grep -v '^ *+' conftest.er1 >conftest.err
41677 rm -f conftest.er1
41678 cat conftest.err >&5
41679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41680 (exit $ac_status); } && {
41681 test -z "$ac_c_werror_flag" ||
41682 test ! -s conftest.err
41683 } && test -s conftest$ac_exeext &&
41684 $as_test_x conftest$ac_exeext; then
41685 eval "$as_ac_var=yes"
41686 else
41687 echo "$as_me: failed program was:" >&5
41688 sed 's/^/| /' conftest.$ac_ext >&5
41689
41690 eval "$as_ac_var=no"
41691 fi
41692
41693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41694 conftest$ac_exeext conftest.$ac_ext
41695 fi
41696 ac_res=`eval echo '${'$as_ac_var'}'`
41697 { echo "$as_me:$LINENO: result: $ac_res" >&5
41698 echo "${ECHO_T}$ac_res" >&6; }
41699 if test `eval echo '${'$as_ac_var'}'` = yes; then
41700 cat >>confdefs.h <<_ACEOF
41701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41702 _ACEOF
41703
41704 cat >>confdefs.h <<\_ACEOF
41705 #define HAVE_DLOPEN 1
41706 _ACEOF
41707
41708 HAVE_DL_FUNCS=1
41709
41710 else
41711
41712 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41713 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41714 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41715 echo $ECHO_N "(cached) $ECHO_C" >&6
41716 else
41717 ac_check_lib_save_LIBS=$LIBS
41718 LIBS="-ldl $LIBS"
41719 cat >conftest.$ac_ext <<_ACEOF
41720 /* confdefs.h. */
41721 _ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41725
41726 /* Override any GCC internal prototype to avoid an error.
41727 Use char because int might match the return type of a GCC
41728 builtin and then its argument prototype would still apply. */
41729 #ifdef __cplusplus
41730 extern "C"
41731 #endif
41732 char dlopen ();
41733 int
41734 main ()
41735 {
41736 return dlopen ();
41737 ;
41738 return 0;
41739 }
41740 _ACEOF
41741 rm -f conftest.$ac_objext conftest$ac_exeext
41742 if { (ac_try="$ac_link"
41743 case "(($ac_try" in
41744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41745 *) ac_try_echo=$ac_try;;
41746 esac
41747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41748 (eval "$ac_link") 2>conftest.er1
41749 ac_status=$?
41750 grep -v '^ *+' conftest.er1 >conftest.err
41751 rm -f conftest.er1
41752 cat conftest.err >&5
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); } && {
41755 test -z "$ac_c_werror_flag" ||
41756 test ! -s conftest.err
41757 } && test -s conftest$ac_exeext &&
41758 $as_test_x conftest$ac_exeext; then
41759 ac_cv_lib_dl_dlopen=yes
41760 else
41761 echo "$as_me: failed program was:" >&5
41762 sed 's/^/| /' conftest.$ac_ext >&5
41763
41764 ac_cv_lib_dl_dlopen=no
41765 fi
41766
41767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41768 conftest$ac_exeext conftest.$ac_ext
41769 LIBS=$ac_check_lib_save_LIBS
41770 fi
41771 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41772 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41773 if test $ac_cv_lib_dl_dlopen = yes; then
41774
41775 cat >>confdefs.h <<\_ACEOF
41776 #define HAVE_DLOPEN 1
41777 _ACEOF
41778
41779 HAVE_DL_FUNCS=1
41780 DL_LINK=" -ldl$DL_LINK"
41781
41782 else
41783
41784
41785 for ac_func in shl_load
41786 do
41787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41791 echo $ECHO_N "(cached) $ECHO_C" >&6
41792 else
41793 cat >conftest.$ac_ext <<_ACEOF
41794 /* confdefs.h. */
41795 _ACEOF
41796 cat confdefs.h >>conftest.$ac_ext
41797 cat >>conftest.$ac_ext <<_ACEOF
41798 /* end confdefs.h. */
41799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41801 #define $ac_func innocuous_$ac_func
41802
41803 /* System header to define __stub macros and hopefully few prototypes,
41804 which can conflict with char $ac_func (); below.
41805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41806 <limits.h> exists even on freestanding compilers. */
41807
41808 #ifdef __STDC__
41809 # include <limits.h>
41810 #else
41811 # include <assert.h>
41812 #endif
41813
41814 #undef $ac_func
41815
41816 /* Override any GCC internal prototype to avoid an error.
41817 Use char because int might match the return type of a GCC
41818 builtin and then its argument prototype would still apply. */
41819 #ifdef __cplusplus
41820 extern "C"
41821 #endif
41822 char $ac_func ();
41823 /* The GNU C library defines this for functions which it implements
41824 to always fail with ENOSYS. Some functions are actually named
41825 something starting with __ and the normal name is an alias. */
41826 #if defined __stub_$ac_func || defined __stub___$ac_func
41827 choke me
41828 #endif
41829
41830 int
41831 main ()
41832 {
41833 return $ac_func ();
41834 ;
41835 return 0;
41836 }
41837 _ACEOF
41838 rm -f conftest.$ac_objext conftest$ac_exeext
41839 if { (ac_try="$ac_link"
41840 case "(($ac_try" in
41841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41842 *) ac_try_echo=$ac_try;;
41843 esac
41844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41845 (eval "$ac_link") 2>conftest.er1
41846 ac_status=$?
41847 grep -v '^ *+' conftest.er1 >conftest.err
41848 rm -f conftest.er1
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } && {
41852 test -z "$ac_c_werror_flag" ||
41853 test ! -s conftest.err
41854 } && test -s conftest$ac_exeext &&
41855 $as_test_x conftest$ac_exeext; then
41856 eval "$as_ac_var=yes"
41857 else
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.$ac_ext >&5
41860
41861 eval "$as_ac_var=no"
41862 fi
41863
41864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41865 conftest$ac_exeext conftest.$ac_ext
41866 fi
41867 ac_res=`eval echo '${'$as_ac_var'}'`
41868 { echo "$as_me:$LINENO: result: $ac_res" >&5
41869 echo "${ECHO_T}$ac_res" >&6; }
41870 if test `eval echo '${'$as_ac_var'}'` = yes; then
41871 cat >>confdefs.h <<_ACEOF
41872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41873 _ACEOF
41874
41875 cat >>confdefs.h <<\_ACEOF
41876 #define HAVE_SHL_LOAD 1
41877 _ACEOF
41878
41879 HAVE_SHL_FUNCS=1
41880
41881 else
41882
41883 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41884 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41885 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41886 echo $ECHO_N "(cached) $ECHO_C" >&6
41887 else
41888 ac_check_lib_save_LIBS=$LIBS
41889 LIBS="-lshl_load $LIBS"
41890 cat >conftest.$ac_ext <<_ACEOF
41891 /* confdefs.h. */
41892 _ACEOF
41893 cat confdefs.h >>conftest.$ac_ext
41894 cat >>conftest.$ac_ext <<_ACEOF
41895 /* end confdefs.h. */
41896
41897 /* Override any GCC internal prototype to avoid an error.
41898 Use char because int might match the return type of a GCC
41899 builtin and then its argument prototype would still apply. */
41900 #ifdef __cplusplus
41901 extern "C"
41902 #endif
41903 char dld ();
41904 int
41905 main ()
41906 {
41907 return dld ();
41908 ;
41909 return 0;
41910 }
41911 _ACEOF
41912 rm -f conftest.$ac_objext conftest$ac_exeext
41913 if { (ac_try="$ac_link"
41914 case "(($ac_try" in
41915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41916 *) ac_try_echo=$ac_try;;
41917 esac
41918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41919 (eval "$ac_link") 2>conftest.er1
41920 ac_status=$?
41921 grep -v '^ *+' conftest.er1 >conftest.err
41922 rm -f conftest.er1
41923 cat conftest.err >&5
41924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41925 (exit $ac_status); } && {
41926 test -z "$ac_c_werror_flag" ||
41927 test ! -s conftest.err
41928 } && test -s conftest$ac_exeext &&
41929 $as_test_x conftest$ac_exeext; then
41930 ac_cv_lib_shl_load_dld=yes
41931 else
41932 echo "$as_me: failed program was:" >&5
41933 sed 's/^/| /' conftest.$ac_ext >&5
41934
41935 ac_cv_lib_shl_load_dld=no
41936 fi
41937
41938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41939 conftest$ac_exeext conftest.$ac_ext
41940 LIBS=$ac_check_lib_save_LIBS
41941 fi
41942 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41943 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41944 if test $ac_cv_lib_shl_load_dld = yes; then
41945
41946 HAVE_SHL_FUNCS=1
41947 DL_LINK=" -ldld$DL_LINK"
41948
41949 fi
41950
41951
41952 fi
41953 done
41954
41955
41956 fi
41957
41958
41959 fi
41960 done
41961
41962
41963 if test "$HAVE_DL_FUNCS" = 1; then
41964
41965 for ac_func in dlerror
41966 do
41967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41971 echo $ECHO_N "(cached) $ECHO_C" >&6
41972 else
41973 cat >conftest.$ac_ext <<_ACEOF
41974 /* confdefs.h. */
41975 _ACEOF
41976 cat confdefs.h >>conftest.$ac_ext
41977 cat >>conftest.$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41981 #define $ac_func innocuous_$ac_func
41982
41983 /* System header to define __stub macros and hopefully few prototypes,
41984 which can conflict with char $ac_func (); below.
41985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41986 <limits.h> exists even on freestanding compilers. */
41987
41988 #ifdef __STDC__
41989 # include <limits.h>
41990 #else
41991 # include <assert.h>
41992 #endif
41993
41994 #undef $ac_func
41995
41996 /* Override any GCC internal prototype to avoid an error.
41997 Use char because int might match the return type of a GCC
41998 builtin and then its argument prototype would still apply. */
41999 #ifdef __cplusplus
42000 extern "C"
42001 #endif
42002 char $ac_func ();
42003 /* The GNU C library defines this for functions which it implements
42004 to always fail with ENOSYS. Some functions are actually named
42005 something starting with __ and the normal name is an alias. */
42006 #if defined __stub_$ac_func || defined __stub___$ac_func
42007 choke me
42008 #endif
42009
42010 int
42011 main ()
42012 {
42013 return $ac_func ();
42014 ;
42015 return 0;
42016 }
42017 _ACEOF
42018 rm -f conftest.$ac_objext conftest$ac_exeext
42019 if { (ac_try="$ac_link"
42020 case "(($ac_try" in
42021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42022 *) ac_try_echo=$ac_try;;
42023 esac
42024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42025 (eval "$ac_link") 2>conftest.er1
42026 ac_status=$?
42027 grep -v '^ *+' conftest.er1 >conftest.err
42028 rm -f conftest.er1
42029 cat conftest.err >&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); } && {
42032 test -z "$ac_c_werror_flag" ||
42033 test ! -s conftest.err
42034 } && test -s conftest$ac_exeext &&
42035 $as_test_x conftest$ac_exeext; then
42036 eval "$as_ac_var=yes"
42037 else
42038 echo "$as_me: failed program was:" >&5
42039 sed 's/^/| /' conftest.$ac_ext >&5
42040
42041 eval "$as_ac_var=no"
42042 fi
42043
42044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42045 conftest$ac_exeext conftest.$ac_ext
42046 fi
42047 ac_res=`eval echo '${'$as_ac_var'}'`
42048 { echo "$as_me:$LINENO: result: $ac_res" >&5
42049 echo "${ECHO_T}$ac_res" >&6; }
42050 if test `eval echo '${'$as_ac_var'}'` = yes; then
42051 cat >>confdefs.h <<_ACEOF
42052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42053 _ACEOF
42054 cat >>confdefs.h <<\_ACEOF
42055 #define HAVE_DLERROR 1
42056 _ACEOF
42057
42058 else
42059
42060 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42061 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42062 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42063 echo $ECHO_N "(cached) $ECHO_C" >&6
42064 else
42065 ac_check_lib_save_LIBS=$LIBS
42066 LIBS="-ldl $LIBS"
42067 cat >conftest.$ac_ext <<_ACEOF
42068 /* confdefs.h. */
42069 _ACEOF
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073
42074 /* Override any GCC internal prototype to avoid an error.
42075 Use char because int might match the return type of a GCC
42076 builtin and then its argument prototype would still apply. */
42077 #ifdef __cplusplus
42078 extern "C"
42079 #endif
42080 char dlerror ();
42081 int
42082 main ()
42083 {
42084 return dlerror ();
42085 ;
42086 return 0;
42087 }
42088 _ACEOF
42089 rm -f conftest.$ac_objext conftest$ac_exeext
42090 if { (ac_try="$ac_link"
42091 case "(($ac_try" in
42092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42093 *) ac_try_echo=$ac_try;;
42094 esac
42095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42096 (eval "$ac_link") 2>conftest.er1
42097 ac_status=$?
42098 grep -v '^ *+' conftest.er1 >conftest.err
42099 rm -f conftest.er1
42100 cat conftest.err >&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } && {
42103 test -z "$ac_c_werror_flag" ||
42104 test ! -s conftest.err
42105 } && test -s conftest$ac_exeext &&
42106 $as_test_x conftest$ac_exeext; then
42107 ac_cv_lib_dl_dlerror=yes
42108 else
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.$ac_ext >&5
42111
42112 ac_cv_lib_dl_dlerror=no
42113 fi
42114
42115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42116 conftest$ac_exeext conftest.$ac_ext
42117 LIBS=$ac_check_lib_save_LIBS
42118 fi
42119 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42120 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42121 if test $ac_cv_lib_dl_dlerror = yes; then
42122 cat >>confdefs.h <<\_ACEOF
42123 #define HAVE_DLERROR 1
42124 _ACEOF
42125
42126 fi
42127
42128
42129
42130 fi
42131 done
42132
42133 fi
42134 fi
42135
42136 if test "$USE_DARWIN" = 1; then
42137 HAVE_DL_FUNCS=1
42138 fi
42139
42140 if test "$HAVE_DL_FUNCS" = 0; then
42141 if test "$HAVE_SHL_FUNCS" = 0; then
42142 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42143 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42144 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42145 wxUSE_DYNAMIC_LOADER=no
42146 wxUSE_DYNLIB_CLASS=no
42147 else
42148 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42149 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42150 fi
42151 fi
42152 fi
42153 fi
42154 fi
42155
42156 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42157 cat >>confdefs.h <<\_ACEOF
42158 #define wxUSE_DYNAMIC_LOADER 1
42159 _ACEOF
42160
42161 fi
42162 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define wxUSE_DYNLIB_CLASS 1
42165 _ACEOF
42166
42167 fi
42168
42169
42170
42171 if test "$wxUSE_PLUGINS" = "yes" ; then
42172 if test "$wxUSE_SHARED" = "no" ; then
42173 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42174 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42175 wxUSE_PLUGINS=no
42176 fi
42177 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42178 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42179 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42180 wxUSE_PLUGINS=no
42181 fi
42182 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42183 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42184 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42185 wxUSE_PLUGINS=no
42186 fi
42187 if test "$wxUSE_PLUGINS" = "yes" ; then
42188 cat >>confdefs.h <<\_ACEOF
42189 #define wxUSE_PLUGINS 1
42190 _ACEOF
42191
42192 fi
42193 fi
42194
42195
42196 if test "$wxUSE_STL" = "yes"; then
42197 cat >>confdefs.h <<\_ACEOF
42198 #define wxUSE_STL 1
42199 _ACEOF
42200
42201 fi
42202
42203 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42204 cat >>confdefs.h <<\_ACEOF
42205 #define wxUSE_EXTENDED_RTTI 1
42206 _ACEOF
42207
42208 fi
42209
42210 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42211 cat >>confdefs.h <<\_ACEOF
42212 #define wxUSE_APPLE_IEEE 1
42213 _ACEOF
42214
42215 fi
42216
42217 if test "$wxUSE_TIMER" = "yes"; then
42218 cat >>confdefs.h <<\_ACEOF
42219 #define wxUSE_TIMER 1
42220 _ACEOF
42221
42222 fi
42223
42224 if test "$USE_UNIX" = 1 ; then
42225 if test "$wxUSE_MGL" != 1; then
42226 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42227 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42228 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42229 echo $ECHO_N "(cached) $ECHO_C" >&6
42230 else
42231
42232 cat >conftest.$ac_ext <<_ACEOF
42233 /* confdefs.h. */
42234 _ACEOF
42235 cat confdefs.h >>conftest.$ac_ext
42236 cat >>conftest.$ac_ext <<_ACEOF
42237 /* end confdefs.h. */
42238
42239 #include <sys/ioctl.h>
42240 #include <sys/soundcard.h>
42241
42242 int
42243 main ()
42244 {
42245
42246 ioctl(0, SNDCTL_DSP_SPEED, 0);
42247
42248 ;
42249 return 0;
42250 }
42251 _ACEOF
42252 rm -f conftest.$ac_objext conftest$ac_exeext
42253 if { (ac_try="$ac_link"
42254 case "(($ac_try" in
42255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42256 *) ac_try_echo=$ac_try;;
42257 esac
42258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42259 (eval "$ac_link") 2>conftest.er1
42260 ac_status=$?
42261 grep -v '^ *+' conftest.er1 >conftest.err
42262 rm -f conftest.er1
42263 cat conftest.err >&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } && {
42266 test -z "$ac_c_werror_flag" ||
42267 test ! -s conftest.err
42268 } && test -s conftest$ac_exeext &&
42269 $as_test_x conftest$ac_exeext; then
42270 ac_cv_header_sys_soundcard=yes
42271 else
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.$ac_ext >&5
42274
42275
42276 saveLibs="$LIBS"
42277 LIBS="$saveLibs -lossaudio"
42278 cat >conftest.$ac_ext <<_ACEOF
42279 /* confdefs.h. */
42280 _ACEOF
42281 cat confdefs.h >>conftest.$ac_ext
42282 cat >>conftest.$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42284
42285 #include <sys/ioctl.h>
42286 #include <sys/soundcard.h>
42287
42288 int
42289 main ()
42290 {
42291
42292 ioctl(0, SNDCTL_DSP_SPEED, 0);
42293
42294 ;
42295 return 0;
42296 }
42297 _ACEOF
42298 rm -f conftest.$ac_objext conftest$ac_exeext
42299 if { (ac_try="$ac_link"
42300 case "(($ac_try" in
42301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42302 *) ac_try_echo=$ac_try;;
42303 esac
42304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42305 (eval "$ac_link") 2>conftest.er1
42306 ac_status=$?
42307 grep -v '^ *+' conftest.er1 >conftest.err
42308 rm -f conftest.er1
42309 cat conftest.err >&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); } && {
42312 test -z "$ac_c_werror_flag" ||
42313 test ! -s conftest.err
42314 } && test -s conftest$ac_exeext &&
42315 $as_test_x conftest$ac_exeext; then
42316 ac_cv_header_sys_soundcard=yes
42317 else
42318 echo "$as_me: failed program was:" >&5
42319 sed 's/^/| /' conftest.$ac_ext >&5
42320
42321
42322 LIBS="$saveLibs"
42323 ac_cv_header_sys_soundcard=no
42324
42325
42326 fi
42327
42328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42329 conftest$ac_exeext conftest.$ac_ext
42330
42331
42332 fi
42333
42334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42335 conftest$ac_exeext conftest.$ac_ext
42336
42337 fi
42338 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42339 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42340 fi
42341
42342 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42343 cat >>confdefs.h <<\_ACEOF
42344 #define HAVE_SYS_SOUNDCARD_H 1
42345 _ACEOF
42346
42347 fi
42348 fi
42349
42350 WITH_PLUGIN_SDL=0
42351 if test "$wxUSE_SOUND" = "yes"; then
42352 if test "$USE_UNIX" = 1 ; then
42353 if test "$wxUSE_LIBSDL" != "no"; then
42354
42355 # Check whether --with-sdl-prefix was given.
42356 if test "${with_sdl_prefix+set}" = set; then
42357 withval=$with_sdl_prefix; sdl_prefix="$withval"
42358 else
42359 sdl_prefix=""
42360 fi
42361
42362
42363 # Check whether --with-sdl-exec-prefix was given.
42364 if test "${with_sdl_exec_prefix+set}" = set; then
42365 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42366 else
42367 sdl_exec_prefix=""
42368 fi
42369
42370 # Check whether --enable-sdltest was given.
42371 if test "${enable_sdltest+set}" = set; then
42372 enableval=$enable_sdltest;
42373 else
42374 enable_sdltest=yes
42375 fi
42376
42377
42378 if test x$sdl_exec_prefix != x ; then
42379 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42380 if test x${SDL_CONFIG+set} != xset ; then
42381 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42382 fi
42383 fi
42384 if test x$sdl_prefix != x ; then
42385 sdl_args="$sdl_args --prefix=$sdl_prefix"
42386 if test x${SDL_CONFIG+set} != xset ; then
42387 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42388 fi
42389 fi
42390
42391 if test "x$prefix" != xNONE; then
42392 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42393 fi
42394 # Extract the first word of "sdl-config", so it can be a program name with args.
42395 set dummy sdl-config; ac_word=$2
42396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42398 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42399 echo $ECHO_N "(cached) $ECHO_C" >&6
42400 else
42401 case $SDL_CONFIG in
42402 [\\/]* | ?:[\\/]*)
42403 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42404 ;;
42405 *)
42406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42407 for as_dir in $PATH
42408 do
42409 IFS=$as_save_IFS
42410 test -z "$as_dir" && as_dir=.
42411 for ac_exec_ext in '' $ac_executable_extensions; do
42412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42413 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42415 break 2
42416 fi
42417 done
42418 done
42419 IFS=$as_save_IFS
42420
42421 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42422 ;;
42423 esac
42424 fi
42425 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42426 if test -n "$SDL_CONFIG"; then
42427 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42428 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42429 else
42430 { echo "$as_me:$LINENO: result: no" >&5
42431 echo "${ECHO_T}no" >&6; }
42432 fi
42433
42434
42435 min_sdl_version=1.2.0
42436 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42437 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42438 no_sdl=""
42439 if test "$SDL_CONFIG" = "no" ; then
42440 no_sdl=yes
42441 else
42442 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42443 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42444
42445 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42447 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42449 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42451 if test "x$enable_sdltest" = "xyes" ; then
42452 ac_save_CFLAGS="$CFLAGS"
42453 ac_save_CXXFLAGS="$CXXFLAGS"
42454 ac_save_LIBS="$LIBS"
42455 CFLAGS="$CFLAGS $SDL_CFLAGS"
42456 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42457 LIBS="$LIBS $SDL_LIBS"
42458 rm -f conf.sdltest
42459 if test "$cross_compiling" = yes; then
42460 echo $ac_n "cross compiling; assumed OK... $ac_c"
42461 else
42462 cat >conftest.$ac_ext <<_ACEOF
42463 /* confdefs.h. */
42464 _ACEOF
42465 cat confdefs.h >>conftest.$ac_ext
42466 cat >>conftest.$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468
42469 #include <stdio.h>
42470 #include <stdlib.h>
42471 #include <string.h>
42472 #include "SDL.h"
42473
42474 char*
42475 my_strdup (char *str)
42476 {
42477 char *new_str;
42478
42479 if (str)
42480 {
42481 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42482 strcpy (new_str, str);
42483 }
42484 else
42485 new_str = NULL;
42486
42487 return new_str;
42488 }
42489
42490 int main (int argc, char *argv[])
42491 {
42492 int major, minor, micro;
42493 char *tmp_version;
42494
42495 /* This hangs on some systems (?)
42496 system ("touch conf.sdltest");
42497 */
42498 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42499
42500 /* HP/UX 9 (%@#!) writes to sscanf strings */
42501 tmp_version = my_strdup("$min_sdl_version");
42502 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42503 printf("%s, bad version string\n", "$min_sdl_version");
42504 exit(1);
42505 }
42506
42507 if (($sdl_major_version > major) ||
42508 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42509 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42510 {
42511 return 0;
42512 }
42513 else
42514 {
42515 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42516 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42517 printf("*** best to upgrade to the required version.\n");
42518 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42519 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42520 printf("*** config.cache before re-running configure\n");
42521 return 1;
42522 }
42523 }
42524
42525
42526 _ACEOF
42527 rm -f conftest$ac_exeext
42528 if { (ac_try="$ac_link"
42529 case "(($ac_try" in
42530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42531 *) ac_try_echo=$ac_try;;
42532 esac
42533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42534 (eval "$ac_link") 2>&5
42535 ac_status=$?
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42538 { (case "(($ac_try" in
42539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42540 *) ac_try_echo=$ac_try;;
42541 esac
42542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42543 (eval "$ac_try") 2>&5
42544 ac_status=$?
42545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42546 (exit $ac_status); }; }; then
42547 :
42548 else
42549 echo "$as_me: program exited with status $ac_status" >&5
42550 echo "$as_me: failed program was:" >&5
42551 sed 's/^/| /' conftest.$ac_ext >&5
42552
42553 ( exit $ac_status )
42554 no_sdl=yes
42555 fi
42556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42557 fi
42558
42559
42560 CFLAGS="$ac_save_CFLAGS"
42561 CXXFLAGS="$ac_save_CXXFLAGS"
42562 LIBS="$ac_save_LIBS"
42563 fi
42564 fi
42565 if test "x$no_sdl" = x ; then
42566 { echo "$as_me:$LINENO: result: yes" >&5
42567 echo "${ECHO_T}yes" >&6; }
42568
42569 EXTRALIBS_SDL="$SDL_LIBS"
42570 CFLAGS="$SDL_CFLAGS $CFLAGS"
42571 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42572 cat >>confdefs.h <<\_ACEOF
42573 #define wxUSE_LIBSDL 1
42574 _ACEOF
42575
42576
42577 else
42578 { echo "$as_me:$LINENO: result: no" >&5
42579 echo "${ECHO_T}no" >&6; }
42580 if test "$SDL_CONFIG" = "no" ; then
42581 echo "*** The sdl-config script installed by SDL could not be found"
42582 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42583 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42584 echo "*** full path to sdl-config."
42585 else
42586 if test -f conf.sdltest ; then
42587 :
42588 else
42589 echo "*** Could not run SDL test program, checking why..."
42590 CFLAGS="$CFLAGS $SDL_CFLAGS"
42591 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42592 LIBS="$LIBS $SDL_LIBS"
42593 cat >conftest.$ac_ext <<_ACEOF
42594 /* confdefs.h. */
42595 _ACEOF
42596 cat confdefs.h >>conftest.$ac_ext
42597 cat >>conftest.$ac_ext <<_ACEOF
42598 /* end confdefs.h. */
42599
42600 #include <stdio.h>
42601 #include "SDL.h"
42602
42603 int main(int argc, char *argv[])
42604 { return 0; }
42605 #undef main
42606 #define main K_and_R_C_main
42607
42608 int
42609 main ()
42610 {
42611 return 0;
42612 ;
42613 return 0;
42614 }
42615 _ACEOF
42616 rm -f conftest.$ac_objext conftest$ac_exeext
42617 if { (ac_try="$ac_link"
42618 case "(($ac_try" in
42619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42620 *) ac_try_echo=$ac_try;;
42621 esac
42622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42623 (eval "$ac_link") 2>conftest.er1
42624 ac_status=$?
42625 grep -v '^ *+' conftest.er1 >conftest.err
42626 rm -f conftest.er1
42627 cat conftest.err >&5
42628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42629 (exit $ac_status); } && {
42630 test -z "$ac_c_werror_flag" ||
42631 test ! -s conftest.err
42632 } && test -s conftest$ac_exeext &&
42633 $as_test_x conftest$ac_exeext; then
42634 echo "*** The test program compiled, but did not run. This usually means"
42635 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42636 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42637 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42638 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42639 echo "*** is required on your system"
42640 echo "***"
42641 echo "*** If you have an old version installed, it is best to remove it, although"
42642 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42643 else
42644 echo "$as_me: failed program was:" >&5
42645 sed 's/^/| /' conftest.$ac_ext >&5
42646
42647 echo "*** The test program failed to compile or link. See the file config.log for the"
42648 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42649 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42650 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42651 fi
42652
42653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42654 conftest$ac_exeext conftest.$ac_ext
42655 CFLAGS="$ac_save_CFLAGS"
42656 CXXFLAGS="$ac_save_CXXFLAGS"
42657 LIBS="$ac_save_LIBS"
42658 fi
42659 fi
42660 SDL_CFLAGS=""
42661 SDL_LIBS=""
42662 wxUSE_LIBSDL="no"
42663 fi
42664
42665
42666 rm -f conf.sdltest
42667
42668 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42669 WITH_PLUGIN_SDL=1
42670 fi
42671 fi
42672 else
42673 if test "$wxUSE_MGL" = 1; then
42674 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42675 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42676 wxUSE_SOUND="no"
42677 fi
42678 fi
42679 fi
42680
42681 if test "$wxUSE_SOUND" = "yes"; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define wxUSE_SOUND 1
42684 _ACEOF
42685
42686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42687 fi
42688
42689 if test "$WXGTK2" = 1; then
42690
42691
42692 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42693 if test -n "$ac_tool_prefix"; then
42694 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42695 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42698 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42699 echo $ECHO_N "(cached) $ECHO_C" >&6
42700 else
42701 case $PKG_CONFIG in
42702 [\\/]* | ?:[\\/]*)
42703 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42704 ;;
42705 *)
42706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42707 for as_dir in $PATH
42708 do
42709 IFS=$as_save_IFS
42710 test -z "$as_dir" && as_dir=.
42711 for ac_exec_ext in '' $ac_executable_extensions; do
42712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42713 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42715 break 2
42716 fi
42717 done
42718 done
42719 IFS=$as_save_IFS
42720
42721 ;;
42722 esac
42723 fi
42724 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42725 if test -n "$PKG_CONFIG"; then
42726 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42727 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42728 else
42729 { echo "$as_me:$LINENO: result: no" >&5
42730 echo "${ECHO_T}no" >&6; }
42731 fi
42732
42733
42734 fi
42735 if test -z "$ac_cv_path_PKG_CONFIG"; then
42736 ac_pt_PKG_CONFIG=$PKG_CONFIG
42737 # Extract the first word of "pkg-config", so it can be a program name with args.
42738 set dummy pkg-config; ac_word=$2
42739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42741 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42742 echo $ECHO_N "(cached) $ECHO_C" >&6
42743 else
42744 case $ac_pt_PKG_CONFIG in
42745 [\\/]* | ?:[\\/]*)
42746 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42747 ;;
42748 *)
42749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42750 for as_dir in $PATH
42751 do
42752 IFS=$as_save_IFS
42753 test -z "$as_dir" && as_dir=.
42754 for ac_exec_ext in '' $ac_executable_extensions; do
42755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42756 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42758 break 2
42759 fi
42760 done
42761 done
42762 IFS=$as_save_IFS
42763
42764 ;;
42765 esac
42766 fi
42767 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42768 if test -n "$ac_pt_PKG_CONFIG"; then
42769 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42770 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42771 else
42772 { echo "$as_me:$LINENO: result: no" >&5
42773 echo "${ECHO_T}no" >&6; }
42774 fi
42775
42776 if test "x$ac_pt_PKG_CONFIG" = x; then
42777 PKG_CONFIG=""
42778 else
42779 case $cross_compiling:$ac_tool_warned in
42780 yes:)
42781 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42782 whose name does not start with the host triplet. If you think this
42783 configuration is useful to you, please write to autoconf@gnu.org." >&5
42784 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42785 whose name does not start with the host triplet. If you think this
42786 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42787 ac_tool_warned=yes ;;
42788 esac
42789 PKG_CONFIG=$ac_pt_PKG_CONFIG
42790 fi
42791 else
42792 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42793 fi
42794
42795 fi
42796 if test -n "$PKG_CONFIG"; then
42797 _pkg_min_version=0.9.0
42798 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42799 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42800 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42801 { echo "$as_me:$LINENO: result: yes" >&5
42802 echo "${ECHO_T}yes" >&6; }
42803 else
42804 { echo "$as_me:$LINENO: result: no" >&5
42805 echo "${ECHO_T}no" >&6; }
42806 PKG_CONFIG=""
42807 fi
42808
42809 fi
42810
42811 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42812
42813 if test "$wxUSE_GTKPRINT" = "yes" ; then
42814
42815
42816 pkg_failed=no
42817 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42818 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42819
42820 if test -n "$PKG_CONFIG"; then
42821 if test -n "$GTKPRINT_CFLAGS"; then
42822 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42823 else
42824 if test -n "$PKG_CONFIG" && \
42825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42826 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42827 ac_status=$?
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); }; then
42830 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42831 else
42832 pkg_failed=yes
42833 fi
42834 fi
42835 else
42836 pkg_failed=untried
42837 fi
42838 if test -n "$PKG_CONFIG"; then
42839 if test -n "$GTKPRINT_LIBS"; then
42840 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42841 else
42842 if test -n "$PKG_CONFIG" && \
42843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42844 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42845 ac_status=$?
42846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847 (exit $ac_status); }; then
42848 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42849 else
42850 pkg_failed=yes
42851 fi
42852 fi
42853 else
42854 pkg_failed=untried
42855 fi
42856
42857
42858
42859 if test $pkg_failed = yes; then
42860
42861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42862 _pkg_short_errors_supported=yes
42863 else
42864 _pkg_short_errors_supported=no
42865 fi
42866 if test $_pkg_short_errors_supported = yes; then
42867 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42868 else
42869 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42870 fi
42871 # Put the nasty error message in config.log where it belongs
42872 echo "$GTKPRINT_PKG_ERRORS" >&5
42873
42874
42875 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42876 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42877 wxUSE_GTKPRINT="no"
42878
42879
42880 elif test $pkg_failed = untried; then
42881
42882 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42883 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42884 wxUSE_GTKPRINT="no"
42885
42886
42887 else
42888 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42889 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42890 { echo "$as_me:$LINENO: result: yes" >&5
42891 echo "${ECHO_T}yes" >&6; }
42892
42893 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42894 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42895 cat >>confdefs.h <<\_ACEOF
42896 #define wxUSE_GTKPRINT 1
42897 _ACEOF
42898
42899
42900 fi
42901 fi
42902
42903 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42904
42905
42906 pkg_failed=no
42907 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42908 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42909
42910 if test -n "$PKG_CONFIG"; then
42911 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42912 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42913 else
42914 if test -n "$PKG_CONFIG" && \
42915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42916 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42917 ac_status=$?
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); }; then
42920 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42921 else
42922 pkg_failed=yes
42923 fi
42924 fi
42925 else
42926 pkg_failed=untried
42927 fi
42928 if test -n "$PKG_CONFIG"; then
42929 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42930 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42931 else
42932 if test -n "$PKG_CONFIG" && \
42933 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42934 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42935 ac_status=$?
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); }; then
42938 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42939 else
42940 pkg_failed=yes
42941 fi
42942 fi
42943 else
42944 pkg_failed=untried
42945 fi
42946
42947
42948
42949 if test $pkg_failed = yes; then
42950
42951 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42952 _pkg_short_errors_supported=yes
42953 else
42954 _pkg_short_errors_supported=no
42955 fi
42956 if test $_pkg_short_errors_supported = yes; then
42957 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42958 else
42959 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42960 fi
42961 # Put the nasty error message in config.log where it belongs
42962 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42963
42964
42965 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42966 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42967 wxUSE_LIBGNOMEPRINT="no"
42968
42969
42970 elif test $pkg_failed = untried; then
42971
42972 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42973 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42974 wxUSE_LIBGNOMEPRINT="no"
42975
42976
42977 else
42978 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42979 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42980 { echo "$as_me:$LINENO: result: yes" >&5
42981 echo "${ECHO_T}yes" >&6; }
42982
42983 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42984 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42985 cat >>confdefs.h <<\_ACEOF
42986 #define wxUSE_LIBGNOMEPRINT 1
42987 _ACEOF
42988
42989
42990 fi
42991 fi
42992 fi
42993
42994 if test "$wxUSE_MIMETYPE" = "yes" ; then
42995 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42996
42997
42998 pkg_failed=no
42999 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43000 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43001
43002 if test -n "$PKG_CONFIG"; then
43003 if test -n "$GNOMEVFS_CFLAGS"; then
43004 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43005 else
43006 if test -n "$PKG_CONFIG" && \
43007 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43008 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43009 ac_status=$?
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); }; then
43012 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43013 else
43014 pkg_failed=yes
43015 fi
43016 fi
43017 else
43018 pkg_failed=untried
43019 fi
43020 if test -n "$PKG_CONFIG"; then
43021 if test -n "$GNOMEVFS_LIBS"; then
43022 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43023 else
43024 if test -n "$PKG_CONFIG" && \
43025 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43026 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43027 ac_status=$?
43028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43029 (exit $ac_status); }; then
43030 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43031 else
43032 pkg_failed=yes
43033 fi
43034 fi
43035 else
43036 pkg_failed=untried
43037 fi
43038
43039
43040
43041 if test $pkg_failed = yes; then
43042
43043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43044 _pkg_short_errors_supported=yes
43045 else
43046 _pkg_short_errors_supported=no
43047 fi
43048 if test $_pkg_short_errors_supported = yes; then
43049 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43050 else
43051 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43052 fi
43053 # Put the nasty error message in config.log where it belongs
43054 echo "$GNOMEVFS_PKG_ERRORS" >&5
43055
43056
43057 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43058 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43059 wxUSE_LIBGNOMEVFS="no"
43060
43061
43062 elif test $pkg_failed = untried; then
43063
43064 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43065 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43066 wxUSE_LIBGNOMEVFS="no"
43067
43068
43069 else
43070 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43071 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43072 { echo "$as_me:$LINENO: result: yes" >&5
43073 echo "${ECHO_T}yes" >&6; }
43074
43075 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43076 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43077 cat >>confdefs.h <<\_ACEOF
43078 #define wxUSE_LIBGNOMEVFS 1
43079 _ACEOF
43080
43081
43082 fi
43083 fi
43084 fi
43085
43086 if test "$wxUSE_LIBHILDON" = "yes" ; then
43087
43088 pkg_failed=no
43089 { echo "$as_me:$LINENO: checking for HILDON" >&5
43090 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43091
43092 if test -n "$PKG_CONFIG"; then
43093 if test -n "$HILDON_CFLAGS"; then
43094 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43095 else
43096 if test -n "$PKG_CONFIG" && \
43097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43098 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43099 ac_status=$?
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); }; then
43102 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43103 else
43104 pkg_failed=yes
43105 fi
43106 fi
43107 else
43108 pkg_failed=untried
43109 fi
43110 if test -n "$PKG_CONFIG"; then
43111 if test -n "$HILDON_LIBS"; then
43112 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43113 else
43114 if test -n "$PKG_CONFIG" && \
43115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43116 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43117 ac_status=$?
43118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119 (exit $ac_status); }; then
43120 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43121 else
43122 pkg_failed=yes
43123 fi
43124 fi
43125 else
43126 pkg_failed=untried
43127 fi
43128
43129
43130
43131 if test $pkg_failed = yes; then
43132
43133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43134 _pkg_short_errors_supported=yes
43135 else
43136 _pkg_short_errors_supported=no
43137 fi
43138 if test $_pkg_short_errors_supported = yes; then
43139 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43140 else
43141 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43142 fi
43143 # Put the nasty error message in config.log where it belongs
43144 echo "$HILDON_PKG_ERRORS" >&5
43145
43146
43147 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43148 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43149 wxUSE_LIBHILDON="no"
43150
43151
43152 elif test $pkg_failed = untried; then
43153
43154 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43155 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43156 wxUSE_LIBHILDON="no"
43157
43158
43159 else
43160 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43161 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43162 { echo "$as_me:$LINENO: result: yes" >&5
43163 echo "${ECHO_T}yes" >&6; }
43164
43165 EXTRALIBS_HILDON="$HILDON_LIBS"
43166 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43167 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43168 cat >>confdefs.h <<\_ACEOF
43169 #define wxUSE_LIBHILDON 1
43170 _ACEOF
43171
43172
43173 fi
43174 fi
43175 fi
43176
43177 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define wxUSE_CMDLINE_PARSER 1
43180 _ACEOF
43181
43182 fi
43183
43184 if test "$wxUSE_STOPWATCH" = "yes"; then
43185 cat >>confdefs.h <<\_ACEOF
43186 #define wxUSE_STOPWATCH 1
43187 _ACEOF
43188
43189 fi
43190
43191 if test "$wxUSE_DATETIME" = "yes"; then
43192 cat >>confdefs.h <<\_ACEOF
43193 #define wxUSE_DATETIME 1
43194 _ACEOF
43195
43196 fi
43197
43198 if test "$wxUSE_FILE" = "yes"; then
43199 cat >>confdefs.h <<\_ACEOF
43200 #define wxUSE_FILE 1
43201 _ACEOF
43202
43203 fi
43204
43205 if test "$wxUSE_FFILE" = "yes"; then
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_FFILE 1
43208 _ACEOF
43209
43210 fi
43211
43212 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43213 if test "$wxUSE_STREAMS" != yes; then
43214 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43215 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43216 wxUSE_ARCHIVE_STREAMS=no
43217 else
43218 cat >>confdefs.h <<\_ACEOF
43219 #define wxUSE_ARCHIVE_STREAMS 1
43220 _ACEOF
43221
43222 fi
43223 fi
43224
43225 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43226 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43227 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43228 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43229 elif test "$wxUSE_ZLIB" = "no"; then
43230 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43231 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43232 else
43233 cat >>confdefs.h <<\_ACEOF
43234 #define wxUSE_ZIPSTREAM 1
43235 _ACEOF
43236
43237 fi
43238 fi
43239
43240 if test "$wxUSE_TARSTREAM" = "yes"; then
43241 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43242 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43243 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43244 else
43245 cat >>confdefs.h <<\_ACEOF
43246 #define wxUSE_TARSTREAM 1
43247 _ACEOF
43248
43249 fi
43250 fi
43251
43252 if test "$wxUSE_FILESYSTEM" = "yes"; then
43253 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43254 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43255 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43256 wxUSE_FILESYSTEM=no
43257 else
43258 cat >>confdefs.h <<\_ACEOF
43259 #define wxUSE_FILESYSTEM 1
43260 _ACEOF
43261
43262 fi
43263 fi
43264
43265 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43266 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43267 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43268 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43269 else
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_FS_ARCHIVE 1
43272 _ACEOF
43273
43274 fi
43275 fi
43276
43277 if test "$wxUSE_FS_ZIP" = "yes"; then
43278 if test "$wxUSE_FS_ARCHIVE" != yes; then
43279 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43280 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43281 else
43282 cat >>confdefs.h <<\_ACEOF
43283 #define wxUSE_FS_ZIP 1
43284 _ACEOF
43285
43286 fi
43287 fi
43288
43289 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43290 if test "$USE_UNIX" != 1; then
43291 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43292 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43293 wxUSE_ON_FATAL_EXCEPTION=no
43294 else
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_ON_FATAL_EXCEPTION 1
43297 _ACEOF
43298
43299 fi
43300 fi
43301
43302 if test "$wxUSE_STACKWALKER" = "yes"; then
43303 cat >>confdefs.h <<\_ACEOF
43304 #define wxUSE_STACKWALKER 1
43305 _ACEOF
43306
43307 fi
43308
43309 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43310 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43311 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43312 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43313 wxUSE_DEBUGREPORT=no
43314 else
43315 cat >>confdefs.h <<\_ACEOF
43316 #define wxUSE_DEBUGREPORT 1
43317 _ACEOF
43318
43319 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43321 fi
43322 fi
43323 fi
43324
43325 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43326 cat >>confdefs.h <<\_ACEOF
43327 #define wxUSE_SNGLINST_CHECKER 1
43328 _ACEOF
43329
43330 fi
43331
43332 if test "$wxUSE_BUSYINFO" = "yes"; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_BUSYINFO 1
43335 _ACEOF
43336
43337 fi
43338
43339 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_STD_IOSTREAM 1
43342 _ACEOF
43343
43344 fi
43345
43346 if test "$wxUSE_STD_STRING" = "yes"; then
43347 cat >>confdefs.h <<\_ACEOF
43348 #define wxUSE_STD_STRING 1
43349 _ACEOF
43350
43351 fi
43352
43353 if test "$wxUSE_STDPATHS" = "yes"; then
43354 cat >>confdefs.h <<\_ACEOF
43355 #define wxUSE_STDPATHS 1
43356 _ACEOF
43357
43358 fi
43359
43360 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43361 cat >>confdefs.h <<\_ACEOF
43362 #define wxUSE_TEXTBUFFER 1
43363 _ACEOF
43364
43365 fi
43366
43367 if test "$wxUSE_TEXTFILE" = "yes"; then
43368 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43369 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43370 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43371 else
43372 cat >>confdefs.h <<\_ACEOF
43373 #define wxUSE_TEXTFILE 1
43374 _ACEOF
43375
43376 fi
43377 fi
43378
43379 if test "$wxUSE_CONFIG" = "yes" ; then
43380 if test "$wxUSE_TEXTFILE" != "yes"; then
43381 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43382 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43383 else
43384 cat >>confdefs.h <<\_ACEOF
43385 #define wxUSE_CONFIG 1
43386 _ACEOF
43387
43388 cat >>confdefs.h <<\_ACEOF
43389 #define wxUSE_CONFIG_NATIVE 1
43390 _ACEOF
43391
43392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43393 fi
43394 fi
43395
43396 if test "$wxUSE_INTL" = "yes" ; then
43397 if test "$wxUSE_FILE" != "yes"; then
43398 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43399 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43400 else
43401 cat >>confdefs.h <<\_ACEOF
43402 #define wxUSE_INTL 1
43403 _ACEOF
43404
43405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43406 GUIDIST="$GUIDIST INTL_DIST"
43407 fi
43408 fi
43409
43410 if test "$wxUSE_XLOCALE" = "yes" ; then
43411 cat >>confdefs.h <<\_ACEOF
43412 #define wxUSE_XLOCALE 1
43413 _ACEOF
43414
43415 { echo "$as_me:$LINENO: checking for locale_t" >&5
43416 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43417 if test "${ac_cv_type_locale_t+set}" = set; then
43418 echo $ECHO_N "(cached) $ECHO_C" >&6
43419 else
43420 cat >conftest.$ac_ext <<_ACEOF
43421 /* confdefs.h. */
43422 _ACEOF
43423 cat confdefs.h >>conftest.$ac_ext
43424 cat >>conftest.$ac_ext <<_ACEOF
43425 /* end confdefs.h. */
43426 #include <xlocale.h>
43427 #include <locale.h>
43428
43429 typedef locale_t ac__type_new_;
43430 int
43431 main ()
43432 {
43433 if ((ac__type_new_ *) 0)
43434 return 0;
43435 if (sizeof (ac__type_new_))
43436 return 0;
43437 ;
43438 return 0;
43439 }
43440 _ACEOF
43441 rm -f conftest.$ac_objext
43442 if { (ac_try="$ac_compile"
43443 case "(($ac_try" in
43444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43445 *) ac_try_echo=$ac_try;;
43446 esac
43447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43448 (eval "$ac_compile") 2>conftest.er1
43449 ac_status=$?
43450 grep -v '^ *+' conftest.er1 >conftest.err
43451 rm -f conftest.er1
43452 cat conftest.err >&5
43453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } && {
43455 test -z "$ac_c_werror_flag" ||
43456 test ! -s conftest.err
43457 } && test -s conftest.$ac_objext; then
43458 ac_cv_type_locale_t=yes
43459 else
43460 echo "$as_me: failed program was:" >&5
43461 sed 's/^/| /' conftest.$ac_ext >&5
43462
43463 ac_cv_type_locale_t=no
43464 fi
43465
43466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43467 fi
43468 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43469 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43470 if test $ac_cv_type_locale_t = yes; then
43471
43472 cat >>confdefs.h <<_ACEOF
43473 #define HAVE_LOCALE_T 1
43474 _ACEOF
43475
43476
43477 fi
43478
43479 fi
43480
43481 if test "$wxUSE_LOG" = "yes"; then
43482 cat >>confdefs.h <<\_ACEOF
43483 #define wxUSE_LOG 1
43484 _ACEOF
43485
43486
43487 if test "$wxUSE_LOGGUI" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_LOGGUI 1
43490 _ACEOF
43491
43492 fi
43493
43494 if test "$wxUSE_LOGWINDOW" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_LOGWINDOW 1
43497 _ACEOF
43498
43499 fi
43500
43501 if test "$wxUSE_LOGDIALOG" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_LOG_DIALOG 1
43504 _ACEOF
43505
43506 fi
43507
43508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43509 fi
43510
43511 if test "$wxUSE_LONGLONG" = "yes"; then
43512 cat >>confdefs.h <<\_ACEOF
43513 #define wxUSE_LONGLONG 1
43514 _ACEOF
43515
43516 fi
43517
43518 if test "$wxUSE_GEOMETRY" = "yes"; then
43519 cat >>confdefs.h <<\_ACEOF
43520 #define wxUSE_GEOMETRY 1
43521 _ACEOF
43522
43523 fi
43524
43525 if test "$wxUSE_BASE64" = "yes"; then
43526 cat >>confdefs.h <<\_ACEOF
43527 #define wxUSE_BASE64 1
43528 _ACEOF
43529
43530 fi
43531
43532 if test "$wxUSE_STREAMS" = "yes" ; then
43533 cat >>confdefs.h <<\_ACEOF
43534 #define wxUSE_STREAMS 1
43535 _ACEOF
43536
43537 fi
43538
43539 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_PRINTF_POS_PARAMS 1
43542 _ACEOF
43543
43544 fi
43545
43546 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43547 cat >>confdefs.h <<\_ACEOF
43548 #define wxUSE_OBJC_UNIQUIFYING 1
43549 _ACEOF
43550
43551 fi
43552
43553
43554 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43555 cat >>confdefs.h <<\_ACEOF
43556 #define wxUSE_CONSOLE_EVENTLOOP 1
43557 _ACEOF
43558
43559
43560 if test "$wxUSE_UNIX" = "yes"; then
43561 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43562 cat >>confdefs.h <<\_ACEOF
43563 #define wxUSE_SELECT_DISPATCHER 1
43564 _ACEOF
43565
43566 fi
43567
43568 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43569
43570 for ac_header in sys/epoll.h
43571 do
43572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43576 echo $ECHO_N "(cached) $ECHO_C" >&6
43577 else
43578 cat >conftest.$ac_ext <<_ACEOF
43579 /* confdefs.h. */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 $ac_includes_default
43585
43586 #include <$ac_header>
43587 _ACEOF
43588 rm -f conftest.$ac_objext
43589 if { (ac_try="$ac_compile"
43590 case "(($ac_try" in
43591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43592 *) ac_try_echo=$ac_try;;
43593 esac
43594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43595 (eval "$ac_compile") 2>conftest.er1
43596 ac_status=$?
43597 grep -v '^ *+' conftest.er1 >conftest.err
43598 rm -f conftest.er1
43599 cat conftest.err >&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } && {
43602 test -z "$ac_c_werror_flag" ||
43603 test ! -s conftest.err
43604 } && test -s conftest.$ac_objext; then
43605 eval "$as_ac_Header=yes"
43606 else
43607 echo "$as_me: failed program was:" >&5
43608 sed 's/^/| /' conftest.$ac_ext >&5
43609
43610 eval "$as_ac_Header=no"
43611 fi
43612
43613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43614 fi
43615 ac_res=`eval echo '${'$as_ac_Header'}'`
43616 { echo "$as_me:$LINENO: result: $ac_res" >&5
43617 echo "${ECHO_T}$ac_res" >&6; }
43618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43619 cat >>confdefs.h <<_ACEOF
43620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43621 _ACEOF
43622
43623 fi
43624
43625 done
43626
43627 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43628 cat >>confdefs.h <<\_ACEOF
43629 #define wxUSE_EPOLL_DISPATCHER 1
43630 _ACEOF
43631
43632 else
43633 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43634 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43635 fi
43636 fi
43637 fi
43638 fi
43639
43640
43641
43642
43643 for ac_func in gettimeofday ftime
43644 do
43645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43646 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43648 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43649 echo $ECHO_N "(cached) $ECHO_C" >&6
43650 else
43651 cat >conftest.$ac_ext <<_ACEOF
43652 /* confdefs.h. */
43653 _ACEOF
43654 cat confdefs.h >>conftest.$ac_ext
43655 cat >>conftest.$ac_ext <<_ACEOF
43656 /* end confdefs.h. */
43657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43659 #define $ac_func innocuous_$ac_func
43660
43661 /* System header to define __stub macros and hopefully few prototypes,
43662 which can conflict with char $ac_func (); below.
43663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43664 <limits.h> exists even on freestanding compilers. */
43665
43666 #ifdef __STDC__
43667 # include <limits.h>
43668 #else
43669 # include <assert.h>
43670 #endif
43671
43672 #undef $ac_func
43673
43674 /* Override any GCC internal prototype to avoid an error.
43675 Use char because int might match the return type of a GCC
43676 builtin and then its argument prototype would still apply. */
43677 #ifdef __cplusplus
43678 extern "C"
43679 #endif
43680 char $ac_func ();
43681 /* The GNU C library defines this for functions which it implements
43682 to always fail with ENOSYS. Some functions are actually named
43683 something starting with __ and the normal name is an alias. */
43684 #if defined __stub_$ac_func || defined __stub___$ac_func
43685 choke me
43686 #endif
43687
43688 int
43689 main ()
43690 {
43691 return $ac_func ();
43692 ;
43693 return 0;
43694 }
43695 _ACEOF
43696 rm -f conftest.$ac_objext conftest$ac_exeext
43697 if { (ac_try="$ac_link"
43698 case "(($ac_try" in
43699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43700 *) ac_try_echo=$ac_try;;
43701 esac
43702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43703 (eval "$ac_link") 2>conftest.er1
43704 ac_status=$?
43705 grep -v '^ *+' conftest.er1 >conftest.err
43706 rm -f conftest.er1
43707 cat conftest.err >&5
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); } && {
43710 test -z "$ac_c_werror_flag" ||
43711 test ! -s conftest.err
43712 } && test -s conftest$ac_exeext &&
43713 $as_test_x conftest$ac_exeext; then
43714 eval "$as_ac_var=yes"
43715 else
43716 echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43718
43719 eval "$as_ac_var=no"
43720 fi
43721
43722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43723 conftest$ac_exeext conftest.$ac_ext
43724 fi
43725 ac_res=`eval echo '${'$as_ac_var'}'`
43726 { echo "$as_me:$LINENO: result: $ac_res" >&5
43727 echo "${ECHO_T}$ac_res" >&6; }
43728 if test `eval echo '${'$as_ac_var'}'` = yes; then
43729 cat >>confdefs.h <<_ACEOF
43730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43731 _ACEOF
43732 break
43733 fi
43734 done
43735
43736
43737 if test "$ac_cv_func_gettimeofday" = "yes"; then
43738 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43739 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43740 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43742 else
43743
43744 cat >conftest.$ac_ext <<_ACEOF
43745 /* confdefs.h. */
43746 _ACEOF
43747 cat confdefs.h >>conftest.$ac_ext
43748 cat >>conftest.$ac_ext <<_ACEOF
43749 /* end confdefs.h. */
43750
43751 #include <sys/time.h>
43752 #include <unistd.h>
43753
43754 int
43755 main ()
43756 {
43757
43758 struct timeval tv;
43759 gettimeofday(&tv, NULL);
43760
43761 ;
43762 return 0;
43763 }
43764 _ACEOF
43765 rm -f conftest.$ac_objext
43766 if { (ac_try="$ac_compile"
43767 case "(($ac_try" in
43768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43769 *) ac_try_echo=$ac_try;;
43770 esac
43771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43772 (eval "$ac_compile") 2>conftest.er1
43773 ac_status=$?
43774 grep -v '^ *+' conftest.er1 >conftest.err
43775 rm -f conftest.er1
43776 cat conftest.err >&5
43777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43778 (exit $ac_status); } && {
43779 test -z "$ac_c_werror_flag" ||
43780 test ! -s conftest.err
43781 } && test -s conftest.$ac_objext; then
43782 wx_cv_func_gettimeofday_has_2_args=yes
43783 else
43784 echo "$as_me: failed program was:" >&5
43785 sed 's/^/| /' conftest.$ac_ext >&5
43786
43787 cat >conftest.$ac_ext <<_ACEOF
43788 /* confdefs.h. */
43789 _ACEOF
43790 cat confdefs.h >>conftest.$ac_ext
43791 cat >>conftest.$ac_ext <<_ACEOF
43792 /* end confdefs.h. */
43793
43794 #include <sys/time.h>
43795 #include <unistd.h>
43796
43797 int
43798 main ()
43799 {
43800
43801 struct timeval tv;
43802 gettimeofday(&tv);
43803
43804 ;
43805 return 0;
43806 }
43807 _ACEOF
43808 rm -f conftest.$ac_objext
43809 if { (ac_try="$ac_compile"
43810 case "(($ac_try" in
43811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43812 *) ac_try_echo=$ac_try;;
43813 esac
43814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43815 (eval "$ac_compile") 2>conftest.er1
43816 ac_status=$?
43817 grep -v '^ *+' conftest.er1 >conftest.err
43818 rm -f conftest.er1
43819 cat conftest.err >&5
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); } && {
43822 test -z "$ac_c_werror_flag" ||
43823 test ! -s conftest.err
43824 } && test -s conftest.$ac_objext; then
43825 wx_cv_func_gettimeofday_has_2_args=no
43826 else
43827 echo "$as_me: failed program was:" >&5
43828 sed 's/^/| /' conftest.$ac_ext >&5
43829
43830
43831 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43832 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43833 wx_cv_func_gettimeofday_has_2_args=unknown
43834
43835
43836 fi
43837
43838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43839
43840 fi
43841
43842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43843
43844 fi
43845 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43846 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43847
43848 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43849 cat >>confdefs.h <<\_ACEOF
43850 #define WX_GETTIMEOFDAY_NO_TZ 1
43851 _ACEOF
43852
43853 fi
43854 fi
43855
43856 if test "$wxUSE_DATETIME" = "yes"; then
43857 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43858 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43859 if test "${wx_cv_var_timezone+set}" = set; then
43860 echo $ECHO_N "(cached) $ECHO_C" >&6
43861 else
43862
43863 ac_ext=cpp
43864 ac_cpp='$CXXCPP $CPPFLAGS'
43865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43868
43869 cat >conftest.$ac_ext <<_ACEOF
43870 /* confdefs.h. */
43871 _ACEOF
43872 cat confdefs.h >>conftest.$ac_ext
43873 cat >>conftest.$ac_ext <<_ACEOF
43874 /* end confdefs.h. */
43875
43876 #include <time.h>
43877
43878 int
43879 main ()
43880 {
43881
43882 int tz;
43883 tz = timezone;
43884
43885 ;
43886 return 0;
43887 }
43888 _ACEOF
43889 rm -f conftest.$ac_objext
43890 if { (ac_try="$ac_compile"
43891 case "(($ac_try" in
43892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43893 *) ac_try_echo=$ac_try;;
43894 esac
43895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43896 (eval "$ac_compile") 2>conftest.er1
43897 ac_status=$?
43898 grep -v '^ *+' conftest.er1 >conftest.err
43899 rm -f conftest.er1
43900 cat conftest.err >&5
43901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43902 (exit $ac_status); } && {
43903 test -z "$ac_cxx_werror_flag" ||
43904 test ! -s conftest.err
43905 } && test -s conftest.$ac_objext; then
43906
43907 wx_cv_var_timezone=timezone
43908
43909 else
43910 echo "$as_me: failed program was:" >&5
43911 sed 's/^/| /' conftest.$ac_ext >&5
43912
43913
43914 cat >conftest.$ac_ext <<_ACEOF
43915 /* confdefs.h. */
43916 _ACEOF
43917 cat confdefs.h >>conftest.$ac_ext
43918 cat >>conftest.$ac_ext <<_ACEOF
43919 /* end confdefs.h. */
43920
43921 #include <time.h>
43922
43923 int
43924 main ()
43925 {
43926
43927 int tz;
43928 tz = _timezone;
43929
43930 ;
43931 return 0;
43932 }
43933 _ACEOF
43934 rm -f conftest.$ac_objext
43935 if { (ac_try="$ac_compile"
43936 case "(($ac_try" in
43937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43938 *) ac_try_echo=$ac_try;;
43939 esac
43940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43941 (eval "$ac_compile") 2>conftest.er1
43942 ac_status=$?
43943 grep -v '^ *+' conftest.er1 >conftest.err
43944 rm -f conftest.er1
43945 cat conftest.err >&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } && {
43948 test -z "$ac_cxx_werror_flag" ||
43949 test ! -s conftest.err
43950 } && test -s conftest.$ac_objext; then
43951
43952 wx_cv_var_timezone=_timezone
43953
43954 else
43955 echo "$as_me: failed program was:" >&5
43956 sed 's/^/| /' conftest.$ac_ext >&5
43957
43958
43959 cat >conftest.$ac_ext <<_ACEOF
43960 /* confdefs.h. */
43961 _ACEOF
43962 cat confdefs.h >>conftest.$ac_ext
43963 cat >>conftest.$ac_ext <<_ACEOF
43964 /* end confdefs.h. */
43965
43966 #include <time.h>
43967
43968 int
43969 main ()
43970 {
43971
43972 int tz;
43973 tz = __timezone;
43974
43975 ;
43976 return 0;
43977 }
43978 _ACEOF
43979 rm -f conftest.$ac_objext
43980 if { (ac_try="$ac_compile"
43981 case "(($ac_try" in
43982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43983 *) ac_try_echo=$ac_try;;
43984 esac
43985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43986 (eval "$ac_compile") 2>conftest.er1
43987 ac_status=$?
43988 grep -v '^ *+' conftest.er1 >conftest.err
43989 rm -f conftest.er1
43990 cat conftest.err >&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } && {
43993 test -z "$ac_cxx_werror_flag" ||
43994 test ! -s conftest.err
43995 } && test -s conftest.$ac_objext; then
43996
43997 wx_cv_var_timezone=__timezone
43998
43999 else
44000 echo "$as_me: failed program was:" >&5
44001 sed 's/^/| /' conftest.$ac_ext >&5
44002
44003
44004 if test "$USE_DOS" = 0 ; then
44005 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44006 echo "$as_me: WARNING: no timezone variable" >&2;}
44007 fi
44008
44009
44010 fi
44011
44012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44013
44014
44015 fi
44016
44017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44018
44019
44020 fi
44021
44022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023 ac_ext=c
44024 ac_cpp='$CPP $CPPFLAGS'
44025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44028
44029
44030
44031 fi
44032 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44033 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44034
44035 if test "x$wx_cv_var_timezone" != x ; then
44036 cat >>confdefs.h <<_ACEOF
44037 #define WX_TIMEZONE $wx_cv_var_timezone
44038 _ACEOF
44039
44040 fi
44041
44042
44043 for ac_func in localtime
44044 do
44045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44049 echo $ECHO_N "(cached) $ECHO_C" >&6
44050 else
44051 cat >conftest.$ac_ext <<_ACEOF
44052 /* confdefs.h. */
44053 _ACEOF
44054 cat confdefs.h >>conftest.$ac_ext
44055 cat >>conftest.$ac_ext <<_ACEOF
44056 /* end confdefs.h. */
44057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44059 #define $ac_func innocuous_$ac_func
44060
44061 /* System header to define __stub macros and hopefully few prototypes,
44062 which can conflict with char $ac_func (); below.
44063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44064 <limits.h> exists even on freestanding compilers. */
44065
44066 #ifdef __STDC__
44067 # include <limits.h>
44068 #else
44069 # include <assert.h>
44070 #endif
44071
44072 #undef $ac_func
44073
44074 /* Override any GCC internal prototype to avoid an error.
44075 Use char because int might match the return type of a GCC
44076 builtin and then its argument prototype would still apply. */
44077 #ifdef __cplusplus
44078 extern "C"
44079 #endif
44080 char $ac_func ();
44081 /* The GNU C library defines this for functions which it implements
44082 to always fail with ENOSYS. Some functions are actually named
44083 something starting with __ and the normal name is an alias. */
44084 #if defined __stub_$ac_func || defined __stub___$ac_func
44085 choke me
44086 #endif
44087
44088 int
44089 main ()
44090 {
44091 return $ac_func ();
44092 ;
44093 return 0;
44094 }
44095 _ACEOF
44096 rm -f conftest.$ac_objext conftest$ac_exeext
44097 if { (ac_try="$ac_link"
44098 case "(($ac_try" in
44099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44100 *) ac_try_echo=$ac_try;;
44101 esac
44102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44103 (eval "$ac_link") 2>conftest.er1
44104 ac_status=$?
44105 grep -v '^ *+' conftest.er1 >conftest.err
44106 rm -f conftest.er1
44107 cat conftest.err >&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } && {
44110 test -z "$ac_c_werror_flag" ||
44111 test ! -s conftest.err
44112 } && test -s conftest$ac_exeext &&
44113 $as_test_x conftest$ac_exeext; then
44114 eval "$as_ac_var=yes"
44115 else
44116 echo "$as_me: failed program was:" >&5
44117 sed 's/^/| /' conftest.$ac_ext >&5
44118
44119 eval "$as_ac_var=no"
44120 fi
44121
44122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44123 conftest$ac_exeext conftest.$ac_ext
44124 fi
44125 ac_res=`eval echo '${'$as_ac_var'}'`
44126 { echo "$as_me:$LINENO: result: $ac_res" >&5
44127 echo "${ECHO_T}$ac_res" >&6; }
44128 if test `eval echo '${'$as_ac_var'}'` = yes; then
44129 cat >>confdefs.h <<_ACEOF
44130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44131 _ACEOF
44132
44133 fi
44134 done
44135
44136
44137 if test "$ac_cv_func_localtime" = "yes"; then
44138 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44139 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44140 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44141 echo $ECHO_N "(cached) $ECHO_C" >&6
44142 else
44143
44144 cat >conftest.$ac_ext <<_ACEOF
44145 /* confdefs.h. */
44146 _ACEOF
44147 cat confdefs.h >>conftest.$ac_ext
44148 cat >>conftest.$ac_ext <<_ACEOF
44149 /* end confdefs.h. */
44150
44151 #include <time.h>
44152
44153 int
44154 main ()
44155 {
44156
44157 struct tm tm;
44158 tm.tm_gmtoff++;
44159
44160 ;
44161 return 0;
44162 }
44163 _ACEOF
44164 rm -f conftest.$ac_objext
44165 if { (ac_try="$ac_compile"
44166 case "(($ac_try" in
44167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44168 *) ac_try_echo=$ac_try;;
44169 esac
44170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44171 (eval "$ac_compile") 2>conftest.er1
44172 ac_status=$?
44173 grep -v '^ *+' conftest.er1 >conftest.err
44174 rm -f conftest.er1
44175 cat conftest.err >&5
44176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44177 (exit $ac_status); } && {
44178 test -z "$ac_c_werror_flag" ||
44179 test ! -s conftest.err
44180 } && test -s conftest.$ac_objext; then
44181
44182 wx_cv_struct_tm_has_gmtoff=yes
44183
44184 else
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.$ac_ext >&5
44187
44188 wx_cv_struct_tm_has_gmtoff=no
44189
44190 fi
44191
44192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44193
44194 fi
44195 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44196 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44197 fi
44198
44199 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define WX_GMTOFF_IN_TM 1
44202 _ACEOF
44203
44204 fi
44205
44206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44207 fi
44208
44209
44210 if test "$wxUSE_SOCKETS" = "yes"; then
44211 if test "$wxUSE_MGL" = 1; then
44212 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44213 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44214 wxUSE_SOCKETS="no"
44215 fi
44216 fi
44217
44218 if test "$wxUSE_SOCKETS" = "yes"; then
44219 if test "$TOOLKIT" != "MSW"; then
44220 { echo "$as_me:$LINENO: checking for socket" >&5
44221 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44222 if test "${ac_cv_func_socket+set}" = set; then
44223 echo $ECHO_N "(cached) $ECHO_C" >&6
44224 else
44225 cat >conftest.$ac_ext <<_ACEOF
44226 /* confdefs.h. */
44227 _ACEOF
44228 cat confdefs.h >>conftest.$ac_ext
44229 cat >>conftest.$ac_ext <<_ACEOF
44230 /* end confdefs.h. */
44231 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44233 #define socket innocuous_socket
44234
44235 /* System header to define __stub macros and hopefully few prototypes,
44236 which can conflict with char socket (); below.
44237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44238 <limits.h> exists even on freestanding compilers. */
44239
44240 #ifdef __STDC__
44241 # include <limits.h>
44242 #else
44243 # include <assert.h>
44244 #endif
44245
44246 #undef socket
44247
44248 /* Override any GCC internal prototype to avoid an error.
44249 Use char because int might match the return type of a GCC
44250 builtin and then its argument prototype would still apply. */
44251 #ifdef __cplusplus
44252 extern "C"
44253 #endif
44254 char socket ();
44255 /* The GNU C library defines this for functions which it implements
44256 to always fail with ENOSYS. Some functions are actually named
44257 something starting with __ and the normal name is an alias. */
44258 #if defined __stub_socket || defined __stub___socket
44259 choke me
44260 #endif
44261
44262 int
44263 main ()
44264 {
44265 return socket ();
44266 ;
44267 return 0;
44268 }
44269 _ACEOF
44270 rm -f conftest.$ac_objext conftest$ac_exeext
44271 if { (ac_try="$ac_link"
44272 case "(($ac_try" in
44273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44274 *) ac_try_echo=$ac_try;;
44275 esac
44276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44277 (eval "$ac_link") 2>conftest.er1
44278 ac_status=$?
44279 grep -v '^ *+' conftest.er1 >conftest.err
44280 rm -f conftest.er1
44281 cat conftest.err >&5
44282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44283 (exit $ac_status); } && {
44284 test -z "$ac_c_werror_flag" ||
44285 test ! -s conftest.err
44286 } && test -s conftest$ac_exeext &&
44287 $as_test_x conftest$ac_exeext; then
44288 ac_cv_func_socket=yes
44289 else
44290 echo "$as_me: failed program was:" >&5
44291 sed 's/^/| /' conftest.$ac_ext >&5
44292
44293 ac_cv_func_socket=no
44294 fi
44295
44296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44297 conftest$ac_exeext conftest.$ac_ext
44298 fi
44299 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44300 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44301 if test $ac_cv_func_socket = yes; then
44302 :
44303 else
44304
44305 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44306 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44307 if test "${ac_cv_lib_socket_socket+set}" = set; then
44308 echo $ECHO_N "(cached) $ECHO_C" >&6
44309 else
44310 ac_check_lib_save_LIBS=$LIBS
44311 LIBS="-lsocket $LIBS"
44312 cat >conftest.$ac_ext <<_ACEOF
44313 /* confdefs.h. */
44314 _ACEOF
44315 cat confdefs.h >>conftest.$ac_ext
44316 cat >>conftest.$ac_ext <<_ACEOF
44317 /* end confdefs.h. */
44318
44319 /* Override any GCC internal prototype to avoid an error.
44320 Use char because int might match the return type of a GCC
44321 builtin and then its argument prototype would still apply. */
44322 #ifdef __cplusplus
44323 extern "C"
44324 #endif
44325 char socket ();
44326 int
44327 main ()
44328 {
44329 return socket ();
44330 ;
44331 return 0;
44332 }
44333 _ACEOF
44334 rm -f conftest.$ac_objext conftest$ac_exeext
44335 if { (ac_try="$ac_link"
44336 case "(($ac_try" in
44337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44338 *) ac_try_echo=$ac_try;;
44339 esac
44340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44341 (eval "$ac_link") 2>conftest.er1
44342 ac_status=$?
44343 grep -v '^ *+' conftest.er1 >conftest.err
44344 rm -f conftest.er1
44345 cat conftest.err >&5
44346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44347 (exit $ac_status); } && {
44348 test -z "$ac_c_werror_flag" ||
44349 test ! -s conftest.err
44350 } && test -s conftest$ac_exeext &&
44351 $as_test_x conftest$ac_exeext; then
44352 ac_cv_lib_socket_socket=yes
44353 else
44354 echo "$as_me: failed program was:" >&5
44355 sed 's/^/| /' conftest.$ac_ext >&5
44356
44357 ac_cv_lib_socket_socket=no
44358 fi
44359
44360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44361 conftest$ac_exeext conftest.$ac_ext
44362 LIBS=$ac_check_lib_save_LIBS
44363 fi
44364 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44365 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44366 if test $ac_cv_lib_socket_socket = yes; then
44367 if test "$INET_LINK" != " -lsocket"; then
44368 INET_LINK="$INET_LINK -lsocket"
44369 fi
44370 else
44371
44372 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44373 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44374 wxUSE_SOCKETS=no
44375
44376
44377 fi
44378
44379
44380
44381 fi
44382
44383 fi
44384 fi
44385
44386 if test "$wxUSE_SOCKETS" = "yes" ; then
44387 if test "$TOOLKIT" != "MSW"; then
44388 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44389 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44390 if test "${wx_cv_type_getsockname3+set}" = set; then
44391 echo $ECHO_N "(cached) $ECHO_C" >&6
44392 else
44393
44394 ac_ext=cpp
44395 ac_cpp='$CXXCPP $CPPFLAGS'
44396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44399
44400 cat >conftest.$ac_ext <<_ACEOF
44401 /* confdefs.h. */
44402 _ACEOF
44403 cat confdefs.h >>conftest.$ac_ext
44404 cat >>conftest.$ac_ext <<_ACEOF
44405 /* end confdefs.h. */
44406
44407 #include <sys/types.h>
44408 #include <sys/socket.h>
44409
44410 int
44411 main ()
44412 {
44413
44414 socklen_t len;
44415 getsockname(0, 0, &len);
44416
44417 ;
44418 return 0;
44419 }
44420 _ACEOF
44421 rm -f conftest.$ac_objext
44422 if { (ac_try="$ac_compile"
44423 case "(($ac_try" in
44424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44425 *) ac_try_echo=$ac_try;;
44426 esac
44427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44428 (eval "$ac_compile") 2>conftest.er1
44429 ac_status=$?
44430 grep -v '^ *+' conftest.er1 >conftest.err
44431 rm -f conftest.er1
44432 cat conftest.err >&5
44433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44434 (exit $ac_status); } && {
44435 test -z "$ac_cxx_werror_flag" ||
44436 test ! -s conftest.err
44437 } && test -s conftest.$ac_objext; then
44438 wx_cv_type_getsockname3=socklen_t
44439 else
44440 echo "$as_me: failed program was:" >&5
44441 sed 's/^/| /' conftest.$ac_ext >&5
44442
44443
44444 CFLAGS_OLD="$CFLAGS"
44445 if test "$GCC" = yes ; then
44446 CFLAGS="-Werror $CFLAGS"
44447 fi
44448
44449 cat >conftest.$ac_ext <<_ACEOF
44450 /* confdefs.h. */
44451 _ACEOF
44452 cat confdefs.h >>conftest.$ac_ext
44453 cat >>conftest.$ac_ext <<_ACEOF
44454 /* end confdefs.h. */
44455
44456 #include <sys/types.h>
44457 #include <sys/socket.h>
44458
44459 int
44460 main ()
44461 {
44462
44463 size_t len;
44464 getsockname(0, 0, &len);
44465
44466 ;
44467 return 0;
44468 }
44469 _ACEOF
44470 rm -f conftest.$ac_objext
44471 if { (ac_try="$ac_compile"
44472 case "(($ac_try" in
44473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44474 *) ac_try_echo=$ac_try;;
44475 esac
44476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44477 (eval "$ac_compile") 2>conftest.er1
44478 ac_status=$?
44479 grep -v '^ *+' conftest.er1 >conftest.err
44480 rm -f conftest.er1
44481 cat conftest.err >&5
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); } && {
44484 test -z "$ac_cxx_werror_flag" ||
44485 test ! -s conftest.err
44486 } && test -s conftest.$ac_objext; then
44487 wx_cv_type_getsockname3=size_t
44488 else
44489 echo "$as_me: failed program was:" >&5
44490 sed 's/^/| /' conftest.$ac_ext >&5
44491
44492 cat >conftest.$ac_ext <<_ACEOF
44493 /* confdefs.h. */
44494 _ACEOF
44495 cat confdefs.h >>conftest.$ac_ext
44496 cat >>conftest.$ac_ext <<_ACEOF
44497 /* end confdefs.h. */
44498
44499 #include <sys/types.h>
44500 #include <sys/socket.h>
44501
44502 int
44503 main ()
44504 {
44505
44506 int len;
44507 getsockname(0, 0, &len);
44508
44509 ;
44510 return 0;
44511 }
44512 _ACEOF
44513 rm -f conftest.$ac_objext
44514 if { (ac_try="$ac_compile"
44515 case "(($ac_try" in
44516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44517 *) ac_try_echo=$ac_try;;
44518 esac
44519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44520 (eval "$ac_compile") 2>conftest.er1
44521 ac_status=$?
44522 grep -v '^ *+' conftest.er1 >conftest.err
44523 rm -f conftest.er1
44524 cat conftest.err >&5
44525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44526 (exit $ac_status); } && {
44527 test -z "$ac_cxx_werror_flag" ||
44528 test ! -s conftest.err
44529 } && test -s conftest.$ac_objext; then
44530 wx_cv_type_getsockname3=int
44531 else
44532 echo "$as_me: failed program was:" >&5
44533 sed 's/^/| /' conftest.$ac_ext >&5
44534
44535 wx_cv_type_getsockname3=unknown
44536
44537 fi
44538
44539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44540
44541 fi
44542
44543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44544
44545 CFLAGS="$CFLAGS_OLD"
44546
44547
44548 fi
44549
44550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44551 ac_ext=c
44552 ac_cpp='$CPP $CPPFLAGS'
44553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44556
44557
44558 fi
44559 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44560 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44561
44562 if test "$wx_cv_type_getsockname3" = "unknown"; then
44563 wxUSE_SOCKETS=no
44564 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44565 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44566 else
44567 cat >>confdefs.h <<_ACEOF
44568 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44569 _ACEOF
44570
44571 fi
44572 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44573 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44574 if test "${wx_cv_type_getsockopt5+set}" = set; then
44575 echo $ECHO_N "(cached) $ECHO_C" >&6
44576 else
44577
44578 ac_ext=cpp
44579 ac_cpp='$CXXCPP $CPPFLAGS'
44580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44583
44584 cat >conftest.$ac_ext <<_ACEOF
44585 /* confdefs.h. */
44586 _ACEOF
44587 cat confdefs.h >>conftest.$ac_ext
44588 cat >>conftest.$ac_ext <<_ACEOF
44589 /* end confdefs.h. */
44590
44591 #include <sys/types.h>
44592 #include <sys/socket.h>
44593
44594 int
44595 main ()
44596 {
44597
44598 socklen_t len;
44599 getsockopt(0, 0, 0, 0, &len);
44600
44601 ;
44602 return 0;
44603 }
44604 _ACEOF
44605 rm -f conftest.$ac_objext
44606 if { (ac_try="$ac_compile"
44607 case "(($ac_try" in
44608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44609 *) ac_try_echo=$ac_try;;
44610 esac
44611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44612 (eval "$ac_compile") 2>conftest.er1
44613 ac_status=$?
44614 grep -v '^ *+' conftest.er1 >conftest.err
44615 rm -f conftest.er1
44616 cat conftest.err >&5
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); } && {
44619 test -z "$ac_cxx_werror_flag" ||
44620 test ! -s conftest.err
44621 } && test -s conftest.$ac_objext; then
44622 wx_cv_type_getsockopt5=socklen_t
44623 else
44624 echo "$as_me: failed program was:" >&5
44625 sed 's/^/| /' conftest.$ac_ext >&5
44626
44627
44628 cat >conftest.$ac_ext <<_ACEOF
44629 /* confdefs.h. */
44630 _ACEOF
44631 cat confdefs.h >>conftest.$ac_ext
44632 cat >>conftest.$ac_ext <<_ACEOF
44633 /* end confdefs.h. */
44634
44635 #include <sys/types.h>
44636 #include <sys/socket.h>
44637
44638 int
44639 main ()
44640 {
44641
44642 size_t len;
44643 getsockopt(0, 0, 0, 0, &len);
44644
44645 ;
44646 return 0;
44647 }
44648 _ACEOF
44649 rm -f conftest.$ac_objext
44650 if { (ac_try="$ac_compile"
44651 case "(($ac_try" in
44652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44653 *) ac_try_echo=$ac_try;;
44654 esac
44655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44656 (eval "$ac_compile") 2>conftest.er1
44657 ac_status=$?
44658 grep -v '^ *+' conftest.er1 >conftest.err
44659 rm -f conftest.er1
44660 cat conftest.err >&5
44661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44662 (exit $ac_status); } && {
44663 test -z "$ac_cxx_werror_flag" ||
44664 test ! -s conftest.err
44665 } && test -s conftest.$ac_objext; then
44666 wx_cv_type_getsockopt5=size_t
44667 else
44668 echo "$as_me: failed program was:" >&5
44669 sed 's/^/| /' conftest.$ac_ext >&5
44670
44671 cat >conftest.$ac_ext <<_ACEOF
44672 /* confdefs.h. */
44673 _ACEOF
44674 cat confdefs.h >>conftest.$ac_ext
44675 cat >>conftest.$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44677
44678 #include <sys/types.h>
44679 #include <sys/socket.h>
44680
44681 int
44682 main ()
44683 {
44684
44685 int len;
44686 getsockopt(0, 0, 0, 0, &len);
44687
44688 ;
44689 return 0;
44690 }
44691 _ACEOF
44692 rm -f conftest.$ac_objext
44693 if { (ac_try="$ac_compile"
44694 case "(($ac_try" in
44695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44696 *) ac_try_echo=$ac_try;;
44697 esac
44698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44699 (eval "$ac_compile") 2>conftest.er1
44700 ac_status=$?
44701 grep -v '^ *+' conftest.er1 >conftest.err
44702 rm -f conftest.er1
44703 cat conftest.err >&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } && {
44706 test -z "$ac_cxx_werror_flag" ||
44707 test ! -s conftest.err
44708 } && test -s conftest.$ac_objext; then
44709 wx_cv_type_getsockopt5=int
44710 else
44711 echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44713
44714 wx_cv_type_getsockopt5=unknown
44715
44716 fi
44717
44718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44719
44720 fi
44721
44722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44723
44724
44725 fi
44726
44727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44728 ac_ext=c
44729 ac_cpp='$CPP $CPPFLAGS'
44730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44733
44734
44735 fi
44736 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44737 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44738
44739 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44740 wxUSE_SOCKETS=no
44741 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44742 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44743 else
44744 cat >>confdefs.h <<_ACEOF
44745 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44746 _ACEOF
44747
44748 fi
44749 fi
44750 fi
44751
44752 if test "$wxUSE_SOCKETS" = "yes" ; then
44753 if test "$wxUSE_IPV6" = "yes"; then
44754 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44755 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44756 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44757 echo $ECHO_N "(cached) $ECHO_C" >&6
44758 else
44759
44760 cat >conftest.$ac_ext <<_ACEOF
44761 /* confdefs.h. */
44762 _ACEOF
44763 cat confdefs.h >>conftest.$ac_ext
44764 cat >>conftest.$ac_ext <<_ACEOF
44765 /* end confdefs.h. */
44766
44767 #include <sys/types.h>
44768 #include <sys/socket.h>
44769 #include <netinet/in.h>
44770
44771 int
44772 main ()
44773 {
44774
44775 struct sockaddr_in6 sa6;
44776
44777 ;
44778 return 0;
44779 }
44780 _ACEOF
44781 rm -f conftest.$ac_objext
44782 if { (ac_try="$ac_compile"
44783 case "(($ac_try" in
44784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44785 *) ac_try_echo=$ac_try;;
44786 esac
44787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44788 (eval "$ac_compile") 2>conftest.er1
44789 ac_status=$?
44790 grep -v '^ *+' conftest.er1 >conftest.err
44791 rm -f conftest.er1
44792 cat conftest.err >&5
44793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44794 (exit $ac_status); } && {
44795 test -z "$ac_c_werror_flag" ||
44796 test ! -s conftest.err
44797 } && test -s conftest.$ac_objext; then
44798 wx_cv_type_sockaddr_in6=yes
44799 else
44800 echo "$as_me: failed program was:" >&5
44801 sed 's/^/| /' conftest.$ac_ext >&5
44802
44803 wx_cv_type_sockaddr_in6=no
44804
44805 fi
44806
44807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44808
44809
44810 fi
44811 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44812 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44813
44814 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_IPV6 1
44817 _ACEOF
44818
44819 else
44820 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44821 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44822 fi
44823 fi
44824
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_SOCKETS 1
44827 _ACEOF
44828
44829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44830 fi
44831
44832 if test "$wxUSE_PROTOCOL" = "yes"; then
44833 if test "$wxUSE_SOCKETS" != "yes"; then
44834 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44835 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44836 wxUSE_PROTOCOL=no
44837 fi
44838 fi
44839
44840 if test "$wxUSE_PROTOCOL" = "yes"; then
44841 cat >>confdefs.h <<\_ACEOF
44842 #define wxUSE_PROTOCOL 1
44843 _ACEOF
44844
44845
44846 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_PROTOCOL_HTTP 1
44849 _ACEOF
44850
44851 fi
44852 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_PROTOCOL_FTP 1
44855 _ACEOF
44856
44857 fi
44858 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_PROTOCOL_FILE 1
44861 _ACEOF
44862
44863 fi
44864 else
44865 if test "$wxUSE_FS_INET" = "yes"; then
44866 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44867 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44868 wxUSE_FS_INET="no"
44869 fi
44870 fi
44871
44872 if test "$wxUSE_URL" = "yes"; then
44873 if test "$wxUSE_PROTOCOL" != "yes"; then
44874 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44875 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44876 wxUSE_URL=no
44877 fi
44878 if test "$wxUSE_URL" = "yes"; then
44879 cat >>confdefs.h <<\_ACEOF
44880 #define wxUSE_URL 1
44881 _ACEOF
44882
44883 fi
44884 fi
44885
44886 if test "$wxUSE_VARIANT" = "yes"; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_VARIANT 1
44889 _ACEOF
44890
44891 fi
44892
44893 if test "$wxUSE_FS_INET" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_FS_INET 1
44896 _ACEOF
44897
44898 fi
44899
44900
44901 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44902 wxUSE_JOYSTICK=no
44903
44904 if test "$TOOLKIT" = "MSW"; then
44905 wxUSE_JOYSTICK=yes
44906
44907 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44908 if test "$USE_DARWIN" = 1; then
44909 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44910 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44911 ac_ext=cpp
44912 ac_cpp='$CXXCPP $CPPFLAGS'
44913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44916
44917 cat >conftest.$ac_ext <<_ACEOF
44918 /* confdefs.h. */
44919 _ACEOF
44920 cat confdefs.h >>conftest.$ac_ext
44921 cat >>conftest.$ac_ext <<_ACEOF
44922 /* end confdefs.h. */
44923 #include <IOKit/hid/IOHIDLib.h>
44924 int
44925 main ()
44926 {
44927 IOHIDQueueInterface *qi = NULL;
44928 IOHIDCallbackFunction cb = NULL;
44929 qi->setEventCallout(NULL, cb, NULL, NULL);
44930 ;
44931 return 0;
44932 }
44933 _ACEOF
44934 rm -f conftest.$ac_objext
44935 if { (ac_try="$ac_compile"
44936 case "(($ac_try" in
44937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44938 *) ac_try_echo=$ac_try;;
44939 esac
44940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44941 (eval "$ac_compile") 2>conftest.er1
44942 ac_status=$?
44943 grep -v '^ *+' conftest.er1 >conftest.err
44944 rm -f conftest.er1
44945 cat conftest.err >&5
44946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44947 (exit $ac_status); } && {
44948 test -z "$ac_cxx_werror_flag" ||
44949 test ! -s conftest.err
44950 } && test -s conftest.$ac_objext; then
44951 wxUSE_JOYSTICK=yes
44952
44953 else
44954 echo "$as_me: failed program was:" >&5
44955 sed 's/^/| /' conftest.$ac_ext >&5
44956
44957
44958 fi
44959
44960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44961 ac_ext=c
44962 ac_cpp='$CPP $CPPFLAGS'
44963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44966
44967 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44968 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44969 fi
44970
44971 else
44972 if test "$wxUSE_MGL" != 1; then
44973
44974 for ac_header in linux/joystick.h
44975 do
44976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44977 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44979 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44980 echo $ECHO_N "(cached) $ECHO_C" >&6
44981 else
44982 cat >conftest.$ac_ext <<_ACEOF
44983 /* confdefs.h. */
44984 _ACEOF
44985 cat confdefs.h >>conftest.$ac_ext
44986 cat >>conftest.$ac_ext <<_ACEOF
44987 /* end confdefs.h. */
44988 $ac_includes_default
44989
44990 #include <$ac_header>
44991 _ACEOF
44992 rm -f conftest.$ac_objext
44993 if { (ac_try="$ac_compile"
44994 case "(($ac_try" in
44995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44996 *) ac_try_echo=$ac_try;;
44997 esac
44998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44999 (eval "$ac_compile") 2>conftest.er1
45000 ac_status=$?
45001 grep -v '^ *+' conftest.er1 >conftest.err
45002 rm -f conftest.er1
45003 cat conftest.err >&5
45004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45005 (exit $ac_status); } && {
45006 test -z "$ac_c_werror_flag" ||
45007 test ! -s conftest.err
45008 } && test -s conftest.$ac_objext; then
45009 eval "$as_ac_Header=yes"
45010 else
45011 echo "$as_me: failed program was:" >&5
45012 sed 's/^/| /' conftest.$ac_ext >&5
45013
45014 eval "$as_ac_Header=no"
45015 fi
45016
45017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45018 fi
45019 ac_res=`eval echo '${'$as_ac_Header'}'`
45020 { echo "$as_me:$LINENO: result: $ac_res" >&5
45021 echo "${ECHO_T}$ac_res" >&6; }
45022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45023 cat >>confdefs.h <<_ACEOF
45024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45025 _ACEOF
45026 wxUSE_JOYSTICK=yes
45027 fi
45028
45029 done
45030
45031 fi
45032 fi
45033
45034 if test "$wxUSE_JOYSTICK" = "yes"; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_JOYSTICK 1
45037 _ACEOF
45038
45039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45040 else
45041 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45042 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45043 fi
45044 fi
45045
45046
45047
45048 if test "$wxUSE_FONTENUM" = "yes" ; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_FONTENUM 1
45051 _ACEOF
45052
45053 fi
45054
45055 if test "$wxUSE_FONTMAP" = "yes" ; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_FONTMAP 1
45058 _ACEOF
45059
45060 fi
45061
45062 if test "$wxUSE_UNICODE" = "yes" ; then
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_UNICODE 1
45065 _ACEOF
45066
45067
45068 if test "$USE_WIN32" != 1; then
45069 wxUSE_UNICODE_MSLU=no
45070 fi
45071
45072 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45073 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45074 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45075 if test "${ac_cv_lib_unicows_main+set}" = set; then
45076 echo $ECHO_N "(cached) $ECHO_C" >&6
45077 else
45078 ac_check_lib_save_LIBS=$LIBS
45079 LIBS="-lunicows $LIBS"
45080 cat >conftest.$ac_ext <<_ACEOF
45081 /* confdefs.h. */
45082 _ACEOF
45083 cat confdefs.h >>conftest.$ac_ext
45084 cat >>conftest.$ac_ext <<_ACEOF
45085 /* end confdefs.h. */
45086
45087
45088 int
45089 main ()
45090 {
45091 return main ();
45092 ;
45093 return 0;
45094 }
45095 _ACEOF
45096 rm -f conftest.$ac_objext conftest$ac_exeext
45097 if { (ac_try="$ac_link"
45098 case "(($ac_try" in
45099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45100 *) ac_try_echo=$ac_try;;
45101 esac
45102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45103 (eval "$ac_link") 2>conftest.er1
45104 ac_status=$?
45105 grep -v '^ *+' conftest.er1 >conftest.err
45106 rm -f conftest.er1
45107 cat conftest.err >&5
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); } && {
45110 test -z "$ac_c_werror_flag" ||
45111 test ! -s conftest.err
45112 } && test -s conftest$ac_exeext &&
45113 $as_test_x conftest$ac_exeext; then
45114 ac_cv_lib_unicows_main=yes
45115 else
45116 echo "$as_me: failed program was:" >&5
45117 sed 's/^/| /' conftest.$ac_ext >&5
45118
45119 ac_cv_lib_unicows_main=no
45120 fi
45121
45122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45123 conftest$ac_exeext conftest.$ac_ext
45124 LIBS=$ac_check_lib_save_LIBS
45125 fi
45126 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45127 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45128 if test $ac_cv_lib_unicows_main = yes; then
45129
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_UNICODE_MSLU 1
45132 _ACEOF
45133
45134
45135 else
45136
45137 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45138 Applications will only run on Windows NT/2000/XP!" >&5
45139 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45140 Applications will only run on Windows NT/2000/XP!" >&2;}
45141 wxUSE_UNICODE_MSLU=no
45142
45143 fi
45144
45145 fi
45146 fi
45147
45148 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45149 cat >>confdefs.h <<\_ACEOF
45150 #define wxUSE_UNICODE_UTF8 1
45151 _ACEOF
45152
45153
45154 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_UTF8_LOCALE_ONLY 1
45157 _ACEOF
45158
45159 fi
45160 fi
45161
45162
45163 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_CONSTRAINTS 1
45166 _ACEOF
45167
45168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45169 fi
45170
45171 if test "$wxUSE_MDI" = "yes"; then
45172 cat >>confdefs.h <<\_ACEOF
45173 #define wxUSE_MDI 1
45174 _ACEOF
45175
45176
45177 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_MDI_ARCHITECTURE 1
45180 _ACEOF
45181
45182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45183 fi
45184 fi
45185
45186 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45189 _ACEOF
45190
45191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45192 fi
45193
45194 if test "$wxUSE_HELP" = "yes"; then
45195 cat >>confdefs.h <<\_ACEOF
45196 #define wxUSE_HELP 1
45197 _ACEOF
45198
45199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45200
45201 if test "$wxUSE_MSW" = 1; then
45202 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45203 cat >>confdefs.h <<\_ACEOF
45204 #define wxUSE_MS_HTML_HELP 1
45205 _ACEOF
45206
45207 fi
45208 fi
45209
45210 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45211 if test "$wxUSE_HTML" = "yes"; then
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_WXHTML_HELP 1
45214 _ACEOF
45215
45216 else
45217 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45218 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45219 wxUSE_WXHTML_HELP=no
45220 fi
45221 fi
45222 fi
45223
45224 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_PRINTING_ARCHITECTURE 1
45227 _ACEOF
45228
45229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45230 fi
45231
45232 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45233 cat >>confdefs.h <<\_ACEOF
45234 #define wxUSE_POSTSCRIPT 1
45235 _ACEOF
45236
45237 fi
45238
45239 cat >>confdefs.h <<\_ACEOF
45240 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45241 _ACEOF
45242
45243
45244 if test "$wxUSE_SVG" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_SVG 1
45247 _ACEOF
45248
45249 fi
45250
45251
45252 if test "$wxUSE_METAFILE" = "yes"; then
45253 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45254 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45255 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45256 wxUSE_METAFILE=no
45257 fi
45258 fi
45259
45260
45261 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45262 -o "$wxUSE_CLIPBOARD" = "yes" \
45263 -o "$wxUSE_OLE" = "yes" \
45264 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45265 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45266 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45267 if test "${ac_cv_header_ole2_h+set}" = set; then
45268 echo $ECHO_N "(cached) $ECHO_C" >&6
45269 else
45270 cat >conftest.$ac_ext <<_ACEOF
45271 /* confdefs.h. */
45272 _ACEOF
45273 cat confdefs.h >>conftest.$ac_ext
45274 cat >>conftest.$ac_ext <<_ACEOF
45275 /* end confdefs.h. */
45276
45277
45278 #include <ole2.h>
45279 _ACEOF
45280 rm -f conftest.$ac_objext
45281 if { (ac_try="$ac_compile"
45282 case "(($ac_try" in
45283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45284 *) ac_try_echo=$ac_try;;
45285 esac
45286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45287 (eval "$ac_compile") 2>conftest.er1
45288 ac_status=$?
45289 grep -v '^ *+' conftest.er1 >conftest.err
45290 rm -f conftest.er1
45291 cat conftest.err >&5
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); } && {
45294 test -z "$ac_c_werror_flag" ||
45295 test ! -s conftest.err
45296 } && test -s conftest.$ac_objext; then
45297 ac_cv_header_ole2_h=yes
45298 else
45299 echo "$as_me: failed program was:" >&5
45300 sed 's/^/| /' conftest.$ac_ext >&5
45301
45302 ac_cv_header_ole2_h=no
45303 fi
45304
45305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45306 fi
45307 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45308 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45309
45310
45311
45312 if test "$ac_cv_header_ole2_h" = "yes" ; then
45313 if test "$GCC" = yes ; then
45314 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45315 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45316 cat >conftest.$ac_ext <<_ACEOF
45317 /* confdefs.h. */
45318 _ACEOF
45319 cat confdefs.h >>conftest.$ac_ext
45320 cat >>conftest.$ac_ext <<_ACEOF
45321 /* end confdefs.h. */
45322 #include <windows.h>
45323 #include <ole2.h>
45324 int
45325 main ()
45326 {
45327
45328 ;
45329 return 0;
45330 }
45331 _ACEOF
45332 rm -f conftest.$ac_objext
45333 if { (ac_try="$ac_compile"
45334 case "(($ac_try" in
45335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45336 *) ac_try_echo=$ac_try;;
45337 esac
45338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45339 (eval "$ac_compile") 2>conftest.er1
45340 ac_status=$?
45341 grep -v '^ *+' conftest.er1 >conftest.err
45342 rm -f conftest.er1
45343 cat conftest.err >&5
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); } && {
45346 test -z "$ac_c_werror_flag" ||
45347 test ! -s conftest.err
45348 } && test -s conftest.$ac_objext; then
45349 { echo "$as_me:$LINENO: result: no" >&5
45350 echo "${ECHO_T}no" >&6; }
45351 else
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45354
45355 { echo "$as_me:$LINENO: result: yes" >&5
45356 echo "${ECHO_T}yes" >&6; }
45357 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45358 fi
45359
45360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45361 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45362 if test "$wxUSE_OLE" = "yes" ; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_OLE 1
45365 _ACEOF
45366
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_OLE_AUTOMATION 1
45369 _ACEOF
45370
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_ACTIVEX 1
45373 _ACEOF
45374
45375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45376 fi
45377 fi
45378
45379 if test "$wxUSE_DATAOBJ" = "yes" ; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_DATAOBJ 1
45382 _ACEOF
45383
45384 fi
45385 else
45386 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45387 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45388
45389 wxUSE_CLIPBOARD=no
45390 wxUSE_DRAG_AND_DROP=no
45391 wxUSE_DATAOBJ=no
45392 wxUSE_OLE=no
45393 fi
45394
45395 if test "$wxUSE_METAFILE" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_METAFILE 1
45398 _ACEOF
45399
45400
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_ENH_METAFILE 1
45403 _ACEOF
45404
45405 fi
45406 fi
45407
45408 if test "$wxUSE_IPC" = "yes"; then
45409 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45410 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45411 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45412 wxUSE_IPC=no
45413 fi
45414
45415 if test "$wxUSE_IPC" = "yes"; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_IPC 1
45418 _ACEOF
45419
45420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45421 fi
45422 fi
45423
45424 if test "$wxUSE_DATAOBJ" = "yes"; then
45425 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45426 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45427 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45428 wxUSE_DATAOBJ=no
45429 else
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_DATAOBJ 1
45432 _ACEOF
45433
45434 fi
45435 else
45436 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45437 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45438 wxUSE_CLIPBOARD=no
45439 wxUSE_DRAG_AND_DROP=no
45440 fi
45441
45442 if test "$wxUSE_CLIPBOARD" = "yes"; then
45443 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45444 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45445 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45446 wxUSE_CLIPBOARD=no
45447 fi
45448
45449 if test "$wxUSE_CLIPBOARD" = "yes"; then
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_CLIPBOARD 1
45452 _ACEOF
45453
45454 fi
45455 fi
45456
45457 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45458 if test "$wxUSE_GTK" = 1; then
45459 if test "$WXGTK12" != 1; then
45460 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45461 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45462 wxUSE_DRAG_AND_DROP=no
45463 fi
45464 fi
45465
45466 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45467 "$wxUSE_DFB" = 1; then
45468 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45469 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45470 wxUSE_DRAG_AND_DROP=no
45471 fi
45472
45473 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_DRAG_AND_DROP 1
45476 _ACEOF
45477
45478 fi
45479
45480 fi
45481
45482 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45484 fi
45485
45486 if test "$wxUSE_CLIPBOARD" = "yes"; then
45487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45488 fi
45489
45490 if test "$wxUSE_SPLINES" = "yes" ; then
45491 cat >>confdefs.h <<\_ACEOF
45492 #define wxUSE_SPLINES 1
45493 _ACEOF
45494
45495 fi
45496
45497 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_MOUSEWHEEL 1
45500 _ACEOF
45501
45502 fi
45503
45504
45505 USES_CONTROLS=0
45506 if test "$wxUSE_CONTROLS" = "yes"; then
45507 USES_CONTROLS=1
45508 fi
45509
45510 if test "$wxUSE_ACCEL" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_ACCEL 1
45513 _ACEOF
45514
45515 USES_CONTROLS=1
45516 fi
45517
45518 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_ANIMATIONCTRL 1
45521 _ACEOF
45522
45523 USES_CONTROLS=1
45524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45525 fi
45526
45527 if test "$wxUSE_BUTTON" = "yes"; then
45528 cat >>confdefs.h <<\_ACEOF
45529 #define wxUSE_BUTTON 1
45530 _ACEOF
45531
45532 USES_CONTROLS=1
45533 fi
45534
45535 if test "$wxUSE_BMPBUTTON" = "yes"; then
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_BMPBUTTON 1
45538 _ACEOF
45539
45540 USES_CONTROLS=1
45541 fi
45542
45543 if test "$wxUSE_CALCTRL" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_CALENDARCTRL 1
45546 _ACEOF
45547
45548 USES_CONTROLS=1
45549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45550 fi
45551
45552 if test "$wxUSE_CARET" = "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_CARET 1
45555 _ACEOF
45556
45557 USES_CONTROLS=1
45558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45559 fi
45560
45561 if test "$wxUSE_COLLPANE" = "yes"; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_COLLPANE 1
45564 _ACEOF
45565
45566 USES_CONTROLS=1
45567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45568 fi
45569
45570 if test "$wxUSE_COMBOBOX" = "yes"; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_COMBOBOX 1
45573 _ACEOF
45574
45575 USES_CONTROLS=1
45576 fi
45577
45578 if test "$wxUSE_COMBOCTRL" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_COMBOCTRL 1
45581 _ACEOF
45582
45583 USES_CONTROLS=1
45584 fi
45585
45586 if test "$wxUSE_CHOICE" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_CHOICE 1
45589 _ACEOF
45590
45591 USES_CONTROLS=1
45592 fi
45593
45594 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_CHOICEBOOK 1
45597 _ACEOF
45598
45599 USES_CONTROLS=1
45600 fi
45601
45602 if test "$wxUSE_CHECKBOX" = "yes"; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_CHECKBOX 1
45605 _ACEOF
45606
45607 USES_CONTROLS=1
45608 fi
45609
45610 if test "$wxUSE_CHECKLST" = "yes"; then
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_CHECKLISTBOX 1
45613 _ACEOF
45614
45615 USES_CONTROLS=1
45616 fi
45617
45618 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_COLOURPICKERCTRL 1
45621 _ACEOF
45622
45623 USES_CONTROLS=1
45624 fi
45625
45626 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_DATEPICKCTRL 1
45629 _ACEOF
45630
45631 USES_CONTROLS=1
45632 fi
45633
45634 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_DIRPICKERCTRL 1
45637 _ACEOF
45638
45639 USES_CONTROLS=1
45640 fi
45641
45642 if test "$wxUSE_FILECTRL" = "yes"; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_FILECTRL 1
45645 _ACEOF
45646
45647 USES_CONTROLS=1
45648 fi
45649
45650 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_FILEPICKERCTRL 1
45653 _ACEOF
45654
45655 USES_CONTROLS=1
45656 fi
45657
45658 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_FONTPICKERCTRL 1
45661 _ACEOF
45662
45663 USES_CONTROLS=1
45664 fi
45665
45666 if test "$wxUSE_DISPLAY" = "yes"; then
45667 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45668 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45669 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45670 wxUSE_DISPLAY=no
45671 else
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_DISPLAY 1
45674 _ACEOF
45675
45676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45677 fi
45678 fi
45679
45680 if test "$wxUSE_DETECT_SM" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_DETECT_SM 1
45683 _ACEOF
45684
45685 fi
45686
45687 if test "$wxUSE_GAUGE" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_GAUGE 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693 fi
45694
45695 if test "$wxUSE_GRID" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_GRID 1
45698 _ACEOF
45699
45700 USES_CONTROLS=1
45701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45702 fi
45703
45704 if test "$wxUSE_HEADERCTRL" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_HEADERCTRL 1
45707 _ACEOF
45708
45709 USES_CONTROLS=1
45710 fi
45711
45712 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45713 cat >>confdefs.h <<\_ACEOF
45714 #define wxUSE_HYPERLINKCTRL 1
45715 _ACEOF
45716
45717 USES_CONTROLS=1
45718 fi
45719
45720 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_BITMAPCOMBOBOX 1
45723 _ACEOF
45724
45725 USES_CONTROLS=1
45726 fi
45727
45728 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_DATAVIEWCTRL 1
45731 _ACEOF
45732
45733 USES_CONTROLS=1
45734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45735 fi
45736
45737 if test "$wxUSE_IMAGLIST" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_IMAGLIST 1
45740 _ACEOF
45741
45742 fi
45743
45744 if test "$wxUSE_LISTBOOK" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_LISTBOOK 1
45747 _ACEOF
45748
45749 USES_CONTROLS=1
45750 fi
45751
45752 if test "$wxUSE_LISTBOX" = "yes"; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_LISTBOX 1
45755 _ACEOF
45756
45757 USES_CONTROLS=1
45758 fi
45759
45760 if test "$wxUSE_LISTCTRL" = "yes"; then
45761 if test "$wxUSE_IMAGLIST" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_LISTCTRL 1
45764 _ACEOF
45765
45766 USES_CONTROLS=1
45767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45768 else
45769 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45770 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45771 fi
45772 fi
45773
45774 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45775 cat >>confdefs.h <<\_ACEOF
45776 #define wxUSE_EDITABLELISTBOX 1
45777 _ACEOF
45778
45779 USES_CONTROLS=1
45780 fi
45781
45782 if test "$wxUSE_NOTEBOOK" = "yes"; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_NOTEBOOK 1
45785 _ACEOF
45786
45787 USES_CONTROLS=1
45788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45789 fi
45790
45791 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45792 cat >>confdefs.h <<\_ACEOF
45793 #define wxUSE_NOTIFICATION_MESSAGE 1
45794 _ACEOF
45795
45796 fi
45797
45798 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_ODCOMBOBOX 1
45801 _ACEOF
45802
45803 USES_CONTROLS=1
45804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45805 fi
45806
45807 if test "$wxUSE_RADIOBOX" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_RADIOBOX 1
45810 _ACEOF
45811
45812 USES_CONTROLS=1
45813 fi
45814
45815 if test "$wxUSE_RADIOBTN" = "yes"; then
45816 cat >>confdefs.h <<\_ACEOF
45817 #define wxUSE_RADIOBTN 1
45818 _ACEOF
45819
45820 USES_CONTROLS=1
45821 fi
45822
45823 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_REARRANGECTRL 1
45826 _ACEOF
45827
45828 fi
45829
45830 if test "$wxUSE_SASH" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_SASH 1
45833 _ACEOF
45834
45835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45836 fi
45837
45838 if test "$wxUSE_SCROLLBAR" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_SCROLLBAR 1
45841 _ACEOF
45842
45843 USES_CONTROLS=1
45844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45845 fi
45846
45847 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_SEARCHCTRL 1
45850 _ACEOF
45851
45852 USES_CONTROLS=1
45853 fi
45854
45855 if test "$wxUSE_SLIDER" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_SLIDER 1
45858 _ACEOF
45859
45860 USES_CONTROLS=1
45861 fi
45862
45863 if test "$wxUSE_SPINBTN" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_SPINBTN 1
45866 _ACEOF
45867
45868 USES_CONTROLS=1
45869 fi
45870
45871 if test "$wxUSE_SPINCTRL" = "yes"; then
45872 cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_SPINCTRL 1
45874 _ACEOF
45875
45876 USES_CONTROLS=1
45877 fi
45878
45879 if test "$wxUSE_SPLITTER" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_SPLITTER 1
45882 _ACEOF
45883
45884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45885 fi
45886
45887 if test "$wxUSE_STATBMP" = "yes"; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_STATBMP 1
45890 _ACEOF
45891
45892 USES_CONTROLS=1
45893 fi
45894
45895 if test "$wxUSE_STATBOX" = "yes"; then
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_STATBOX 1
45898 _ACEOF
45899
45900 USES_CONTROLS=1
45901 fi
45902
45903 if test "$wxUSE_STATTEXT" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_STATTEXT 1
45906 _ACEOF
45907
45908 USES_CONTROLS=1
45909 fi
45910
45911 if test "$wxUSE_STATLINE" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_STATLINE 1
45914 _ACEOF
45915
45916 USES_CONTROLS=1
45917 fi
45918
45919 if test "$wxUSE_STATUSBAR" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_NATIVE_STATUSBAR 1
45922 _ACEOF
45923
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_STATUSBAR 1
45926 _ACEOF
45927
45928 USES_CONTROLS=1
45929
45930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45931 fi
45932
45933 if test "$wxUSE_TEXTCTRL" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_TEXTCTRL 1
45936 _ACEOF
45937
45938 USES_CONTROLS=1
45939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45940
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_RICHEDIT 1
45943 _ACEOF
45944
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_RICHEDIT2 1
45947 _ACEOF
45948
45949 fi
45950
45951 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45952 if test "$wxUSE_COCOA" = 1 ; then
45953 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45954 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45955 wxUSE_TOGGLEBTN=no
45956 fi
45957
45958 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_TOGGLEBTN 1
45961 _ACEOF
45962
45963 USES_CONTROLS=1
45964 fi
45965 fi
45966
45967 if test "$wxUSE_TOOLBAR" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_TOOLBAR 1
45970 _ACEOF
45971
45972 USES_CONTROLS=1
45973
45974 if test "$wxUSE_UNIVERSAL" = "yes"; then
45975 wxUSE_TOOLBAR_NATIVE="no"
45976 else
45977 wxUSE_TOOLBAR_NATIVE="yes"
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_TOOLBAR_NATIVE 1
45980 _ACEOF
45981
45982 fi
45983
45984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45985 fi
45986
45987 if test "$wxUSE_TOOLTIPS" = "yes"; then
45988 if test "$wxUSE_MOTIF" = 1; then
45989 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45990 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45991 else
45992 if test "$wxUSE_UNIVERSAL" = "yes"; then
45993 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45994 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45995 else
45996 cat >>confdefs.h <<\_ACEOF
45997 #define wxUSE_TOOLTIPS 1
45998 _ACEOF
45999
46000 fi
46001 fi
46002 fi
46003
46004 if test "$wxUSE_TREEBOOK" = "yes"; then
46005 cat >>confdefs.h <<\_ACEOF
46006 #define wxUSE_TREEBOOK 1
46007 _ACEOF
46008
46009 USES_CONTROLS=1
46010 fi
46011
46012 if test "$wxUSE_TOOLBOOK" = "yes"; then
46013 cat >>confdefs.h <<\_ACEOF
46014 #define wxUSE_TOOLBOOK 1
46015 _ACEOF
46016
46017 USES_CONTROLS=1
46018 fi
46019
46020 if test "$wxUSE_TREECTRL" = "yes"; then
46021 if test "$wxUSE_IMAGLIST" = "yes"; then
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_TREECTRL 1
46024 _ACEOF
46025
46026 USES_CONTROLS=1
46027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46028 else
46029 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46030 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46031 fi
46032 fi
46033
46034 if test "$wxUSE_POPUPWIN" = "yes"; then
46035 if test "$wxUSE_COCOA" = 1 ; then
46036 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46037 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46038 else
46039 if test "$wxUSE_PM" = 1; then
46040 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46041 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46042 else
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_POPUPWIN 1
46045 _ACEOF
46046
46047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46048
46049 USES_CONTROLS=1
46050 fi
46051 fi
46052 fi
46053
46054 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46055 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46056 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46057 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46058 else
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_DIALUP_MANAGER 1
46061 _ACEOF
46062
46063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46064 fi
46065 fi
46066
46067 if test "$wxUSE_TIPWINDOW" = "yes"; then
46068 if test "$wxUSE_PM" = 1; then
46069 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46070 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46071 else
46072 cat >>confdefs.h <<\_ACEOF
46073 #define wxUSE_TIPWINDOW 1
46074 _ACEOF
46075
46076 fi
46077 fi
46078
46079 if test "$USES_CONTROLS" = 1; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define wxUSE_CONTROLS 1
46082 _ACEOF
46083
46084 fi
46085
46086
46087 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define wxUSE_ACCESSIBILITY 1
46090 _ACEOF
46091
46092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46093 fi
46094
46095 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46096 cat >>confdefs.h <<\_ACEOF
46097 #define wxUSE_DRAGIMAGE 1
46098 _ACEOF
46099
46100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46101 fi
46102
46103 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46104 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46105 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46106 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46107 else
46108 cat >>confdefs.h <<\_ACEOF
46109 #define wxUSE_EXCEPTIONS 1
46110 _ACEOF
46111
46112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46113 fi
46114 fi
46115
46116 USE_HTML=0
46117 if test "$wxUSE_HTML" = "yes"; then
46118 cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_HTML 1
46120 _ACEOF
46121
46122 USE_HTML=1
46123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46124 fi
46125 if test "$wxUSE_WEBKIT" = "yes"; then
46126 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46127 old_CPPFLAGS="$CPPFLAGS"
46128 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46129 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46130 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46131 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46132 echo $ECHO_N "(cached) $ECHO_C" >&6
46133 else
46134 cat >conftest.$ac_ext <<_ACEOF
46135 /* confdefs.h. */
46136 _ACEOF
46137 cat confdefs.h >>conftest.$ac_ext
46138 cat >>conftest.$ac_ext <<_ACEOF
46139 /* end confdefs.h. */
46140
46141 #include <Carbon/Carbon.h>
46142 #include <WebKit/WebKit.h>
46143
46144
46145 #include <WebKit/HIWebView.h>
46146 _ACEOF
46147 rm -f conftest.$ac_objext
46148 if { (ac_try="$ac_compile"
46149 case "(($ac_try" in
46150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46151 *) ac_try_echo=$ac_try;;
46152 esac
46153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46154 (eval "$ac_compile") 2>conftest.er1
46155 ac_status=$?
46156 grep -v '^ *+' conftest.er1 >conftest.err
46157 rm -f conftest.er1
46158 cat conftest.err >&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); } && {
46161 test -z "$ac_c_werror_flag" ||
46162 test ! -s conftest.err
46163 } && test -s conftest.$ac_objext; then
46164 ac_cv_header_WebKit_HIWebView_h=yes
46165 else
46166 echo "$as_me: failed program was:" >&5
46167 sed 's/^/| /' conftest.$ac_ext >&5
46168
46169 ac_cv_header_WebKit_HIWebView_h=no
46170 fi
46171
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173 fi
46174 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46175 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46176 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46177
46178 cat >>confdefs.h <<\_ACEOF
46179 #define wxUSE_WEBKIT 1
46180 _ACEOF
46181
46182 WEBKIT_LINK="-framework WebKit"
46183
46184 else
46185
46186 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46187 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46188 wxUSE_WEBKIT=no
46189
46190 fi
46191
46192
46193 CPPFLAGS="$old_CPPFLAGS"
46194 elif test "$wxUSE_COCOA" = 1; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxUSE_WEBKIT 1
46197 _ACEOF
46198
46199 else
46200 wxUSE_WEBKIT=no
46201 fi
46202 if test "$wxUSE_WEBKIT" = "yes"; then
46203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46204 fi
46205 fi
46206
46207 USE_XRC=0
46208 if test "$wxUSE_XRC" = "yes"; then
46209 if test "$wxUSE_XML" != "yes"; then
46210 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46211 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46212 wxUSE_XRC=no
46213 else
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_XRC 1
46216 _ACEOF
46217
46218 USE_XRC=1
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46220 fi
46221 fi
46222
46223 USE_AUI=0
46224 if test "$wxUSE_AUI" = "yes"; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_AUI 1
46227 _ACEOF
46228
46229 USE_AUI=1
46230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46231 fi
46232
46233 USE_PROPGRID=0
46234 if test "$wxUSE_PROPGRID" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_PROPGRID 1
46237 _ACEOF
46238
46239 USE_PROPGRID=1
46240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46241 fi
46242
46243 USE_STC=0
46244 if test "$wxUSE_STC" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_STC 1
46247 _ACEOF
46248
46249 USE_STC=1
46250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46251
46252 # Extract the first word of "python", so it can be a program name with args.
46253 set dummy python; ac_word=$2
46254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46256 if test "${ac_cv_path_PYTHON+set}" = set; then
46257 echo $ECHO_N "(cached) $ECHO_C" >&6
46258 else
46259 case $PYTHON in
46260 [\\/]* | ?:[\\/]*)
46261 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46262 ;;
46263 *)
46264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46265 for as_dir in $PATH
46266 do
46267 IFS=$as_save_IFS
46268 test -z "$as_dir" && as_dir=.
46269 for ac_exec_ext in '' $ac_executable_extensions; do
46270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46271 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46273 break 2
46274 fi
46275 done
46276 done
46277 IFS=$as_save_IFS
46278
46279 ;;
46280 esac
46281 fi
46282 PYTHON=$ac_cv_path_PYTHON
46283 if test -n "$PYTHON"; then
46284 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46285 echo "${ECHO_T}$PYTHON" >&6; }
46286 else
46287 { echo "$as_me:$LINENO: result: no" >&5
46288 echo "${ECHO_T}no" >&6; }
46289 fi
46290
46291
46292 if test "x$PYTHON" = "x"; then
46293 COND_PYTHON="#"
46294 fi
46295
46296 fi
46297
46298 if test "$wxUSE_MENUS" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_MENUS 1
46301 _ACEOF
46302
46303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46304 fi
46305
46306 if test "$wxUSE_METAFILE" = "yes"; then
46307 cat >>confdefs.h <<\_ACEOF
46308 #define wxUSE_METAFILE 1
46309 _ACEOF
46310
46311 fi
46312
46313 if test "$wxUSE_MIMETYPE" = "yes"; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_MIMETYPE 1
46316 _ACEOF
46317
46318 fi
46319
46320 if test "$wxUSE_MINIFRAME" = "yes"; then
46321 cat >>confdefs.h <<\_ACEOF
46322 #define wxUSE_MINIFRAME 1
46323 _ACEOF
46324
46325 fi
46326
46327 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_SYSTEM_OPTIONS 1
46330 _ACEOF
46331
46332 fi
46333
46334 if test "$wxUSE_TASKBARICON" = "yes"; then
46335 cat >>confdefs.h <<\_ACEOF
46336 #define wxUSE_TASKBARICON 1
46337 _ACEOF
46338
46339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46340 fi
46341
46342
46343 if test "$wxUSE_VALIDATORS" = "yes"; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_VALIDATORS 1
46346 _ACEOF
46347
46348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46349 fi
46350
46351 if test "$wxUSE_PALETTE" = "yes" ; then
46352 if test "$wxUSE_DFB" = 1; then
46353 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46354 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46355 wxUSE_PALETTE=no
46356 else
46357 cat >>confdefs.h <<\_ACEOF
46358 #define wxUSE_PALETTE 1
46359 _ACEOF
46360
46361 fi
46362 fi
46363
46364 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46365 LIBS=" -lunicows $LIBS"
46366 fi
46367
46368 USE_RICHTEXT=0
46369 if test "$wxUSE_RICHTEXT" = "yes"; then
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_RICHTEXT 1
46372 _ACEOF
46373
46374 USE_RICHTEXT=1
46375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46376 fi
46377
46378
46379 if test "$wxUSE_IMAGE" = "yes" ; then
46380 cat >>confdefs.h <<\_ACEOF
46381 #define wxUSE_IMAGE 1
46382 _ACEOF
46383
46384
46385 if test "$wxUSE_GIF" = "yes" ; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_GIF 1
46388 _ACEOF
46389
46390 fi
46391
46392 if test "$wxUSE_PCX" = "yes" ; then
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_PCX 1
46395 _ACEOF
46396
46397 fi
46398
46399 if test "$wxUSE_TGA" = "yes" ; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_TGA 1
46402 _ACEOF
46403
46404 fi
46405
46406 if test "$wxUSE_IFF" = "yes" ; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_IFF 1
46409 _ACEOF
46410
46411 fi
46412
46413 if test "$wxUSE_PNM" = "yes" ; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_PNM 1
46416 _ACEOF
46417
46418 fi
46419
46420 if test "$wxUSE_XPM" = "yes" ; then
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_XPM 1
46423 _ACEOF
46424
46425 fi
46426
46427 if test "$wxUSE_ICO_CUR" = "yes" ; then
46428 cat >>confdefs.h <<\_ACEOF
46429 #define wxUSE_ICO_CUR 1
46430 _ACEOF
46431
46432 fi
46433 fi
46434
46435
46436 if test "$wxUSE_ABOUTDLG" = "yes"; then
46437 cat >>confdefs.h <<\_ACEOF
46438 #define wxUSE_ABOUTDLG 1
46439 _ACEOF
46440
46441 fi
46442
46443 if test "$wxUSE_CHOICEDLG" = "yes"; then
46444 cat >>confdefs.h <<\_ACEOF
46445 #define wxUSE_CHOICEDLG 1
46446 _ACEOF
46447
46448 fi
46449
46450 if test "$wxUSE_COLOURDLG" = "yes"; then
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_COLOURDLG 1
46453 _ACEOF
46454
46455 fi
46456
46457 if test "$wxUSE_FILEDLG" = "yes"; then
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_FILEDLG 1
46460 _ACEOF
46461
46462 fi
46463
46464 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_FINDREPLDLG 1
46467 _ACEOF
46468
46469 fi
46470
46471 if test "$wxUSE_FONTDLG" = "yes"; then
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_FONTDLG 1
46474 _ACEOF
46475
46476 fi
46477
46478 if test "$wxUSE_DIRDLG" = "yes"; then
46479 if test "$wxUSE_TREECTRL" != "yes"; then
46480 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46481 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46482 else
46483 cat >>confdefs.h <<\_ACEOF
46484 #define wxUSE_DIRDLG 1
46485 _ACEOF
46486
46487 fi
46488 fi
46489
46490 if test "$wxUSE_MSGDLG" = "yes"; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_MSGDLG 1
46493 _ACEOF
46494
46495 fi
46496
46497 if test "$wxUSE_NUMBERDLG" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_NUMBERDLG 1
46500 _ACEOF
46501
46502 fi
46503
46504 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_PROGRESSDLG 1
46507 _ACEOF
46508
46509 fi
46510
46511 if test "$wxUSE_SPLASH" = "yes"; then
46512 cat >>confdefs.h <<\_ACEOF
46513 #define wxUSE_SPLASH 1
46514 _ACEOF
46515
46516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46517 fi
46518
46519 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46520 cat >>confdefs.h <<\_ACEOF
46521 #define wxUSE_STARTUP_TIPS 1
46522 _ACEOF
46523
46524 fi
46525
46526 if test "$wxUSE_TEXTDLG" = "yes"; then
46527 cat >>confdefs.h <<\_ACEOF
46528 #define wxUSE_TEXTDLG 1
46529 _ACEOF
46530
46531 fi
46532
46533 if test "$wxUSE_WIZARDDLG" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_WIZARDDLG 1
46536 _ACEOF
46537
46538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46539 fi
46540
46541
46542 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46543 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46544 cat >>confdefs.h <<\_ACEOF
46545 #define wxUSE_OWNER_DRAWN 1
46546 _ACEOF
46547
46548 fi
46549 fi
46550
46551
46552 if test "$wxUSE_MSW" = 1 ; then
46553
46554 if test "$wxUSE_DC_CACHEING" = "yes"; then
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_DC_CACHEING 1
46557 _ACEOF
46558
46559 fi
46560
46561 if test "$wxUSE_DIB" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_WXDIB 1
46564 _ACEOF
46565
46566 fi
46567
46568 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46571 _ACEOF
46572
46573 fi
46574
46575 if test "$wxUSE_UXTHEME" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_UXTHEME 1
46578 _ACEOF
46579
46580 fi
46581
46582 fi
46583
46584 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_AUTOID_MANAGEMENT 1
46587 _ACEOF
46588
46589 fi
46590
46591 if test "$USE_WIN32" = 1 ; then
46592 if test "$wxUSE_INICONF" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_INICONF 1
46595 _ACEOF
46596
46597 fi
46598
46599 if test "$wxUSE_REGKEY" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_REGKEY 1
46602 _ACEOF
46603
46604 fi
46605 fi
46606
46607
46608 if test "$wxUSE_MAC" = 1; then
46609 wxUSE_GRAPHICS_CONTEXT="yes"
46610 fi
46611
46612 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46613 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_GRAPHICS_CONTEXT 1
46616 _ACEOF
46617
46618 elif test "$wxUSE_GTK" != 1; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_GRAPHICS_CONTEXT 1
46621 _ACEOF
46622
46623 else
46624
46625 pkg_failed=no
46626 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46627 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46628
46629 if test -n "$PKG_CONFIG"; then
46630 if test -n "$CAIRO_CFLAGS"; then
46631 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46632 else
46633 if test -n "$PKG_CONFIG" && \
46634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46635 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46636 ac_status=$?
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); }; then
46639 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46640 else
46641 pkg_failed=yes
46642 fi
46643 fi
46644 else
46645 pkg_failed=untried
46646 fi
46647 if test -n "$PKG_CONFIG"; then
46648 if test -n "$CAIRO_LIBS"; then
46649 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46650 else
46651 if test -n "$PKG_CONFIG" && \
46652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46653 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46654 ac_status=$?
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); }; then
46657 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46658 else
46659 pkg_failed=yes
46660 fi
46661 fi
46662 else
46663 pkg_failed=untried
46664 fi
46665
46666
46667
46668 if test $pkg_failed = yes; then
46669
46670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46671 _pkg_short_errors_supported=yes
46672 else
46673 _pkg_short_errors_supported=no
46674 fi
46675 if test $_pkg_short_errors_supported = yes; then
46676 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46677 else
46678 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46679 fi
46680 # Put the nasty error message in config.log where it belongs
46681 echo "$CAIRO_PKG_ERRORS" >&5
46682
46683 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46684 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46685
46686 elif test $pkg_failed = untried; then
46687 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46688 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46689
46690 else
46691 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46692 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46693 { echo "$as_me:$LINENO: result: yes" >&5
46694 echo "${ECHO_T}yes" >&6; }
46695 cat >>confdefs.h <<\_ACEOF
46696 #define wxUSE_GRAPHICS_CONTEXT 1
46697 _ACEOF
46698
46699 fi
46700 fi
46701 fi
46702
46703
46704 USE_MEDIA=0
46705
46706 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46707 USE_MEDIA=1
46708
46709 if test "$wxUSE_GTK" = 1; then
46710 wxUSE_GSTREAMER="no"
46711
46712 GST_VERSION_MAJOR=0
46713 GST_VERSION_MINOR=10
46714 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46715
46716 if test "$wxUSE_GSTREAMER8" = "no"; then
46717
46718 pkg_failed=no
46719 { echo "$as_me:$LINENO: checking for GST" >&5
46720 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46721
46722 if test -n "$PKG_CONFIG"; then
46723 if test -n "$GST_CFLAGS"; then
46724 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46725 else
46726 if test -n "$PKG_CONFIG" && \
46727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46728 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46729 ac_status=$?
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); }; then
46732 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46733 else
46734 pkg_failed=yes
46735 fi
46736 fi
46737 else
46738 pkg_failed=untried
46739 fi
46740 if test -n "$PKG_CONFIG"; then
46741 if test -n "$GST_LIBS"; then
46742 pkg_cv_GST_LIBS="$GST_LIBS"
46743 else
46744 if test -n "$PKG_CONFIG" && \
46745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46746 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46747 ac_status=$?
46748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46749 (exit $ac_status); }; then
46750 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46751 else
46752 pkg_failed=yes
46753 fi
46754 fi
46755 else
46756 pkg_failed=untried
46757 fi
46758
46759
46760
46761 if test $pkg_failed = yes; then
46762
46763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46764 _pkg_short_errors_supported=yes
46765 else
46766 _pkg_short_errors_supported=no
46767 fi
46768 if test $_pkg_short_errors_supported = yes; then
46769 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46770 else
46771 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46772 fi
46773 # Put the nasty error message in config.log where it belongs
46774 echo "$GST_PKG_ERRORS" >&5
46775
46776
46777 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46778 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46779 GST_VERSION_MINOR=8
46780
46781
46782 elif test $pkg_failed = untried; then
46783
46784 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46785 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46786 GST_VERSION_MINOR=8
46787
46788
46789 else
46790 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46791 GST_LIBS=$pkg_cv_GST_LIBS
46792 { echo "$as_me:$LINENO: result: yes" >&5
46793 echo "${ECHO_T}yes" >&6; }
46794
46795 wxUSE_GSTREAMER="yes"
46796 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46797
46798 fi
46799 else
46800 GST_VERSION_MINOR=8
46801 fi
46802
46803 if test $GST_VERSION_MINOR = "8"; then
46804 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46805
46806 pkg_failed=no
46807 { echo "$as_me:$LINENO: checking for GST" >&5
46808 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46809
46810 if test -n "$PKG_CONFIG"; then
46811 if test -n "$GST_CFLAGS"; then
46812 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46813 else
46814 if test -n "$PKG_CONFIG" && \
46815 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46816 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46817 ac_status=$?
46818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46819 (exit $ac_status); }; then
46820 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46821 else
46822 pkg_failed=yes
46823 fi
46824 fi
46825 else
46826 pkg_failed=untried
46827 fi
46828 if test -n "$PKG_CONFIG"; then
46829 if test -n "$GST_LIBS"; then
46830 pkg_cv_GST_LIBS="$GST_LIBS"
46831 else
46832 if test -n "$PKG_CONFIG" && \
46833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46834 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46835 ac_status=$?
46836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46837 (exit $ac_status); }; then
46838 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46839 else
46840 pkg_failed=yes
46841 fi
46842 fi
46843 else
46844 pkg_failed=untried
46845 fi
46846
46847
46848
46849 if test $pkg_failed = yes; then
46850
46851 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46852 _pkg_short_errors_supported=yes
46853 else
46854 _pkg_short_errors_supported=no
46855 fi
46856 if test $_pkg_short_errors_supported = yes; then
46857 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46858 else
46859 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46860 fi
46861 # Put the nasty error message in config.log where it belongs
46862 echo "$GST_PKG_ERRORS" >&5
46863
46864
46865 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46866 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46867
46868 elif test $pkg_failed = untried; then
46869
46870 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46871 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46872
46873 else
46874 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46875 GST_LIBS=$pkg_cv_GST_LIBS
46876 { echo "$as_me:$LINENO: result: yes" >&5
46877 echo "${ECHO_T}yes" >&6; }
46878 wxUSE_GSTREAMER="yes"
46879 fi
46880 fi
46881
46882
46883 if test "$wxUSE_GSTREAMER" = "yes"; then
46884 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46885 EXTRALIBS_MEDIA="$GST_LIBS"
46886
46887 cat >>confdefs.h <<\_ACEOF
46888 #define wxUSE_GSTREAMER 1
46889 _ACEOF
46890
46891 else
46892 USE_MEDIA=0
46893 fi
46894 fi
46895
46896 if test $USE_MEDIA = 1; then
46897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46898 cat >>confdefs.h <<\_ACEOF
46899 #define wxUSE_MEDIACTRL 1
46900 _ACEOF
46901
46902 else
46903 if test "$wxUSE_MEDIACTRL" = "yes"; then
46904 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46905 echo "$as_me: error: GStreamer not available" >&2;}
46906 { (exit 1); exit 1; }; }
46907 else
46908 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46909 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46910 fi
46911 fi
46912 fi
46913
46914
46915 if test "$cross_compiling" != "no"; then
46916 OSINFO="\"$host\""
46917 else
46918 OSINFO=`uname -s -r -m`
46919 OSINFO="\"$OSINFO\""
46920 fi
46921
46922 cat >>confdefs.h <<_ACEOF
46923 #define WXWIN_OS_DESCRIPTION $OSINFO
46924 _ACEOF
46925
46926
46927
46928 if test "x$prefix" != "xNONE"; then
46929 wxPREFIX=$prefix
46930 else
46931 wxPREFIX=$ac_default_prefix
46932 fi
46933
46934 cat >>confdefs.h <<_ACEOF
46935 #define wxINSTALL_PREFIX "$wxPREFIX"
46936 _ACEOF
46937
46938
46939
46940
46941 STD_BASE_LIBS="base"
46942 STD_GUI_LIBS=""
46943 BUILT_WX_LIBS="base"
46944 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46945
46946 if test "$wxUSE_SOCKETS" = "yes" ; then
46947 STD_BASE_LIBS="net $STD_BASE_LIBS"
46948 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46949 fi
46950 if test "$wxUSE_XML" = "yes" ; then
46951 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46952 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46953 fi
46954
46955 if test "$wxUSE_GUI" = "yes"; then
46956 STD_GUI_LIBS="adv core"
46957 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46958
46959 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46960 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46961 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46962 fi
46963 if test "$wxUSE_HTML" = "yes" ; then
46964 STD_GUI_LIBS="html $STD_GUI_LIBS"
46965 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46966 fi
46967 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46968 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46969 fi
46970 if test "$wxUSE_OPENGL" = "yes" ; then
46971 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46972 fi
46973 if test "$wxUSE_AUI" = "yes" ; then
46974 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46975 fi
46976 if test "$wxUSE_PROPGRID" = "yes" ; then
46977 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46978 fi
46979 if test "$wxUSE_RICHTEXT" = "yes" ; then
46980 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46981 fi
46982 if test "$wxUSE_STC" = "yes" ; then
46983 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46984 fi
46985 if test "$wxUSE_XRC" = "yes" ; then
46986 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46987 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46988 fi
46989 fi
46990
46991
46992
46993
46994
46995
46996
46997
46998 if test "$wxUSE_MAC" = 1 ; then
46999 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47000 if test "$USE_DARWIN" = 1; then
47001 LDFLAGS="$LDFLAGS -framework QuickTime"
47002 fi
47003 fi
47004 if test "$USE_DARWIN" = 1; then
47005 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47006 fi
47007 fi
47008 if test "$wxUSE_COCOA" = 1 ; then
47009 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47010 if test "$wxUSE_MEDIACTRL" = "yes"; then
47011 LDFLAGS="$LDFLAGS -framework QuickTime"
47012 fi
47013 fi
47014 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47015 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47016 fi
47017
47018 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47019
47020 if test "$wxUSE_GUI" = "yes"; then
47021
47022
47023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47024 erase event exec font image minimal render \
47025 shaped svg taborder vscroll widgets wrapsizer"
47026
47027 if test "$wxUSE_MONOLITHIC" != "yes"; then
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47029 fi
47030 if test "$TOOLKIT" = "MSW"; then
47031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47032 if test "$wxUSE_UNIVERSAL" != "yes"; then
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47034 fi
47035 fi
47036 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47038 fi
47039 else
47040 SAMPLES_SUBDIRS="console"
47041 if test "$wxUSE_SOCKETS" = "yes" ; then
47042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47043 fi
47044 if test "$wxUSE_IPC" = "yes" ; then
47045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47046 fi
47047 fi
47048
47049
47050 if test "x$INTELCC" = "xyes" ; then
47051 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47052 elif test "$GCC" = yes ; then
47053 CWARNINGS="-Wall -Wundef"
47054 fi
47055
47056 if test "x$INTELCXX" = "xyes" ; then
47057 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47058 elif test "$GXX" = yes ; then
47059 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47060 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47061 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47062 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47063 echo $ECHO_N "(cached) $ECHO_C" >&6
47064 else
47065 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47066
47067 ac_ext=cpp
47068 ac_cpp='$CXXCPP $CPPFLAGS'
47069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47072
47073 ac_save_CXXFLAGS="$CXXFLAGS"
47074 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47075 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47076 cat >conftest.$ac_ext <<_ACEOF
47077 /* confdefs.h. */
47078 _ACEOF
47079 cat confdefs.h >>conftest.$ac_ext
47080 cat >>conftest.$ac_ext <<_ACEOF
47081 /* end confdefs.h. */
47082
47083 int
47084 main ()
47085 {
47086 return 0;
47087 ;
47088 return 0;
47089 }
47090 _ACEOF
47091 rm -f conftest.$ac_objext
47092 if { (ac_try="$ac_compile"
47093 case "(($ac_try" in
47094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47095 *) ac_try_echo=$ac_try;;
47096 esac
47097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47098 (eval "$ac_compile") 2>conftest.er1
47099 ac_status=$?
47100 grep -v '^ *+' conftest.er1 >conftest.err
47101 rm -f conftest.er1
47102 cat conftest.err >&5
47103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104 (exit $ac_status); } && {
47105 test -z "$ac_cxx_werror_flag" ||
47106 test ! -s conftest.err
47107 } && test -s conftest.$ac_objext; then
47108 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47109 else
47110 echo "$as_me: failed program was:" >&5
47111 sed 's/^/| /' conftest.$ac_ext >&5
47112
47113
47114 fi
47115
47116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47117 done
47118 CXXFLAGS="$ac_save_CXXFLAGS"
47119 ac_ext=c
47120 ac_cpp='$CPP $CPPFLAGS'
47121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47124
47125
47126 fi
47127 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47128 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47129 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47130 .ok|.ok,*) ;;
47131 .|.no|.no,*) ;;
47132 *)
47133 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47134 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47135 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47136 ac_status=$?
47137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47138 (exit $ac_status); }
47139 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47140 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47141 ac_status=$?
47142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47143 (exit $ac_status); }
47144 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47145 fi
47146 ;;
47147 esac
47148
47149
47150 if test "$wxUSE_MAC" = 1 ; then
47151 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47152 fi
47153 fi
47154
47155
47156 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47157 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47158
47159
47160 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47161 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47162 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47163 $CPPFLAGS `
47164
47165 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47166 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47167 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47168 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47169 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47170
47171 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47172
47173
47174 if test "x$MWCC" = "xyes"; then
47175
47176 CC="$CC -cwd source -I-"
47177 CXX="$CXX -cwd source -I-"
47178 fi
47179
47180
47181 LIBS=`echo $LIBS`
47182 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47183 EXTRALIBS_XML="$EXPAT_LINK"
47184 EXTRALIBS_HTML="$MSPACK_LINK"
47185 EXTRALIBS_MEDIA="$GST_LIBS"
47186 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47187 if test "$wxUSE_GUI" = "yes"; then
47188 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47189 fi
47190 if test "$wxUSE_OPENGL" = "yes"; then
47191 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47192 fi
47193
47194 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47195
47196 WXCONFIG_LIBS="$LIBS"
47197
47198 if test "$wxUSE_REGEX" = "builtin" ; then
47199 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47200 fi
47201 if test "$wxUSE_EXPAT" = "builtin" ; then
47202 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47203 fi
47204 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47205 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47206 fi
47207 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47208 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47209 fi
47210 if test "$wxUSE_LIBPNG" = "builtin" ; then
47211 wxconfig_3rdparty="png $wxconfig_3rdparty"
47212 fi
47213 if test "$wxUSE_ZLIB" = "builtin" ; then
47214 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47215 fi
47216
47217 for i in $wxconfig_3rdparty ; do
47218 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47219 done
47220
47221
47222 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47223 WXUNIV=1
47224
47225 case "$wxUNIV_THEMES" in
47226 ''|all)
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_ALL_THEMES 1
47229 _ACEOF
47230
47231 ;;
47232
47233 *)
47234 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47235 cat >>confdefs.h <<_ACEOF
47236 #define wxUSE_THEME_$t 1
47237 _ACEOF
47238
47239 done
47240 esac
47241 else
47242 WXUNIV=0
47243 fi
47244
47245
47246
47247
47248
47249
47250
47251
47252 if test $wxUSE_MONOLITHIC = "yes" ; then
47253 MONOLITHIC=1
47254 else
47255 MONOLITHIC=0
47256 fi
47257
47258 if test $wxUSE_PLUGINS = "yes" ; then
47259 USE_PLUGINS=1
47260 else
47261 USE_PLUGINS=0
47262 fi
47263
47264 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47265 USE_QA=1
47266 else
47267 USE_QA=0
47268 fi
47269
47270 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47271 OFFICIAL_BUILD=1
47272 else
47273 OFFICIAL_BUILD=0
47274 fi
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303 TOOLKIT_LOWERCASE=xxx
47304 if test "$TOOLKIT" = "MAC"; then
47305 TOOLKIT_LOWERCASE=osx_carbon
47306 fi
47307 if test "$TOOLKIT" = "OSX_CARBON"; then
47308 TOOLKIT_LOWERCASE=osx_carbon
47309 fi
47310 if test "$TOOLKIT" = "OSX_COCOA"; then
47311 TOOLKIT_LOWERCASE=osx_cocoa
47312 fi
47313 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47314 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47315 fi
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326 case "$TOOLKIT" in
47327 GTK)
47328 TOOLKIT_DESC="GTK+"
47329 if test "$WXGTK2" = 1; then
47330 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47331 if test "$wxUSE_GTKPRINT" = "yes" ; then
47332 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47333 fi
47334 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47335 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47336 fi
47337 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47338 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47339 fi
47340 if test "$wxUSE_LIBHILDON" = "yes"; then
47341 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47342 fi
47343
47344 if test "$TOOLKIT_EXTRA" != ""; then
47345 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47346 fi
47347 fi
47348 ;;
47349
47350 ?*)
47351 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47352 ;;
47353
47354 *)
47355 TOOLKIT_DESC="base only"
47356 ;;
47357 esac
47358
47359 if test "$wxUSE_WINE" = "yes"; then
47360 BAKEFILE_FORCE_PLATFORM=win32
47361 fi
47362
47363 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47364 then
47365 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47366 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47367 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47368 echo $ECHO_N "(cached) $ECHO_C" >&6
47369 else
47370
47371 echo '#include <stdio.h>
47372 const wchar_t test_var[] = L"awidetest";' > conftest.h
47373
47374 echo '#include "conftest.h"
47375 int main()
47376 {
47377 printf("%ls", test_var);
47378 return 0;
47379 }' > conftest.cpp
47380
47381 wx_cv_gcc_pch_bug="pch not supported"
47382
47383 if $CXX conftest.h >/dev/null 2>&1
47384 then
47385 wx_cv_gcc_pch_bug=
47386
47387 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47388 then
47389 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47390 grep awidetest >/dev/null
47391 then
47392 wx_cv_gcc_pch_bug=no
47393 else
47394 wx_cv_gcc_pch_bug=yes
47395 fi
47396 fi
47397 fi
47398
47399 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47400
47401 fi
47402 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47403 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47404
47405 if test "$wx_cv_gcc_pch_bug" = yes; then
47406 bk_use_pch=no
47407 fi
47408 fi
47409
47410
47411
47412
47413
47414
47415
47416 if test "x$BAKEFILE_HOST" = "x"; then
47417 if test "x${host}" = "x" ; then
47418 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47419 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47420 { (exit 1); exit 1; }; }
47421 fi
47422
47423 BAKEFILE_HOST="${host}"
47424 fi
47425
47426 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47427
47428 if test -n "$ac_tool_prefix"; then
47429 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47430 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47433 if test "${ac_cv_prog_RANLIB+set}" = set; then
47434 echo $ECHO_N "(cached) $ECHO_C" >&6
47435 else
47436 if test -n "$RANLIB"; then
47437 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47438 else
47439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47440 for as_dir in $PATH
47441 do
47442 IFS=$as_save_IFS
47443 test -z "$as_dir" && as_dir=.
47444 for ac_exec_ext in '' $ac_executable_extensions; do
47445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47446 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47448 break 2
47449 fi
47450 done
47451 done
47452 IFS=$as_save_IFS
47453
47454 fi
47455 fi
47456 RANLIB=$ac_cv_prog_RANLIB
47457 if test -n "$RANLIB"; then
47458 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47459 echo "${ECHO_T}$RANLIB" >&6; }
47460 else
47461 { echo "$as_me:$LINENO: result: no" >&5
47462 echo "${ECHO_T}no" >&6; }
47463 fi
47464
47465
47466 fi
47467 if test -z "$ac_cv_prog_RANLIB"; then
47468 ac_ct_RANLIB=$RANLIB
47469 # Extract the first word of "ranlib", so it can be a program name with args.
47470 set dummy ranlib; ac_word=$2
47471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47473 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47474 echo $ECHO_N "(cached) $ECHO_C" >&6
47475 else
47476 if test -n "$ac_ct_RANLIB"; then
47477 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47478 else
47479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47480 for as_dir in $PATH
47481 do
47482 IFS=$as_save_IFS
47483 test -z "$as_dir" && as_dir=.
47484 for ac_exec_ext in '' $ac_executable_extensions; do
47485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47486 ac_cv_prog_ac_ct_RANLIB="ranlib"
47487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47488 break 2
47489 fi
47490 done
47491 done
47492 IFS=$as_save_IFS
47493
47494 fi
47495 fi
47496 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47497 if test -n "$ac_ct_RANLIB"; then
47498 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47499 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47500 else
47501 { echo "$as_me:$LINENO: result: no" >&5
47502 echo "${ECHO_T}no" >&6; }
47503 fi
47504
47505 if test "x$ac_ct_RANLIB" = x; then
47506 RANLIB=":"
47507 else
47508 case $cross_compiling:$ac_tool_warned in
47509 yes:)
47510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47511 whose name does not start with the host triplet. If you think this
47512 configuration is useful to you, please write to autoconf@gnu.org." >&5
47513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47514 whose name does not start with the host triplet. If you think this
47515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47516 ac_tool_warned=yes ;;
47517 esac
47518 RANLIB=$ac_ct_RANLIB
47519 fi
47520 else
47521 RANLIB="$ac_cv_prog_RANLIB"
47522 fi
47523
47524 # Find a good install program. We prefer a C program (faster),
47525 # so one script is as good as another. But avoid the broken or
47526 # incompatible versions:
47527 # SysV /etc/install, /usr/sbin/install
47528 # SunOS /usr/etc/install
47529 # IRIX /sbin/install
47530 # AIX /bin/install
47531 # AmigaOS /C/install, which installs bootblocks on floppy discs
47532 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47533 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47534 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47535 # OS/2's system install, which has a completely different semantic
47536 # ./install, which can be erroneously created by make from ./install.sh.
47537 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47538 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47539 if test -z "$INSTALL"; then
47540 if test "${ac_cv_path_install+set}" = set; then
47541 echo $ECHO_N "(cached) $ECHO_C" >&6
47542 else
47543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47544 for as_dir in $PATH
47545 do
47546 IFS=$as_save_IFS
47547 test -z "$as_dir" && as_dir=.
47548 # Account for people who put trailing slashes in PATH elements.
47549 case $as_dir/ in
47550 ./ | .// | /cC/* | \
47551 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47552 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47553 /usr/ucb/* ) ;;
47554 *)
47555 # OSF1 and SCO ODT 3.0 have their own names for install.
47556 # Don't use installbsd from OSF since it installs stuff as root
47557 # by default.
47558 for ac_prog in ginstall scoinst install; do
47559 for ac_exec_ext in '' $ac_executable_extensions; do
47560 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47561 if test $ac_prog = install &&
47562 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47563 # AIX install. It has an incompatible calling convention.
47564 :
47565 elif test $ac_prog = install &&
47566 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47567 # program-specific install script used by HP pwplus--don't use.
47568 :
47569 else
47570 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47571 break 3
47572 fi
47573 fi
47574 done
47575 done
47576 ;;
47577 esac
47578 done
47579 IFS=$as_save_IFS
47580
47581
47582 fi
47583 if test "${ac_cv_path_install+set}" = set; then
47584 INSTALL=$ac_cv_path_install
47585 else
47586 # As a last resort, use the slow shell script. Don't cache a
47587 # value for INSTALL within a source directory, because that will
47588 # break other packages using the cache if that directory is
47589 # removed, or if the value is a relative name.
47590 INSTALL=$ac_install_sh
47591 fi
47592 fi
47593 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47594 echo "${ECHO_T}$INSTALL" >&6; }
47595
47596 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47597 # It thinks the first close brace ends the variable substitution.
47598 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47599
47600 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47601
47602 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47603
47604 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47605 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47606 LN_S=$as_ln_s
47607 if test "$LN_S" = "ln -s"; then
47608 { echo "$as_me:$LINENO: result: yes" >&5
47609 echo "${ECHO_T}yes" >&6; }
47610 else
47611 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47612 echo "${ECHO_T}no, using $LN_S" >&6; }
47613 fi
47614
47615
47616 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47617 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47618 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47619 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47620 echo $ECHO_N "(cached) $ECHO_C" >&6
47621 else
47622 cat >conftest.make <<\_ACEOF
47623 SHELL = /bin/sh
47624 all:
47625 @echo '@@@%%%=$(MAKE)=@@@%%%'
47626 _ACEOF
47627 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47628 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47629 *@@@%%%=?*=@@@%%%*)
47630 eval ac_cv_prog_make_${ac_make}_set=yes;;
47631 *)
47632 eval ac_cv_prog_make_${ac_make}_set=no;;
47633 esac
47634 rm -f conftest.make
47635 fi
47636 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47637 { echo "$as_me:$LINENO: result: yes" >&5
47638 echo "${ECHO_T}yes" >&6; }
47639 SET_MAKE=
47640 else
47641 { echo "$as_me:$LINENO: result: no" >&5
47642 echo "${ECHO_T}no" >&6; }
47643 SET_MAKE="MAKE=${MAKE-make}"
47644 fi
47645
47646
47647
47648 if test "x$SUNCXX" = "xyes"; then
47649 AR=$CXX
47650 AROPTIONS="-xar -o"
47651
47652 elif test "x$SGICC" = "xyes"; then
47653 AR=$CXX
47654 AROPTIONS="-ar -o"
47655
47656 else
47657 if test -n "$ac_tool_prefix"; then
47658 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47659 set dummy ${ac_tool_prefix}ar; ac_word=$2
47660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47662 if test "${ac_cv_prog_AR+set}" = set; then
47663 echo $ECHO_N "(cached) $ECHO_C" >&6
47664 else
47665 if test -n "$AR"; then
47666 ac_cv_prog_AR="$AR" # Let the user override the test.
47667 else
47668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47669 for as_dir in $PATH
47670 do
47671 IFS=$as_save_IFS
47672 test -z "$as_dir" && as_dir=.
47673 for ac_exec_ext in '' $ac_executable_extensions; do
47674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47675 ac_cv_prog_AR="${ac_tool_prefix}ar"
47676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47677 break 2
47678 fi
47679 done
47680 done
47681 IFS=$as_save_IFS
47682
47683 fi
47684 fi
47685 AR=$ac_cv_prog_AR
47686 if test -n "$AR"; then
47687 { echo "$as_me:$LINENO: result: $AR" >&5
47688 echo "${ECHO_T}$AR" >&6; }
47689 else
47690 { echo "$as_me:$LINENO: result: no" >&5
47691 echo "${ECHO_T}no" >&6; }
47692 fi
47693
47694
47695 fi
47696 if test -z "$ac_cv_prog_AR"; then
47697 ac_ct_AR=$AR
47698 # Extract the first word of "ar", so it can be a program name with args.
47699 set dummy ar; ac_word=$2
47700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47702 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47703 echo $ECHO_N "(cached) $ECHO_C" >&6
47704 else
47705 if test -n "$ac_ct_AR"; then
47706 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47707 else
47708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47709 for as_dir in $PATH
47710 do
47711 IFS=$as_save_IFS
47712 test -z "$as_dir" && as_dir=.
47713 for ac_exec_ext in '' $ac_executable_extensions; do
47714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47715 ac_cv_prog_ac_ct_AR="ar"
47716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47717 break 2
47718 fi
47719 done
47720 done
47721 IFS=$as_save_IFS
47722
47723 fi
47724 fi
47725 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47726 if test -n "$ac_ct_AR"; then
47727 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47728 echo "${ECHO_T}$ac_ct_AR" >&6; }
47729 else
47730 { echo "$as_me:$LINENO: result: no" >&5
47731 echo "${ECHO_T}no" >&6; }
47732 fi
47733
47734 if test "x$ac_ct_AR" = x; then
47735 AR="ar"
47736 else
47737 case $cross_compiling:$ac_tool_warned in
47738 yes:)
47739 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47740 whose name does not start with the host triplet. If you think this
47741 configuration is useful to you, please write to autoconf@gnu.org." >&5
47742 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47743 whose name does not start with the host triplet. If you think this
47744 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47745 ac_tool_warned=yes ;;
47746 esac
47747 AR=$ac_ct_AR
47748 fi
47749 else
47750 AR="$ac_cv_prog_AR"
47751 fi
47752
47753 AROPTIONS=rcu
47754 fi
47755
47756
47757 if test -n "$ac_tool_prefix"; then
47758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47759 set dummy ${ac_tool_prefix}strip; ac_word=$2
47760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47762 if test "${ac_cv_prog_STRIP+set}" = set; then
47763 echo $ECHO_N "(cached) $ECHO_C" >&6
47764 else
47765 if test -n "$STRIP"; then
47766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47767 else
47768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47769 for as_dir in $PATH
47770 do
47771 IFS=$as_save_IFS
47772 test -z "$as_dir" && as_dir=.
47773 for ac_exec_ext in '' $ac_executable_extensions; do
47774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47775 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47777 break 2
47778 fi
47779 done
47780 done
47781 IFS=$as_save_IFS
47782
47783 fi
47784 fi
47785 STRIP=$ac_cv_prog_STRIP
47786 if test -n "$STRIP"; then
47787 { echo "$as_me:$LINENO: result: $STRIP" >&5
47788 echo "${ECHO_T}$STRIP" >&6; }
47789 else
47790 { echo "$as_me:$LINENO: result: no" >&5
47791 echo "${ECHO_T}no" >&6; }
47792 fi
47793
47794
47795 fi
47796 if test -z "$ac_cv_prog_STRIP"; then
47797 ac_ct_STRIP=$STRIP
47798 # Extract the first word of "strip", so it can be a program name with args.
47799 set dummy strip; ac_word=$2
47800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47802 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47803 echo $ECHO_N "(cached) $ECHO_C" >&6
47804 else
47805 if test -n "$ac_ct_STRIP"; then
47806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47807 else
47808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47809 for as_dir in $PATH
47810 do
47811 IFS=$as_save_IFS
47812 test -z "$as_dir" && as_dir=.
47813 for ac_exec_ext in '' $ac_executable_extensions; do
47814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47815 ac_cv_prog_ac_ct_STRIP="strip"
47816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47817 break 2
47818 fi
47819 done
47820 done
47821 IFS=$as_save_IFS
47822
47823 fi
47824 fi
47825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47826 if test -n "$ac_ct_STRIP"; then
47827 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47828 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47829 else
47830 { echo "$as_me:$LINENO: result: no" >&5
47831 echo "${ECHO_T}no" >&6; }
47832 fi
47833
47834 if test "x$ac_ct_STRIP" = x; then
47835 STRIP=":"
47836 else
47837 case $cross_compiling:$ac_tool_warned in
47838 yes:)
47839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47840 whose name does not start with the host triplet. If you think this
47841 configuration is useful to you, please write to autoconf@gnu.org." >&5
47842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47843 whose name does not start with the host triplet. If you think this
47844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47845 ac_tool_warned=yes ;;
47846 esac
47847 STRIP=$ac_ct_STRIP
47848 fi
47849 else
47850 STRIP="$ac_cv_prog_STRIP"
47851 fi
47852
47853 if test -n "$ac_tool_prefix"; then
47854 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47855 set dummy ${ac_tool_prefix}nm; ac_word=$2
47856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47858 if test "${ac_cv_prog_NM+set}" = set; then
47859 echo $ECHO_N "(cached) $ECHO_C" >&6
47860 else
47861 if test -n "$NM"; then
47862 ac_cv_prog_NM="$NM" # Let the user override the test.
47863 else
47864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47865 for as_dir in $PATH
47866 do
47867 IFS=$as_save_IFS
47868 test -z "$as_dir" && as_dir=.
47869 for ac_exec_ext in '' $ac_executable_extensions; do
47870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47871 ac_cv_prog_NM="${ac_tool_prefix}nm"
47872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47873 break 2
47874 fi
47875 done
47876 done
47877 IFS=$as_save_IFS
47878
47879 fi
47880 fi
47881 NM=$ac_cv_prog_NM
47882 if test -n "$NM"; then
47883 { echo "$as_me:$LINENO: result: $NM" >&5
47884 echo "${ECHO_T}$NM" >&6; }
47885 else
47886 { echo "$as_me:$LINENO: result: no" >&5
47887 echo "${ECHO_T}no" >&6; }
47888 fi
47889
47890
47891 fi
47892 if test -z "$ac_cv_prog_NM"; then
47893 ac_ct_NM=$NM
47894 # Extract the first word of "nm", so it can be a program name with args.
47895 set dummy nm; ac_word=$2
47896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47898 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47899 echo $ECHO_N "(cached) $ECHO_C" >&6
47900 else
47901 if test -n "$ac_ct_NM"; then
47902 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47903 else
47904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47905 for as_dir in $PATH
47906 do
47907 IFS=$as_save_IFS
47908 test -z "$as_dir" && as_dir=.
47909 for ac_exec_ext in '' $ac_executable_extensions; do
47910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47911 ac_cv_prog_ac_ct_NM="nm"
47912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47913 break 2
47914 fi
47915 done
47916 done
47917 IFS=$as_save_IFS
47918
47919 fi
47920 fi
47921 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47922 if test -n "$ac_ct_NM"; then
47923 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47924 echo "${ECHO_T}$ac_ct_NM" >&6; }
47925 else
47926 { echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6; }
47928 fi
47929
47930 if test "x$ac_ct_NM" = x; then
47931 NM=":"
47932 else
47933 case $cross_compiling:$ac_tool_warned in
47934 yes:)
47935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47936 whose name does not start with the host triplet. If you think this
47937 configuration is useful to you, please write to autoconf@gnu.org." >&5
47938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47939 whose name does not start with the host triplet. If you think this
47940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47941 ac_tool_warned=yes ;;
47942 esac
47943 NM=$ac_ct_NM
47944 fi
47945 else
47946 NM="$ac_cv_prog_NM"
47947 fi
47948
47949
47950 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47951 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47952 INSTALL_TEST_DIR=acbftest$$
47953 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47954 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47955 rmdir $INSTALL_TEST_DIR
47956 INSTALL_DIR='$(INSTALL) -d'
47957 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47958 echo "${ECHO_T}$INSTALL -d" >&6; }
47959 else
47960 INSTALL_DIR="mkdir -p"
47961 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47962 echo "${ECHO_T}mkdir -p" >&6; }
47963 fi
47964
47965
47966 LDFLAGS_GUI=
47967 case ${BAKEFILE_HOST} in
47968 *-*-cygwin* | *-*-mingw32* )
47969 LDFLAGS_GUI="-mwindows"
47970 esac
47971
47972
47973 fi
47974
47975 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47976 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47977 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47978 echo $ECHO_N "(cached) $ECHO_C" >&6
47979 else
47980
47981 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47982 egrep -s GNU > /dev/null); then
47983 bakefile_cv_prog_makeisgnu="yes"
47984 else
47985 bakefile_cv_prog_makeisgnu="no"
47986 fi
47987
47988 fi
47989 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47990 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47991
47992 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47993 IF_GNU_MAKE=""
47994 else
47995 IF_GNU_MAKE="#"
47996 fi
47997
47998
47999
48000 PLATFORM_UNIX=0
48001 PLATFORM_WIN32=0
48002 PLATFORM_MSDOS=0
48003 PLATFORM_MAC=0
48004 PLATFORM_MACOS=0
48005 PLATFORM_MACOSX=0
48006 PLATFORM_OS2=0
48007 PLATFORM_BEOS=0
48008
48009 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48010 case "${BAKEFILE_HOST}" in
48011 *-*-mingw32* )
48012 PLATFORM_WIN32=1
48013 ;;
48014 *-pc-msdosdjgpp )
48015 PLATFORM_MSDOS=1
48016 ;;
48017 *-pc-os2_emx | *-pc-os2-emx )
48018 PLATFORM_OS2=1
48019 ;;
48020 *-*-darwin* )
48021 PLATFORM_MAC=1
48022 PLATFORM_MACOSX=1
48023 ;;
48024 *-*-beos* )
48025 PLATFORM_BEOS=1
48026 ;;
48027 powerpc-apple-macos* )
48028 PLATFORM_MAC=1
48029 PLATFORM_MACOS=1
48030 ;;
48031 * )
48032 PLATFORM_UNIX=1
48033 ;;
48034 esac
48035 else
48036 case "$BAKEFILE_FORCE_PLATFORM" in
48037 win32 )
48038 PLATFORM_WIN32=1
48039 ;;
48040 msdos )
48041 PLATFORM_MSDOS=1
48042 ;;
48043 os2 )
48044 PLATFORM_OS2=1
48045 ;;
48046 darwin )
48047 PLATFORM_MAC=1
48048 PLATFORM_MACOSX=1
48049 ;;
48050 unix )
48051 PLATFORM_UNIX=1
48052 ;;
48053 beos )
48054 PLATFORM_BEOS=1
48055 ;;
48056 * )
48057 ;;
48058 esac
48059 fi
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071 # Check whether --enable-omf was given.
48072 if test "${enable_omf+set}" = set; then
48073 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48074 fi
48075
48076
48077 case "${BAKEFILE_HOST}" in
48078 *-*-darwin* )
48079 if test "x$GCC" = "xyes"; then
48080 CFLAGS="$CFLAGS -fno-common"
48081 CXXFLAGS="$CXXFLAGS -fno-common"
48082 fi
48083 if test "x$XLCC" = "xyes"; then
48084 CFLAGS="$CFLAGS -qnocommon"
48085 CXXFLAGS="$CXXFLAGS -qnocommon"
48086 fi
48087 ;;
48088
48089 *-pc-os2_emx | *-pc-os2-emx )
48090 if test "x$bk_os2_use_omf" = "xyes" ; then
48091 AR=emxomfar
48092 RANLIB=:
48093 LDFLAGS="-Zomf $LDFLAGS"
48094 CFLAGS="-Zomf $CFLAGS"
48095 CXXFLAGS="-Zomf $CXXFLAGS"
48096 OS2_LIBEXT="lib"
48097 else
48098 OS2_LIBEXT="a"
48099 fi
48100 ;;
48101
48102 i*86-*-beos* )
48103 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48104 ;;
48105 esac
48106
48107
48108 SO_SUFFIX="so"
48109 SO_SUFFIX_MODULE="so"
48110 EXEEXT=""
48111 LIBPREFIX="lib"
48112 LIBEXT=".a"
48113 DLLPREFIX="lib"
48114 DLLPREFIX_MODULE=""
48115 DLLIMP_SUFFIX=""
48116 dlldir="$libdir"
48117
48118 case "${BAKEFILE_HOST}" in
48119 ia64-hp-hpux* )
48120 ;;
48121 *-hp-hpux* )
48122 SO_SUFFIX="sl"
48123 SO_SUFFIX_MODULE="sl"
48124 ;;
48125 *-*-aix* )
48126 SO_SUFFIX="a"
48127 SO_SUFFIX_MODULE="a"
48128 ;;
48129 *-*-cygwin* )
48130 SO_SUFFIX="dll"
48131 SO_SUFFIX_MODULE="dll"
48132 DLLIMP_SUFFIX="dll.a"
48133 EXEEXT=".exe"
48134 DLLPREFIX="cyg"
48135 dlldir="$bindir"
48136 ;;
48137 *-*-mingw32* )
48138 SO_SUFFIX="dll"
48139 SO_SUFFIX_MODULE="dll"
48140 DLLIMP_SUFFIX="dll.a"
48141 EXEEXT=".exe"
48142 DLLPREFIX=""
48143 dlldir="$bindir"
48144 ;;
48145 *-pc-msdosdjgpp )
48146 EXEEXT=".exe"
48147 DLLPREFIX=""
48148 dlldir="$bindir"
48149 ;;
48150 *-pc-os2_emx | *-pc-os2-emx )
48151 SO_SUFFIX="dll"
48152 SO_SUFFIX_MODULE="dll"
48153 DLLIMP_SUFFIX=$OS2_LIBEXT
48154 EXEEXT=".exe"
48155 DLLPREFIX=""
48156 LIBPREFIX=""
48157 LIBEXT=".$OS2_LIBEXT"
48158 dlldir="$bindir"
48159 ;;
48160 *-*-darwin* )
48161 SO_SUFFIX="dylib"
48162 SO_SUFFIX_MODULE="bundle"
48163 ;;
48164 esac
48165
48166 if test "x$DLLIMP_SUFFIX" = "x" ; then
48167 DLLIMP_SUFFIX="$SO_SUFFIX"
48168 fi
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181 PIC_FLAG=""
48182 if test "x$GCC" = "xyes"; then
48183 PIC_FLAG="-fPIC"
48184 fi
48185
48186 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48187 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48188 WINDOWS_IMPLIB=0
48189
48190 case "${BAKEFILE_HOST}" in
48191 *-hp-hpux* )
48192 if test "x$GCC" != "xyes"; then
48193 LDFLAGS="$LDFLAGS -L/usr/lib"
48194
48195 SHARED_LD_CC="${CC} -b -o"
48196 SHARED_LD_CXX="${CXX} -b -o"
48197 PIC_FLAG="+Z"
48198 fi
48199 ;;
48200
48201 *-*-linux* )
48202 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48203 PIC_FLAG="-KPIC"
48204 elif test "x$SUNCXX" = "xyes"; then
48205 SHARED_LD_CC="${CC} -G -o"
48206 SHARED_LD_CXX="${CXX} -G -o"
48207 PIC_FLAG="-KPIC"
48208 fi
48209 ;;
48210
48211 *-*-solaris2* )
48212 if test "x$SUNCXX" = xyes ; then
48213 SHARED_LD_CC="${CC} -G -o"
48214 SHARED_LD_CXX="${CXX} -G -o"
48215 PIC_FLAG="-KPIC"
48216 fi
48217 ;;
48218
48219 *-*-darwin* )
48220
48221 D='$'
48222 cat <<EOF >shared-ld-sh
48223 #!/bin/sh
48224 #-----------------------------------------------------------------------------
48225 #-- Name: distrib/mac/shared-ld-sh
48226 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48227 #-- Author: Gilles Depeyrot
48228 #-- Copyright: (c) 2002 Gilles Depeyrot
48229 #-- Licence: any use permitted
48230 #-----------------------------------------------------------------------------
48231
48232 verbose=0
48233 args=""
48234 objects=""
48235 linking_flag="-dynamiclib"
48236 ldargs="-r -keep_private_externs -nostdlib"
48237
48238 if test "x${D}CXX" = "x"; then
48239 CXX="c++"
48240 fi
48241
48242 while test ${D}# -gt 0; do
48243 case ${D}1 in
48244
48245 -v)
48246 verbose=1
48247 ;;
48248
48249 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48250 # collect these options and values
48251 args="${D}{args} ${D}1 ${D}2"
48252 shift
48253 ;;
48254
48255 -arch|-isysroot)
48256 # collect these options and values
48257 ldargs="${D}{ldargs} ${D}1 ${D}2"
48258 shift
48259 ;;
48260
48261 -s|-Wl,*)
48262 # collect these load args
48263 ldargs="${D}{ldargs} ${D}1"
48264 ;;
48265
48266 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48267 # collect these options
48268 args="${D}{args} ${D}1"
48269 ;;
48270
48271 -dynamiclib|-bundle)
48272 linking_flag="${D}1"
48273 ;;
48274
48275 -*)
48276 echo "shared-ld: unhandled option '${D}1'"
48277 exit 1
48278 ;;
48279
48280 *.o | *.a | *.dylib)
48281 # collect object files
48282 objects="${D}{objects} ${D}1"
48283 ;;
48284
48285 *)
48286 echo "shared-ld: unhandled argument '${D}1'"
48287 exit 1
48288 ;;
48289
48290 esac
48291 shift
48292 done
48293
48294 status=0
48295
48296 #
48297 # Link one module containing all the others
48298 #
48299 if test ${D}{verbose} = 1; then
48300 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48301 fi
48302 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48303 status=${D}?
48304
48305 #
48306 # Link the shared library from the single module created, but only if the
48307 # previous command didn't fail:
48308 #
48309 if test ${D}{status} = 0; then
48310 if test ${D}{verbose} = 1; then
48311 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48312 fi
48313 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48314 status=${D}?
48315 fi
48316
48317 #
48318 # Remove intermediate module
48319 #
48320 rm -f master.${D}${D}.o
48321
48322 exit ${D}status
48323 EOF
48324
48325 chmod +x shared-ld-sh
48326
48327 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48328 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48329
48330
48331 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48332 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48333 if test "${bakefile_cv_gcc31+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48335 else
48336
48337 cat >conftest.$ac_ext <<_ACEOF
48338 /* confdefs.h. */
48339 _ACEOF
48340 cat confdefs.h >>conftest.$ac_ext
48341 cat >>conftest.$ac_ext <<_ACEOF
48342 /* end confdefs.h. */
48343
48344 int
48345 main ()
48346 {
48347
48348 #if (__GNUC__ < 3) || \
48349 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48350 This is old gcc
48351 #endif
48352
48353 ;
48354 return 0;
48355 }
48356 _ACEOF
48357 rm -f conftest.$ac_objext
48358 if { (ac_try="$ac_compile"
48359 case "(($ac_try" in
48360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48361 *) ac_try_echo=$ac_try;;
48362 esac
48363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48364 (eval "$ac_compile") 2>conftest.er1
48365 ac_status=$?
48366 grep -v '^ *+' conftest.er1 >conftest.err
48367 rm -f conftest.er1
48368 cat conftest.err >&5
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); } && {
48371 test -z "$ac_c_werror_flag" ||
48372 test ! -s conftest.err
48373 } && test -s conftest.$ac_objext; then
48374
48375 bakefile_cv_gcc31=yes
48376
48377 else
48378 echo "$as_me: failed program was:" >&5
48379 sed 's/^/| /' conftest.$ac_ext >&5
48380
48381
48382 bakefile_cv_gcc31=no
48383
48384
48385 fi
48386
48387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48388
48389 fi
48390 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48391 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48392 if test "$bakefile_cv_gcc31" = "no"; then
48393 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48394 SHARED_LD_CXX="$SHARED_LD_CC"
48395 else
48396 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48397 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48398 fi
48399
48400 if test "x$GCC" == "xyes"; then
48401 PIC_FLAG="-dynamic -fPIC"
48402 fi
48403 if test "x$XLCC" = "xyes"; then
48404 PIC_FLAG="-dynamic -DPIC"
48405 fi
48406 ;;
48407
48408 *-*-aix* )
48409 if test "x$GCC" = "xyes"; then
48410 PIC_FLAG=""
48411
48412 case "${BAKEFILE_HOST}" in
48413 *-*-aix5* )
48414 LD_EXPFULL="-Wl,-bexpfull"
48415 ;;
48416 esac
48417
48418 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48419 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48420 else
48421 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48422 set dummy makeC++SharedLib; ac_word=$2
48423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48425 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48426 echo $ECHO_N "(cached) $ECHO_C" >&6
48427 else
48428 if test -n "$AIX_CXX_LD"; then
48429 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48430 else
48431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48432 for as_dir in $PATH
48433 do
48434 IFS=$as_save_IFS
48435 test -z "$as_dir" && as_dir=.
48436 for ac_exec_ext in '' $ac_executable_extensions; do
48437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48438 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48440 break 2
48441 fi
48442 done
48443 done
48444 IFS=$as_save_IFS
48445
48446 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48447 fi
48448 fi
48449 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48450 if test -n "$AIX_CXX_LD"; then
48451 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48452 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48453 else
48454 { echo "$as_me:$LINENO: result: no" >&5
48455 echo "${ECHO_T}no" >&6; }
48456 fi
48457
48458
48459 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48460 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48461 fi
48462 ;;
48463
48464 *-*-beos* )
48465 SHARED_LD_CC="${LD} -nostart -o"
48466 SHARED_LD_CXX="${LD} -nostart -o"
48467 ;;
48468
48469 *-*-irix* )
48470 if test "x$GCC" != "xyes"; then
48471 PIC_FLAG="-KPIC"
48472 fi
48473 ;;
48474
48475 *-*-cygwin* | *-*-mingw32* )
48476 PIC_FLAG=""
48477 SHARED_LD_CC="\$(CC) -shared -o"
48478 SHARED_LD_CXX="\$(CXX) -shared -o"
48479 WINDOWS_IMPLIB=1
48480 ;;
48481
48482 *-pc-os2_emx | *-pc-os2-emx )
48483 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48484 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48485 PIC_FLAG=""
48486
48487 D='$'
48488 cat <<EOF >dllar.sh
48489 #!/bin/sh
48490 #
48491 # dllar - a tool to build both a .dll and an .a file
48492 # from a set of object (.o) files for EMX/OS2.
48493 #
48494 # Written by Andrew Zabolotny, bit@freya.etu.ru
48495 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48496 #
48497 # This script will accept a set of files on the command line.
48498 # All the public symbols from the .o files will be exported into
48499 # a .DEF file, then linker will be run (through gcc) against them to
48500 # build a shared library consisting of all given .o files. All libraries
48501 # (.a) will be first decompressed into component .o files then act as
48502 # described above. You can optionally give a description (-d "description")
48503 # which will be put into .DLL. To see the list of accepted options (as well
48504 # as command-line format) simply run this program without options. The .DLL
48505 # is built to be imported by name (there is no guarantee that new versions
48506 # of the library you build will have same ordinals for same symbols).
48507 #
48508 # dllar is free software; you can redistribute it and/or modify
48509 # it under the terms of the GNU General Public License as published by
48510 # the Free Software Foundation; either version 2, or (at your option)
48511 # any later version.
48512 #
48513 # dllar is distributed in the hope that it will be useful,
48514 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48515 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48516 # GNU General Public License for more details.
48517 #
48518 # You should have received a copy of the GNU General Public License
48519 # along with dllar; see the file COPYING. If not, write to the Free
48520 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48521 # 02111-1307, USA.
48522
48523 # To successfuly run this program you will need:
48524 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48525 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48526 # - gcc
48527 # (used to build the .dll)
48528 # - emxexp
48529 # (used to create .def file from .o files)
48530 # - emximp
48531 # (used to create .a file from .def file)
48532 # - GNU text utilites (cat, sort, uniq)
48533 # used to process emxexp output
48534 # - GNU file utilities (mv, rm)
48535 # - GNU sed
48536 # - lxlite (optional, see flag below)
48537 # (used for general .dll cleanup)
48538 #
48539
48540 flag_USE_LXLITE=1;
48541
48542 #
48543 # helper functions
48544 # basnam, variant of basename, which does _not_ remove the path, _iff_
48545 # second argument (suffix to remove) is given
48546 basnam(){
48547 case ${D}# in
48548 1)
48549 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48550 ;;
48551 2)
48552 echo ${D}1 | sed 's/'${D}2'${D}//'
48553 ;;
48554 *)
48555 echo "error in basnam ${D}*"
48556 exit 8
48557 ;;
48558 esac
48559 }
48560
48561 # Cleanup temporary files and output
48562 CleanUp() {
48563 cd ${D}curDir
48564 for i in ${D}inputFiles ; do
48565 case ${D}i in
48566 *!)
48567 rm -rf \`basnam ${D}i !\`
48568 ;;
48569 *)
48570 ;;
48571 esac
48572 done
48573
48574 # Kill result in case of failure as there is just to many stupid make/nmake
48575 # things out there which doesn't do this.
48576 if [ ${D}# -eq 0 ]; then
48577 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48578 fi
48579 }
48580
48581 # Print usage and exit script with rc=1.
48582 PrintHelp() {
48583 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48584 echo ' [-name-mangler-script script.sh]'
48585 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48586 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48587 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48588 echo ' [*.o] [*.a]'
48589 echo '*> "output_file" should have no extension.'
48590 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48591 echo ' The import library name is derived from this and is set to "name".a,'
48592 echo ' unless overridden by -import'
48593 echo '*> "importlib_name" should have no extension.'
48594 echo ' If it has the .o, or .a extension, it is automatically removed.'
48595 echo ' This name is used as the import library name and may be longer and'
48596 echo ' more descriptive than the DLL name which has to follow the old '
48597 echo ' 8.3 convention of FAT.'
48598 echo '*> "script.sh may be given to override the output_file name by a'
48599 echo ' different name. It is mainly useful if the regular make process'
48600 echo ' of some package does not take into account OS/2 restriction of'
48601 echo ' DLL name lengths. It takes the importlib name as input and is'
48602 echo ' supposed to procude a shorter name as output. The script should'
48603 echo ' expect to get importlib_name without extension and should produce'
48604 echo ' a (max.) 8 letter name without extension.'
48605 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48606 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48607 echo ' These flags will be put at the start of GCC command line.'
48608 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48609 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48610 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48611 echo ' If the last character of a symbol is "*", all symbols beginning'
48612 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48613 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48614 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48615 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48616 echo ' C runtime DLLs.'
48617 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48618 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48619 echo ' unchanged to GCC at the end of command line.'
48620 echo '*> If you create a DLL from a library and you do not specify -o,'
48621 echo ' the basename for DLL and import library will be set to library name,'
48622 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48623 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48624 echo ' library will be renamed into gcc_s.a.'
48625 echo '--------'
48626 echo 'Example:'
48627 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48628 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48629 CleanUp
48630 exit 1
48631 }
48632
48633 # Execute a command.
48634 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48635 # @Uses Whatever CleanUp() uses.
48636 doCommand() {
48637 echo "${D}*"
48638 eval ${D}*
48639 rcCmd=${D}?
48640
48641 if [ ${D}rcCmd -ne 0 ]; then
48642 echo "command failed, exit code="${D}rcCmd
48643 CleanUp
48644 exit ${D}rcCmd
48645 fi
48646 }
48647
48648 # main routine
48649 # setup globals
48650 cmdLine=${D}*
48651 outFile=""
48652 outimpFile=""
48653 inputFiles=""
48654 renameScript=""
48655 description=""
48656 CC=gcc.exe
48657 CFLAGS="-s -Zcrtdll"
48658 EXTRA_CFLAGS=""
48659 EXPORT_BY_ORDINALS=0
48660 exclude_symbols=""
48661 library_flags=""
48662 curDir=\`pwd\`
48663 curDirS=curDir
48664 case ${D}curDirS in
48665 */)
48666 ;;
48667 *)
48668 curDirS=${D}{curDirS}"/"
48669 ;;
48670 esac
48671 # Parse commandline
48672 libsToLink=0
48673 omfLinking=0
48674 while [ ${D}1 ]; do
48675 case ${D}1 in
48676 -ord*)
48677 EXPORT_BY_ORDINALS=1;
48678 ;;
48679 -o*)
48680 shift
48681 outFile=${D}1
48682 ;;
48683 -i*)
48684 shift
48685 outimpFile=${D}1
48686 ;;
48687 -name-mangler-script)
48688 shift
48689 renameScript=${D}1
48690 ;;
48691 -d*)
48692 shift
48693 description=${D}1
48694 ;;
48695 -f*)
48696 shift
48697 CFLAGS=${D}1
48698 ;;
48699 -c*)
48700 shift
48701 CC=${D}1
48702 ;;
48703 -h*)
48704 PrintHelp
48705 ;;
48706 -ex*)
48707 shift
48708 exclude_symbols=${D}{exclude_symbols}${D}1" "
48709 ;;
48710 -libf*)
48711 shift
48712 library_flags=${D}{library_flags}${D}1" "
48713 ;;
48714 -nocrt*)
48715 CFLAGS="-s"
48716 ;;
48717 -nolxl*)
48718 flag_USE_LXLITE=0
48719 ;;
48720 -* | /*)
48721 case ${D}1 in
48722 -L* | -l*)
48723 libsToLink=1
48724 ;;
48725 -Zomf)
48726 omfLinking=1
48727 ;;
48728 *)
48729 ;;
48730 esac
48731 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48732 ;;
48733 *.dll)
48734 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48735 if [ ${D}omfLinking -eq 1 ]; then
48736 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48737 else
48738 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48739 fi
48740 ;;
48741 *)
48742 found=0;
48743 if [ ${D}libsToLink -ne 0 ]; then
48744 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48745 else
48746 for file in ${D}1 ; do
48747 if [ -f ${D}file ]; then
48748 inputFiles="${D}{inputFiles} ${D}file"
48749 found=1
48750 fi
48751 done
48752 if [ ${D}found -eq 0 ]; then
48753 echo "ERROR: No file(s) found: "${D}1
48754 exit 8
48755 fi
48756 fi
48757 ;;
48758 esac
48759 shift
48760 done # iterate cmdline words
48761
48762 #
48763 if [ -z "${D}inputFiles" ]; then
48764 echo "dllar: no input files"
48765 PrintHelp
48766 fi
48767
48768 # Now extract all .o files from .a files
48769 newInputFiles=""
48770 for file in ${D}inputFiles ; do
48771 case ${D}file in
48772 *.a | *.lib)
48773 case ${D}file in
48774 *.a)
48775 suffix=".a"
48776 AR="ar"
48777 ;;
48778 *.lib)
48779 suffix=".lib"
48780 AR="emxomfar"
48781 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48782 ;;
48783 *)
48784 ;;
48785 esac
48786 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48787 mkdir ${D}dirname
48788 if [ ${D}? -ne 0 ]; then
48789 echo "Failed to create subdirectory ./${D}dirname"
48790 CleanUp
48791 exit 8;
48792 fi
48793 # Append '!' to indicate archive
48794 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48795 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48796 cd ${D}curDir
48797 found=0;
48798 for subfile in ${D}dirname/*.o* ; do
48799 if [ -f ${D}subfile ]; then
48800 found=1
48801 if [ -s ${D}subfile ]; then
48802 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48803 newInputFiles="${D}newInputFiles ${D}subfile"
48804 fi
48805 fi
48806 done
48807 if [ ${D}found -eq 0 ]; then
48808 echo "WARNING: there are no files in archive \\'${D}file\\'"
48809 fi
48810 ;;
48811 *)
48812 newInputFiles="${D}{newInputFiles} ${D}file"
48813 ;;
48814 esac
48815 done
48816 inputFiles="${D}newInputFiles"
48817
48818 # Output filename(s).
48819 do_backup=0;
48820 if [ -z ${D}outFile ]; then
48821 do_backup=1;
48822 set outFile ${D}inputFiles; outFile=${D}2
48823 fi
48824
48825 # If it is an archive, remove the '!' and the '_%' suffixes
48826 case ${D}outFile in
48827 *_%!)
48828 outFile=\`basnam ${D}outFile _%!\`
48829 ;;
48830 *)
48831 ;;
48832 esac
48833 case ${D}outFile in
48834 *.dll)
48835 outFile=\`basnam ${D}outFile .dll\`
48836 ;;
48837 *.DLL)
48838 outFile=\`basnam ${D}outFile .DLL\`
48839 ;;
48840 *.o)
48841 outFile=\`basnam ${D}outFile .o\`
48842 ;;
48843 *.obj)
48844 outFile=\`basnam ${D}outFile .obj\`
48845 ;;
48846 *.a)
48847 outFile=\`basnam ${D}outFile .a\`
48848 ;;
48849 *.lib)
48850 outFile=\`basnam ${D}outFile .lib\`
48851 ;;
48852 *)
48853 ;;
48854 esac
48855 case ${D}outimpFile in
48856 *.a)
48857 outimpFile=\`basnam ${D}outimpFile .a\`
48858 ;;
48859 *.lib)
48860 outimpFile=\`basnam ${D}outimpFile .lib\`
48861 ;;
48862 *)
48863 ;;
48864 esac
48865 if [ -z ${D}outimpFile ]; then
48866 outimpFile=${D}outFile
48867 fi
48868 defFile="${D}{outFile}.def"
48869 arcFile="${D}{outimpFile}.a"
48870 arcFile2="${D}{outimpFile}.lib"
48871
48872 #create ${D}dllFile as something matching 8.3 restrictions,
48873 if [ -z ${D}renameScript ] ; then
48874 dllFile="${D}outFile"
48875 else
48876 dllFile=\`${D}renameScript ${D}outimpFile\`
48877 fi
48878
48879 if [ ${D}do_backup -ne 0 ] ; then
48880 if [ -f ${D}arcFile ] ; then
48881 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48882 fi
48883 if [ -f ${D}arcFile2 ] ; then
48884 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48885 fi
48886 fi
48887
48888 # Extract public symbols from all the object files.
48889 tmpdefFile=${D}{defFile}_%
48890 rm -f ${D}tmpdefFile
48891 for file in ${D}inputFiles ; do
48892 case ${D}file in
48893 *!)
48894 ;;
48895 *)
48896 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48897 ;;
48898 esac
48899 done
48900
48901 # Create the def file.
48902 rm -f ${D}defFile
48903 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48904 dllFile="${D}{dllFile}.dll"
48905 if [ ! -z ${D}description ]; then
48906 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48907 fi
48908 echo "EXPORTS" >> ${D}defFile
48909
48910 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48911 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48912
48913 # Checks if the export is ok or not.
48914 for word in ${D}exclude_symbols; do
48915 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48916 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48917 done
48918
48919
48920 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48921 sed "=" < ${D}tmpdefFile | \\
48922 sed '
48923 N
48924 : loop
48925 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48926 t loop
48927 ' > ${D}{tmpdefFile}%
48928 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48929 else
48930 rm -f ${D}{tmpdefFile}%
48931 fi
48932 cat ${D}tmpdefFile >> ${D}defFile
48933 rm -f ${D}tmpdefFile
48934
48935 # Do linking, create implib, and apply lxlite.
48936 gccCmdl="";
48937 for file in ${D}inputFiles ; do
48938 case ${D}file in
48939 *!)
48940 ;;
48941 *)
48942 gccCmdl="${D}gccCmdl ${D}file"
48943 ;;
48944 esac
48945 done
48946 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48947 touch "${D}{outFile}.dll"
48948
48949 doCommand "emximp -o ${D}arcFile ${D}defFile"
48950 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48951 add_flags="";
48952 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48953 add_flags="-ynd"
48954 fi
48955 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48956 fi
48957 doCommand "emxomf -s -l ${D}arcFile"
48958
48959 # Successful exit.
48960 CleanUp 1
48961 exit 0
48962 EOF
48963
48964 chmod +x dllar.sh
48965 ;;
48966
48967 powerpc-apple-macos* | \
48968 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48969 *-*-mirbsd* | \
48970 *-*-sunos4* | \
48971 *-*-osf* | \
48972 *-*-dgux5* | \
48973 *-*-sysv5* | \
48974 *-pc-msdosdjgpp )
48975 ;;
48976
48977 *)
48978 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48979 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48980 { (exit 1); exit 1; }; }
48981 esac
48982
48983 if test "x$PIC_FLAG" != "x" ; then
48984 PIC_FLAG="$PIC_FLAG -DPIC"
48985 fi
48986
48987 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48988 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48989 fi
48990 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48991 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48992 fi
48993
48994
48995
48996
48997
48998
48999
49000
49001
49002 USE_SOVERSION=0
49003 USE_SOVERLINUX=0
49004 USE_SOVERSOLARIS=0
49005 USE_SOVERCYGWIN=0
49006 USE_SOSYMLINKS=0
49007 USE_MACVERSION=0
49008 SONAME_FLAG=
49009
49010 case "${BAKEFILE_HOST}" in
49011 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49012 *-*-k*bsd*-gnu | *-*-mirbsd* )
49013 if test "x$SUNCXX" = "xyes"; then
49014 SONAME_FLAG="-h "
49015 else
49016 SONAME_FLAG="-Wl,-soname,"
49017 fi
49018 USE_SOVERSION=1
49019 USE_SOVERLINUX=1
49020 USE_SOSYMLINKS=1
49021 ;;
49022
49023 *-*-solaris2* )
49024 SONAME_FLAG="-h "
49025 USE_SOVERSION=1
49026 USE_SOVERSOLARIS=1
49027 USE_SOSYMLINKS=1
49028 ;;
49029
49030 *-*-darwin* )
49031 USE_MACVERSION=1
49032 USE_SOVERSION=1
49033 USE_SOSYMLINKS=1
49034 ;;
49035
49036 *-*-cygwin* )
49037 USE_SOVERSION=1
49038 USE_SOVERCYGWIN=1
49039 ;;
49040 esac
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051 # Check whether --enable-dependency-tracking was given.
49052 if test "${enable_dependency_tracking+set}" = set; then
49053 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49054 fi
49055
49056
49057 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49058 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49059
49060 BK_DEPS=""
49061 if test "x$bk_use_trackdeps" = "xno" ; then
49062 DEPS_TRACKING=0
49063 { echo "$as_me:$LINENO: result: disabled" >&5
49064 echo "${ECHO_T}disabled" >&6; }
49065 else
49066 DEPS_TRACKING=1
49067
49068 if test "x$GCC" = "xyes"; then
49069 DEPSMODE=gcc
49070 case "${BAKEFILE_HOST}" in
49071 *-*-darwin* )
49072 DEPSFLAG="-no-cpp-precomp -MMD"
49073 ;;
49074 * )
49075 DEPSFLAG="-MMD"
49076 ;;
49077 esac
49078 { echo "$as_me:$LINENO: result: gcc" >&5
49079 echo "${ECHO_T}gcc" >&6; }
49080 elif test "x$MWCC" = "xyes"; then
49081 DEPSMODE=mwcc
49082 DEPSFLAG="-MM"
49083 { echo "$as_me:$LINENO: result: mwcc" >&5
49084 echo "${ECHO_T}mwcc" >&6; }
49085 elif test "x$SUNCC" = "xyes"; then
49086 DEPSMODE=unixcc
49087 DEPSFLAG="-xM1"
49088 { echo "$as_me:$LINENO: result: Sun cc" >&5
49089 echo "${ECHO_T}Sun cc" >&6; }
49090 elif test "x$SGICC" = "xyes"; then
49091 DEPSMODE=unixcc
49092 DEPSFLAG="-M"
49093 { echo "$as_me:$LINENO: result: SGI cc" >&5
49094 echo "${ECHO_T}SGI cc" >&6; }
49095 elif test "x$HPCC" = "xyes"; then
49096 DEPSMODE=unixcc
49097 DEPSFLAG="+make"
49098 { echo "$as_me:$LINENO: result: HP cc" >&5
49099 echo "${ECHO_T}HP cc" >&6; }
49100 elif test "x$COMPAQCC" = "xyes"; then
49101 DEPSMODE=gcc
49102 DEPSFLAG="-MD"
49103 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49104 echo "${ECHO_T}Compaq cc" >&6; }
49105 else
49106 DEPS_TRACKING=0
49107 { echo "$as_me:$LINENO: result: none" >&5
49108 echo "${ECHO_T}none" >&6; }
49109 fi
49110
49111 if test $DEPS_TRACKING = 1 ; then
49112
49113 D='$'
49114 cat <<EOF >bk-deps
49115 #!/bin/sh
49116
49117 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49118 # script. It is used to track C/C++ files dependencies in portable way.
49119 #
49120 # Permission is given to use this file in any way.
49121
49122 DEPSMODE=${DEPSMODE}
49123 DEPSFLAG="${DEPSFLAG}"
49124 DEPSDIRBASE=.deps
49125
49126 if test ${D}DEPSMODE = gcc ; then
49127 ${D}* ${D}{DEPSFLAG}
49128 status=${D}?
49129
49130 # determine location of created files:
49131 while test ${D}# -gt 0; do
49132 case "${D}1" in
49133 -o )
49134 shift
49135 objfile=${D}1
49136 ;;
49137 -* )
49138 ;;
49139 * )
49140 srcfile=${D}1
49141 ;;
49142 esac
49143 shift
49144 done
49145 objfilebase=\`basename ${D}objfile\`
49146 builddir=\`dirname ${D}objfile\`
49147 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49148 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49149 depsdir=${D}builddir/${D}DEPSDIRBASE
49150 mkdir -p ${D}depsdir
49151
49152 # if the compiler failed, we're done:
49153 if test ${D}{status} != 0 ; then
49154 rm -f ${D}depfile
49155 exit ${D}{status}
49156 fi
49157
49158 # move created file to the location we want it in:
49159 if test -f ${D}depfile ; then
49160 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49161 rm -f ${D}depfile
49162 else
49163 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49164 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49165 if test ! -f ${D}depfile ; then
49166 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49167 depfile="${D}objfile.d"
49168 fi
49169 if test -f ${D}depfile ; then
49170 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49171 rm -f ${D}depfile
49172 fi
49173 fi
49174 exit 0
49175
49176 elif test ${D}DEPSMODE = mwcc ; then
49177 ${D}* || exit ${D}?
49178 # Run mwcc again with -MM and redirect into the dep file we want
49179 # NOTE: We can't use shift here because we need ${D}* to be valid
49180 prevarg=
49181 for arg in ${D}* ; do
49182 if test "${D}prevarg" = "-o"; then
49183 objfile=${D}arg
49184 else
49185 case "${D}arg" in
49186 -* )
49187 ;;
49188 * )
49189 srcfile=${D}arg
49190 ;;
49191 esac
49192 fi
49193 prevarg="${D}arg"
49194 done
49195
49196 objfilebase=\`basename ${D}objfile\`
49197 builddir=\`dirname ${D}objfile\`
49198 depsdir=${D}builddir/${D}DEPSDIRBASE
49199 mkdir -p ${D}depsdir
49200
49201 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49202 exit 0
49203
49204 elif test ${D}DEPSMODE = unixcc; then
49205 ${D}* || exit ${D}?
49206 # Run compiler again with deps flag and redirect into the dep file.
49207 # It doesn't work if the '-o FILE' option is used, but without it the
49208 # dependency file will contain the wrong name for the object. So it is
49209 # removed from the command line, and the dep file is fixed with sed.
49210 cmd=""
49211 while test ${D}# -gt 0; do
49212 case "${D}1" in
49213 -o )
49214 shift
49215 objfile=${D}1
49216 ;;
49217 * )
49218 eval arg${D}#=\\${D}1
49219 cmd="${D}cmd \\${D}arg${D}#"
49220 ;;
49221 esac
49222 shift
49223 done
49224
49225 objfilebase=\`basename ${D}objfile\`
49226 builddir=\`dirname ${D}objfile\`
49227 depsdir=${D}builddir/${D}DEPSDIRBASE
49228 mkdir -p ${D}depsdir
49229
49230 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49231 exit 0
49232
49233 else
49234 ${D}*
49235 exit ${D}?
49236 fi
49237 EOF
49238
49239 chmod +x bk-deps
49240 BK_DEPS="`pwd`/bk-deps"
49241 fi
49242 fi
49243
49244
49245
49246
49247
49248 case ${BAKEFILE_HOST} in
49249 *-*-cygwin* | *-*-mingw32* )
49250 if test -n "$ac_tool_prefix"; then
49251 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49252 set dummy ${ac_tool_prefix}windres; ac_word=$2
49253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49255 if test "${ac_cv_prog_WINDRES+set}" = set; then
49256 echo $ECHO_N "(cached) $ECHO_C" >&6
49257 else
49258 if test -n "$WINDRES"; then
49259 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49260 else
49261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49262 for as_dir in $PATH
49263 do
49264 IFS=$as_save_IFS
49265 test -z "$as_dir" && as_dir=.
49266 for ac_exec_ext in '' $ac_executable_extensions; do
49267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49268 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49270 break 2
49271 fi
49272 done
49273 done
49274 IFS=$as_save_IFS
49275
49276 fi
49277 fi
49278 WINDRES=$ac_cv_prog_WINDRES
49279 if test -n "$WINDRES"; then
49280 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49281 echo "${ECHO_T}$WINDRES" >&6; }
49282 else
49283 { echo "$as_me:$LINENO: result: no" >&5
49284 echo "${ECHO_T}no" >&6; }
49285 fi
49286
49287
49288 fi
49289 if test -z "$ac_cv_prog_WINDRES"; then
49290 ac_ct_WINDRES=$WINDRES
49291 # Extract the first word of "windres", so it can be a program name with args.
49292 set dummy windres; ac_word=$2
49293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49295 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49296 echo $ECHO_N "(cached) $ECHO_C" >&6
49297 else
49298 if test -n "$ac_ct_WINDRES"; then
49299 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49300 else
49301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49302 for as_dir in $PATH
49303 do
49304 IFS=$as_save_IFS
49305 test -z "$as_dir" && as_dir=.
49306 for ac_exec_ext in '' $ac_executable_extensions; do
49307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49308 ac_cv_prog_ac_ct_WINDRES="windres"
49309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49310 break 2
49311 fi
49312 done
49313 done
49314 IFS=$as_save_IFS
49315
49316 fi
49317 fi
49318 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49319 if test -n "$ac_ct_WINDRES"; then
49320 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49321 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49322 else
49323 { echo "$as_me:$LINENO: result: no" >&5
49324 echo "${ECHO_T}no" >&6; }
49325 fi
49326
49327 if test "x$ac_ct_WINDRES" = x; then
49328 WINDRES=""
49329 else
49330 case $cross_compiling:$ac_tool_warned in
49331 yes:)
49332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49333 whose name does not start with the host triplet. If you think this
49334 configuration is useful to you, please write to autoconf@gnu.org." >&5
49335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49336 whose name does not start with the host triplet. If you think this
49337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49338 ac_tool_warned=yes ;;
49339 esac
49340 WINDRES=$ac_ct_WINDRES
49341 fi
49342 else
49343 WINDRES="$ac_cv_prog_WINDRES"
49344 fi
49345
49346 ;;
49347
49348 *-*-darwin* | powerpc-apple-macos* )
49349 # Extract the first word of "Rez", so it can be a program name with args.
49350 set dummy Rez; ac_word=$2
49351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49353 if test "${ac_cv_prog_REZ+set}" = set; then
49354 echo $ECHO_N "(cached) $ECHO_C" >&6
49355 else
49356 if test -n "$REZ"; then
49357 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49358 else
49359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49360 for as_dir in $PATH
49361 do
49362 IFS=$as_save_IFS
49363 test -z "$as_dir" && as_dir=.
49364 for ac_exec_ext in '' $ac_executable_extensions; do
49365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49366 ac_cv_prog_REZ="Rez"
49367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49368 break 2
49369 fi
49370 done
49371 done
49372 IFS=$as_save_IFS
49373
49374 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49375 fi
49376 fi
49377 REZ=$ac_cv_prog_REZ
49378 if test -n "$REZ"; then
49379 { echo "$as_me:$LINENO: result: $REZ" >&5
49380 echo "${ECHO_T}$REZ" >&6; }
49381 else
49382 { echo "$as_me:$LINENO: result: no" >&5
49383 echo "${ECHO_T}no" >&6; }
49384 fi
49385
49386
49387 # Extract the first word of "SetFile", so it can be a program name with args.
49388 set dummy SetFile; 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_SETFILE+set}" = set; then
49392 echo $ECHO_N "(cached) $ECHO_C" >&6
49393 else
49394 if test -n "$SETFILE"; then
49395 ac_cv_prog_SETFILE="$SETFILE" # 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_SETFILE="SetFile"
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_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49413 fi
49414 fi
49415 SETFILE=$ac_cv_prog_SETFILE
49416 if test -n "$SETFILE"; then
49417 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49418 echo "${ECHO_T}$SETFILE" >&6; }
49419 else
49420 { echo "$as_me:$LINENO: result: no" >&5
49421 echo "${ECHO_T}no" >&6; }
49422 fi
49423
49424
49425 ;;
49426 esac
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49437
49438
49439 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49440
49441
49442
49443 # Check whether --enable-precomp-headers was given.
49444 if test "${enable_precomp_headers+set}" = set; then
49445 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49446 fi
49447
49448
49449 GCC_PCH=0
49450 ICC_PCH=0
49451 USE_PCH=0
49452 BK_MAKE_PCH=""
49453
49454 case ${BAKEFILE_HOST} in
49455 *-*-cygwin* )
49456 bk_use_pch="no"
49457 ;;
49458 esac
49459
49460 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49461 if test "x$GCC" = "xyes"; then
49462 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49463 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49464 cat >conftest.$ac_ext <<_ACEOF
49465 /* confdefs.h. */
49466 _ACEOF
49467 cat confdefs.h >>conftest.$ac_ext
49468 cat >>conftest.$ac_ext <<_ACEOF
49469 /* end confdefs.h. */
49470
49471 int
49472 main ()
49473 {
49474
49475 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49476 There is no PCH support
49477 #endif
49478 #if (__GNUC__ < 3)
49479 There is no PCH support
49480 #endif
49481 #if (__GNUC__ == 3) && \
49482 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49483 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49484 ( defined(__INTEL_COMPILER) )
49485 There is no PCH support
49486 #endif
49487
49488 ;
49489 return 0;
49490 }
49491 _ACEOF
49492 rm -f conftest.$ac_objext
49493 if { (ac_try="$ac_compile"
49494 case "(($ac_try" in
49495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49496 *) ac_try_echo=$ac_try;;
49497 esac
49498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49499 (eval "$ac_compile") 2>conftest.er1
49500 ac_status=$?
49501 grep -v '^ *+' conftest.er1 >conftest.err
49502 rm -f conftest.er1
49503 cat conftest.err >&5
49504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49505 (exit $ac_status); } && {
49506 test -z "$ac_c_werror_flag" ||
49507 test ! -s conftest.err
49508 } && test -s conftest.$ac_objext; then
49509
49510 { echo "$as_me:$LINENO: result: yes" >&5
49511 echo "${ECHO_T}yes" >&6; }
49512 GCC_PCH=1
49513
49514 else
49515 echo "$as_me: failed program was:" >&5
49516 sed 's/^/| /' conftest.$ac_ext >&5
49517
49518
49519 if test "$INTELCXX8" = "yes"; then
49520 { echo "$as_me:$LINENO: result: yes" >&5
49521 echo "${ECHO_T}yes" >&6; }
49522 ICC_PCH=1
49523 if test "$INTELCXX10" = "yes"; then
49524 ICC_PCH_CREATE_SWITCH="-pch-create"
49525 ICC_PCH_USE_SWITCH="-pch-use"
49526 else
49527 ICC_PCH_CREATE_SWITCH="-create-pch"
49528 ICC_PCH_USE_SWITCH="-use-pch"
49529 fi
49530 else
49531 { echo "$as_me:$LINENO: result: no" >&5
49532 echo "${ECHO_T}no" >&6; }
49533 fi
49534
49535 fi
49536
49537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49538 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49539 USE_PCH=1
49540
49541 D='$'
49542 cat <<EOF >bk-make-pch
49543 #!/bin/sh
49544
49545 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49546 # script. It is used to generated precompiled headers.
49547 #
49548 # Permission is given to use this file in any way.
49549
49550 outfile="${D}{1}"
49551 header="${D}{2}"
49552 shift
49553 shift
49554
49555 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49556
49557 compiler=""
49558 headerfile=""
49559
49560 while test ${D}{#} -gt 0; do
49561 add_to_cmdline=1
49562 case "${D}{1}" in
49563 -I* )
49564 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49565 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49566 headerfile="${D}{incdir}/${D}{header}"
49567 fi
49568 ;;
49569 -use-pch|-use_pch|-pch-use )
49570 shift
49571 add_to_cmdline=0
49572 ;;
49573 esac
49574 if test ${D}add_to_cmdline = 1 ; then
49575 compiler="${D}{compiler} ${D}{1}"
49576 fi
49577 shift
49578 done
49579
49580 if test "x${D}{headerfile}" = "x" ; then
49581 echo "error: can't find header ${D}{header} in include paths" >&2
49582 else
49583 if test -f ${D}{outfile} ; then
49584 rm -f ${D}{outfile}
49585 else
49586 mkdir -p \`dirname ${D}{outfile}\`
49587 fi
49588 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49589 mkdir -p ${D}{builddir}/.deps
49590 if test "x${GCC_PCH}" = "x1" ; then
49591 # can do this because gcc is >= 3.4:
49592 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49593 elif test "x${ICC_PCH}" = "x1" ; then
49594 filename=pch_gen-${D}${D}
49595 file=${D}{filename}.c
49596 dfile=${D}{filename}.d
49597 cat > ${D}file <<EOT
49598 #include "${D}header"
49599 EOT
49600 # using -MF icc complains about differing command lines in creation/use
49601 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49602 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49603 rm -f ${D}file ${D}dfile ${D}{filename}.o
49604 fi
49605 exit ${D}{?}
49606 fi
49607 EOF
49608
49609 chmod +x bk-make-pch
49610 BK_MAKE_PCH="`pwd`/bk-make-pch"
49611 fi
49612 fi
49613 fi
49614
49615
49616
49617
49618
49619
49620
49621 COND_BUILD_DEBUG="#"
49622 if test "x$BUILD" = "xdebug" ; then
49623 COND_BUILD_DEBUG=""
49624 fi
49625
49626 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49627 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49628 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49629 fi
49630
49631 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49632 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49633 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49634 fi
49635
49636 COND_BUILD_DEBUG_UNICODE_0="#"
49637 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49638 COND_BUILD_DEBUG_UNICODE_0=""
49639 fi
49640
49641 COND_BUILD_DEBUG_UNICODE_1="#"
49642 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49643 COND_BUILD_DEBUG_UNICODE_1=""
49644 fi
49645
49646 COND_BUILD_RELEASE="#"
49647 if test "x$BUILD" = "xrelease" ; then
49648 COND_BUILD_RELEASE=""
49649 fi
49650
49651 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49652 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49653 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49654 fi
49655
49656 COND_BUILD_RELEASE_UNICODE_0="#"
49657 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49658 COND_BUILD_RELEASE_UNICODE_0=""
49659 fi
49660
49661 COND_BUILD_RELEASE_UNICODE_1="#"
49662 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49663 COND_BUILD_RELEASE_UNICODE_1=""
49664 fi
49665
49666 COND_BUILD_debug="#"
49667 if test "x$BUILD" = "xdebug" ; then
49668 COND_BUILD_debug=""
49669 fi
49670
49671 COND_BUILD_debug_DEBUG_FLAG_default="#"
49672 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49673 COND_BUILD_debug_DEBUG_FLAG_default=""
49674 fi
49675
49676 COND_BUILD_debug_DEBUG_INFO_default="#"
49677 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49678 COND_BUILD_debug_DEBUG_INFO_default=""
49679 fi
49680
49681 COND_BUILD_debug_UNICODE_0="#"
49682 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49683 COND_BUILD_debug_UNICODE_0=""
49684 fi
49685
49686 COND_BUILD_debug_UNICODE_1="#"
49687 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49688 COND_BUILD_debug_UNICODE_1=""
49689 fi
49690
49691 COND_BUILD_release="#"
49692 if test "x$BUILD" = "xrelease" ; then
49693 COND_BUILD_release=""
49694 fi
49695
49696 COND_BUILD_release_DEBUG_INFO_default="#"
49697 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49698 COND_BUILD_release_DEBUG_INFO_default=""
49699 fi
49700
49701 COND_BUILD_release_UNICODE_0="#"
49702 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49703 COND_BUILD_release_UNICODE_0=""
49704 fi
49705
49706 COND_BUILD_release_UNICODE_1="#"
49707 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49708 COND_BUILD_release_UNICODE_1=""
49709 fi
49710
49711 COND_DEBUG_FLAG_1="#"
49712 if test "x$DEBUG_FLAG" = "x1" ; then
49713 COND_DEBUG_FLAG_1=""
49714 fi
49715
49716 COND_DEBUG_INFO_0="#"
49717 if test "x$DEBUG_INFO" = "x0" ; then
49718 COND_DEBUG_INFO_0=""
49719 fi
49720
49721 COND_DEBUG_INFO_1="#"
49722 if test "x$DEBUG_INFO" = "x1" ; then
49723 COND_DEBUG_INFO_1=""
49724 fi
49725
49726 COND_DEPS_TRACKING_0="#"
49727 if test "x$DEPS_TRACKING" = "x0" ; then
49728 COND_DEPS_TRACKING_0=""
49729 fi
49730
49731 COND_DEPS_TRACKING_1="#"
49732 if test "x$DEPS_TRACKING" = "x1" ; then
49733 COND_DEPS_TRACKING_1=""
49734 fi
49735
49736 COND_GCC_PCH_1="#"
49737 if test "x$GCC_PCH" = "x1" ; then
49738 COND_GCC_PCH_1=""
49739 fi
49740
49741 COND_ICC_PCH_1="#"
49742 if test "x$ICC_PCH" = "x1" ; then
49743 COND_ICC_PCH_1=""
49744 fi
49745
49746 COND_MONOLITHIC_0="#"
49747 if test "x$MONOLITHIC" = "x0" ; then
49748 COND_MONOLITHIC_0=""
49749 fi
49750
49751 COND_MONOLITHIC_0_SHARED_0="#"
49752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49753 COND_MONOLITHIC_0_SHARED_0=""
49754 fi
49755
49756 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49758 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49759 fi
49760
49761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49763 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49764 fi
49765
49766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49768 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49769 fi
49770
49771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49774 fi
49775
49776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49779 fi
49780
49781 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49783 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49784 fi
49785
49786 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49788 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49789 fi
49790
49791 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49793 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49794 fi
49795
49796 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49798 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49799 fi
49800
49801 COND_MONOLITHIC_0_SHARED_1="#"
49802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49803 COND_MONOLITHIC_0_SHARED_1=""
49804 fi
49805
49806 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49808 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49809 fi
49810
49811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49813 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49814 fi
49815
49816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49818 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49819 fi
49820
49821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49824 fi
49825
49826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49829 fi
49830
49831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49833 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49834 fi
49835
49836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49838 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49839 fi
49840
49841 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49844 fi
49845
49846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49849 fi
49850
49851 COND_MONOLITHIC_0_USE_AUI_1="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49853 COND_MONOLITHIC_0_USE_AUI_1=""
49854 fi
49855
49856 COND_MONOLITHIC_0_USE_GUI_1="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49858 COND_MONOLITHIC_0_USE_GUI_1=""
49859 fi
49860
49861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49863 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49864 fi
49865
49866 COND_MONOLITHIC_0_USE_HTML_1="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49868 COND_MONOLITHIC_0_USE_HTML_1=""
49869 fi
49870
49871 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49873 COND_MONOLITHIC_0_USE_MEDIA_1=""
49874 fi
49875
49876 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49878 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49879 fi
49880
49881 COND_MONOLITHIC_0_USE_QA_1="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49883 COND_MONOLITHIC_0_USE_QA_1=""
49884 fi
49885
49886 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49888 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49889 fi
49890
49891 COND_MONOLITHIC_0_USE_STC_1="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49893 COND_MONOLITHIC_0_USE_STC_1=""
49894 fi
49895
49896 COND_MONOLITHIC_0_USE_XRC_1="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49898 COND_MONOLITHIC_0_USE_XRC_1=""
49899 fi
49900
49901 COND_MONOLITHIC_1="#"
49902 if test "x$MONOLITHIC" = "x1" ; then
49903 COND_MONOLITHIC_1=""
49904 fi
49905
49906 COND_MONOLITHIC_1_SHARED_0="#"
49907 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49908 COND_MONOLITHIC_1_SHARED_0=""
49909 fi
49910
49911 COND_MONOLITHIC_1_SHARED_1="#"
49912 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49913 COND_MONOLITHIC_1_SHARED_1=""
49914 fi
49915
49916 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49917 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49918 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49919 fi
49920
49921 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49922 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49923 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49924 fi
49925
49926 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49927 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49928 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49929 fi
49930
49931 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49932 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49933 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49934 fi
49935
49936 COND_PLATFORM_MACOSX_1="#"
49937 if test "x$PLATFORM_MACOSX" = "x1" ; then
49938 COND_PLATFORM_MACOSX_1=""
49939 fi
49940
49941 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49943 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49944 fi
49945
49946 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49948 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49949 fi
49950
49951 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49953 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49954 fi
49955
49956 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49959 fi
49960
49961 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49963 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49964 fi
49965
49966 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49968 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49969 fi
49970
49971 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49973 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49974 fi
49975
49976 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49978 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49979 fi
49980
49981 COND_PLATFORM_MACOS_1="#"
49982 if test "x$PLATFORM_MACOS" = "x1" ; then
49983 COND_PLATFORM_MACOS_1=""
49984 fi
49985
49986 COND_PLATFORM_MAC_0="#"
49987 if test "x$PLATFORM_MAC" = "x0" ; then
49988 COND_PLATFORM_MAC_0=""
49989 fi
49990
49991 COND_PLATFORM_MAC_1="#"
49992 if test "x$PLATFORM_MAC" = "x1" ; then
49993 COND_PLATFORM_MAC_1=""
49994 fi
49995
49996 COND_PLATFORM_MSDOS_0="#"
49997 if test "x$PLATFORM_MSDOS" = "x0" ; then
49998 COND_PLATFORM_MSDOS_0=""
49999 fi
50000
50001 COND_PLATFORM_MSDOS_1="#"
50002 if test "x$PLATFORM_MSDOS" = "x1" ; then
50003 COND_PLATFORM_MSDOS_1=""
50004 fi
50005
50006 COND_PLATFORM_OS2_1="#"
50007 if test "x$PLATFORM_OS2" = "x1" ; then
50008 COND_PLATFORM_OS2_1=""
50009 fi
50010
50011 COND_PLATFORM_UNIX_0="#"
50012 if test "x$PLATFORM_UNIX" = "x0" ; then
50013 COND_PLATFORM_UNIX_0=""
50014 fi
50015
50016 COND_PLATFORM_UNIX_1="#"
50017 if test "x$PLATFORM_UNIX" = "x1" ; then
50018 COND_PLATFORM_UNIX_1=""
50019 fi
50020
50021 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50022 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50023 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50024 fi
50025
50026 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50027 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50028 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50029 fi
50030
50031 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50032 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50033 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50034 fi
50035
50036 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50037 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50038 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50039 fi
50040
50041 COND_PLATFORM_WIN32_0="#"
50042 if test "x$PLATFORM_WIN32" = "x0" ; then
50043 COND_PLATFORM_WIN32_0=""
50044 fi
50045
50046 COND_PLATFORM_WIN32_1="#"
50047 if test "x$PLATFORM_WIN32" = "x1" ; then
50048 COND_PLATFORM_WIN32_1=""
50049 fi
50050
50051 COND_SHARED_0="#"
50052 if test "x$SHARED" = "x0" ; then
50053 COND_SHARED_0=""
50054 fi
50055
50056 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50057 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50058 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50059 fi
50060
50061 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50062 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50063 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50064 fi
50065
50066 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50067 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50068 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50069 fi
50070
50071 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50072 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50073 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50074 fi
50075
50076 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50077 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50078 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50079 fi
50080
50081 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50082 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50083 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50084 fi
50085
50086 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50087 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50088 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50089 fi
50090
50091 COND_SHARED_0_USE_STC_1="#"
50092 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50093 COND_SHARED_0_USE_STC_1=""
50094 fi
50095
50096 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50097 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50098 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50099 fi
50100
50101 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50102 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50103 COND_SHARED_0_wxUSE_REGEX_builtin=""
50104 fi
50105
50106 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50107 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50108 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50109 fi
50110
50111 COND_SHARED_1="#"
50112 if test "x$SHARED" = "x1" ; then
50113 COND_SHARED_1=""
50114 fi
50115
50116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50117 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50118 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50119 fi
50120
50121 COND_TOOLKIT_="#"
50122 if test "x$TOOLKIT" = "x" ; then
50123 COND_TOOLKIT_=""
50124 fi
50125
50126 COND_TOOLKIT_COCOA="#"
50127 if test "x$TOOLKIT" = "xCOCOA" ; then
50128 COND_TOOLKIT_COCOA=""
50129 fi
50130
50131 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50132 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50133 COND_TOOLKIT_COCOA_USE_GUI_1=""
50134 fi
50135
50136 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50137 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50138 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50139 fi
50140
50141 COND_TOOLKIT_DFB="#"
50142 if test "x$TOOLKIT" = "xDFB" ; then
50143 COND_TOOLKIT_DFB=""
50144 fi
50145
50146 COND_TOOLKIT_DFB_USE_GUI_1="#"
50147 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50148 COND_TOOLKIT_DFB_USE_GUI_1=""
50149 fi
50150
50151 COND_TOOLKIT_GTK="#"
50152 if test "x$TOOLKIT" = "xGTK" ; then
50153 COND_TOOLKIT_GTK=""
50154 fi
50155
50156 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50158 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50159 fi
50160
50161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50162 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50164 fi
50165
50166 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50169 fi
50170
50171 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50173 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50174 fi
50175
50176 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50177 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50178 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50179 fi
50180
50181 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50182 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50183 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50184 fi
50185
50186 COND_TOOLKIT_GTK_USE_GUI_1="#"
50187 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50188 COND_TOOLKIT_GTK_USE_GUI_1=""
50189 fi
50190
50191 COND_TOOLKIT_MAC="#"
50192 if test "x$TOOLKIT" = "xMAC" ; then
50193 COND_TOOLKIT_MAC=""
50194 fi
50195
50196 COND_TOOLKIT_MGL="#"
50197 if test "x$TOOLKIT" = "xMGL" ; then
50198 COND_TOOLKIT_MGL=""
50199 fi
50200
50201 COND_TOOLKIT_MGL_USE_GUI_1="#"
50202 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50203 COND_TOOLKIT_MGL_USE_GUI_1=""
50204 fi
50205
50206 COND_TOOLKIT_MOTIF="#"
50207 if test "x$TOOLKIT" = "xMOTIF" ; then
50208 COND_TOOLKIT_MOTIF=""
50209 fi
50210
50211 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50212 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50213 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50214 fi
50215
50216 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50217 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50218 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50219 fi
50220
50221 COND_TOOLKIT_MSW="#"
50222 if test "x$TOOLKIT" = "xMSW" ; then
50223 COND_TOOLKIT_MSW=""
50224 fi
50225
50226 COND_TOOLKIT_MSW_USE_GUI_1="#"
50227 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50228 COND_TOOLKIT_MSW_USE_GUI_1=""
50229 fi
50230
50231 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50232 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50233 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50234 fi
50235
50236 COND_TOOLKIT_MSW_WXUNIV_0="#"
50237 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50238 COND_TOOLKIT_MSW_WXUNIV_0=""
50239 fi
50240
50241 COND_TOOLKIT_OSX_CARBON="#"
50242 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50243 COND_TOOLKIT_OSX_CARBON=""
50244 fi
50245
50246 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50247 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50248 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50249 fi
50250
50251 COND_TOOLKIT_OSX_COCOA="#"
50252 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50253 COND_TOOLKIT_OSX_COCOA=""
50254 fi
50255
50256 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50257 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50258 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50259 fi
50260
50261 COND_TOOLKIT_OSX_IPHONE="#"
50262 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50263 COND_TOOLKIT_OSX_IPHONE=""
50264 fi
50265
50266 COND_TOOLKIT_PM="#"
50267 if test "x$TOOLKIT" = "xPM" ; then
50268 COND_TOOLKIT_PM=""
50269 fi
50270
50271 COND_TOOLKIT_PM_USE_GUI_1="#"
50272 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50273 COND_TOOLKIT_PM_USE_GUI_1=""
50274 fi
50275
50276 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50277 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50278 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50279 fi
50280
50281 COND_TOOLKIT_WINCE="#"
50282 if test "x$TOOLKIT" = "xWINCE" ; then
50283 COND_TOOLKIT_WINCE=""
50284 fi
50285
50286 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50287 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_WINCE_USE_GUI_1=""
50289 fi
50290
50291 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50292 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50293 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50294 fi
50295
50296 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50297 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50298 COND_TOOLKIT_WINCE_WXUNIV_0=""
50299 fi
50300
50301 COND_TOOLKIT_X11="#"
50302 if test "x$TOOLKIT" = "xX11" ; then
50303 COND_TOOLKIT_X11=""
50304 fi
50305
50306 COND_TOOLKIT_X11_USE_GUI_1="#"
50307 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50308 COND_TOOLKIT_X11_USE_GUI_1=""
50309 fi
50310
50311 COND_UNICODE_1="#"
50312 if test "x$UNICODE" = "x1" ; then
50313 COND_UNICODE_1=""
50314 fi
50315
50316 COND_USE_EXCEPTIONS_0="#"
50317 if test "x$USE_EXCEPTIONS" = "x0" ; then
50318 COND_USE_EXCEPTIONS_0=""
50319 fi
50320
50321 COND_USE_EXCEPTIONS_1="#"
50322 if test "x$USE_EXCEPTIONS" = "x1" ; then
50323 COND_USE_EXCEPTIONS_1=""
50324 fi
50325
50326 COND_USE_GUI_0="#"
50327 if test "x$USE_GUI" = "x0" ; then
50328 COND_USE_GUI_0=""
50329 fi
50330
50331 COND_USE_GUI_1="#"
50332 if test "x$USE_GUI" = "x1" ; then
50333 COND_USE_GUI_1=""
50334 fi
50335
50336 COND_USE_GUI_1_USE_OPENGL_1="#"
50337 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50338 COND_USE_GUI_1_USE_OPENGL_1=""
50339 fi
50340
50341 COND_USE_GUI_1_WXUNIV_0="#"
50342 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50343 COND_USE_GUI_1_WXUNIV_0=""
50344 fi
50345
50346 COND_USE_GUI_1_WXUNIV_1="#"
50347 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50348 COND_USE_GUI_1_WXUNIV_1=""
50349 fi
50350
50351 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50352 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50353 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50354 fi
50355
50356 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50357 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50358 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50359 fi
50360
50361 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50362 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50363 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50364 fi
50365
50366 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50368 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50369 fi
50370
50371 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50373 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50374 fi
50375
50376 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50378 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50379 fi
50380
50381 COND_USE_OPENGL_1="#"
50382 if test "x$USE_OPENGL" = "x1" ; then
50383 COND_USE_OPENGL_1=""
50384 fi
50385
50386 COND_USE_PCH_1="#"
50387 if test "x$USE_PCH" = "x1" ; then
50388 COND_USE_PCH_1=""
50389 fi
50390
50391 COND_USE_PLUGINS_0="#"
50392 if test "x$USE_PLUGINS" = "x0" ; then
50393 COND_USE_PLUGINS_0=""
50394 fi
50395
50396 COND_USE_RTTI_0="#"
50397 if test "x$USE_RTTI" = "x0" ; then
50398 COND_USE_RTTI_0=""
50399 fi
50400
50401 COND_USE_RTTI_1="#"
50402 if test "x$USE_RTTI" = "x1" ; then
50403 COND_USE_RTTI_1=""
50404 fi
50405
50406 COND_USE_SOSYMLINKS_1="#"
50407 if test "x$USE_SOSYMLINKS" = "x1" ; then
50408 COND_USE_SOSYMLINKS_1=""
50409 fi
50410
50411 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50412 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50413 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50414 fi
50415
50416 COND_USE_SOVERLINUX_1="#"
50417 if test "x$USE_SOVERLINUX" = "x1" ; then
50418 COND_USE_SOVERLINUX_1=""
50419 fi
50420
50421 COND_USE_SOVERSION_0="#"
50422 if test "x$USE_SOVERSION" = "x0" ; then
50423 COND_USE_SOVERSION_0=""
50424 fi
50425
50426 COND_USE_SOVERSOLARIS_1="#"
50427 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50428 COND_USE_SOVERSOLARIS_1=""
50429 fi
50430
50431 COND_USE_STC_1="#"
50432 if test "x$USE_STC" = "x1" ; then
50433 COND_USE_STC_1=""
50434 fi
50435
50436 COND_USE_THREADS_0="#"
50437 if test "x$USE_THREADS" = "x0" ; then
50438 COND_USE_THREADS_0=""
50439 fi
50440
50441 COND_USE_THREADS_1="#"
50442 if test "x$USE_THREADS" = "x1" ; then
50443 COND_USE_THREADS_1=""
50444 fi
50445
50446 COND_USE_XRC_1="#"
50447 if test "x$USE_XRC" = "x1" ; then
50448 COND_USE_XRC_1=""
50449 fi
50450
50451 COND_WINDOWS_IMPLIB_1="#"
50452 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50453 COND_WINDOWS_IMPLIB_1=""
50454 fi
50455
50456 COND_WITH_PLUGIN_SDL_1="#"
50457 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50458 COND_WITH_PLUGIN_SDL_1=""
50459 fi
50460
50461 COND_WXUNIV_0="#"
50462 if test "x$WXUNIV" = "x0" ; then
50463 COND_WXUNIV_0=""
50464 fi
50465
50466 COND_WXUNIV_1="#"
50467 if test "x$WXUNIV" = "x1" ; then
50468 COND_WXUNIV_1=""
50469 fi
50470
50471 COND_WXUSE_EXPAT_BUILTIN="#"
50472 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50473 COND_WXUSE_EXPAT_BUILTIN=""
50474 fi
50475
50476 COND_WXUSE_LIBJPEG_BUILTIN="#"
50477 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50478 COND_WXUSE_LIBJPEG_BUILTIN=""
50479 fi
50480
50481 COND_WXUSE_LIBPNG_BUILTIN="#"
50482 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50483 COND_WXUSE_LIBPNG_BUILTIN=""
50484 fi
50485
50486 COND_WXUSE_LIBTIFF_BUILTIN="#"
50487 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50488 COND_WXUSE_LIBTIFF_BUILTIN=""
50489 fi
50490
50491 COND_WXUSE_REGEX_BUILTIN="#"
50492 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50493 COND_WXUSE_REGEX_BUILTIN=""
50494 fi
50495
50496 COND_WXUSE_ZLIB_BUILTIN="#"
50497 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50498 COND_WXUSE_ZLIB_BUILTIN=""
50499 fi
50500
50501 COND_wxUSE_EXPAT_builtin="#"
50502 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50503 COND_wxUSE_EXPAT_builtin=""
50504 fi
50505
50506 COND_wxUSE_LIBJPEG_builtin="#"
50507 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50508 COND_wxUSE_LIBJPEG_builtin=""
50509 fi
50510
50511 COND_wxUSE_LIBPNG_builtin="#"
50512 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50513 COND_wxUSE_LIBPNG_builtin=""
50514 fi
50515
50516 COND_wxUSE_LIBTIFF_builtin="#"
50517 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50518 COND_wxUSE_LIBTIFF_builtin=""
50519 fi
50520
50521 COND_wxUSE_REGEX_builtin="#"
50522 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50523 COND_wxUSE_REGEX_builtin=""
50524 fi
50525
50526 COND_wxUSE_ZLIB_builtin="#"
50527 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50528 COND_wxUSE_ZLIB_builtin=""
50529 fi
50530
50531
50532
50533 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50534 { { 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
50535 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;}
50536 { (exit 1); exit 1; }; }
50537 fi
50538
50539 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50540 { { 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
50541 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;}
50542 { (exit 1); exit 1; }; }
50543 fi
50544
50545
50546 case ${INSTALL} in
50547 /* ) # Absolute
50548 ;;
50549 ?:* ) # Drive letter, considered as absolute.
50550 ;;
50551 *)
50552 INSTALL=`pwd`/${INSTALL} ;;
50553 esac
50554
50555 if test "$wxUSE_GUI" = "yes"; then
50556
50557 if test "$wxUSE_MSW" = 1 ; then
50558 if test "x$WINDRES" = "x"; then
50559 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50560 echo "$as_me: error: Required windres program not found" >&2;}
50561 { (exit 1); exit 1; }; }
50562 fi
50563
50564 RESCOMP="$WINDRES"
50565 fi
50566
50567 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50568 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50569 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50570
50571 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50572
50573 # Extract the first word of "DeRez", so it can be a program name with args.
50574 set dummy DeRez; ac_word=$2
50575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50577 if test "${ac_cv_prog_DEREZ+set}" = set; then
50578 echo $ECHO_N "(cached) $ECHO_C" >&6
50579 else
50580 if test -n "$DEREZ"; then
50581 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50582 else
50583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50584 for as_dir in $PATH
50585 do
50586 IFS=$as_save_IFS
50587 test -z "$as_dir" && as_dir=.
50588 for ac_exec_ext in '' $ac_executable_extensions; do
50589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50590 ac_cv_prog_DEREZ="DeRez"
50591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50592 break 2
50593 fi
50594 done
50595 done
50596 IFS=$as_save_IFS
50597
50598 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50599 fi
50600 fi
50601 DEREZ=$ac_cv_prog_DEREZ
50602 if test -n "$DEREZ"; then
50603 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50604 echo "${ECHO_T}$DEREZ" >&6; }
50605 else
50606 { echo "$as_me:$LINENO: result: no" >&5
50607 echo "${ECHO_T}no" >&6; }
50608 fi
50609
50610
50611
50612 MACSETFILE="\$(SETFILE)"
50613
50614 if test "$wxUSE_OSX_CARBON" = 1; then
50615 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50616 RESCOMP="$REZ"
50617 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50618 else
50619 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50620 RESCOMP="cat /dev/null \| $REZ"
50621 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50622 fi
50623
50624 else
50625 MACSETFILE="@true"
50626
50627 if test "$wxUSE_PM" = 1; then
50628 RESCOMP="emxbind"
50629 WXCONFIG_RESFLAGS="-ep"
50630
50631 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50632 else
50633 POSTLINK_COMMAND="@true"
50634 fi
50635 fi
50636
50637 fi
50638
50639
50640 if test $GCC_PCH = 1
50641 then
50642 if test "$wx_cv_gcc_pch_bug" = yes; then
50643 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50644 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50645 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50646 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50647 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50648 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50649 fi
50650
50651 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50652 # the headers that benefit from precompilation are mostly C++ headers.
50653 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50654 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50655 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50656 fi
50657
50658
50659 if test "$wxUSE_MAC" = 1 ; then
50660 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50661 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50662 mv temp bk-deps
50663 chmod +x bk-deps
50664 fi
50665 fi
50666
50667 if test "$wxUSE_SHARED" = "yes"; then
50668 case "${host}" in
50669 *-pc-os2_emx | *-pc-os2-emx )
50670 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50671 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50672 cp -p ${srcdir}/src/os2/dllnames.sh .
50673 cp -p ${srcdir}/src/os2/dllar.sh .
50674 ;;
50675 esac
50676 fi
50677 if test "$wxUSE_OMF" = "yes"; then
50678 case "${host}" in
50679 *-pc-os2_emx | *-pc-os2-emx )
50680 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50681 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50682 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50683 ;;
50684 esac
50685 fi
50686
50687 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50688
50689
50690 case "${host}" in
50691 *-*-solaris2* )
50692 if test "$GCC" = yes; then
50693 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50694 LIBS=`echo $LIBS | sed 's/-mt//'`
50695 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50696 fi
50697 ;;
50698
50699 *-*-linux* )
50700 if test "x$SUNCXX" = xyes; then
50701 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50702 LIBS=`echo $LIBS | sed 's/-pthread//'`
50703 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50704 fi
50705 ;;
50706 esac
50707
50708 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50709 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50710 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50711 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50712
50713 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50775 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50776 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50777 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50778 echo $ECHO_N "(cached) $ECHO_C" >&6
50779 else
50780 cat >conftest.make <<\_ACEOF
50781 SHELL = /bin/sh
50782 all:
50783 @echo '@@@%%%=$(MAKE)=@@@%%%'
50784 _ACEOF
50785 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50787 *@@@%%%=?*=@@@%%%*)
50788 eval ac_cv_prog_make_${ac_make}_set=yes;;
50789 *)
50790 eval ac_cv_prog_make_${ac_make}_set=no;;
50791 esac
50792 rm -f conftest.make
50793 fi
50794 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50795 { echo "$as_me:$LINENO: result: yes" >&5
50796 echo "${ECHO_T}yes" >&6; }
50797 SET_MAKE=
50798 else
50799 { echo "$as_me:$LINENO: result: no" >&5
50800 echo "${ECHO_T}no" >&6; }
50801 SET_MAKE="MAKE=${MAKE-make}"
50802 fi
50803
50804
50805
50806 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50807
50808
50809 if test "$USE_WIN32" = 1; then
50810 ac_config_commands="$ac_config_commands rcdefs.h"
50811
50812 fi
50813
50814 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50815
50816
50817 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50818
50819
50820 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50821
50822
50823 if test "$wx_cv_version_script" = "yes"; then
50824 ac_config_files="$ac_config_files version-script"
50825
50826 fi
50827 ac_config_files="$ac_config_files Makefile"
50828
50829
50830 ac_config_commands="$ac_config_commands wx-config"
50831
50832
50833
50834 if test "$wxWITH_SUBDIRS" != "no"; then
50835 if test "$wxUSE_GUI" = "yes"; then
50836 SUBDIRS="samples demos utils"
50837 else
50838 SUBDIRS="samples utils"
50839 fi
50840
50841
50842
50843 # Check whether --with-cppunit-prefix was given.
50844 if test "${with_cppunit_prefix+set}" = set; then
50845 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50846 else
50847 cppunit_config_prefix=""
50848 fi
50849
50850
50851 # Check whether --with-cppunit-exec-prefix was given.
50852 if test "${with_cppunit_exec_prefix+set}" = set; then
50853 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50854 else
50855 cppunit_config_exec_prefix=""
50856 fi
50857
50858
50859 if test x$cppunit_config_exec_prefix != x ; then
50860 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50861 if test x${CPPUNIT_CONFIG+set} != xset ; then
50862 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50863 fi
50864 fi
50865 if test x$cppunit_config_prefix != x ; then
50866 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50867 if test x${CPPUNIT_CONFIG+set} != xset ; then
50868 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50869 fi
50870 fi
50871
50872 # Extract the first word of "cppunit-config", so it can be a program name with args.
50873 set dummy cppunit-config; ac_word=$2
50874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50876 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50877 echo $ECHO_N "(cached) $ECHO_C" >&6
50878 else
50879 case $CPPUNIT_CONFIG in
50880 [\\/]* | ?:[\\/]*)
50881 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50882 ;;
50883 *)
50884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50885 for as_dir in $PATH
50886 do
50887 IFS=$as_save_IFS
50888 test -z "$as_dir" && as_dir=.
50889 for ac_exec_ext in '' $ac_executable_extensions; do
50890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50891 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50893 break 2
50894 fi
50895 done
50896 done
50897 IFS=$as_save_IFS
50898
50899 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50900 ;;
50901 esac
50902 fi
50903 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50904 if test -n "$CPPUNIT_CONFIG"; then
50905 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50906 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50907 else
50908 { echo "$as_me:$LINENO: result: no" >&5
50909 echo "${ECHO_T}no" >&6; }
50910 fi
50911
50912
50913 cppunit_version_min=1.8.0
50914
50915 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50916 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50917 no_cppunit=""
50918 if test "$CPPUNIT_CONFIG" = "no" ; then
50919 { echo "$as_me:$LINENO: result: no" >&5
50920 echo "${ECHO_T}no" >&6; }
50921 no_cppunit=yes
50922 else
50923 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50924 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50925 cppunit_version=`$CPPUNIT_CONFIG --version`
50926
50927 cppunit_major_version=`echo $cppunit_version | \
50928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50929 cppunit_minor_version=`echo $cppunit_version | \
50930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50931 cppunit_micro_version=`echo $cppunit_version | \
50932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50933
50934 cppunit_major_min=`echo $cppunit_version_min | \
50935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50936 cppunit_minor_min=`echo $cppunit_version_min | \
50937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50938 cppunit_micro_min=`echo $cppunit_version_min | \
50939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50940
50941 cppunit_version_proper=`expr \
50942 $cppunit_major_version \> $cppunit_major_min \| \
50943 $cppunit_major_version \= $cppunit_major_min \& \
50944 $cppunit_minor_version \> $cppunit_minor_min \| \
50945 $cppunit_major_version \= $cppunit_major_min \& \
50946 $cppunit_minor_version \= $cppunit_minor_min \& \
50947 $cppunit_micro_version \>= $cppunit_micro_min `
50948
50949 if test "$cppunit_version_proper" = "1" ; then
50950 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50951 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50952 else
50953 { echo "$as_me:$LINENO: result: no" >&5
50954 echo "${ECHO_T}no" >&6; }
50955 no_cppunit=yes
50956 fi
50957 fi
50958
50959 if test "x$no_cppunit" = x ; then
50960 SUBDIRS="$SUBDIRS tests"
50961 else
50962 CPPUNIT_CFLAGS=""
50963 CPPUNIT_LIBS=""
50964 :
50965 fi
50966
50967
50968
50969
50970
50971 for subdir in $SUBDIRS; do
50972 if test -d ${srcdir}/${subdir} ; then
50973 if test "$wxUSE_GUI" = "yes"; then
50974 if test ${subdir} = "samples"; then
50975 makefiles="samples/Makefile.in $makefiles"
50976 for sample in $SAMPLES_SUBDIRS; do
50977 if test -d $srcdir/samples/$sample; then
50978 makefiles="samples/$sample/Makefile.in $makefiles"
50979 fi
50980 done
50981 else
50982 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50983 eval "disabled=\$$disabled_var"
50984 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50985 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50986 fi
50987 else
50988 if test ${subdir} = "samples"; then
50989 makefiles="samples/Makefile.in $makefiles"
50990 for sample in `echo $SAMPLES_SUBDIRS`; do
50991 if test -d $srcdir/samples/$sample; then
50992 makefiles="samples/$sample/Makefile.in $makefiles"
50993 fi
50994 done
50995 elif test ${subdir} = "utils"; then
50996 makefiles=""
50997 for util in ifacecheck ; do
50998 if test -d $srcdir/utils/$util ; then
50999 makefiles="utils/$util/src/Makefile.in \
51000 $makefiles"
51001 fi
51002 done
51003 else
51004 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51005 fi
51006 fi
51007
51008 for mkin in $makefiles ; do
51009 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51010 ac_config_files="$ac_config_files $mk"
51011
51012 done
51013 fi
51014 done
51015 fi
51016 cat >confcache <<\_ACEOF
51017 # This file is a shell script that caches the results of configure
51018 # tests run on this system so they can be shared between configure
51019 # scripts and configure runs, see configure's option --config-cache.
51020 # It is not useful on other systems. If it contains results you don't
51021 # want to keep, you may remove or edit it.
51022 #
51023 # config.status only pays attention to the cache file if you give it
51024 # the --recheck option to rerun configure.
51025 #
51026 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51027 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51028 # following values.
51029
51030 _ACEOF
51031
51032 # The following way of writing the cache mishandles newlines in values,
51033 # but we know of no workaround that is simple, portable, and efficient.
51034 # So, we kill variables containing newlines.
51035 # Ultrix sh set writes to stderr and can't be redirected directly,
51036 # and sets the high bit in the cache file unless we assign to the vars.
51037 (
51038 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51039 eval ac_val=\$$ac_var
51040 case $ac_val in #(
51041 *${as_nl}*)
51042 case $ac_var in #(
51043 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51044 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51045 esac
51046 case $ac_var in #(
51047 _ | IFS | as_nl) ;; #(
51048 *) $as_unset $ac_var ;;
51049 esac ;;
51050 esac
51051 done
51052
51053 (set) 2>&1 |
51054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51055 *${as_nl}ac_space=\ *)
51056 # `set' does not quote correctly, so add quotes (double-quote
51057 # substitution turns \\\\ into \\, and sed turns \\ into \).
51058 sed -n \
51059 "s/'/'\\\\''/g;
51060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51061 ;; #(
51062 *)
51063 # `set' quotes correctly as required by POSIX, so do not add quotes.
51064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51065 ;;
51066 esac |
51067 sort
51068 ) |
51069 sed '
51070 /^ac_cv_env_/b end
51071 t clear
51072 :clear
51073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51074 t end
51075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51076 :end' >>confcache
51077 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51078 if test -w "$cache_file"; then
51079 test "x$cache_file" != "x/dev/null" &&
51080 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51081 echo "$as_me: updating cache $cache_file" >&6;}
51082 cat confcache >$cache_file
51083 else
51084 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51085 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51086 fi
51087 fi
51088 rm -f confcache
51089
51090 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51091 # Let make expand exec_prefix.
51092 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51093
51094 DEFS=-DHAVE_CONFIG_H
51095
51096 ac_libobjs=
51097 ac_ltlibobjs=
51098 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51099 # 1. Remove the extension, and $U if already installed.
51100 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51101 ac_i=`echo "$ac_i" | sed "$ac_script"`
51102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51103 # will be set to the directory where LIBOBJS objects are built.
51104 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51105 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51106 done
51107 LIBOBJS=$ac_libobjs
51108
51109 LTLIBOBJS=$ac_ltlibobjs
51110
51111
51112
51113 : ${CONFIG_STATUS=./config.status}
51114 ac_clean_files_save=$ac_clean_files
51115 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51116 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51117 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51118 cat >$CONFIG_STATUS <<_ACEOF
51119 #! $SHELL
51120 # Generated by $as_me.
51121 # Run this file to recreate the current configuration.
51122 # Compiler output produced by configure, useful for debugging
51123 # configure, is in config.log if it exists.
51124
51125 debug=false
51126 ac_cs_recheck=false
51127 ac_cs_silent=false
51128 SHELL=\${CONFIG_SHELL-$SHELL}
51129 _ACEOF
51130
51131 cat >>$CONFIG_STATUS <<\_ACEOF
51132 ## --------------------- ##
51133 ## M4sh Initialization. ##
51134 ## --------------------- ##
51135
51136 # Be more Bourne compatible
51137 DUALCASE=1; export DUALCASE # for MKS sh
51138 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51139 emulate sh
51140 NULLCMD=:
51141 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51142 # is contrary to our usage. Disable this feature.
51143 alias -g '${1+"$@"}'='"$@"'
51144 setopt NO_GLOB_SUBST
51145 else
51146 case `(set -o) 2>/dev/null` in
51147 *posix*) set -o posix ;;
51148 esac
51149
51150 fi
51151
51152
51153
51154
51155 # PATH needs CR
51156 # Avoid depending upon Character Ranges.
51157 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51158 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51159 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51160 as_cr_digits='0123456789'
51161 as_cr_alnum=$as_cr_Letters$as_cr_digits
51162
51163 # The user is always right.
51164 if test "${PATH_SEPARATOR+set}" != set; then
51165 echo "#! /bin/sh" >conf$$.sh
51166 echo "exit 0" >>conf$$.sh
51167 chmod +x conf$$.sh
51168 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51169 PATH_SEPARATOR=';'
51170 else
51171 PATH_SEPARATOR=:
51172 fi
51173 rm -f conf$$.sh
51174 fi
51175
51176 # Support unset when possible.
51177 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51178 as_unset=unset
51179 else
51180 as_unset=false
51181 fi
51182
51183
51184 # IFS
51185 # We need space, tab and new line, in precisely that order. Quoting is
51186 # there to prevent editors from complaining about space-tab.
51187 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51188 # splitting by setting IFS to empty value.)
51189 as_nl='
51190 '
51191 IFS=" "" $as_nl"
51192
51193 # Find who we are. Look in the path if we contain no directory separator.
51194 case $0 in
51195 *[\\/]* ) as_myself=$0 ;;
51196 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51197 for as_dir in $PATH
51198 do
51199 IFS=$as_save_IFS
51200 test -z "$as_dir" && as_dir=.
51201 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51202 done
51203 IFS=$as_save_IFS
51204
51205 ;;
51206 esac
51207 # We did not find ourselves, most probably we were run as `sh COMMAND'
51208 # in which case we are not to be found in the path.
51209 if test "x$as_myself" = x; then
51210 as_myself=$0
51211 fi
51212 if test ! -f "$as_myself"; then
51213 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51214 { (exit 1); exit 1; }
51215 fi
51216
51217 # Work around bugs in pre-3.0 UWIN ksh.
51218 for as_var in ENV MAIL MAILPATH
51219 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51220 done
51221 PS1='$ '
51222 PS2='> '
51223 PS4='+ '
51224
51225 # NLS nuisances.
51226 for as_var in \
51227 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51228 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51229 LC_TELEPHONE LC_TIME
51230 do
51231 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51232 eval $as_var=C; export $as_var
51233 else
51234 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51235 fi
51236 done
51237
51238 # Required to use basename.
51239 if expr a : '\(a\)' >/dev/null 2>&1 &&
51240 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51241 as_expr=expr
51242 else
51243 as_expr=false
51244 fi
51245
51246 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51247 as_basename=basename
51248 else
51249 as_basename=false
51250 fi
51251
51252
51253 # Name of the executable.
51254 as_me=`$as_basename -- "$0" ||
51255 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51256 X"$0" : 'X\(//\)$' \| \
51257 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51258 echo X/"$0" |
51259 sed '/^.*\/\([^/][^/]*\)\/*$/{
51260 s//\1/
51261 q
51262 }
51263 /^X\/\(\/\/\)$/{
51264 s//\1/
51265 q
51266 }
51267 /^X\/\(\/\).*/{
51268 s//\1/
51269 q
51270 }
51271 s/.*/./; q'`
51272
51273 # CDPATH.
51274 $as_unset CDPATH
51275
51276
51277
51278 as_lineno_1=$LINENO
51279 as_lineno_2=$LINENO
51280 test "x$as_lineno_1" != "x$as_lineno_2" &&
51281 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51282
51283 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51284 # uniformly replaced by the line number. The first 'sed' inserts a
51285 # line-number line after each line using $LINENO; the second 'sed'
51286 # does the real work. The second script uses 'N' to pair each
51287 # line-number line with the line containing $LINENO, and appends
51288 # trailing '-' during substitution so that $LINENO is not a special
51289 # case at line end.
51290 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51291 # scripts with optimization help from Paolo Bonzini. Blame Lee
51292 # E. McMahon (1931-1989) for sed's syntax. :-)
51293 sed -n '
51294 p
51295 /[$]LINENO/=
51296 ' <$as_myself |
51297 sed '
51298 s/[$]LINENO.*/&-/
51299 t lineno
51300 b
51301 :lineno
51302 N
51303 :loop
51304 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51305 t loop
51306 s/-\n.*//
51307 ' >$as_me.lineno &&
51308 chmod +x "$as_me.lineno" ||
51309 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51310 { (exit 1); exit 1; }; }
51311
51312 # Don't try to exec as it changes $[0], causing all sort of problems
51313 # (the dirname of $[0] is not the place where we might find the
51314 # original and so on. Autoconf is especially sensitive to this).
51315 . "./$as_me.lineno"
51316 # Exit status is that of the last command.
51317 exit
51318 }
51319
51320
51321 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51322 as_dirname=dirname
51323 else
51324 as_dirname=false
51325 fi
51326
51327 ECHO_C= ECHO_N= ECHO_T=
51328 case `echo -n x` in
51329 -n*)
51330 case `echo 'x\c'` in
51331 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51332 *) ECHO_C='\c';;
51333 esac;;
51334 *)
51335 ECHO_N='-n';;
51336 esac
51337
51338 if expr a : '\(a\)' >/dev/null 2>&1 &&
51339 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51340 as_expr=expr
51341 else
51342 as_expr=false
51343 fi
51344
51345 rm -f conf$$ conf$$.exe conf$$.file
51346 if test -d conf$$.dir; then
51347 rm -f conf$$.dir/conf$$.file
51348 else
51349 rm -f conf$$.dir
51350 mkdir conf$$.dir
51351 fi
51352 echo >conf$$.file
51353 if ln -s conf$$.file conf$$ 2>/dev/null; then
51354 as_ln_s='ln -s'
51355 # ... but there are two gotchas:
51356 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51357 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51358 # In both cases, we have to default to `cp -p'.
51359 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51360 as_ln_s='cp -p'
51361 elif ln conf$$.file conf$$ 2>/dev/null; then
51362 as_ln_s=ln
51363 else
51364 as_ln_s='cp -p'
51365 fi
51366 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51367 rmdir conf$$.dir 2>/dev/null
51368
51369 if mkdir -p . 2>/dev/null; then
51370 as_mkdir_p=:
51371 else
51372 test -d ./-p && rmdir ./-p
51373 as_mkdir_p=false
51374 fi
51375
51376 if test -x / >/dev/null 2>&1; then
51377 as_test_x='test -x'
51378 else
51379 if ls -dL / >/dev/null 2>&1; then
51380 as_ls_L_option=L
51381 else
51382 as_ls_L_option=
51383 fi
51384 as_test_x='
51385 eval sh -c '\''
51386 if test -d "$1"; then
51387 test -d "$1/.";
51388 else
51389 case $1 in
51390 -*)set "./$1";;
51391 esac;
51392 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51393 ???[sx]*):;;*)false;;esac;fi
51394 '\'' sh
51395 '
51396 fi
51397 as_executable_p=$as_test_x
51398
51399 # Sed expression to map a string onto a valid CPP name.
51400 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51401
51402 # Sed expression to map a string onto a valid variable name.
51403 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51404
51405
51406 exec 6>&1
51407
51408 # Save the log message, to keep $[0] and so on meaningful, and to
51409 # report actual input values of CONFIG_FILES etc. instead of their
51410 # values after options handling.
51411 ac_log="
51412 This file was extended by wxWidgets $as_me 2.9.0, which was
51413 generated by GNU Autoconf 2.61. Invocation command line was
51414
51415 CONFIG_FILES = $CONFIG_FILES
51416 CONFIG_HEADERS = $CONFIG_HEADERS
51417 CONFIG_LINKS = $CONFIG_LINKS
51418 CONFIG_COMMANDS = $CONFIG_COMMANDS
51419 $ $0 $@
51420
51421 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51422 "
51423
51424 _ACEOF
51425
51426 cat >>$CONFIG_STATUS <<_ACEOF
51427 # Files that config.status was made for.
51428 config_files="$ac_config_files"
51429 config_headers="$ac_config_headers"
51430 config_commands="$ac_config_commands"
51431
51432 _ACEOF
51433
51434 cat >>$CONFIG_STATUS <<\_ACEOF
51435 ac_cs_usage="\
51436 \`$as_me' instantiates files from templates according to the
51437 current configuration.
51438
51439 Usage: $0 [OPTIONS] [FILE]...
51440
51441 -h, --help print this help, then exit
51442 -V, --version print version number and configuration settings, then exit
51443 -q, --quiet do not print progress messages
51444 -d, --debug don't remove temporary files
51445 --recheck update $as_me by reconfiguring in the same conditions
51446 --file=FILE[:TEMPLATE]
51447 instantiate the configuration file FILE
51448 --header=FILE[:TEMPLATE]
51449 instantiate the configuration header FILE
51450
51451 Configuration files:
51452 $config_files
51453
51454 Configuration headers:
51455 $config_headers
51456
51457 Configuration commands:
51458 $config_commands
51459
51460 Report bugs to <bug-autoconf@gnu.org>."
51461
51462 _ACEOF
51463 cat >>$CONFIG_STATUS <<_ACEOF
51464 ac_cs_version="\\
51465 wxWidgets config.status 2.9.0
51466 configured by $0, generated by GNU Autoconf 2.61,
51467 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51468
51469 Copyright (C) 2006 Free Software Foundation, Inc.
51470 This config.status script is free software; the Free Software Foundation
51471 gives unlimited permission to copy, distribute and modify it."
51472
51473 ac_pwd='$ac_pwd'
51474 srcdir='$srcdir'
51475 INSTALL='$INSTALL'
51476 _ACEOF
51477
51478 cat >>$CONFIG_STATUS <<\_ACEOF
51479 # If no file are specified by the user, then we need to provide default
51480 # value. By we need to know if files were specified by the user.
51481 ac_need_defaults=:
51482 while test $# != 0
51483 do
51484 case $1 in
51485 --*=*)
51486 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51487 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51488 ac_shift=:
51489 ;;
51490 *)
51491 ac_option=$1
51492 ac_optarg=$2
51493 ac_shift=shift
51494 ;;
51495 esac
51496
51497 case $ac_option in
51498 # Handling of the options.
51499 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51500 ac_cs_recheck=: ;;
51501 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51502 echo "$ac_cs_version"; exit ;;
51503 --debug | --debu | --deb | --de | --d | -d )
51504 debug=: ;;
51505 --file | --fil | --fi | --f )
51506 $ac_shift
51507 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51508 ac_need_defaults=false;;
51509 --header | --heade | --head | --hea )
51510 $ac_shift
51511 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51512 ac_need_defaults=false;;
51513 --he | --h)
51514 # Conflict between --help and --header
51515 { echo "$as_me: error: ambiguous option: $1
51516 Try \`$0 --help' for more information." >&2
51517 { (exit 1); exit 1; }; };;
51518 --help | --hel | -h )
51519 echo "$ac_cs_usage"; exit ;;
51520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51521 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51522 ac_cs_silent=: ;;
51523
51524 # This is an error.
51525 -*) { echo "$as_me: error: unrecognized option: $1
51526 Try \`$0 --help' for more information." >&2
51527 { (exit 1); exit 1; }; } ;;
51528
51529 *) ac_config_targets="$ac_config_targets $1"
51530 ac_need_defaults=false ;;
51531
51532 esac
51533 shift
51534 done
51535
51536 ac_configure_extra_args=
51537
51538 if $ac_cs_silent; then
51539 exec 6>/dev/null
51540 ac_configure_extra_args="$ac_configure_extra_args --silent"
51541 fi
51542
51543 _ACEOF
51544 cat >>$CONFIG_STATUS <<_ACEOF
51545 if \$ac_cs_recheck; then
51546 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51547 CONFIG_SHELL=$SHELL
51548 export CONFIG_SHELL
51549 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51550 fi
51551
51552 _ACEOF
51553 cat >>$CONFIG_STATUS <<\_ACEOF
51554 exec 5>>config.log
51555 {
51556 echo
51557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51558 ## Running $as_me. ##
51559 _ASBOX
51560 echo "$ac_log"
51561 } >&5
51562
51563 _ACEOF
51564 cat >>$CONFIG_STATUS <<_ACEOF
51565 #
51566 # INIT-COMMANDS
51567 #
51568
51569 CPP="$CPP"
51570 infile="$srcdir/include/wx/msw/genrcdefs.h"
51571 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51572
51573
51574 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51575 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51576 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51577 LN_S="${LN_S}"
51578
51579
51580 _ACEOF
51581
51582 cat >>$CONFIG_STATUS <<\_ACEOF
51583
51584 # Handling of arguments.
51585 for ac_config_target in $ac_config_targets
51586 do
51587 case $ac_config_target in
51588 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51589 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51590 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51591 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51592 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51593 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51594 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51595 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51596 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51597
51598 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51599 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51600 { (exit 1); exit 1; }; };;
51601 esac
51602 done
51603
51604
51605 # If the user did not use the arguments to specify the items to instantiate,
51606 # then the envvar interface is used. Set only those that are not.
51607 # We use the long form for the default assignment because of an extremely
51608 # bizarre bug on SunOS 4.1.3.
51609 if $ac_need_defaults; then
51610 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51611 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51612 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51613 fi
51614
51615 # Have a temporary directory for convenience. Make it in the build tree
51616 # simply because there is no reason against having it here, and in addition,
51617 # creating and moving files from /tmp can sometimes cause problems.
51618 # Hook for its removal unless debugging.
51619 # Note that there is a small window in which the directory will not be cleaned:
51620 # after its creation but before its name has been assigned to `$tmp'.
51621 $debug ||
51622 {
51623 tmp=
51624 trap 'exit_status=$?
51625 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51626 ' 0
51627 trap '{ (exit 1); exit 1; }' 1 2 13 15
51628 }
51629 # Create a (secure) tmp directory for tmp files.
51630
51631 {
51632 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51633 test -n "$tmp" && test -d "$tmp"
51634 } ||
51635 {
51636 tmp=./conf$$-$RANDOM
51637 (umask 077 && mkdir "$tmp")
51638 } ||
51639 {
51640 echo "$me: cannot create a temporary directory in ." >&2
51641 { (exit 1); exit 1; }
51642 }
51643
51644 #
51645 # Set up the sed scripts for CONFIG_FILES section.
51646 #
51647
51648 # No need to generate the scripts if there are no CONFIG_FILES.
51649 # This happens for instance when ./config.status config.h
51650 if test -n "$CONFIG_FILES"; then
51651
51652 _ACEOF
51653
51654
51655
51656 ac_delim='%!_!# '
51657 for ac_last_try in false false false false false :; do
51658 cat >conf$$subs.sed <<_ACEOF
51659 SHELL!$SHELL$ac_delim
51660 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51661 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51662 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51663 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51664 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51665 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51666 exec_prefix!$exec_prefix$ac_delim
51667 prefix!$prefix$ac_delim
51668 program_transform_name!$program_transform_name$ac_delim
51669 bindir!$bindir$ac_delim
51670 sbindir!$sbindir$ac_delim
51671 libexecdir!$libexecdir$ac_delim
51672 datarootdir!$datarootdir$ac_delim
51673 datadir!$datadir$ac_delim
51674 sysconfdir!$sysconfdir$ac_delim
51675 sharedstatedir!$sharedstatedir$ac_delim
51676 localstatedir!$localstatedir$ac_delim
51677 includedir!$includedir$ac_delim
51678 oldincludedir!$oldincludedir$ac_delim
51679 docdir!$docdir$ac_delim
51680 infodir!$infodir$ac_delim
51681 htmldir!$htmldir$ac_delim
51682 dvidir!$dvidir$ac_delim
51683 pdfdir!$pdfdir$ac_delim
51684 psdir!$psdir$ac_delim
51685 libdir!$libdir$ac_delim
51686 localedir!$localedir$ac_delim
51687 mandir!$mandir$ac_delim
51688 DEFS!$DEFS$ac_delim
51689 ECHO_C!$ECHO_C$ac_delim
51690 ECHO_N!$ECHO_N$ac_delim
51691 ECHO_T!$ECHO_T$ac_delim
51692 LIBS!$LIBS$ac_delim
51693 build_alias!$build_alias$ac_delim
51694 host_alias!$host_alias$ac_delim
51695 target_alias!$target_alias$ac_delim
51696 build!$build$ac_delim
51697 build_cpu!$build_cpu$ac_delim
51698 build_vendor!$build_vendor$ac_delim
51699 build_os!$build_os$ac_delim
51700 host!$host$ac_delim
51701 host_cpu!$host_cpu$ac_delim
51702 host_vendor!$host_vendor$ac_delim
51703 host_os!$host_os$ac_delim
51704 wx_top_builddir!$wx_top_builddir$ac_delim
51705 CC!$CC$ac_delim
51706 CFLAGS!$CFLAGS$ac_delim
51707 LDFLAGS!$LDFLAGS$ac_delim
51708 CPPFLAGS!$CPPFLAGS$ac_delim
51709 ac_ct_CC!$ac_ct_CC$ac_delim
51710 EXEEXT!$EXEEXT$ac_delim
51711 OBJEXT!$OBJEXT$ac_delim
51712 CPP!$CPP$ac_delim
51713 GREP!$GREP$ac_delim
51714 EGREP!$EGREP$ac_delim
51715 CXX!$CXX$ac_delim
51716 CXXFLAGS!$CXXFLAGS$ac_delim
51717 ac_ct_CXX!$ac_ct_CXX$ac_delim
51718 AR!$AR$ac_delim
51719 subdirs!$subdirs$ac_delim
51720 PKG_CONFIG!$PKG_CONFIG$ac_delim
51721 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51722 GTK_LIBS!$GTK_LIBS$ac_delim
51723 GTK_CONFIG!$GTK_CONFIG$ac_delim
51724 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51725 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51726 XMKMF!$XMKMF$ac_delim
51727 X_CFLAGS!$X_CFLAGS$ac_delim
51728 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51729 X_LIBS!$X_LIBS$ac_delim
51730 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51731 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51732 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51733 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51734 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51735 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51736 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51737 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51738 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51739 LIBICONV!$LIBICONV$ac_delim
51740 GXX_VERSION!$GXX_VERSION$ac_delim
51741 SDL_CONFIG!$SDL_CONFIG$ac_delim
51742 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51743 SDL_LIBS!$SDL_LIBS$ac_delim
51744 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51745 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51746 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51747 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51748 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51749 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51750 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51751 HILDON_LIBS!$HILDON_LIBS$ac_delim
51752 PYTHON!$PYTHON$ac_delim
51753 COND_PYTHON!$COND_PYTHON$ac_delim
51754 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51755 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51756 _ACEOF
51757
51758 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51759 break
51760 elif $ac_last_try; then
51761 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51762 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51763 { (exit 1); exit 1; }; }
51764 else
51765 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51766 fi
51767 done
51768
51769 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51770 if test -n "$ac_eof"; then
51771 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51772 ac_eof=`expr $ac_eof + 1`
51773 fi
51774
51775 cat >>$CONFIG_STATUS <<_ACEOF
51776 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51778 _ACEOF
51779 sed '
51780 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51781 s/^/s,@/; s/!/@,|#_!!_#|/
51782 :n
51783 t n
51784 s/'"$ac_delim"'$/,g/; t
51785 s/$/\\/; p
51786 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51787 ' >>$CONFIG_STATUS <conf$$subs.sed
51788 rm -f conf$$subs.sed
51789 cat >>$CONFIG_STATUS <<_ACEOF
51790 CEOF$ac_eof
51791 _ACEOF
51792
51793
51794 ac_delim='%!_!# '
51795 for ac_last_try in false false false false false :; do
51796 cat >conf$$subs.sed <<_ACEOF
51797 GST_CFLAGS!$GST_CFLAGS$ac_delim
51798 GST_LIBS!$GST_LIBS$ac_delim
51799 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51800 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51801 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51802 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51803 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51804 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51805 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51806 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51807 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51808 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51809 VENDOR!$VENDOR$ac_delim
51810 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51811 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51812 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51813 WXUNIV!$WXUNIV$ac_delim
51814 MONOLITHIC!$MONOLITHIC$ac_delim
51815 USE_PLUGINS!$USE_PLUGINS$ac_delim
51816 CXXWARNINGS!$CXXWARNINGS$ac_delim
51817 EXTRALIBS!$EXTRALIBS$ac_delim
51818 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51819 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51820 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51821 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51822 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51823 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51824 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51825 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51826 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51827 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51828 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51829 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51830 UNICODE!$UNICODE$ac_delim
51831 BUILD!$BUILD$ac_delim
51832 DEBUG_INFO!$DEBUG_INFO$ac_delim
51833 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51834 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51835 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51836 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51837 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51838 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51839 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51840 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51841 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51842 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51843 RANLIB!$RANLIB$ac_delim
51844 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51845 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51846 INSTALL_DATA!$INSTALL_DATA$ac_delim
51847 LN_S!$LN_S$ac_delim
51848 SET_MAKE!$SET_MAKE$ac_delim
51849 MAKE_SET!$MAKE_SET$ac_delim
51850 AROPTIONS!$AROPTIONS$ac_delim
51851 STRIP!$STRIP$ac_delim
51852 NM!$NM$ac_delim
51853 INSTALL_DIR!$INSTALL_DIR$ac_delim
51854 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51855 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51856 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51857 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51858 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51859 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51860 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51861 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51862 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51863 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51864 SO_SUFFIX!$SO_SUFFIX$ac_delim
51865 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51866 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51867 LIBPREFIX!$LIBPREFIX$ac_delim
51868 LIBEXT!$LIBEXT$ac_delim
51869 DLLPREFIX!$DLLPREFIX$ac_delim
51870 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51871 dlldir!$dlldir$ac_delim
51872 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51873 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51874 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51875 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51876 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51877 PIC_FLAG!$PIC_FLAG$ac_delim
51878 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51879 USE_SOVERSION!$USE_SOVERSION$ac_delim
51880 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51881 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51882 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51883 USE_MACVERSION!$USE_MACVERSION$ac_delim
51884 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51885 SONAME_FLAG!$SONAME_FLAG$ac_delim
51886 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51887 BK_DEPS!$BK_DEPS$ac_delim
51888 WINDRES!$WINDRES$ac_delim
51889 REZ!$REZ$ac_delim
51890 SETFILE!$SETFILE$ac_delim
51891 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51892 GCC_PCH!$GCC_PCH$ac_delim
51893 ICC_PCH!$ICC_PCH$ac_delim
51894 _ACEOF
51895
51896 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51897 break
51898 elif $ac_last_try; then
51899 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51900 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51901 { (exit 1); exit 1; }; }
51902 else
51903 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51904 fi
51905 done
51906
51907 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51908 if test -n "$ac_eof"; then
51909 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51910 ac_eof=`expr $ac_eof + 1`
51911 fi
51912
51913 cat >>$CONFIG_STATUS <<_ACEOF
51914 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51915 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51916 _ACEOF
51917 sed '
51918 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51919 s/^/s,@/; s/!/@,|#_!!_#|/
51920 :n
51921 t n
51922 s/'"$ac_delim"'$/,g/; t
51923 s/$/\\/; p
51924 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51925 ' >>$CONFIG_STATUS <conf$$subs.sed
51926 rm -f conf$$subs.sed
51927 cat >>$CONFIG_STATUS <<_ACEOF
51928 CEOF$ac_eof
51929 _ACEOF
51930
51931
51932 ac_delim='%!_!# '
51933 for ac_last_try in false false false false false :; do
51934 cat >conf$$subs.sed <<_ACEOF
51935 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51936 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51937 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51938 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51939 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51940 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51941 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51942 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51943 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51944 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51945 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51946 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51947 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51948 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51949 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51950 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51951 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51952 COND_BUILD_release!$COND_BUILD_release$ac_delim
51953 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51954 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51955 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51956 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51957 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51958 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51959 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51960 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51961 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51962 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51963 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51964 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51965 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51966 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51967 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51968 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51969 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51970 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51971 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51972 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51973 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51974 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51975 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51976 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51978 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51979 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51980 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51981 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51982 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51983 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51984 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51985 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51986 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51987 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51988 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51989 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51990 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51991 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51992 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51993 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51994 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51995 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51996 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51997 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51998 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51999 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52000 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52001 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52002 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52003 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52004 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
52005 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52006 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
52007 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52008 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52009 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52010 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52011 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52012 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52013 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52014 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52015 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52016 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52017 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52018 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52019 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52020 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52021 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52022 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52023 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52024 COND_SHARED_0!$COND_SHARED_0$ac_delim
52025 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52026 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52027 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52028 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52029 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52030 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52031 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52032 _ACEOF
52033
52034 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52035 break
52036 elif $ac_last_try; then
52037 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52038 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52039 { (exit 1); exit 1; }; }
52040 else
52041 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52042 fi
52043 done
52044
52045 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52046 if test -n "$ac_eof"; then
52047 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52048 ac_eof=`expr $ac_eof + 1`
52049 fi
52050
52051 cat >>$CONFIG_STATUS <<_ACEOF
52052 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52053 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52054 _ACEOF
52055 sed '
52056 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52057 s/^/s,@/; s/!/@,|#_!!_#|/
52058 :n
52059 t n
52060 s/'"$ac_delim"'$/,g/; t
52061 s/$/\\/; p
52062 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52063 ' >>$CONFIG_STATUS <conf$$subs.sed
52064 rm -f conf$$subs.sed
52065 cat >>$CONFIG_STATUS <<_ACEOF
52066 CEOF$ac_eof
52067 _ACEOF
52068
52069
52070 ac_delim='%!_!# '
52071 for ac_last_try in false false false false false :; do
52072 cat >conf$$subs.sed <<_ACEOF
52073 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52074 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52075 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52076 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52077 COND_SHARED_1!$COND_SHARED_1$ac_delim
52078 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52079 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52080 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52081 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52082 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52083 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52084 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52085 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52086 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52088 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52090 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52091 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52092 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52093 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52094 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52095 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52096 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52097 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52098 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52099 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52100 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52101 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52102 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52103 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52104 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52105 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52106 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52107 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52108 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52109 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52110 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52111 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52112 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52113 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52114 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52115 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52116 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52117 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52118 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52119 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52120 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52121 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52122 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52123 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52124 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52125 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52126 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52127 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52128 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52129 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52130 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52131 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52132 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52133 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52134 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52135 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52136 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52137 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52138 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52139 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52140 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52141 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52142 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52143 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52144 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52145 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52146 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52147 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52148 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52149 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52150 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52151 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52152 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52153 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52154 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52155 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52156 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52157 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52158 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52159 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52160 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52161 DEREZ!$DEREZ$ac_delim
52162 SHARED!$SHARED$ac_delim
52163 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52164 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52165 USE_GUI!$USE_GUI$ac_delim
52166 AFMINSTALL!$AFMINSTALL$ac_delim
52167 WIN32INSTALL!$WIN32INSTALL$ac_delim
52168 TOOLKIT!$TOOLKIT$ac_delim
52169 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52170 _ACEOF
52171
52172 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52173 break
52174 elif $ac_last_try; then
52175 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52176 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52177 { (exit 1); exit 1; }; }
52178 else
52179 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52180 fi
52181 done
52182
52183 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52184 if test -n "$ac_eof"; then
52185 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52186 ac_eof=`expr $ac_eof + 1`
52187 fi
52188
52189 cat >>$CONFIG_STATUS <<_ACEOF
52190 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52192 _ACEOF
52193 sed '
52194 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52195 s/^/s,@/; s/!/@,|#_!!_#|/
52196 :n
52197 t n
52198 s/'"$ac_delim"'$/,g/; t
52199 s/$/\\/; p
52200 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52201 ' >>$CONFIG_STATUS <conf$$subs.sed
52202 rm -f conf$$subs.sed
52203 cat >>$CONFIG_STATUS <<_ACEOF
52204 CEOF$ac_eof
52205 _ACEOF
52206
52207
52208 ac_delim='%!_!# '
52209 for ac_last_try in false false false false false :; do
52210 cat >conf$$subs.sed <<_ACEOF
52211 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52212 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52213 cross_compiling!$cross_compiling$ac_delim
52214 WIDGET_SET!$WIDGET_SET$ac_delim
52215 WX_RELEASE!$WX_RELEASE$ac_delim
52216 WX_VERSION!$WX_VERSION$ac_delim
52217 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52218 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52219 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52220 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52221 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52222 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52223 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52224 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52225 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52226 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52227 GUIDIST!$GUIDIST$ac_delim
52228 DISTDIR!$DISTDIR$ac_delim
52229 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52230 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52231 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52232 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52233 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52234 RESCOMP!$RESCOMP$ac_delim
52235 RESFLAGS!$RESFLAGS$ac_delim
52236 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52237 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52238 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52239 LIBWXMACRES!$LIBWXMACRES$ac_delim
52240 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52241 MACSETFILE!$MACSETFILE$ac_delim
52242 GCC!$GCC$ac_delim
52243 DLLTOOL!$DLLTOOL$ac_delim
52244 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52245 LIBOBJS!$LIBOBJS$ac_delim
52246 LTLIBOBJS!$LTLIBOBJS$ac_delim
52247 _ACEOF
52248
52249 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52250 break
52251 elif $ac_last_try; then
52252 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52253 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52254 { (exit 1); exit 1; }; }
52255 else
52256 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52257 fi
52258 done
52259
52260 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52261 if test -n "$ac_eof"; then
52262 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52263 ac_eof=`expr $ac_eof + 1`
52264 fi
52265
52266 cat >>$CONFIG_STATUS <<_ACEOF
52267 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52268 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52269 _ACEOF
52270 sed '
52271 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52272 s/^/s,@/; s/!/@,|#_!!_#|/
52273 :n
52274 t n
52275 s/'"$ac_delim"'$/,g/; t
52276 s/$/\\/; p
52277 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52278 ' >>$CONFIG_STATUS <conf$$subs.sed
52279 rm -f conf$$subs.sed
52280 cat >>$CONFIG_STATUS <<_ACEOF
52281 :end
52282 s/|#_!!_#|//g
52283 CEOF$ac_eof
52284 _ACEOF
52285
52286
52287 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52288 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52289 # trailing colons and then remove the whole line if VPATH becomes empty
52290 # (actually we leave an empty line to preserve line numbers).
52291 if test "x$srcdir" = x.; then
52292 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52293 s/:*\$(srcdir):*/:/
52294 s/:*\${srcdir}:*/:/
52295 s/:*@srcdir@:*/:/
52296 s/^\([^=]*=[ ]*\):*/\1/
52297 s/:*$//
52298 s/^[^=]*=[ ]*$//
52299 }'
52300 fi
52301
52302 cat >>$CONFIG_STATUS <<\_ACEOF
52303 fi # test -n "$CONFIG_FILES"
52304
52305
52306 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52307 do
52308 case $ac_tag in
52309 :[FHLC]) ac_mode=$ac_tag; continue;;
52310 esac
52311 case $ac_mode$ac_tag in
52312 :[FHL]*:*);;
52313 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52314 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52315 { (exit 1); exit 1; }; };;
52316 :[FH]-) ac_tag=-:-;;
52317 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52318 esac
52319 ac_save_IFS=$IFS
52320 IFS=:
52321 set x $ac_tag
52322 IFS=$ac_save_IFS
52323 shift
52324 ac_file=$1
52325 shift
52326
52327 case $ac_mode in
52328 :L) ac_source=$1;;
52329 :[FH])
52330 ac_file_inputs=
52331 for ac_f
52332 do
52333 case $ac_f in
52334 -) ac_f="$tmp/stdin";;
52335 *) # Look for the file first in the build tree, then in the source tree
52336 # (if the path is not absolute). The absolute path cannot be DOS-style,
52337 # because $ac_f cannot contain `:'.
52338 test -f "$ac_f" ||
52339 case $ac_f in
52340 [\\/$]*) false;;
52341 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52342 esac ||
52343 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52344 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52345 { (exit 1); exit 1; }; };;
52346 esac
52347 ac_file_inputs="$ac_file_inputs $ac_f"
52348 done
52349
52350 # Let's still pretend it is `configure' which instantiates (i.e., don't
52351 # use $as_me), people would be surprised to read:
52352 # /* config.h. Generated by config.status. */
52353 configure_input="Generated from "`IFS=:
52354 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52355 if test x"$ac_file" != x-; then
52356 configure_input="$ac_file. $configure_input"
52357 { echo "$as_me:$LINENO: creating $ac_file" >&5
52358 echo "$as_me: creating $ac_file" >&6;}
52359 fi
52360
52361 case $ac_tag in
52362 *:-:* | *:-) cat >"$tmp/stdin";;
52363 esac
52364 ;;
52365 esac
52366
52367 ac_dir=`$as_dirname -- "$ac_file" ||
52368 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52369 X"$ac_file" : 'X\(//\)[^/]' \| \
52370 X"$ac_file" : 'X\(//\)$' \| \
52371 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52372 echo X"$ac_file" |
52373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52374 s//\1/
52375 q
52376 }
52377 /^X\(\/\/\)[^/].*/{
52378 s//\1/
52379 q
52380 }
52381 /^X\(\/\/\)$/{
52382 s//\1/
52383 q
52384 }
52385 /^X\(\/\).*/{
52386 s//\1/
52387 q
52388 }
52389 s/.*/./; q'`
52390 { as_dir="$ac_dir"
52391 case $as_dir in #(
52392 -*) as_dir=./$as_dir;;
52393 esac
52394 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52395 as_dirs=
52396 while :; do
52397 case $as_dir in #(
52398 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52399 *) as_qdir=$as_dir;;
52400 esac
52401 as_dirs="'$as_qdir' $as_dirs"
52402 as_dir=`$as_dirname -- "$as_dir" ||
52403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52404 X"$as_dir" : 'X\(//\)[^/]' \| \
52405 X"$as_dir" : 'X\(//\)$' \| \
52406 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52407 echo X"$as_dir" |
52408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52409 s//\1/
52410 q
52411 }
52412 /^X\(\/\/\)[^/].*/{
52413 s//\1/
52414 q
52415 }
52416 /^X\(\/\/\)$/{
52417 s//\1/
52418 q
52419 }
52420 /^X\(\/\).*/{
52421 s//\1/
52422 q
52423 }
52424 s/.*/./; q'`
52425 test -d "$as_dir" && break
52426 done
52427 test -z "$as_dirs" || eval "mkdir $as_dirs"
52428 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52429 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52430 { (exit 1); exit 1; }; }; }
52431 ac_builddir=.
52432
52433 case "$ac_dir" in
52434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52435 *)
52436 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52437 # A ".." for each directory in $ac_dir_suffix.
52438 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52439 case $ac_top_builddir_sub in
52440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52442 esac ;;
52443 esac
52444 ac_abs_top_builddir=$ac_pwd
52445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52446 # for backward compatibility:
52447 ac_top_builddir=$ac_top_build_prefix
52448
52449 case $srcdir in
52450 .) # We are building in place.
52451 ac_srcdir=.
52452 ac_top_srcdir=$ac_top_builddir_sub
52453 ac_abs_top_srcdir=$ac_pwd ;;
52454 [\\/]* | ?:[\\/]* ) # Absolute name.
52455 ac_srcdir=$srcdir$ac_dir_suffix;
52456 ac_top_srcdir=$srcdir
52457 ac_abs_top_srcdir=$srcdir ;;
52458 *) # Relative name.
52459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52460 ac_top_srcdir=$ac_top_build_prefix$srcdir
52461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52462 esac
52463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52464
52465
52466 case $ac_mode in
52467 :F)
52468 #
52469 # CONFIG_FILE
52470 #
52471
52472 case $INSTALL in
52473 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52474 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52475 esac
52476 _ACEOF
52477
52478 cat >>$CONFIG_STATUS <<\_ACEOF
52479 # If the template does not know about datarootdir, expand it.
52480 # FIXME: This hack should be removed a few years after 2.60.
52481 ac_datarootdir_hack=; ac_datarootdir_seen=
52482
52483 case `sed -n '/datarootdir/ {
52484 p
52485 q
52486 }
52487 /@datadir@/p
52488 /@docdir@/p
52489 /@infodir@/p
52490 /@localedir@/p
52491 /@mandir@/p
52492 ' $ac_file_inputs` in
52493 *datarootdir*) ac_datarootdir_seen=yes;;
52494 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52495 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52496 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52497 _ACEOF
52498 cat >>$CONFIG_STATUS <<_ACEOF
52499 ac_datarootdir_hack='
52500 s&@datadir@&$datadir&g
52501 s&@docdir@&$docdir&g
52502 s&@infodir@&$infodir&g
52503 s&@localedir@&$localedir&g
52504 s&@mandir@&$mandir&g
52505 s&\\\${datarootdir}&$datarootdir&g' ;;
52506 esac
52507 _ACEOF
52508
52509 # Neutralize VPATH when `$srcdir' = `.'.
52510 # Shell code in configure.ac might set extrasub.
52511 # FIXME: do we really want to maintain this feature?
52512 cat >>$CONFIG_STATUS <<_ACEOF
52513 sed "$ac_vpsub
52514 $extrasub
52515 _ACEOF
52516 cat >>$CONFIG_STATUS <<\_ACEOF
52517 :t
52518 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52519 s&@configure_input@&$configure_input&;t t
52520 s&@top_builddir@&$ac_top_builddir_sub&;t t
52521 s&@srcdir@&$ac_srcdir&;t t
52522 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52523 s&@top_srcdir@&$ac_top_srcdir&;t t
52524 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52525 s&@builddir@&$ac_builddir&;t t
52526 s&@abs_builddir@&$ac_abs_builddir&;t t
52527 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52528 s&@INSTALL@&$ac_INSTALL&;t t
52529 $ac_datarootdir_hack
52530 " $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
52531
52532 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52533 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52534 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52535 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52536 which seems to be undefined. Please make sure it is defined." >&5
52537 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52538 which seems to be undefined. Please make sure it is defined." >&2;}
52539
52540 rm -f "$tmp/stdin"
52541 case $ac_file in
52542 -) cat "$tmp/out"; rm -f "$tmp/out";;
52543 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52544 esac
52545 ;;
52546 :H)
52547 #
52548 # CONFIG_HEADER
52549 #
52550 _ACEOF
52551
52552 # Transform confdefs.h into a sed script `conftest.defines', that
52553 # substitutes the proper values into config.h.in to produce config.h.
52554 rm -f conftest.defines conftest.tail
52555 # First, append a space to every undef/define line, to ease matching.
52556 echo 's/$/ /' >conftest.defines
52557 # Then, protect against being on the right side of a sed subst, or in
52558 # an unquoted here document, in config.status. If some macros were
52559 # called several times there might be several #defines for the same
52560 # symbol, which is useless. But do not sort them, since the last
52561 # AC_DEFINE must be honored.
52562 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52563 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52564 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52565 # PARAMS is the parameter list in the macro definition--in most cases, it's
52566 # just an empty string.
52567 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52568 ac_dB='\\)[ (].*,\\1define\\2'
52569 ac_dC=' '
52570 ac_dD=' ,'
52571
52572 uniq confdefs.h |
52573 sed -n '
52574 t rset
52575 :rset
52576 s/^[ ]*#[ ]*define[ ][ ]*//
52577 t ok
52578 d
52579 :ok
52580 s/[\\&,]/\\&/g
52581 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52582 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52583 ' >>conftest.defines
52584
52585 # Remove the space that was appended to ease matching.
52586 # Then replace #undef with comments. This is necessary, for
52587 # example, in the case of _POSIX_SOURCE, which is predefined and required
52588 # on some systems where configure will not decide to define it.
52589 # (The regexp can be short, since the line contains either #define or #undef.)
52590 echo 's/ $//
52591 s,^[ #]*u.*,/* & */,' >>conftest.defines
52592
52593 # Break up conftest.defines:
52594 ac_max_sed_lines=50
52595
52596 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52597 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52598 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52599 # et cetera.
52600 ac_in='$ac_file_inputs'
52601 ac_out='"$tmp/out1"'
52602 ac_nxt='"$tmp/out2"'
52603
52604 while :
52605 do
52606 # Write a here document:
52607 cat >>$CONFIG_STATUS <<_ACEOF
52608 # First, check the format of the line:
52609 cat >"\$tmp/defines.sed" <<\\CEOF
52610 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52611 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52612 b
52613 :def
52614 _ACEOF
52615 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52616 echo 'CEOF
52617 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52618 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52619 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52620 grep . conftest.tail >/dev/null || break
52621 rm -f conftest.defines
52622 mv conftest.tail conftest.defines
52623 done
52624 rm -f conftest.defines conftest.tail
52625
52626 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52627 cat >>$CONFIG_STATUS <<\_ACEOF
52628 if test x"$ac_file" != x-; then
52629 echo "/* $configure_input */" >"$tmp/config.h"
52630 cat "$ac_result" >>"$tmp/config.h"
52631 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52632 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52633 echo "$as_me: $ac_file is unchanged" >&6;}
52634 else
52635 rm -f $ac_file
52636 mv "$tmp/config.h" $ac_file
52637 fi
52638 else
52639 echo "/* $configure_input */"
52640 cat "$ac_result"
52641 fi
52642 rm -f "$tmp/out12"
52643 ;;
52644
52645 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52646 echo "$as_me: executing $ac_file commands" >&6;}
52647 ;;
52648 esac
52649
52650
52651 case $ac_file$ac_mode in
52652 "rcdefs.h":C)
52653 mkdir -p $outdir &&
52654 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52655 ;;
52656 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52657 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52658 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52659 "wx-config":C) rm -f wx-config
52660 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52661 ;;
52662
52663 esac
52664 done # for ac_tag
52665
52666
52667 { (exit 0); exit 0; }
52668 _ACEOF
52669 chmod +x $CONFIG_STATUS
52670 ac_clean_files=$ac_clean_files_save
52671
52672
52673 # configure is writing to config.log, and then calls config.status.
52674 # config.status does its own redirection, appending to config.log.
52675 # Unfortunately, on DOS this fails, as config.log is still kept open
52676 # by configure, so config.status won't be able to write to it; its
52677 # output is simply discarded. So we exec the FD to /dev/null,
52678 # effectively closing config.log, so it can be properly (re)opened and
52679 # appended to by config.status. When coming back to configure, we
52680 # need to make the FD available again.
52681 if test "$no_create" != yes; then
52682 ac_cs_success=:
52683 ac_config_status_args=
52684 test "$silent" = yes &&
52685 ac_config_status_args="$ac_config_status_args --quiet"
52686 exec 5>/dev/null
52687 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52688 exec 5>>config.log
52689 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52690 # would make configure fail if this is the last instruction.
52691 $ac_cs_success || { (exit 1); exit 1; }
52692 fi
52693
52694 #
52695 # CONFIG_SUBDIRS section.
52696 #
52697 if test "$no_recursion" != yes; then
52698
52699 # Remove --cache-file and --srcdir arguments so they do not pile up.
52700 ac_sub_configure_args=
52701 ac_prev=
52702 eval "set x $ac_configure_args"
52703 shift
52704 for ac_arg
52705 do
52706 if test -n "$ac_prev"; then
52707 ac_prev=
52708 continue
52709 fi
52710 case $ac_arg in
52711 -cache-file | --cache-file | --cache-fil | --cache-fi \
52712 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52713 ac_prev=cache_file ;;
52714 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52715 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52716 | --c=*)
52717 ;;
52718 --config-cache | -C)
52719 ;;
52720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52721 ac_prev=srcdir ;;
52722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52723 ;;
52724 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52725 ac_prev=prefix ;;
52726 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52727 ;;
52728 *)
52729 case $ac_arg in
52730 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52731 esac
52732 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52733 esac
52734 done
52735
52736 # Always prepend --prefix to ensure using the same prefix
52737 # in subdir configurations.
52738 ac_arg="--prefix=$prefix"
52739 case $ac_arg in
52740 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52741 esac
52742 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52743
52744 # Pass --silent
52745 if test "$silent" = yes; then
52746 ac_sub_configure_args="--silent $ac_sub_configure_args"
52747 fi
52748
52749 ac_popdir=`pwd`
52750 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52751
52752 # Do not complain, so a configure script can configure whichever
52753 # parts of a large source tree are present.
52754 test -d "$srcdir/$ac_dir" || continue
52755
52756 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52757 echo "$as_me:$LINENO: $ac_msg" >&5
52758 echo "$ac_msg" >&6
52759 { as_dir="$ac_dir"
52760 case $as_dir in #(
52761 -*) as_dir=./$as_dir;;
52762 esac
52763 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52764 as_dirs=
52765 while :; do
52766 case $as_dir in #(
52767 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52768 *) as_qdir=$as_dir;;
52769 esac
52770 as_dirs="'$as_qdir' $as_dirs"
52771 as_dir=`$as_dirname -- "$as_dir" ||
52772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52773 X"$as_dir" : 'X\(//\)[^/]' \| \
52774 X"$as_dir" : 'X\(//\)$' \| \
52775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52776 echo X"$as_dir" |
52777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52778 s//\1/
52779 q
52780 }
52781 /^X\(\/\/\)[^/].*/{
52782 s//\1/
52783 q
52784 }
52785 /^X\(\/\/\)$/{
52786 s//\1/
52787 q
52788 }
52789 /^X\(\/\).*/{
52790 s//\1/
52791 q
52792 }
52793 s/.*/./; q'`
52794 test -d "$as_dir" && break
52795 done
52796 test -z "$as_dirs" || eval "mkdir $as_dirs"
52797 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52798 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52799 { (exit 1); exit 1; }; }; }
52800 ac_builddir=.
52801
52802 case "$ac_dir" in
52803 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52804 *)
52805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52806 # A ".." for each directory in $ac_dir_suffix.
52807 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52808 case $ac_top_builddir_sub in
52809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52811 esac ;;
52812 esac
52813 ac_abs_top_builddir=$ac_pwd
52814 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52815 # for backward compatibility:
52816 ac_top_builddir=$ac_top_build_prefix
52817
52818 case $srcdir in
52819 .) # We are building in place.
52820 ac_srcdir=.
52821 ac_top_srcdir=$ac_top_builddir_sub
52822 ac_abs_top_srcdir=$ac_pwd ;;
52823 [\\/]* | ?:[\\/]* ) # Absolute name.
52824 ac_srcdir=$srcdir$ac_dir_suffix;
52825 ac_top_srcdir=$srcdir
52826 ac_abs_top_srcdir=$srcdir ;;
52827 *) # Relative name.
52828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52829 ac_top_srcdir=$ac_top_build_prefix$srcdir
52830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52831 esac
52832 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52833
52834
52835 cd "$ac_dir"
52836
52837 # Check for guested configure; otherwise get Cygnus style configure.
52838 if test -f "$ac_srcdir/configure.gnu"; then
52839 ac_sub_configure=$ac_srcdir/configure.gnu
52840 elif test -f "$ac_srcdir/configure"; then
52841 ac_sub_configure=$ac_srcdir/configure
52842 elif test -f "$ac_srcdir/configure.in"; then
52843 # This should be Cygnus configure.
52844 ac_sub_configure=$ac_aux_dir/configure
52845 else
52846 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52847 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52848 ac_sub_configure=
52849 fi
52850
52851 # The recursion is here.
52852 if test -n "$ac_sub_configure"; then
52853 # Make the cache file name correct relative to the subdirectory.
52854 case $cache_file in
52855 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52856 *) # Relative name.
52857 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52858 esac
52859
52860 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52861 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52862 # The eval makes quoting arguments work.
52863 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52864 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52865 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52866 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52867 { (exit 1); exit 1; }; }
52868 fi
52869
52870 cd "$ac_popdir"
52871 done
52872 fi
52873
52874
52875 echo
52876 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52877 echo ""
52878 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52879 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52880
52881 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52882 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52883 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52884 if test "$wxUSE_UNICODE" = "yes"; then
52885 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52886 echo " (using UTF-8)"
52887 else
52888 echo " (using wchar_t)"
52889 fi
52890 else
52891 echo
52892 fi
52893
52894 echo " What level of wxWidgets compatibility should be enabled?"
52895 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52896 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52897
52898 echo " Which libraries should wxWidgets use?"
52899 echo " STL ${wxUSE_STL}"
52900 echo " jpeg ${wxUSE_LIBJPEG-none}"
52901 echo " png ${wxUSE_LIBPNG-none}"
52902 echo " regex ${wxUSE_REGEX}"
52903 echo " tiff ${wxUSE_LIBTIFF-none}"
52904 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52905 echo " xpm ${wxUSE_LIBXPM-none}"
52906 fi
52907 echo " zlib ${wxUSE_ZLIB}"
52908 echo " expat ${wxUSE_EXPAT}"
52909 echo " libmspack ${wxUSE_LIBMSPACK}"
52910 echo " sdl ${wxUSE_LIBSDL}"
52911
52912 echo ""
52913